Commit Graph

36072 Commits

Author SHA1 Message Date
Andrew Cagney
ebba838619 Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.3144
diff -u -r1.3144 ChangeLog
--- ChangeLog	23 Aug 2002 23:05:38 -0000	1.3144
+++ ChangeLog	23 Aug 2002 23:14:45 -0000
@@ -1,3 +1,53 @@
2002-08-23  Andrew Cagney  <cagney@redhat.com>

	* gdbarch.sh (STORE_RETURN_VALUE): Add regcache parameter.
	(DEPRECATED_STORE_RETURN_VALUE): New method.
	(EXTRACT_RETURN_VALUE): Make buffer parameter a void pointer.
	* gdbarch.h, gdbarch.c: Re-generate.

	* values.c (set_return_value): Pass current_regcache to
	STORE_RETURN_VALUE.
	* arch-utils.h (legacy_store_return_value): Declare.
	* arch-utils.c (legacy_store_return_value): New function.
	(legacy_extract_return_value): Update parameters.

	* config/pa/tm-hppa.h (DEPRECATED_STORE_RETURN_VALUE): Rename
	STORE_RETURN_VALUE.
	* config/pa/tm-hppa64.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
	* config/sparc/tm-sparc.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
	* config/z8k/tm-z8k.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
	* config/sparc/tm-sparclet.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
	* config/mn10200/tm-mn10200.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
	* config/m68k/tm-linux.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
	* config/m68k/tm-delta68.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
	* config/m32r/tm-m32r.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
	* config/h8500/tm-h8500.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
	* config/h8300/tm-h8300.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.

	* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
	* i386-tdep.c (i386_extract_return_value): Update.
	* arch-utils.c (legacy_extract_return_value): Update.
	* frv-tdep.c (frv_gdbarch_init): Update.
	* cris-tdep.c (cris_gdbarch_init): Update.
	* d10v-tdep.c (d10v_gdbarch_init): Update.
	* rs6000-tdep.c (rs6000_gdbarch_init): Update.
	* m68k-tdep.c (m68k_gdbarch_init): Update.
	* mcore-tdep.c (mcore_gdbarch_init): Update.
	* mn10300-tdep.c (mn10300_gdbarch_init): Update.
	* s390-tdep.c (s390_gdbarch_init): Update.
	* sparc-tdep.c (sparc_gdbarch_init): Update.
	* sh-tdep.c (sh_gdbarch_init): Update.
	* x86-64-tdep.c (x86_64_gdbarch_init): Update.
	* v850-tdep.c (v850_gdbarch_init): Update.
	* avr-tdep.c (avr_gdbarch_init): Update.
	* ia64-tdep.c (ia64_gdbarch_init): Update.
	* ns32k-tdep.c (ns32k_gdbarch_init): Update.
	* vax-tdep.c (vax_gdbarch_init): Update.
	* alpha-tdep.c (alpha_gdbarch_init): Update.
	* arm-tdep.c (arm_gdbarch_init): Update.
	* mips-tdep.c (mips_gdbarch_init): Update.
	* i386-tdep.c (i386_gdbarch_init): Update.

Index: doc/ChangeLog
2002-08-21  Andrew Cagney  <cagney@redhat.com>

	* gdbint.texinfo (Target Architecture Definition): Update
	STORE_RETURN_VALUE, mention regcache.
2002-08-24 00:21:37 +00:00
Andrew Cagney
56f65f858d dummy commit, get CVS off the branch. 2002-08-24 00:11:12 +00:00
Andrew Cagney
2ba146cd6f Dummy commit. Get CVS off the branch. 2002-08-24 00:09:22 +00:00
gdbadmin
0becb2ae21 *** empty log message *** 2002-08-24 00:00:33 +00:00
Alan Modra
ee828e4278 daily update 2002-08-24 00:00:04 +00:00
Andrew Cagney
5bd8c6d0f9 2002-08-23 Andrew Cagney <ac131313@redhat.com>
* config/djgpp/fnchange.lst: Add entries for bfd/elf32-ppcqnx.c,
bfd/elf32-ppc.c, bfd/elf32-sh.c and bfd/elf32-shqnx.c.
2002-08-23 23:15:52 +00:00
Mark Kettenis
e73e1724fe * PROBLEMS: Refer to GDB 5.3 instead of 5.2. Mention FreeBSD
problems.
2002-08-23 23:05:39 +00:00
Andrew Cagney
23b632fc35 2002-08-23 Andrew Cagney <ac131313@redhat.com>
* texinfo/texinfo.tex: Import version 2002-06-04.06.
2002-08-23 22:24:57 +00:00
Elena Zannoni
2ee563b532 This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
2002-08-23 22:02:32 +00:00
Elena Zannoni
84041b4c47 import of readline-4.3 2002-08-23 22:02:32 +00:00
Joel Brobecker
3e6564e1ff * infrun.c (handle_inferior_event): Move a comment outside of a
function call, in order to avoid indent reformatting this part
        of the code in an unreadable way.
