Commit Graph

41250 Commits

Author SHA1 Message Date
Nick Clifton 85cf2a8a15 Change target of hppa-netbsd port 2003-10-06 11:01:36 +00:00
Nick Clifton 249dba3eb2 Fix macro tests to ignore section symbols 2003-10-06 10:18:41 +00:00
Nick Clifton 4615568e51 Add i386-knetbsd-gnu triplet. 2003-10-06 09:12:39 +00:00
gdbadmin a6ebc044d5 *** empty log message *** 2003-10-06 00:00:31 +00:00
Alan Modra 53c4dcd4e7 daily update 2003-10-06 00:00:15 +00:00
Mark Kettenis a8bb57e724 * x86-64-tdep.c: Remove duplicate comment. 2003-10-05 22:54:10 +00:00
Mark Kettenis ae53de438e * x86-64-tdep.c (x86_64_store_return_value): Don't use
DEPRECATED_REGISTER_RAW_SIZE.  Use symbolic names for register
names for return values.  This fixes a bug since we looked at %rbx
instead of %rdx.
2003-10-05 22:13:24 +00:00
Mark Kettenis 2c261faeaa * x86-64-tdep.c: Include "regset.h". 2003-10-05 22:02:49 +00:00
Mark Kettenis 473f17b043 * i386-tdep.h (struct gdbarch_tdep): Add members gregset,
gregset_reg_offset, gregset_num_regs, sizeof_gregset, fpregset,
sizeof_fpregset.
* i386-tdep.c: Include "regset.h".
(i386_supply_gregset): New function.
(i386_supply_fpregset): New function.
(i386_gdbarch_init): Initialze register set-related members of
TDEP.
* x86-64-tdep.c (x86_64_supply_fpregset): New function.
(x86_64_init_abi): Initialize TDEP->sizeof_fpregset.
2003-10-05 21:31:33 +00:00
Nick Clifton c205944638 Revert -f change 2003-10-05 08:58:01 +00:00
Alan Modra 6e9d894a7f daily update 2003-10-05 00:00:15 +00:00
gdbadmin 4e941ec804 *** empty log message *** 2003-10-05 00:00:01 +00:00
Christian Groessler 249ad7a71f 2003-10-04 Christian Groessler <chris@groessler.org>
* gas/z8k/calr-backf.s: New file.
	* gas/z8k/calr-forwf.s: New file.
	* gas/z8k/calr.d: New file.
	* gas/z8k/calr.s: New file.
	* gas/z8k/djnz-backf.s: New file.
	* gas/z8k/djnz-backf2.s: New file.
	* gas/z8k/djnz.d: New file.
	* gas/z8k/djnz.s: New file.
	* gas/z8k/jr-back.d: New file.
	* gas/z8k/jr-forw.d: New file.
	* gas/z8k/jr-back.s: Fix displacement length. Add some more jumps
	for jr-back.d.
	* gas/z8k/jr-backf.s: Fix displacement length.
	* gas/z8k/jr-forw.s: Fix displacement length. Add some more jumps
	for jr-forw.d.
	* gas/z8k/jr-forwf.s: Fix displacement length.
	* gas/z8k/z8k.exp: Run new tests.
2003-10-04 21:11:47 +00:00
Christian Groessler a72d6b4e2a 2003-10-04 Christian Groessler <chris@groessler.org>
* tc-z8k.c (newfix): Tell fix_new_exp about pc relativeness.
	(md_apply_fix3): Fix R_JR, R_DISP7, and R_CALLR cases.
	(md_pcrel_from): This function now gets called. Supply return
	value.
2003-10-04 21:11:05 +00:00
Christian Groessler 8b7cf393a5 2003-10-04 Christian Groessler <chris@groessler.org>
* coff-z8k.c (extra_case): Fix displacement length check for R_JR
	and R_CALLR.
2003-10-04 21:09:29 +00:00
Stephane Carrez 0a6a3ebe97 * elf32-m68hc1x.c: Update to ISO C90; replace PTR with void*.
* elf32-m68hc11.c: Likewise.
	* elf32-m68hc12.c: Likewise.
	* elf32-m68hc1x.h: Likewise.
