Commit Graph

15341 Commits

Author SHA1 Message Date
Michael Chastain b74b6d0b9f 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
	* gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
	to test_compiler_info.
2003-12-05 01:53:46 +00:00
Joel Brobecker 149d821b1e * stabsread.c (read_type): Save a reference to types that are defined
as cross references to other types.
2003-12-05 00:45:39 +00:00
gdbadmin d97d0546d3 *** empty log message *** 2003-12-05 00:00:01 +00:00
Michael Chastain ccfa340233 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/so-impl-ld.exp: Update copyright notice.
2003-12-04 04:37:54 +00:00
Roland McGrath 77f091ddb5 . 2003-12-04 00:20:51 +00:00
Roland McGrath cdbc0b18d6 2003-12-02 Roland McGrath <roland@redhat.com>
* thread-db.c (enable_thread_event): Change return type to
	td_err_e.  Return TD_OK or error code.
	(enable_thread_event_reporting): Update callers.
2003-12-04 00:20:25 +00:00
gdbadmin 4a9ecc4bcb *** empty log message *** 2003-12-04 00:00:02 +00:00
Ian Lance Taylor 59659be2f6 * NEWS: Mention new C++ demangler code. 2003-12-03 19:53:11 +00:00
Andrew Cagney 56d0d96a62 2003-12-03 Andrew Cagney <cagney@redhat.com>
* ppc-linux-nat.c (store_register, fetch_register): Convert
	between ptrace and regcache's wordsize.
	(ppc_register_u_addr): Use the ptrace wordsize.
2003-12-03 19:37:03 +00:00
Kevin Buettner 251a3ae3a6 * frv-tdep.c (frv_gdbarch_init): Add case for fr550. 2003-12-03 04:50:33 +00:00
gdbadmin 2460582e7b *** empty log message *** 2003-12-03 00:00:32 +00:00
Michael Chastain f6246aba72 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
	* gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
	to test_compiler_info.
2003-12-02 17:53:58 +00:00
Michael Chastain 13ae734acd 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
* gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
	from current versions of gdb.  Clean up regular expressions.
	Delete redundant timeout case.
2003-12-02 17:03:30 +00:00
Michael Chastain d8e1cdeed9 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
* gdb.objc/nondebug.exp: Match and KFAIL the output that comes
	from current versions of gdb.  Clean up regular expressions.
	Delete redundant timeout case.
2003-12-02 16:57:16 +00:00
Daniel Jacobowitz 188dd5d64f * dwarf2read.c (dwarf_info_offset, dwarf_abbrev_offset)
(dwarf_line_offset, dwarf_pubnames_offset, dwarf_aranges_offset)
	(dwarf_loc_offset, dwarf_macinfo_offset, dwarf_str_offset)
	(dwarf_ranges_offset, dwarf_frame_offset, dwarf_eh_frame_offset):
	Delete.
	(dwarf2_read_section): Remove offset and size arguments.  Use
	bfd_get_section_size_before_reloc and sectp->filepos.
	(dwarf2_has_info): Clear section variables instead of offsets.
	(dwarf2_locate_sections): Don't initialize the deleted variables.
	(dwarf2_build_psymtabs): Update calls to dwarf2_read_section.
	(dwarf2_build_psymtabs_easy): Likewise.
	* dwarf2-frame.c (dwarf_frame_offset, dwarf_frame_size)
	(dwarf_eh_frame_offset, dwarf_eh_frame_size): Remove extern
	declarations.
	(dwarf2_read_section): Update prototype.
	(dwarf2_build_frame_info): Update calls to dwarf2_read_section.
	Use bfd_get_section_size_before_reloc instead of global size
	variables.
2003-12-02 16:41:39 +00:00
gdbadmin 37c8b24511 *** empty log message *** 2003-12-02 00:00:02 +00:00
Michael Chastain 96457b64cf 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
	* gdb.base/callfuncs.exp (do_function_calls): Replace reference to
	gcc_compiled with call to test_compiler_info.
2003-12-01 22:09:06 +00:00
Michael Chastain 013be87271 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
* dwarfread.c: Update documentation on the state of dwarf-1.
2003-12-01 22:03:12 +00:00
Andrew Cagney 0748d941c8 2003-12-01 Andrew Cagney <cagney@redhat.com>
Obsolete old MIPS SVr3 and SVr4 systems.
	* NEWS: Mention obsoleted systems.
	* configure.tgt: Mark mips*-*-sysv4* as obsolete.
	* configure.host: Mark mips-dec-*, mips-little-*, mips-sony-*,
	mips-*-sysv4*, mips-*-sysv*, mips-*-riscos* and mips-*-mach3* as
	obsolete.
	* config/mips/decstation.mh: Mark as obsolete.
	* config/mips/littlemips.mh: Mark as obsolete.
	* config/mips/nm-mips.h: Mark as obsolete.
	* config/mips/xm-mips.h: Mark as obsolete.
	* config/mips/news-mips.mh: Mark as obsolete.
	* config/mips/nm-news-mips.h: Mark as obsolete.
	* config/mips/riscos.mh: Mark as obsolete.
	* config/mips/nm-riscos.h: Mark as obsolete.
	* config/mips/xm-riscos.h: Mark as obsolete.
	* config/mips/mipsv4.mt: Mark as obsolete.
	* config/mips/tm-mipsv4.h: Mark as obsolete.
	* config/mips/xm-mipsv4.h: Mark as obsolete.