2002-08-23 21:55:36 +00:00
Andrew Cagney
fd31a1711c Import config.guess and config.sub. 2002-08-23 21:22:40 +00:00
Grace Sainsbury
81d0cc192b * infrun.c (normal_stop, proceed): Remove call to print_sys_errmsg
when breakpoints fail. Move general breakpoint error messages to
	insert_breakpoints.
	* breakpoint.c (insert_breakpoints): Change warnings when
	breakpoints are nto inserted to specify the type. Remove call to
	memory_error when hardware breakpoints can't be inserted. Remove
	multiple calls to warning so all messages are sent to the user at
	once.
	(delete_breakpoints): Make insert error messsages more explicit.
2002-08-23 20:49:38 +00:00
Daniel Jacobowitz
0312286c94 * gdb.threads/print-threads.c: New file.
* gdb.threads/print-threads.exp: New file.
        * gdb.threads/schedlock.c: New file.
        * gdb.threads/schedlock.exp: New file.
2002-08-23 20:32:02 +00:00
Daniel Jacobowitz
1757409337 * ChangeLog: Move gdbserver entries after GDB 5.2 to
gdbserver/ChangeLog.
2002-08-23 19:55:50 +00:00
Mark Kettenis
dfe01d390c * i386-tdep.c: Include "objfiles.h".
(i386_svr4_init_abi): Set in_solib_call_trampoline and
skip_trampoline_code.
* config/i386/tm-i386v4.h: Don't include "config/tm-sysv4.h".
(CPLUS_MARKER): Define to '.'.
2002-08-23 19:26:15 +00:00
Mark Kettenis
8acc293538 * linux-proc.c (struct linux_corefile_thread_data): Add num_notes
member.
(linux_corefile_thread_callback): Increase args->num_notes.
(linux_make_note_section): Initialize thread_args.num_notes, and
use it to determine whether notes for any threads were created.
2002-08-23 19:06:05 +00:00
Dave Anglin
fcf6238032 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer. 2002-08-23 16:07:02 +00:00
Joel Brobecker
640b227fa0 * proc-api.c (rw_table): Do not include a row for PCDSTOP if the
corresponding macro is not defined. Likewise for PCNICE, PCSHOLD
        and PCUNKILL.
        (write_with_trace): Conditionalize out the switch branch handling
        PCSHOLD if the corresponding macro is not defined. Likewise for
        PRSABORT and PRSTOP.
        This change will be needed by the Interix port.
2002-08-23 15:06:53 +00:00
Nick Clifton
7e326afc19 Undo previous delta. Add comment explaining why. 2002-08-23 09:42:21 +00:00
Alan Modra
c8614e8e65 * elf32-sh.c (elf_sh_plt0_entry_be, elf_sh_plt0_entry_le): Copy
contents of .got.plt[2] to tr0, not address of .got.plt.
	(sh_elf_finish_dynamic_symbol): Do not apply GOT_BIAS when
	patching absolute plt entry. For shmedia plt entry, set bottom bit
	of branch to plt0 as this is a branch to an shmedia instruction.
	* elf64-sh64.c (elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le):
	Copy contents of .got.plt[2] to tr0, not address of .got.plt.
	(elf_sh64_plt_entry_be, elf_sh64_plt_entry_le): Use ptrel to
	branch to plt0.
	(sh64_elf64_finish_dynamic_symbol): Do not apply GOT_BIAS when
	patching absolute plt entry. For shmedia plt entry, branch to
	plt0 is now ptrel, so use relative offset.  Set bottom bit of
	branch target as it is a branch to an shmedia instruction.
2002-08-23 08:26:13 +00:00
Alan Modra
30c8cc6872 * ld-sh/sh64/rd-sh64.exp: New framework file.
* ld-sh/sh64/init-cmpct.d, ld-sh/sh64/init-media.d,
	ld-sh/sh64/init64.d, ld-sh/sh64/init.s: New tests for
	correct setting of ISA bit for init and fini entry-points.
2002-08-23 08:14:06 +00:00
Alan Modra
3b587c71d7 * elf32-sh.c (sh_elf_finish_dynamic_sections): Set LSB of DT_INIT
value if .init is an SHmedia function.  Similarly for DT_FINI.
	* elf64-sh64.c (sh64_elf64_finish_dynamic_sections): Likewise.