2003-10-04 21:02:53 +00:00
Stephane Carrez 17e58af002 * elf32-m68hc1x.c (_bfd_m68hc11_elf_merge_private_bfd_data): Fix merge
of flags between HC12 and HCS12.
2003-10-04 20:07:24 +00:00
Nick Clifton 3394863543 Convert to ISO C90 2003-10-04 12:40:12 +00:00
Nick Clifton d3fb7ca214 (std_shortopts): Remove 'f'.
(std_longopts): Add 'f'.
Doing this prevents -f<foo> being acecpted as an alias for -f
2003-10-04 12:07:27 +00:00
Nick Clifton b256d4fdd2 (obj_coff_section [BEF_ASSEMBLER]): Make 'r' mean readonly data. 2003-10-04 11:06:31 +00:00
Nick Clifton 27c630ba7a Set SEC_EXCLUDE flag on sections which become empty after merging. 2003-10-04 10:19:26 +00:00
H.J. Lu 78be415581 2003-10-03 H.J. Lu <hongjiu.lu@intel.com>
* ltconfig (sys_lib_search_path_spec): Fix a typo for HPUX.
2003-10-04 04:54:47 +00:00
Alan Modra 8e3e591dd4 daily update 2003-10-04 00:00:14 +00:00
gdbadmin 28f5428b17 *** empty log message *** 2003-10-04 00:00:01 +00:00
Andrew Cagney afd48b755b 2003-10-03 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (rs6000_gdbarch_init): When the 64 bit SysV ABI,
	set extract_return_value, store_return_value and
	use_struct_convention to ppc64_sysv_abi_extract_return_value,
	ppc64_sysv_abi_store_return_value and
	ppc64_sysv_abi_use_struct_convention.
	* ppc-tdep.h (ppc64_sysv_abi_extract_return_value): Declare.
	(ppc64_sysv_abi_store_return_value): Declare.
	(ppc64_sysv_abi_use_struct_convention): Declare.
	* ppc-sysv-tdep.c (enum return_value_convention): Define.
	(ppc64_sysv_abi_extract_return_value): New function.
	(ppc64_sysv_abi_store_return_value): New function.
	(ppc64_sysv_abi_use_struct_convention): New function.
	(ppc64_sysv_abi_return_value): New function.
2003-10-03 21:11:39 +00:00
Andrew Cagney 268e218846 2003-10-03 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Deprecate
	IBM6000_TARGET.  Mention that it implies an RS/6000 system and not
	just target.
2003-10-03 20:56:43 +00:00
Andrew Cagney 9b540880d6 2003-10-03 Andrew Cagney <cagney@redhat.com>
* ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): Only
	convert a descriptor to a function when it's in the ".opd"
	section.
2003-10-03 20:50:56 +00:00
Corinna Vinschen 8748518b95 * sh-tdep.c (sh_push_dummy_call_fpu): Initialize flt_argreg and
reg_size to keep GCC silent.
2003-10-03 08:13:37 +00:00
Corinna Vinschen 0fd8504376 * dwarf2-frame.c (struct comp_unit): Add tbase member to store
base for DW_EH_PE_textrel encodings.
	(read_encoded_value): Add a DW_EH_PE_textrel case.
	(dwarf2_build_frame_info): Set unit.tbase to beginning of text
	section.
2003-10-03 08:08:27 +00:00
gdbadmin b079391aac *** empty log message *** 2003-10-03 00:00:31 +00:00
Alan Modra d350957a20 daily update 2003-10-03 00:00:13 +00:00
Mark Kettenis 37b517aa77 * dwarf2-frame.c (dwarf2_build_frame_info): Fix comment. 2003-10-02 22:16:21 +00:00
Andrew Cagney 12c266ea56 2003-10-02 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_REGISTER_RAW_SIZE): Rename
	REGISTER_RAW_SIZE.
	* gdbarch.h, gdbarch.c: Re-generate.
	* aix-thread.c, alpha-tdep.h, arm-tdep.c, core-sol2.c: Update.
	* cris-tdep.c, dve3900-rom.c, findvar.c, frame.c: Update.
	* hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update.
	* hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update.
	* ia64-linux-nat.c, ia64-tdep.c, infcmd.c, infptrace.c: Update.
	* infrun.c, irix5-nat.c, lynx-nat.c, mips-linux-tdep.c: Update.
	* mips-nat.c, mips-tdep.c, mipsv4-nat.c, mn10300-tdep.c: Update.
	* monitor.c, ns32k-tdep.c, ppc-linux-nat.c, regcache.c: Update.
	* remote-e7000.c, remote-mips.c, remote-sim.c: Update.
	* remote-vxmips.c, remote-vxsparc.c, remote.c: Update.
	* rom68k-rom.c, rs6000-nat.c, rs6000-tdep.c, s390-tdep.c: Update.
	* sh64-tdep.c, sparc-nat.c, sparc-tdep.c, stack.c: Update.
	* target.c, tracepoint.c, v850-tdep.c, v850ice.c, valops.c: Update.
	* vax-tdep.c, vax-tdep.h, x86-64-tdep.c, xstormy16-tdep.c: Update.
	* config/m68k/tm-delta68.h, config/m68k/tm-vx68.h: Update.
	* config/sparc/tm-sparc.h, config/sparc/tm-sparclynx.h: Update.

2003-10-02  Andrew Cagney  <cagney@redhat.com>

	* gdbint.texinfo (Target Architecture Definition): Rename
	REGISTER_RAW_SIZE to DEPRECATED_REGISTER_RAW_SIZE.
	* gdb.texinfo (Packets, Stop Reply Packets): Ditto.
	* gdbint.texinfo (Target Architecture Definition): Rename

2003-10-02  Andrew Cagney  <cagney@redhat.com>

	* mi-main.c: Rename REGISTER_RAW_SIZE to
	DEPRECATED_REGISTER_RAW_SIZE.