2003-12-01 21:10:46 +00:00
Andrew Cagney 5994185b33 2003-12-01 Andrew Cagney <cagney@redhat.com>
Obsolete old m68k systems.
	* configure.host: Mark m68*-sun-*, m68*-sun-sunos4*,
	m68*-sun-sunos3*, m68*-motorola-*, m68*-*-sysv4*, m68*-*-lynxos*,
	m68*-bull*-sysv*, m68*-att-*, m680[01]0-sun-sunos4*, and
	m680[01]0-sun-sunos3* as obsolete.
	* configure.tgt: Mark m68*-*-lynxos*, m68*-*-sunos3*,
	m68*-*-sunos4*, m68*-*-sysv4*, m68000-*-sunos3*, m68000-*-sunos4*,
	m68*-bull-sysv*, m68*-att-*, and m68*-motorola-*, as obsolete.
	* config/m68k/sun3os4.mh: Mark file obsolete.
	* config/m68k/xm-sun3os4.h: Mark file obsolete.
	* config/m68k/sun3os3.mh: Mark file obsolete.
	* config/m68k/nm-sun3.h: Mark file obsolete.
	* config/m68k/xm-sun3.h: Mark file obsolete.
	* config/m68k/sun2os4.mh: Mark file obsolete.
	* config/m68k/sun2os3.mh: Mark file obsolete.
	* config/m68k/nm-sun2.h: Mark file obsolete.
	* config/m68k/xm-sun2.h: Mark file obsolete.
	* config/m68k/m68kv4.mh: Mark file obsolete.
	* config/m68k/nm-sysv4.h: Mark file obsolete.
	* config/m68k/xm-m68kv4.h: Mark file obsolete.
	* config/m68k/m68klynx.mh: Mark file obsolete.
	* config/m68k/nm-m68klynx.h: Mark file obsolete.
	* config/m68k/dpx2.mh: Mark file obsolete.
	* config/m68k/xm-dpx2.h: Mark file obsolete.
	* config/m68k/nm-dpx2.h: Mark file obsolete.
	* config/m68k/delta68.mh: Mark file obsolete.
	* config/m68k/xm-delta68.h: Mark file obsolete.
	* config/m68k/nm-delta68.h: Mark file obsolete.
	* config/m68k/3b1.mh: Mark file obsolete.
	* config/m68k/xm-3b1.h: Mark file obsolete.
	* config/m68k/sun3os4.mt: Mark file obsolete.
	* config/m68k/tm-sun3os4.h: Mark file obsolete.
	* config/m68k/sun3os3.mt: Mark file obsolete.
	* config/m68k/tm-sun3.h: Mark file obsolete.
	* config/m68k/sun2os4.mt: Mark file obsolete.
	* config/m68k/tm-sun2os4.h: Mark file obsolete.
	* config/m68k/sun2os3.mt: Mark file obsolete.
	* config/m68k/tm-sun2.h: Mark file obsolete.
	* config/m68k/m68kv4.mt: Mark file obsolete.
	* config/m68k/tm-m68kv4.h: Mark file obsolete.
	* config/m68k/m68klynx.mt: Mark file obsolete.
	* config/m68k/tm-m68klynx.h: Mark file obsolete.
	* config/m68k/dpx2.mt: Mark file obsolete.
	* config/m68k/tm-dpx2.h: Mark file obsolete.
	* config/m68k/delta68.mt: Mark file obsolete.
	* config/m68k/tm-delta68.h: Mark file obsolete.
	* config/m68k/3b1.mt: Mark file obsolete.
	* config/m68k/tm-3b1.h: Mark file obsolete.
2003-12-01 14:53:42 +00:00
gdbadmin 68c0be47f8 *** empty log message *** 2003-12-01 00:00:01 +00:00
Michael Chastain f35309fcfd 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
	* gdb.base/list.exp (test_list_function): Delete unused declaration
	of gcc_compiled.
2003-11-30 23:13:34 +00:00
Michael Chastain d7afdf9bce 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
	* gdb.base/complex.exp: Replace reference to gcc_compiled with
	call to test_compiler_info.
2003-11-30 06:50:49 +00:00
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