2002-08-23 08:13:12 +00:00
Nick Clifton
8e523c2334 Add --with-lib-patch configure switch. 2002-08-23 08:03:32 +00:00
Nick Clifton
f52e0eb852 oops - omitted from previous delta 2002-08-23 07:34:44 +00:00
Chris Demetriou
dff11de0d8 2002-08-22 Chris Demetriou <cgd@broadcom.com>
* compare_igen_models: New script.
2002-08-23 06:26:05 +00:00
Alan Modra
957dcaa8ef * bfd/elf32-sh.c (sh_elf_size_dynamic_sections): Zero initialize
dynamic section.
	* bfd/elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewise.
2002-08-23 04:23:37 +00:00
Elena Zannoni
dd039bc424 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
* gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
        not altivec.c.
2002-08-23 01:52:22 +00:00
Alan Modra
355ac37b68 daily update 2002-08-23 00:00:05 +00:00
gdbadmin
4fb4f9522d *** empty log message *** 2002-08-23 00:00:02 +00:00
Elena Zannoni
96ff0de4ab 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
* rs6000-tdep.c (struct rs6000_framedata): Add saved_ev and
	ev_offset fields.
	(skip_prologue): Add support for BookE/e500 instructions.
	(e500_extract_return_value): New function.
	(frame_get_saved_regs): Add support for saving ev registers and
	pseudo gpr's.
	(e500_store_return_value): New function.
	(rs6000_gdbarch_init): Move up default intializations of
	deprecated_extract_return_value and store_return_value.  Overwrite
	init of store_return_value with e500 specific version.
	Set extract_return_value for e500.
2002-08-22 22:26:41 +00:00
Elena Zannoni
fbefca5bab 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
* blockframe.c (generic_call_dummy_register_unwind): Use
	regcache_cooked_read to catch cases in which the variable is
	stored in a pseudo register.
2002-08-22 22:25:17 +00:00
Andrew Cagney
4d210288d3 Obsolete i960. 2002-08-22 21:52:45 +00:00
Nick Clifton
ececec60e1 Note that if '@' is a comment character then another symbol is used to prefix
the section's type.
2002-08-22 20:10:53 +00:00
Nick Clifton
a4263c47c0 Use a simple byte read when reading the return address register column. 2002-08-22 20:00:14 +00:00
Nick Clifton
1489984027 opcodes: Fix definition of "in rd,imm16" opcode.
gas: Adjust ptr variable also in "case 0" case.
2002-08-22 19:22:35 +00:00
Nick Clifton
d9a7f7ab85 Set the last bit of DT_INIT and DT_FINI depending on the type of the function. 2002-08-22 19:11:51 +00:00
Nick Clifton
db4ed12147 Add powerpc64-*-*bsd* target. 2002-08-22 17:45:36 +00:00
Nick Clifton
51e28791b0 Add Jeff Law as HPPA maintainer 2002-08-22 17:35:42 +00:00
Nick Clifton
ed71e1110d Add sh-nto support 2002-08-22 17:27:20 +00:00
Jeff Law
dfe0d3fe28 * config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define. 2002-08-22 16:24:24 +00:00
Nick Clifton
75c8328346 Updated Turkish translation. 2002-08-22 16:22:03 +00:00
Nick Clifton
0ab72ee2fd Set bfd_error to no_symbols if the symbols could not be read. 2002-08-22 16:12:00 +00:00
Nick Clifton
f598fd5e7a Fix arm-aout failures 2002-08-22 16:10:05 +00:00
Corinna Vinschen
6c0c456d87 * aix-thread.c (aix_thread_detach): Disable thread debugging on
detach to allow reinitialization.
2002-08-22 15:27:16 +00:00
Andrew Cagney
9f9d12b370 2002-08-22 Andrew Cagney <ac131313@redhat.com>
* MAINTAINERS: Change the s390 target to s390-linux-gnu (second
attempt).
2002-08-22 14:47:52 +00:00
Nick Clifton
38f175eafb Turn off default excluded functions in FLAT profile. 2002-08-22 11:07:15 +00:00
Jim Blandy
ebeb39fe31 * coffread.c (coff_symfile_read): Don't try to read the line
number table from disk if the image file doesn't have a symbol
table; we'll never actually look at the info anyway, and Windows
ships DLL's with bogus file offsets for the line number data.
2002-08-22 05:50:11 +00:00
Alan Modra
56780f18c5 * elf32-m68hc11.c: Formatting fixes.
(elf32_m68hc11_gc_mark_hook): Correct params.  Remove unnecessary test.
	* elf32-m68hc12.c: Formatting fixes.
	(elf32_m68hc11_gc_mark_hook): Correct params.  Remove unnecessary test.
2002-08-22 05:41:53 +00:00
Alan Modra
7bbfa6f5d3 * gas/ppc/ppc.exp: Don't run e500 test on xcoff targets.
* gas/ppc/astest2.d: Escape dots.
2002-08-22 05:23:43 +00:00