gdbadmin
bb20a2dcba
*** empty log message ***
2003-02-21 00:00:31 +00:00
Alexandre Oliva
715d16565f
* configure.in (TARGET_SYSTEM_ROOT): Set default to
...
${exec_prefix}/${target_alias}/sys-root. Match explicit
'${exec_prefix}' (in addition to the expansion thereof) as
relocatable.
* configure: Rebuilt.
2003-02-20 23:38:58 +00:00
David Carlton
b1262a0293
2003-02-20 David Carlton <carlton@math.stanford.edu>
...
* symtab.c (search_symbols): Revert the search_symbols part of my
2002-12-23 patch. Add comment.
2003-02-20 22:07:38 +00:00
Joel Brobecker
36ffb04106
Fix a small typo in one of the filenames.
2003-02-20 21:33:05 +00:00
Daniel Jacobowitz
7134143f53
* coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
...
* dbxread.c (elfstab_build_psymtabs): Don't call
install_minimal_symbols.
(stabsect_build_psymtabs): Likewise.
* elfread.c (elf_symfile_read): Call install_minimal_symbols
earlier.
* somread.c (som_symfile_read): Call install_minimal_symbols
and do_cleanups earlier.
* nlmread.c (nlm_symfile_read): Likewise.
* mdebugread.c (elfmdebug_build_psymtabs): Call
install_minimal_symbols and make appropriate cleanups.
2003-02-20 18:31:14 +00:00
Kevin Buettner
cf466558d0
* solib.c (reload_shared_libraries): New function.
...
(_initialize_solib): Add callbacks for ``set solib-search-path''
and ``set solib-absolute-prefix''.
2003-02-20 18:25:27 +00:00
David Carlton
de5ad195ef
2003-02-20 David Carlton <carlton@math.stanford.edu>
...
* symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
expand comment.
* ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
* ada-typeprint.c (ada_typedef_print): Ditto.
* ax-gdb.c (gen_var_ref): Ditto.
* breakpoint.c (print_one_breakpoint): Ditto.
* buildsym.c (finish_block): Ditto.
* c-valprint.c (c_val_print): Ditto.
* expprint.c (print_subexp): Ditto.
* findvar.c (locate_var_value): Ditto.
* infcmd.c (jump_command): Ditto.
* linespec.c (decode_line_2, decode_compound): Ditto.
* maint.c (maintenance_translate_address): Ditto.
* objc-lang.c (compare_selectors, compare_classes): Ditto.
* printcmd.c (build_address_symbolic, sym_info, print_frame_args):
Ditto.
* p-valprint.c (pascal_val_print): Ditto.
* stabsread.c (define_symbol): Ditto.
* stack.c (print_frame, frame_info, print_block_frame_locals)
(print_frame_arg_vars, return_command): Ditto.
* symfile.c (compare_symbols, compare_psymbols): Ditto.
* symmisc.c (print_symbol): Ditto.
* symtab.c (lookup_partial_symbol, lookup_block_symbol)
(compare_search_syms, print_symbol_info, print_msymbol_info)
(rbreak_command): Ditto.
* tracepoint.c (tracepoints_info): Ditto.
* typeprint.c (typedef_print): Ditto.
* valops.c (value_of_variable, hand_function_call): Ditto.
* cli/cli-cmds.c (edit_command, list_command): Ditto.
* ada-typeprint.c: Update Copyright.
* infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
* tracepoint.c, cli/cli-cmds.c: Ditto.
2003-02-20 17:17:25 +00:00
Kevin Buettner
f796e4be80
* frame.c (generic_unwind_get_saved_register): Make non-static.
...
* frame.h (generic_unwind_get_saved_register): Declare.
* mips-tdep.c (read_next_frame_reg): Fetch register from
current regcache when frame is NULL.
(mips_init_extra_frame_info): Pass NULL explicitly for parameter
that must be NULL.
(mips_get_saved_register): Call generic_unwind_get_saved_register()
instead of frame_register_unwind().
2003-02-20 16:35:51 +00:00
Andrew Cagney
836cc9f493
Index: include/gdb/ChangeLog
...
2003-02-20 Andrew Cagney <ac131313@redhat.com>
* remote-sim.c (gdbsim_insert_breakpoint)
(gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
code.
Index: include/gdb/ChangeLog
2003-02-20 Andrew Cagney <ac131313@redhat.com>
* remote-sim.h (SIM_RC): Delete unused SIM_RC_UNKNOWN_BREAKPOINT,
SIM_RC_INSUFFICIENT_RESOURCES and SIM_RC_DUPLICATE_BREAKPOINT.
(sim_set_breakpoint, sim_clear_breakpoint): Delete declarations.
(sim_clear_all_breakpoints, sim_enable_breakpoint): Ditto.
(sim_enable_all_breakpoints, sim_disable_breakpoint): Ditto.
(sim_disable_all_breakpoints): Ditto.
Index: sim/common/ChangeLog
2003-02-20 Andrew Cagney <ac131313@redhat.com>
* Make-common.in (SIM_NEW_COMMON_OBJS): Remove sim-break.o
(sim-break_h): Delete macro.
(sim-break.o): Delete rule.
* sim-break.c: Delete file.
* sim-break.h: Delete file.
* sim-base.h [SIM_HAVE_BREAKPOINTS]: Don't include "sim-break.h".
(STATE_BREAKPOINTS): Delete macro.
(sim_state_base): Delete field breakpoints.
* sim-module.c (modules) [SIM_HAVE_BREAKPOINTS]: Don't add
sim_break_install to array.
2003-02-20 14:37:59 +00:00
Andrew Cagney
501eef1260
2003-02-20 Andrew Cagney <ac131313@redhat.com>
...
* remote.c (_initialize_remote): Add commands "set/show remote
hardware-watchpoint-limit" and "set/show remote
hardware-breakpoint-limit".
(remote_hw_watchpoint_limit): Initialize to -1.
(remote_hw_breakpoint_limit): Ditto.
(remote_check_watch_resources): Treat a limit of -1 as unlimited.
Index: doc/ChangeLog
2003-02-20 Andrew Cagney <ac131313@redhat.com>
* gdb.texinfo (Set Breaks): Add cross reference to "set remote
hardware-breakpoint-limit".
(Set Watchpoints): Add cross reference to "set remote
hardware-watchpoint-limit".
(Remote configuration options): New section.
2003-02-20 13:43:14 +00:00
Christopher Faylor
1b6bc7e06f
* coff-pe-read.c: New file - support reading of minimal symbols from a portable
...
executable using the export table.
* coff-pe-read.h: New file.
* coffread.c: Include coff-pe-read.h.
(coff_symtab_read): Call read_pe_exported_syms iff no recognized debugging
symbols found.
* Makefile.in (SFILES): Add coff-pe-read.o.
(coff_pe_read_h): Define.
(COMMON_OBS): Add coff-pe-read.o.
(coffread.o): Add coff_pe_read_h dependency.
(coff-pe-read.o): New target.
2003-02-20 03:12:46 +00:00
David Carlton
fe898f56a1
2003-02-19 David Carlton <carlton@math.stanford.edu>
...
* Makefile.in (SFILES): Add block.c.
(block_h): New.
(COMMON_OBS): Add block.o.
(block.o): New.
(x86-64-tdep.o): Add $(block_h).
(values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
(stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
(objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
(m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
(f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
(c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
(alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
* value.h: Add opaque declaration for struct block.
* parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
* ada-lang.h: Ditto.
* x86-64-tdep.c: #include "block.h"
* values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
* symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
* objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
* mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
* jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
* findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
* buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
* alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
* blockframe.c (blockvector_for_pc_sect): Move to "block.c".
(blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
* symtab.c (block_function): Ditto.
(contained_in): Ditto.
* frame.h: Move block_for_pc and block_for_pc_sect declarations to
block.h. Add opaque declaration for struct block.
* symtab.h: Move block_function and contained_in declarations to
block.h. Add opaque declarations for struct block, struct
blockvector.
(struct block): Move to block.h.
(struct blockvector): Ditto.
(BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
(BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
(BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
(ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
(BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
Ditto.
* block.c: New file.
* block.h: New file.
2003-02-19 David Carlton <carlton@math.stanford.edu>
* mi-cmd-stack.c: #include "block.h"
2003-02-20 00:01:07 +00:00
gdbadmin
b3f71a301e
*** empty log message ***
2003-02-20 00:00:32 +00:00
Theodore A. Roth
173345b5f9
* avr-tdep.c (avr_extract_return_value): Remove function.
...
(avr_store_return_value): Remove function.
(avr_extract_struct_value_address): Remove function.
(avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
2003-02-19 20:38:01 +00:00
Andrew Cagney
338ef23d79
2003-02-19 Andrew Cagney <ac131313@redhat.com>
...
* rs6000-tdep.c: Include "gdb_assert.h".
(registers_e500): Add "acc" and "spefscr".
(PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
(rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
really is "r0".
(registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
2003-02-19 18:57:30 +00:00
gdbadmin
90e56b9873
*** empty log message ***
2003-02-19 00:00:02 +00:00
Keith Seitz
5412f5f35f
* Makefile.in: Add gdbtk-interps.c.
2003-02-18 23:27:42 +00:00
Kevin Buettner
881324ebbd
Make Sparc/Solaris work again.
2003-02-18 22:46:16 +00:00
Andrew Cagney
6a2f5abf07
2003-02-18 Andrew Cagney <cagney@redhat.com>
...
* symtab.h (struct objfile): Add opaque declaration.
2003-02-18 22:14:26 +00:00
Elena Zannoni
54c7009d04
2003-02-18 Elena Zannoni <ezannoni@redhat.com>
...
From Jim Ingham <jingham@apple.com>:
* dbxread.c (process_one_symbol): Use last_function_start rather
than function_start_offset to find the real beginning of the
current function. The latter is just the text section offset on
some systems, the former is always the real function start.
2003-02-18 15:41:29 +00:00
gdbadmin
d68a90cfca
*** empty log message ***
2003-02-18 00:00:32 +00:00
Andrew Cagney
7ee6d7ebf9
Revert previous change. Something doesn't work.
2003-02-17 21:56:29 +00:00
Andrew Cagney
2846da9bd2
2003-02-17 Andrew Cagney <ac131313@redhat.com>
...
* configure.in (Makefile): Use the test ${target} != ${host},
instead of the absence of the "nm.h" file, to determine of the
configuration non-native.
* configure: Regenerate.
2003-02-17 16:58:02 +00:00
gdbadmin
4fdc42af6e
*** empty log message ***
2003-02-17 00:00:01 +00:00
gdbadmin
42a38b6470
*** empty log message ***
2003-02-16 00:00:32 +00:00
Michael Chastain
74641dfb93
2003-02-13 Michael Chastain <mec@shout.net>
...
* gdb.base/exprs.exp: Remove i960 remnants.
* gdb.base/funcargs.exp: Likewise.
* gdb.base/list.exp: Likewise.
* gdb.base/ptype.exp: Likewise.
2003-02-15 18:32:45 +00:00
Christopher Faylor
caad770612
white space
2003-02-15 03:24:54 +00:00
David Carlton
559cd2d004
2003-02-14 David Carlton <carlton@math.stanford.edu>
...
* gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
pEe->D::vg()" from XFAIL to KFAIL.
2003-02-15 01:20:46 +00:00
gdbadmin
c45df9bda8
*** empty log message ***
2003-02-15 00:00:32 +00:00
Elena Zannoni
3b27aeeaa9
2003-02-14 Elena Zannoni <ezannoni@redhat.com>
...
From Brian Ford <ford@vss.fsi.com>
* cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
conditionalize tui_active test.
(lookup_cmd_1): Ditto.
2003-02-14 20:36:58 +00:00
Mark Kettenis
b0b1c2c0eb
* configure.in: Add check for _etext.
...
* maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
available.
* config.in, configure: regenerated.
2003-02-14 20:07:00 +00:00
Daniel Jacobowitz
8f05cde5d3
* dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
2003-02-14 19:05:52 +00:00
Andrew Cagney
021e760905
2003-02-14 Andrew Cagney <ac131313@redhat.com>
...
* main.c (tui_version): Delete variable.
(captured_main): When --tui, set interpreter_p to "tui" instead of
enabling tui_version.
* printcmd.c (display_command) [TUI]: Test tui_active instead of
tui_version.
* cli/cli-decode.c (lookup_cmd_composition): Ditto.
* cli/cli-cmds.c (disassemble_command): Ditto.
* defs.h (tui_version): Delete declaration.
* Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
(tui-interp.o): Add rules.
(SUBDIR_TUI_OBS): Add "tui-interp.o".
Index: tui/ChangeLog
2003-02-14 Andrew Cagney <ac131313@redhat.com>
* tui.c (tui_enable, tui_disable): Don't modify tui_version.
(tui_is_window_visible, tui_get_command_dimension): Test
tui_active instead of tui_version.
* tuiData.h (tui_version): Delete declaration.
* tui-hooks.c (tui_init_hook, tui_event_loop): Delete function,
moved to "tui-interp.c".
(tui_exit, tui_command_loop): Ditto.
(_initialize_tui): Don't initialize init_ui_hook. Initialize
target_new_objfile_hook.
* tui-interp.c: New file.
2003-02-14 13:58:06 +00:00
Christopher Faylor
e325dceca7
* win32-nat.cc (register_loaded_dll): Correctly set address range for
...
just-loaded dll.
2003-02-14 05:15:43 +00:00
Jason Molenda
c4f90d873c
[ChangeLog]
...
2003-02-12 Jason Molenda (jmolenda@apple.com )
* symmisc.c (print_objfile_statistics): Include information about
the number of psymtabs and symtabs in each object file.
[testsuite/ChangeLog]
2003-02-13 Jason Molenda (jmolenda@apple.com )
* gdb.base/maint.exp: Update maint print statistics regexp to include
new entries.
2003-02-14 01:13:45 +00:00
gdbadmin
8031856cdb
*** empty log message ***
2003-02-14 00:00:31 +00:00
Michael Chastain
cbc4d97c1c
2003-02-13 Michael Chastain <mec@shout.net>
...
* gdb.c++/inherit.exp: Remove call to get_debug_format.
2003-02-13 22:42:59 +00:00
Michael Chastain
40f235b7e2
2003-02-12 Michael Chastain <mec@shout.net>
...
* gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
* gdb.c++/inherit.exp: Likewise.
* gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
* gdb.c++/templates.exp: Likewise.
* gdb.c++/virtfunc.exp: Likewise.
2003-02-13 21:33:20 +00:00
Keith Seitz
e46e5ccdd0
* main.h (struct captured_main_args): Add interpreter_p.
...
* main.c (captured_main): Initialize interpreter_p from context.
* gdb.c (main): Set interpreter_p argument.
* Makefile.in (gdb.o): Add dependency for interps.h.
2003-02-13 18:07:24 +00:00
gdbadmin
df7b423ca4
*** empty log message ***
2003-02-13 00:00:32 +00:00
Andrew Cagney
fe97fe9cf0
2003-02-12 Andrew Cagney <ac131313@redhat.com>
...
* event-top.c (cli_command_loop): Delete declaration.
(_initialize_event_loop): Delete function setting event_loop_hook.
* event-top.h (cli_command_loop): Declare. Update copyright.
(EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
* interps.c (current_interp_command_loop): When event_loop_p, call
cli_command_loop.
2003-02-12 15:31:30 +00:00
Andrew Cagney
1cdac4ef8f
2003-02-12 Andrew Cagney <ac131313@redhat.com>
...
* interps.h (interp_command_loop_ftype): Change return type to
void.
2003-02-12 15:23:20 +00:00
Andrew Cagney
88fa91b473
2003-02-12 Andrew Cagney <ac131313@redhat.com>
...
* tuiIO.c (tui_prep_terminal): Add one notused parameter.
* tui.c (tui_rl_switch_mode): Add two notused parameters.
(tui_rl_change_windows, tui_rl_next_keymap): Ditto.
(tui_rl_delete_other_windows): Ditto.
(tui_rl_change_windows, tui_rl_delete_other_windows): Update
calls.
2003-02-12 15:14:36 +00:00
gdbadmin
41b22a8ddd
*** empty log message ***
2003-02-12 00:00:31 +00:00
Michal Ludvig
48037eadc7
2003-02-12 Michal Ludvig <mludvig@suse.cz>
...
* x86-64-tdep.c (x86_64_extract_return_value)
(x86_64_store_return_value): Use regcache instead of regbuf.
(x86_64_gdbarch_init): Change related set_gdbarch_* functions.
* x86-64-linux-nat.c (fill_gregset): Use regcache.
2003-02-11 23:09:59 +00:00
Andrew Cagney
033afc6377
2003-02-11 Andrew Cagney <ac131313@redhat.com>
...
* acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
TCL_LD_SEARCH_FLAGS.
2003-02-11 16:11:16 +00:00
gdbadmin
34d97300be
*** empty log message ***
2003-02-11 00:00:31 +00:00
Michal Ludvig
40d02bca51
* dwarf2cfi.c: Reindented.
2003-02-10 11:50:20 +00:00
gdbadmin
469def5365
*** empty log message ***
2003-02-10 00:00:01 +00:00
Andrew Cagney
11308a4187
2003-02-09 Andrew Cagney <ac131313@redhat.com>
...
* interps.c (clear_interpreter_hooks): Convert function definition
to ISO C.
Index: mi/ChangeLog
2003-02-09 Andrew Cagney <ac131313@redhat.com>
* mi-interp.c (mi_remove_notify_hooks): Convert function
definition to ISO C.
2003-02-09 10:47:37 +00:00