2003-10-02 20:28:31 +00:00
Daniel Jacobowitz e3b1168e9d * strerror.c: Revert last change. Declare static sys_nerr
and sys_errlist using different names.
2003-10-02 19:07:17 +00:00
Jim Blandy 78ba4af6ad * dwarf2read.c (struct die_info): Doc fix. 2003-10-02 17:13:16 +00:00
Christopher Faylor b95f6b0c7e * resrc.c (define_icon): Fix storage of color attributes 'planes' and 'bit
count' in icon groups.
2003-10-02 14:13:10 +00:00
Nick Clifton 4b7f0676e4 Correct sym def order & pick right sym for .idata$7 reloc. 2003-10-02 11:18:13 +00:00
Corinna Vinschen 617daa0e43 * sh-tdep.c: Running thru gdb_indent.sh. 2003-10-02 10:47:05 +00:00
Corinna Vinschen e5e33cd91f * sh-tdep.c (sh_justify_value_in_reg): New function.
(sh_stack_allocsize): Ditto.
	(flt_argreg_array): New array used for floating point argument
	passing.
	(sh_init_flt_argreg): New function.
	(sh_next_flt_argreg): Ditto.
	(sh_push_dummy_call_fpu): Simplify. Rename "odd_sized_struct" to
	"pass_on_stack". Use new helper functions.  Accomodate Renesas ABI.
	Fix argument passing strategy.
	(sh_push_dummy_call_nofpu): Ditto.
2003-10-02 10:45:02 +00:00
H.J. Lu 051fcc7abe 2003-10-01 Phil Edwards <pme@gcc.gnu.org>
* config-ml.in:  Use ac_configure_args directly instead of
	ml_arguments.  Only set ml_norecursion if --no[-]recursion is
	actually seen.

2003-10-01  Eric Botcazou  <ebotcazou@libertysurf.fr>

	* config-ml.in: Propagate INSTALL variables.
2003-10-02 06:25:28 +00:00
Andrew Cagney 5fe830e4fe 2003-10-01 Andrew Cagney <cagney@redhat.com>
* value.h (register_value_being_returned): Declare.  Replace
	"value_being_returned".
	* infcall.c (call_function_by_hand): Use
	register_value_being_returned.
	* infcmd.c (print_return_value): Call
	"register_value_being_returned", handle struct return locally.
	* values.c (register_value_being_returned): New function.  Replace
	"value_being_returned".
2003-10-02 04:40:58 +00:00
Alan Modra d810ef4636 daily update 2003-10-02 00:00:12 +00:00
gdbadmin 675f0dea24 *** empty log message *** 2003-10-02 00:00:02 +00:00
Daniel Jacobowitz efb150d5d8 * strerror.c: Don't provide or reference sys_errlist if
strerror is available.
2003-10-01 23:11:45 +00:00
Elena Zannoni cf50a87ae2 2003-09-24 Elena Zannoni <ezannoni@redhat.com>
* linux-proc.c (linux_do_registers): New function.
	(linux_make_note_section): Use linux_do_registers in case of
	single threaded inferior programs.
2003-10-01 20:36:56 +00:00
Thiemo Seufer d17e7bce1e * config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):
Unbreak overflow checks.
2003-10-01 18:57:16 +00:00
Andrew Cagney 64f395bf19 2003-10-01 Andrew Cagney <cagney@redhat.com>
* infcall.c (call_function_by_hand): When STRUCT_RETURN, always
	use STRUCT_ADDR.  When not using "struct return convention", pass
	"0" to "value_being_returned".  Add FIXMEs.
	* infcmd.c (print_return_value): Pass an explicit 0/1 to
	value_being_returned.  Add comments.
	* values.c (value_being_returned): Add fixme.
	* hppa-tdep.c (hppa_extract_struct_value_address): Add FIXME.
	(hppa_value_returned_from_stack): Add FIXME.
2003-10-01 18:48:12 +00:00
H.J. Lu b7ca9213c7 2003-10-01 H.J. Lu <hongjiu.lu@intel.com>
* configure.in: Check if $MAKEINFO is missing.
	* configure: Regenerated.
2003-10-01 17:12:11 +00:00
Chris Demetriou 609f23f4ff 2003-10-01 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c (s_cpreturn): Correct errors in comment.
2003-10-01 06:09:31 +00:00
Thiemo Seufer ecd13cd3ed * config/tc-mips.c (macro_build_ldst_constoffset): Fix sign extension
tests.
	(load_register): Likewise.
	(macro): Likewise.

	* gas/mips/ldstla-32-shared.d: New file.
	* gas/mips/ldstla-32.d: New file.
	* gas/mips/ldstla-32.s: New file.
	* gas/mips/ldstla-n32-shared.d: New file.
	* gas/mips/ldstla-n32.d: New file.
	* gas/mips/ldstla-n32.s: New file.
	* gas/mips/ldstla-n64-shared.d: New file.
	* gas/mips/ldstla-n64.d: New file.
	* gas/mips/ldstla-n64.s: New file.
	* gas/mips/mips.exp: Add ld-st-la tests.
2003-10-01 02:07:48 +00:00