aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2003-03-03 * Makefile.in (distclean): Remove config.log.Daniel Jacobowitz2-1/+5
2003-03-03*** empty log message ***gdbadmin1-1/+1
2003-03-02* i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame andMark Kettenis2-2/+7
get_frame_base.
2003-03-02* i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage ofMark Kettenis2-1/+6
DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
2003-03-02 * arch-utils.c (generic_register_byte): Fix to use the loop indexStephane Carrez2-1/+6
and not regnum when summing the size of all registers up to regnum.
2003-03-02Fix merge botch in previous commit.Andrew Cagney1-1/+0
2003-03-022003-03-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney33-130/+183
* gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename FRAME_INIT_SAVED_REGS. * gdbarch.h, gdbarch.c: Regenerate. * stack.c (frame_info): Update. * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update. (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update. (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update. * ns32k-tdep.c (ns32k_pop_frame): Update. * mips-tdep.c (mips_pop_frame): Update. * m68hc11-tdep.c (m68hc11_pop_frame): Update. * ia64-tdep.c (ia64_frame_chain): Update. (ia64_frame_saved_pc, ia64_get_saved_register): Update. (ia64_frameless_function_invocation): Update. (ia64_init_extra_frame_info): Update. (ia64_pop_frame_regular): Update. * frame.h (struct frame_info): Update comment. (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro. * frame.c (frame_saved_regs_register_unwind): Update. (frame_saved_regs_register_unwind): Update. (deprecated_generic_get_saved_register): Update. * cris-tdep.c: Update comment. * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. * x86-64-tdep.c (x86_64_init_abi): Update. * vax-tdep.c (vax_gdbarch_init): Update. * v850-tdep.c (v850_gdbarch_init): Update. * sparc-tdep.c (sparc_gdbarch_init): Update. * sh-tdep.c (sh_gdbarch_init): Update. * s390-tdep.c (s390_gdbarch_init): Update. * rs6000-tdep.c (rs6000_gdbarch_init): Update. * ppc-linux-tdep.c (ppc_linux_init_abi): Update. * ns32k-tdep.c (ns32k_gdbarch_init): Update. * mn10300-tdep.c (mn10300_gdbarch_init): Update. * mips-tdep.c (mips_gdbarch_init): Update. * mcore-tdep.c (mcore_gdbarch_init): Update. * m68k-tdep.c (m68k_gdbarch_init): Update. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. * ia64-tdep.c (ia64_gdbarch_init): Update. * i386-tdep.c (i386_gdbarch_init): Update. * frv-tdep.c (frv_gdbarch_init): Update. * avr-tdep.c (avr_gdbarch_init): Update. * arm-tdep.c (arm_gdbarch_init): Update. * alpha-tdep.c (alpha_gdbarch_init): Update. 2003-03-01 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Rename FRAME_INIT_SAVED_REGS to DEPRECATED_FRAME_INIT_SAVED_REGS.
2003-03-022003-03-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-5/+24
* main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to option enum and switch. When no windows, set the interpreter to INTERP_CONSOLE.
2003-03-022003-03-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-10/+22
* main.c (captured_main): Replace magic option characters with an enum.
2003-03-022003-03-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney31-134/+179
* gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename INIT_EXTRA_FRAME_INFO. * gdbarch.h, gdbarch.c: Regenerate. * arm-tdep.c: Update comments. * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto. * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto. * frame.h, avr-tdep.c: Ditto. * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO. (create_new_frame, legacy_get_prev_frame): Ditto. * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize deprecated_init_extra_frame_info instead of init_extra_frame_info. * x86-64-tdep.c (x86_64_init_abi): Ditto. * v850-tdep.c (v850_gdbarch_init): Ditto. * sparc-tdep.c (sparc_gdbarch_init): Ditto. * sh-tdep.c (sh_gdbarch_init): Ditto. * s390-tdep.c (s390_gdbarch_init): Ditto. * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. * mips-tdep.c (mips_gdbarch_init): Ditto. * mcore-tdep.c (mcore_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. * ia64-tdep.c (ia64_gdbarch_init): Ditto. * i386-interix-tdep.c (i386_interix_init_abi): Ditto. * hppa-tdep.c (hppa_gdbarch_init): Ditto. * h8300-tdep.c (h8300_gdbarch_init): Ditto. * frv-tdep.c (frv_gdbarch_init): Ditto. * cris-tdep.c (cris_gdbarch_init): Ditto. * avr-tdep.c (avr_gdbarch_init): Ditto. * arm-tdep.c (arm_gdbarch_init): Ditto. * alpha-tdep.c (alpha_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. Index: doc/ChangeLog 2003-02-26 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo: Rename INIT_EXTRA_FRAME_INFO to DEPRECATED_INIT_EXTRA_FRAME_INFO.
2003-03-02*** empty log message ***gdbadmin1-1/+1
2003-03-012003-03-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-10/+168
* gdbarch.sh (register_type): New function with predicate. (REGISTER_VIRTUAL_TYPE): Change to function with predicate. * gdbarch.h, gdbarch.c: Re-generate. * arch-utils.c (generic_register_byte): Use generic_register_size. (generic_register_size): When available, use gdbarch_register_type. * regcache.c (init_regcache_descr): When available, initialize the register type array using gdbarch_register_type. If the architecture supplies gdbarch_register_type, do not use the legacy regcache layout. * d10v-tdep.c (d10v_register_type): Replace d10v_register_virtual_type. (d10v_gdbarch_init): Set register_type instead of register_virtual_type.
2003-03-012003-03-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-13/+29
* Makefile.in (ax-gdb.o): Update dependencies. * ax-gdb.c: Include "regcache.h". (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE. * findvar.c (value_of_register): Ditto. * infcmd.c (default_print_registers_info): Ditto. Index: mi/ChangeLog 2003-03-01 Andrew Cagney <cagney@redhat.com> * mi-main.c (get_register): Use register_type instead of REGISTER_VIRTUAL_TYPE.
2003-03-01* i386-linux-tdep.c (find_minsym_and_objfile): Replace usage ofMark Kettenis2-2/+7
DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
2003-03-01* i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp insteadMark Kettenis2-1/+6
of STREQ.
2003-03-01*** empty log message ***gdbadmin1-1/+1
2003-02-28 * Makefile.in (dwarf2loc.o): Update dependencies.Daniel Jacobowitz6-4/+89
* ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG. * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static. * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes. * dwarf2loc.c: Include "ax.h" and "ax-gdb.h". (locexpr_tracepoint_var_ref): New function. (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.
2003-02-28Fix minor slip in previous patch.David Carlton1-1/+1
2003-02-282003-02-28 David Carlton <carlton@math.stanford.edu>David Carlton2-30/+29
* gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we print class instead of struct and/or superfluous protection specifiers, as long as the resulting output is equivalent to the source code. Delete FIXME from end of messages on tests that don't need fixing.
2003-02-282003-02-28 David Carlton <carlton@math.stanford.edu>David Carlton2-2/+7
* gdb.c++/templates.exp (do_tests): Allow const in the two Foo<volatile char *>::foo tests.
2003-02-282003-02-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-7/+53
* regcache.c (register_size): New function. * regcache.h (register_size): Declare * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use max_register_size instead of MAX_REGISTER_RAW_SIZE.
2003-02-282003-02-28 David Carlton <carlton@math.stanford.edu>David Carlton2-71/+94
* linespec.c (decode_compound): Extract code into find_method. (find_method): New.
2003-02-28 * Makefile.in: Add rules to build and link in observer.o.Joel Brobecker2-2/+8
2003-02-28 * observer.c: Minor comments edits.Joel Brobecker2-10/+12
2003-02-28 * observer.h, observer.c: New file.Joel Brobecker3-0/+233
2003-02-28*** empty log message ***gdbadmin1-1/+1
2003-02-272003-02-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+5
* arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd.
2003-02-27 * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines.Stephane Carrez2-17/+33
(M6812_OP_STS_EXT): Likewise. (m6811_prologue): Use the above to recognize prologue. (m6812_prologue): Likewise.
2003-02-272003-02-27 David Carlton <carlton@math.stanford.edu>David Carlton3-7/+14
* symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not SYMBOL_PRINT_NAME. (compare_psymbols): Ditto. * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
2003-02-272003-02-27 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+8
* gdb.base/restore.c (main): Return zero, so exit code will be consistant.
2003-02-272003-02-27 Michael Snyder <msnyder@redhat.com>Michael Snyder2-2/+41
* f-lang.c (build_fortran_types): New function. (_initialize_f_language): Gdbarch-register built-in fortran types.
2003-02-272003-02-27 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+5
* doublest.c (extract_floating): Fix warning text.
2003-02-272003-02-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney30-75/+156
* gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with predicate. Replaces PUSH_DUMMY_FRAME. * gdbarch.h, gdbarch.c: Regnerate. * valops.c (hand_function_call): Update. Call generic_push_dummy_frame directly. * vax-tdep.c (vax_gdbarch_init): Update. * sparc-tdep.c (sparc_gdbarch_init): Update. * ns32k-tdep.c (ns32k_gdbarch_init): Update. * m68k-tdep.c (m68k_gdbarch_init): Update. * hppa-tdep.c (hppa_gdbarch_init): Update. * alpha-tdep.c (alpha_gdbarch_init): Update. * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. * inferior.h (PUSH_DUMMY_FRAME): Delete definition. * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set push_dummy_frame to generic_push_dummy_frame. * v850-tdep.c (v850_gdbarch_init): Ditto. * sh-tdep.c (sh_gdbarch_init): Ditto. * s390-tdep.c (s390_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. * mips-tdep.c (mips_gdbarch_init): Ditto. * mcore-tdep.c (mcore_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. * ia64-tdep.c (ia64_gdbarch_init): Ditto. * i386-tdep.c (i386_gdbarch_init): Ditto. * h8300-tdep.c (h8300_gdbarch_init): Ditto. * frv-tdep.c (frv_gdbarch_init): Ditto. * d10v-tdep.c (d10v_gdbarch_init): Ditto. * cris-tdep.c (cris_gdbarch_init): Ditto. * avr-tdep.c (avr_gdbarch_init): Ditto. * arm-tdep.c (arm_gdbarch_init): Ditto.
2003-02-27Make ``show mips abi'' actually show the abi in use.Kevin Buettner2-1/+40
2003-02-27*** empty log message ***gdbadmin1-1/+1
2003-02-262003-02-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+13
From Elena Zannoni <ezannoni@redhat.com> * dbxread.c (process_one_symbol): Only record line 0 if one or more sline entries have been seen for the function.
2003-02-262003-02-26 Michael Chastain <mec@shout.net>Michael Chastain2-515/+532
* configure: Regenerate with autoconf 000227.
2003-02-262003-02-26 David Carlton <carlton@math.stanford.edu>David Carlton2-3/+24
* gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile char *>::foo" test with respect to PR c++/33. Create a new test which is identical to that one except that it doesn't put the space between the "char" and the "*"; KFAIL it, too.
2003-02-262003-02-26 David Carlton <carlton@math.stanford.edu>David Carlton2-32/+68
* gdb.c++/templates.exp (do_tests): Convert XFAILs about printing template types into either PASSes or KFAILs (corresponding to PR c++/57). Tweak indentation. Update copyright.
2003-02-262003-02-26 Michael Chastain <mec@shout.net>Michael Chastain3-3/+20
Close PR build/660. * PROBLEMS (i[3456]86-*-linux*): Note explicit error message for old libc5/glibc. * gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
2003-02-26Added GDB_OSABI_QNXNTO.Kris Warkentin1-0/+5
2003-02-26Added GDB_OSABI_QNXNTO.Kris Warkentin2-0/+2
2003-02-262003-02-26 Michael Chastain <mec@shout.net>Michael Chastain4-471/+498
* configure.in: New variable HAVE_UINTPTR_T. * configure, config.in: Regenerated.
2003-02-26 Fix PR build/1097.Daniel Jacobowitz2-1/+6
* utils.c (gdb_realpath): Move closing brace outwards one #endif.
2003-02-26*** empty log message ***gdbadmin1-1/+1
2003-02-252003-02-25 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+47
* frame.c (get_prev_frame): Add comment on check for inside_entry_func. Only check for inside_entry_file when not a dummy and not a sentinel. Check that the new frame is not inner to the old frame.
2003-02-252003-02-25 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-6/+50
* frame.c (frame_debug): New variable. (_initialize_frame): Add "set/show debug frame" command. (get_prev_frame): When frame_debug, print reason why unwind failed.
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.