David Carlton
25120b0d7a
2003-03-03 David Carlton <carlton@math.stanford.edu>
...
* symtab.h (SYMBOL_MATCHES_REGEXP): Delete.
* symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP
by regexp matching against SYMBOL_NATURAL_NAME.
2003-03-03 18:01:33 +00:00
David Carlton
78a11fb474
2003-03-03 David Carlton <carlton@math.stanford.edu>
...
* linespec.c (find_method): Extract code into collect_methods.
(collect_methods): New.
2003-03-03 17:20:24 +00:00
Michael Chastain
7bedbf2755
2003-03-03 Michael Chastain <mec@shout.net>
...
* configure.in: Update copyright years.
2003-03-03 15:45:24 +00:00
Michael Chastain
98e9c5b8c3
2003-03-03 Michael Chastain <mec@shout.net>
...
* Makefile.in: update copyright years.
2003-03-03 15:18:20 +00:00
Daniel Jacobowitz
d7f4a26424
* Makefile.in (distclean): Remove config.log.
2003-03-03 03:59:16 +00:00
gdbadmin
792544c15a
*** empty log message ***
2003-03-03 00:00:03 +00:00
Mark Kettenis
b4700d91c9
* i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and
...
get_frame_base.
2003-03-02 17:05:18 +00:00
Mark Kettenis
645dd51955
* i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of
...
DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
2003-03-02 10:40:37 +00:00
Stephane Carrez
0aa7e1aa07
* arch-utils.c (generic_register_byte): Fix to use the loop index
...
and not regnum when summing the size of all registers up to regnum.
2003-03-02 10:23:09 +00:00
Andrew Cagney
51b2af57ce
Fix merge botch in previous commit.
2003-03-02 05:56:56 +00:00
Andrew Cagney
f30ee0bc4f
2003-03-01 Andrew Cagney <cagney@redhat.com>
...
* 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-02 04:02:25 +00:00
Andrew Cagney
42fa7c0fc9
2003-03-01 Andrew Cagney <cagney@redhat.com>
...
* 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-02 02:07:12 +00:00
Andrew Cagney
49c7e3387b
2003-03-01 Andrew Cagney <cagney@redhat.com>
...
* main.c (captured_main): Replace magic option characters with an
enum.
2003-03-02 01:22:18 +00:00
Andrew Cagney
e9582e713d
2003-03-01 Andrew Cagney <cagney@redhat.com>
...
* 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 00:11:43 +00:00
gdbadmin
85495d8caf
*** empty log message ***
2003-03-02 00:00:02 +00:00
Andrew Cagney
35cac7cfea
2003-03-01 Andrew Cagney <cagney@redhat.com>
...
* 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-01 17:59:12 +00:00
Andrew Cagney
7b83296f22
2003-03-01 Andrew Cagney <cagney@redhat.com>
...
* 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 17:03:19 +00:00
Mark Kettenis
eadc1c87eb
* i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
...
DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
2003-03-01 13:00:07 +00:00
Mark Kettenis
141436125c
* i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
...
of STREQ.
2003-03-01 12:36:36 +00:00
gdbadmin
4242fe84e5
*** empty log message ***
2003-03-01 00:00:32 +00:00
Daniel Jacobowitz
a55cc764ae
* Makefile.in (dwarf2loc.o): Update dependencies.
...
* 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-28 20:03:18 +00:00
David Carlton
8a151ee066
Fix minor slip in previous patch.
2003-02-28 17:59:18 +00:00
David Carlton
f683e100b7
2003-02-28 David Carlton <carlton@math.stanford.edu>
...
* 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-28 17:51:35 +00:00
David Carlton
a9e0cf2cae
2003-02-28 David Carlton <carlton@math.stanford.edu>
...
* gdb.c++/templates.exp (do_tests): Allow const in the two
Foo<volatile char *>::foo tests.
2003-02-28 17:50:16 +00:00
Andrew Cagney
08a617dae2
2003-02-28 Andrew Cagney <cagney@redhat.com>
...
* 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-28 17:47:43 +00:00
David Carlton
4224873a5a
2003-02-28 David Carlton <carlton@math.stanford.edu>
...
* linespec.c (decode_compound): Extract code into find_method.
(find_method): New.
2003-02-28 17:21:16 +00:00
Joel Brobecker
ccdc5d7f94
* Makefile.in: Add rules to build and link in observer.o.
2003-02-28 17:14:16 +00:00
Joel Brobecker
974e8cede2
* observer.c: Minor comments edits.
2003-02-28 07:19:32 +00:00
Joel Brobecker
7a28f9732a
* observer.h, observer.c: New file.
2003-02-28 07:08:51 +00:00
gdbadmin
e03e15dbd3
*** empty log message ***
2003-02-28 00:00:03 +00:00
Andrew Cagney
27cddce2ee
2003-02-27 Andrew Cagney <cagney@redhat.com>
...
* arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd.
2003-02-27 23:17:52 +00:00
Stephane Carrez
b94a41a1b2
* m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines.
...
(M6812_OP_STS_EXT): Likewise.
(m6811_prologue): Use the above to recognize prologue.
(m6812_prologue): Likewise.
2003-02-27 21:02:17 +00:00
David Carlton
c8be89511d
2003-02-27 David Carlton <carlton@math.stanford.edu>
...
* 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-27 20:48:03 +00:00
Michael Snyder
e8d359df3a
2003-02-27 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/restore.c (main): Return zero, so exit code
will be consistant.
2003-02-27 18:36:31 +00:00
Michael Snyder
4e845cd39a
2003-02-27 Michael Snyder <msnyder@redhat.com>
...
* f-lang.c (build_fortran_types): New function.
(_initialize_f_language): Gdbarch-register built-in fortran types.
2003-02-27 18:13:37 +00:00
Michael Snyder
d05bb1fc02
2003-02-27 Michael Snyder <msnyder@redhat.com>
...
* doublest.c (extract_floating): Fix warning text.
2003-02-27 18:08:25 +00:00
Andrew Cagney
f3824013e0
2003-02-27 Andrew Cagney <cagney@redhat.com>
...
* 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-27 17:48:48 +00:00
Kevin Buettner
ad18820186
Make ``show mips abi'' actually show the abi in use.
2003-02-27 01:14:53 +00:00
gdbadmin
873c9e4a20
*** empty log message ***
2003-02-27 00:01:02 +00:00
Jeff Johnston
6b37567ac2
2003-02-26 Jeff Johnston <jjohnstn@redhat.com>
...
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-26 21:41:18 +00:00
Michael Chastain
d3e0a5bf3a
2003-02-26 Michael Chastain <mec@shout.net>
...
* configure: Regenerate with autoconf 000227.
2003-02-26 20:30:27 +00:00
David Carlton
0b71dc91d9
2003-02-26 David Carlton <carlton@math.stanford.edu>
...
* 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-26 20:30:05 +00:00
David Carlton
dd14ab4396
2003-02-26 David Carlton <carlton@math.stanford.edu>
...
* 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-26 20:23:13 +00:00
Michael Chastain
18972eea77
2003-02-26 Michael Chastain <mec@shout.net>
...
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-26 17:24:12 +00:00
Kris Warkentin
0bbde93163
Added GDB_OSABI_QNXNTO.
2003-02-26 16:34:53 +00:00
Kris Warkentin
83461b867f
Added GDB_OSABI_QNXNTO.
2003-02-26 15:13:07 +00:00
Michael Chastain
27ca5dad5f
2003-02-26 Michael Chastain <mec@shout.net>
...
* configure.in: New variable HAVE_UINTPTR_T.
* configure, config.in: Regenerated.
2003-02-26 15:10:47 +00:00
Daniel Jacobowitz
6f88d63022
Fix PR build/1097.
...
* utils.c (gdb_realpath): Move closing brace outwards one #endif.
2003-02-26 14:35:19 +00:00
gdbadmin
66f24a0b52
*** empty log message ***
2003-02-26 00:00:31 +00:00
Andrew Cagney
b14185ce10
2003-02-25 Andrew Cagney <cagney@redhat.com>
...
* 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-25 23:52:16 +00:00