gdbadmin
a99c632e4f
*** empty log message ***
2003-11-30 00:00:02 +00:00
Mark Kettenis
71507b5617
* gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
...
asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
it to create the appropriate note.inc.
* gdb.asm/asmsrc1.s: Include "note.inc".
* gdb.asm/netbsd.inc: New file.
* gdb.asm/empty.inc: New file.
2003-11-29 13:55:17 +00:00
Michael Chastain
f81f93f75e
2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR testsuite/1456.
* gdb.base/constvars.exp: Replace references to gcc_compiled with
calls to test_compiler_info.
2003-11-29 06:56:06 +00:00
Mark Kettenis
720aa42891
* x86-64-tdep.c (MAX_CLASSES): Remove macro.
...
(x86_64_reg_class): Remove enum.
(merge_classes, classify_argument, examine_argument): Remove
functions.
(INT_REGS, SSE_REGS): Remove macros.
(x86_64_push_arguments): Remove function.
(amd64_push_arguments): New function.
(x86_64_push_dummy_call): Call amd64_push_arguments instead of
x86_64_push_arguments.
2003-11-29 00:54:41 +00:00
gdbadmin
1c9277c14f
*** empty log message ***
2003-11-29 00:00:01 +00:00
Michael Chastain
9a77938ecf
2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR testsuite/1456.
* gdb.base/volatile.exp: Replace references to gcc_compiled with
calls to test_compiler_info.
2003-11-28 03:31:24 +00:00
gdbadmin
0d60309505
*** empty log message ***
2003-11-28 00:00:32 +00:00
Mark Kettenis
35883a3f2f
* x86-64-tdep.c (x86_64_frame_cache): Don't bail out if %rbp is
...
zero. Reorganize code a bit.
2003-11-27 23:33:07 +00:00
Mark Kettenis
3e74aeeda6
* dwarf2-frame.c: Fix another comment.
2003-11-27 20:50:43 +00:00
Mark Kettenis
e8367dc76a
* gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
...
pattern for the KFAILs.
2003-11-27 20:40:52 +00:00
Mark Kettenis
efb1c01c42
* x86-64-tdep.c (RET_INT_REGS, RET_SSE_REGS): Remove defines.
...
(x86_64_use_struct_convention, x86_64_extract_return_value,
x86_64_store_return_value): Remove.
(amd64_reg_class): New enum.
(amd64_merge_classes, amd64_classify_aggregate, amd64_classify,
amd64_return_value): New functions.
(x86_64_init_abi): Don't set extract_return_value,
store_return_value and use_struct_convention. Set return_value to
amd64_return_value.
* i387-tdep.h (i387_return_value): New prototype.
* i387-tdep.c (i387_return_value): New function.
2003-11-27 20:35:38 +00:00
Mark Kettenis
e4e9607c60
* dwarf2-frame.c: Fix some comments and whitespace problems.
2003-11-27 17:17:04 +00:00
Mark Kettenis
13739f4d37
* i386nbsd-tdep.c: Don't include "gdbtypes.h". Include
...
"gdb_assert.h" and "gdb_string.h".
(i386nbsd_r_reg_offset): Rename from regmap.
(SIZEOF_STRUCT_REG): Remove.
(i386nbsd_supply_reg, fetch_core_registers,
fetch_elfcore_registers, i386nbsd_core_fns, i386nbsd_elfcore_fns):
Remove.
(i386nbsd_aout_supply_regset,
i386nbsd_aout_regset_from_core_section): New functions.
(i386nbsd_sc_reg_offset): Don't explicitly specify size of array.
(i386nbsd_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs amd sizeof_gregset. Use ARRAY_SIZE to
initialize TDEP->sc_num_regs.
(i386nbsdaout_init_abi): New function.
(i386nbsdelf_init_abi): Remove initialization of
TDEP->num_xmm_regs. Don't set num_regs here.
(_initialize_i386nbsd_tdep): Don't call add_core_fns. Use
i386nbsd_aout_init to register NetBSD a.out OS/ABI.
2003-11-27 13:28:50 +00:00
Mark Kettenis
597684c51b
* osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Use
...
.note.netbsdcore.procinfo section to recognize NetBSD core files.
2003-11-27 12:43:36 +00:00
gdbadmin
f2d0e87dbf
*** empty log message ***
2003-11-27 00:00:02 +00:00
Michael Chastain
37e79b6be7
2003-11-26 Michael Chastain <mec.gnu@mindspring.com>
...
* cp-abi.c: Update copyright years.
2003-11-26 22:04:00 +00:00
Adam Fedor
526c61eee0
* gdb.objc/objcdecode.exp: Test for PR objc/1238.
...
* gdb.objc/objcdecode.m: New file.
2003-11-26 04:23:25 +00:00
Adam Fedor
28f2d60014
* gdb.objc/nondebug.exp: Test for PR objc/1236.
...
* gdb.objc/nondebug.m: New file.
2003-11-26 04:21:51 +00:00
Ben Elliston
a3895ceeba
* gdb.asm/asm-source.exp: Make sure the final link succeeds on
...
NetBSD as it does on FreeBSD. Modelled on a similar change by
Mark Kettenis on 2003-05-30.
(link-flags): Set to "--entry _start" regardless of target.
Special linker flags are to be appended to $link-flags.
* gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
2003-11-26 01:17:16 +00:00
gdbadmin
5b761a580b
*** empty log message ***
2003-11-26 00:00:32 +00:00
Andrew Cagney
24557e30a9
2003-11-25 Andrew Cagney <cagney@redhat.com>
...
* thread-db.c (enable_thread_event): New function. Ensure that BP
is a code address.
(enable_thread_event_reporting): Use enable_thread_event.
2003-11-25 23:31:40 +00:00
Michael Snyder
78c63a3b6f
2003-11-25 Michael Snyder <msnyder@redhat.com>
...
* mips-tdep.c (mips_o64_extract_return_value): Correct for
NUM_REGS (see changes 2003-06-21).
(mips_eabi_extract_return_value): Ditto.
2003-11-25 22:15:24 +00:00
Michael Chastain
c9f2c8a388
2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/method.exp: Accept output of new demangler.
2003-11-25 17:39:07 +00:00
Michael Chastain
15a0587afe
Fix typo in my e-mail address in last ChangeLog commit.
...
Argh!
2003-11-25 17:10:57 +00:00
Andrew Cagney
aff6338aa9
2003-11-25 Andrew Cagney <cagney@redhat.com>
...
* infrun.c: Don't include "exec.h".
(handle_inferior_event): Pass current_target, instead of exec_ops,
to SOLIB_ADD. Add comments.
* Makefile.in (infrun.o): Update dependencies.
2003-11-25 16:01:36 +00:00
Michael Chastain
f4e8b6f343
2003-11-25 Michael Chastain <mec@gnu.mindspring.com>
...
* gdb/class2.exp: New file.
* gdb/class2.cc: New file.
2003-11-25 15:01:31 +00:00
Michael Chastain
3c00b5704f
2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/templates.exp (test_ptype_of_templates): Accept output
of new demangler.
2003-11-25 14:34:37 +00:00
gdbadmin
e3ab1ac027
*** empty log message ***
2003-11-25 00:00:32 +00:00
Daniel Jacobowitz
9e08b29bd1
* NEWS: Mention improved location expression support.
2003-11-24 17:02:34 +00:00
gdbadmin
c765be85d5
*** empty log message ***
2003-11-24 00:00:01 +00:00
Andrew Cagney
603942cc64
2003-11-23 Andrew Cagney <cagney@redhat.com>
...
* Makefile.in (infrun.o): Update dependencies.
* infrun.c: Include "exec.h".
(handle_inferior_event): Pass exec_ops to SOLIB_ADD.
2003-11-23 23:13:00 +00:00
Andrew Cagney
dd3ecc148c
2003-11-23 Andrew Cagney <cagney@redhat.com>
...
* frame.c (frame_unwind_signed_register): Delete function.
* frame.h (frame_unwind_register_signed): Delete declaration.
* mips-tdep.c (mips_frame_saved_pc): Use frame_unwind_register_signed.
2003-11-23 21:49:12 +00:00
Andrew Cagney
eec1a5606c
2003-11-23 Andrew Cagney <cagney@redhat.com>
...
* arch-utils.h (generic_cannot_extract_struct_value_address):
Delete declaration.
2003-11-23 21:32:42 +00:00
Mark Kettenis
7027acc712
* gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
...
of gdb_test "run".
2003-11-23 21:14:45 +00:00
Andrew Cagney
cb137aa501
2003-11-23 Andrew Cagney <cagney@redhat.com>
...
* symfile.c (symbol_file_command): Replace STREQ with strcmp.
* defs.h (DEPRECATED_STREQN): Rename STREQN.
(DEPRECATED_STREQ): Rename STREQ.
* ada-exp.y, ada-lang.c, ada-lex.l, coffread.c: Update.
* config/mips/tm-irix5.h, config/mips/tm-irix6.h: Update.
* config/mips/tm-mipsv4.h, config/sparc/tm-sun4sol2.h: Update.
* dbxread.c, dwarf2read.c, dwarfread.c, environ.c: Update.
* eval.c, exec.c, f-lang.c, hppa-tdep.c, hpread.c: Update.
* jv-exp.y, language.c, m2-exp.y, mcore-rom.c: Update.
* mdebugread.c, mipsread.c, objc-exp.y, objfiles.c: Update.
* p-exp.y, p-typeprint.c, p-valprint.c, rs6000-nat.c: Update.
* source.c, sparc-tdep.c, stack.c, target.c: Update.
2003-11-23 20:41:17 +00:00
Mark Kettenis
b0e1598abf
* gdb.arch/i386-unwind.exp: Don't use runto_main. Change
...
"continue" into "run".
2003-11-23 19:30:52 +00:00
Andrew Cagney
66c5728963
2003-11-23 Andrew Cagney <cagney@redhat.com>
...
* symfile.c (symbol_file_command): Replace STREQ with strcmp.
* elfread.c (elf_symtab_read): Delete STREQ from comment.
2003-11-23 19:24:05 +00:00
Michael Chastain
4d9eda44f5
2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR testsuite/1456.
* gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
call to test_compiler_info.
* gdb.cp/ctti.exp: Likewise.
* gdb.cp/derivation.exp: Likewise.
* gdb.cp/member-ptr.exp: Likewise.
* gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
reference to gcc_compiled.
2003-11-23 18:24:46 +00:00
Michael Chastain
b729099eb3
2003-11-23 Michael Chastain <mec@shout.net>
...
Fix PR testsuite/1463.
* gdb.base/structs.exp (start_structs_test): Call
get_debug_format before using the debug format.
2003-11-23 17:48:00 +00:00
Andrew Cagney
213cc0adce
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* frame.c (deprecated_frame_xmalloc): Delete function.
(deprecated_set_frame_extra_info_hack): Delete function.
(deprecated_set_frame_saved_regs_hack): Delete function.
* frame.h (deprecated_frame_xmalloc): Delete declaration.
(deprecated_set_frame_extra_info_hack): Delete declaration.
(deprecated_set_frame_saved_regs_hack): Delete declaration.
* mcore-tdep.c (analyze_dummy_frame): Instead of
deprecated_frame_xmalloc, deprecated_set_frame_saved_regs_hack,
and deprecated_set_frame_extra_info_hack use
deprecated_frame_xmalloc_with_cleanup.
* mn10300-tdep.c (analyze_dummy_frame): Ditto.
* mips-tdep.c (mips_init_extra_frame_info): Delete call to
deprecated_set_frame_saved_regs_hack.
2003-11-23 02:48:40 +00:00
Andrew Cagney
35bb18ac33
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (mips_frame_chain): Delete call to
deprecated_inside_entry_file.
2003-11-23 01:25:39 +00:00
Andrew Cagney
d422fe19c6
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* lib/gdb.exp (gdb_test_multiple): Add simple example.
* gdb.base/structs.exp: Use gdb_test_multiple.
2003-11-23 01:09:19 +00:00
Andrew Cagney
38a7ce4b44
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* frame.h (deprecated_set_frame_next_hack): Delete declaration.
(deprecated_set_frame_prev_hack): Delete declaration.
* frame.c (deprecated_set_frame_next_hack): Delete function.
(deprecated_set_frame_prev_hack): Delete function.
* mcore-tdep.c (analyze_dummy_frame): Delete calls to
"deprecated_set_frame_next_hack" and
"deprecated_set_frame_prev_hack".
* mn10300-tdep.c (analyze_dummy_frame): Ditto.
2003-11-23 00:27:54 +00:00
gdbadmin
86e3c56bd7
*** empty log message ***
2003-11-23 00:00:01 +00:00
Andrew Cagney
47ebcfbef9
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (mips_register_convertible): Delete function.
(mips_register_convert_to_virtual): Delete function.
(mips_register_convert_to_raw): Delete function.
(mips_gdbarch_init): Do not set "deprecated_register_convertible",
"deprecated_register_convert_to_virtual", or
"deprecated_register_convert_to_raw".
(mips_pseudo_register_write, mips_pseudo_register_read): Handle
32/64 cooked to raw register conversions.
2003-11-22 23:24:16 +00:00
Andrew Cagney
2a9264f126
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* frame.c (deprecated_get_frame_context): Delete function.
(deprecated_set_frame_prev_hack): Delete function.
(struct frame_info): Delete member "context".
* frame.h (deprecated_get_frame_context): Delete declaration.
(deprecated_set_frame_context): Delete declaration.
2003-11-22 23:00:37 +00:00
Andrew Cagney
7af6341f3b
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* procfs.c (procfs_wait): Delete FAULTED_USE_SIGINFO comment.
* config/sparc/tm-sun4sol2.h (FAULTED_USE_SIGINFO): Delete macro.
* config/i386/tm-i386sol2.h (FAULTED_USE_SIGINFO): Delete macro.
* config/alpha/nm-osf2.h (FAULTED_USE_SIGINFO): Delete macro.
2003-11-22 22:43:05 +00:00
Andrew Cagney
10a08821d3
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (SIGFRAME_REG_SIZE): Delete macro.
(mips_find_saved_regs): Replace SIGFRAME_REG_SIZE with
mips_regsize.
(mips_dump_tdep): Do not print SIGFRAME_REG_SIZE.
* config/mips/tm-irix6.h (SIGFRAME_REG_SIZE): Delete macro.
* config/mips/tm-irix5.h: Update copyright.
(SIGFRAME_REG_SIZE): Delete macro.
2003-11-22 22:32:28 +00:00
Andrew Cagney
00d3340373
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* hppa-tdep.c (hppa_value_returned_from_stack): Delete function.
* config/pa/tm-hppa.h (hppa_value_returned_from_stack): Delete
declaration.
(DEPRECATED_VALUE_RETURNED_FROM_STACK): Delete macro.
* infcall.c (call_function_by_hand): Delete #ifdef
DEPRECATED_VALUE_RETURNED_FROM_STACK code.
* infcmd.c (print_return_value): Ditto.
2003-11-22 22:15:23 +00:00
Andrew Cagney
74da7425d5
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (skip_prologue_using_sal): New function.
(mips32_skip_prologue, mips16_skip_prologue): Use
skip_prologue_using_sal to get an upper bound on the search.
2003-11-22 21:12:24 +00:00