aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2003-02-252003-02-25 Michael Chastain <mec@shout.net>Michael Chastain2-0/+9
* PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later to avoid uintptr_t definition problems.
2003-02-252003-02-25 David Carlton <carlton@math.stanford.edu>David Carlton47-282/+365
* symtab.h (SYMBOL_NATURAL_NAME): New macro. (SYMBOL_LINKAGE_NAME): Ditto. (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and SYMBOL_LINKAGE_NAME. (struct general_symbol_info): Expand comment. (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME. (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME. (SYMBOL_MATCHES_REGEXP): Ditto. * symtab.c (symbol_natural_name): New function. * objfiles.h: Replace all uses of SYMBOL_NAME by DEPRECATED_SYMBOL_NAME. * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto. * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto. * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto. * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto. * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto. * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto. * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto. * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto. * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto. * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto. * ada-exp.y: Ditto. * ada-exp.y: Update copyright. * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto. * cp-valprint.c: Ditto. 2003-02-25 David Carlton <carlton@math.stanford.edu> * generic/gdbtk.h: Replace all instances of SYMBOL_NAME by DEPRECATED_SYMBOL_NAME. * generic/gdbtk-stack.c, generic/gdbtk-cmds.c: Ditto. * generic/gdbtk-stack.c, generic/gdbtk-cmds.c: Update copyright. 2003-02-25 David Carlton <carlton@math.stanford.edu> * mi-cmd-stack.c: Replace all instances of SYMBOL_NAME with DEPRECATED_SYMBOL_NAME. Update copyright.
2003-02-252003-02-25 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+6
* infptrace.c (detach): Do not flag error if ptrace detach fails and errno is set to ESRCH.
2003-02-25*** empty log message ***gdbadmin1-1/+1
2003-02-242003-02-24 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-3/+9
* infptrace.c (udot_info): Change type of udot_off to long. Use paddr when printing udot_off's value.
2003-02-242003-02-24 David Carlton <carlton@math.stanford.edu>David Carlton2-22/+10
* symtab.c (make_symbol_overload_list): Only read in partial symtabs containing a matching partial symbol.
2003-02-242003-02-24 David Carlton <carlton@math.stanford.edu>David Carlton5-45/+101
* symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to do the comparison, not strcmp. * symfile.c (compare_psymbols): Ditto. * defs.h: Declare strcmp_iw_ordered. * utils.c (strcmp_iw_ordered): New function.
2003-02-24* MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, SchemeJim Blandy2-7/+8
support, shared libs): Remove my name from here, to better reflect reality.
2003-02-24add HAVE_CONTINUABLE_WATCHPOINT to target_opsKris Warkentin9-12/+25
2003-02-24Fixed grammarKris Warkentin1-5/+5
2003-02-242003-02-24 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+8
* MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop maintainership.
2003-02-24 * mi-syn-frame.exp: Don't run this test when gdb,nosignals is set.Stephane Carrez2-1/+10
2003-02-24added target specific solib find hookKris Warkentin3-0/+20
2003-02-24added myself to Write After list in MAINTAINERSKris Warkentin2-0/+5
2003-02-24*** empty log message ***gdbadmin1-1/+1
2003-02-23* gdb.texinfo (Cygwin Native): Links to Non-debug DLL symbols.Christopher Faylor2-3/+136
(Non-debug DLL symbols): New node, describing the minimal symbols loaded from DLLs without real debugging symbols.
2003-02-23 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.Stephane Carrez2-0/+13
2003-02-23 * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.Stephane Carrez2-1/+5
2003-02-23*** empty log message ***gdbadmin1-1/+1
2003-02-22 * m68hc11-tdep.c (m68hc11_init_reggroups): New function.Stephane Carrez2-0/+73
(m68hc11_add_reggroups): New function. (m68hc11_register_reggroup_p): New to register hard/soft reggroups. (m68hc11_gdbarch_init): Install the reggroups. (_initialize_m68hc11_tdep): Initialize them.
2003-02-22Update my email address.Jim Wilson2-1/+5
2003-02-22*** empty log message ***gdbadmin1-1/+1
2003-02-212003-02-21 David Carlton <carlton@math.stanford.edu>David Carlton2-0/+5
* arm-tdep.c (arm_gdbarch_init): Add break after default label.
2003-02-21 Based on a patch from Daniel Berlin (dberlin@dberlin.org).Daniel Jacobowitz16-103/+1379
* symtab.h: Add opaque declarations of struct axs_value and struct agent_expr. (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG. (struct location_funcs): New type. (struct symbol): Add "loc" to aux_value. (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros. * dwarf2read.c: Include "dwarf2expr.h". (dwarf2_symbol_mark_computed): New function. (read_func_scope): Use it. (var_decode_location): New function. (new_symbol): Use it. * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files. * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c. (dwarf2expr_h, dwarf2loc_h): New variables. (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o. (dwarf2expr.o, dwarf2loc.o): New rules. (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h). * buildsym.c (finish_block): Handle LOC_COMPUTED and LOC_COMPUTED_ARG. * findvar.c (symbol_read_needs_frame, read_var_value): Likewise. * m2-exp.y (yylex): Likewise. * printcmd.c (address_info, print_frame_args): Likewise. * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise. * symmisc.c (print_symbol, print_partial_symbols): Likewise. * ada-lang.c (ada_resolve_subexp, symtab_for_sym) (ada_add_block_symbols, fill_in_ada_prototype): Likewise. * symtab.c (lookup_block_symbol): Likewise.
2003-02-21 * mi-cmd-stack.c (list_args_or_locals): Handle LOC_COMPUTED andDaniel Jacobowitz2-0/+7
LOC_COMPUTED_ARG.
2003-02-21* symtab.h: Remove objc_specific structAdam Fedor3-17/+11
(SYMBOL_OBJC_DEMANGLED_NAME): Remove. * symtab.c (symbol_init_language_specific, symbol_demangled_name): Have language_objc use cplus_specific struct.
2003-02-21 * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, notTom Tromey2-2/+8
TYPE_NAME, when printing a String value. PR java/1075.
2003-02-21objc-lang.h (find_methods): Remove declaration.Adam Fedor2-5/+1
2003-02-21objc-lang.c (find_methods): Make static.Adam Fedor2-1/+5
2003-02-21* win32-nat.c (get_image_name): Check return value from ReadProcessMemory.Christopher Faylor3-30/+30
(child_xfer_memory): Ditto.
2003-02-21*** empty log message ***gdbadmin1-1/+1
2003-02-20* configure.in (TARGET_SYSTEM_ROOT): Set default toAlexandre Oliva3-536/+561
${exec_prefix}/${target_alias}/sys-root. Match explicit '${exec_prefix}' (in addition to the expansion thereof) as relocatable. * configure: Rebuilt.
2003-02-202003-02-20 David Carlton <carlton@math.stanford.edu>David Carlton2-25/+17
* symtab.c (search_symbols): Revert the search_symbols part of my 2002-12-23 patch. Add comment.
2003-02-20Fix a small typo in one of the filenames.Joel Brobecker1-1/+1
2003-02-20 * coffread.c (coff_symfile_read): Clean up minimal symbols earlier.Daniel Jacobowitz7-27/+57
* 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 * solib.c (reload_shared_libraries): New function.Kevin Buettner2-0/+15
(_initialize_solib): Add callbacks for ``set solib-search-path'' and ``set solib-absolute-prefix''.
2003-02-202003-02-20 David Carlton <carlton@math.stanford.edu>David Carlton25-91/+132
* 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 * frame.c (generic_unwind_get_saved_register): Make non-static.Kevin Buettner4-18/+48
* 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-20Index: include/gdb/ChangeLogAndrew Cagney2-33/+6
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-202003-02-20 Andrew Cagney <ac131313@redhat.com>Andrew Cagney4-2/+58
* 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* coff-pe-read.c: New file - support reading of minimal symbols from a portableChristopher Faylor5-7/+408
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-202003-02-19 David Carlton <carlton@math.stanford.edu>David Carlton50-311/+468
* 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*** empty log message ***gdbadmin1-1/+1
2003-02-19* avr-tdep.c (avr_extract_return_value): Remove function.Theodore A. Roth2-74/+7
(avr_store_return_value): Remove function. (avr_extract_struct_value_address): Remove function. (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
2003-02-192003-02-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-5/+23
* 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*** empty log message ***gdbadmin1-1/+1
2003-02-18 * Makefile.in: Add gdbtk-interps.c.Keith Seitz2-3/+15
2003-02-18Make Sparc/Solaris work again.Kevin Buettner3-2/+23
2003-02-182003-02-18 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-0/+5
* symtab.h (struct objfile): Add opaque declaration.
2003-02-182003-02-18 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-4/+13
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.