Commit Graph

43125 Commits

Author SHA1 Message Date
Richard Sandiford 8b73069fed sim/frv/
* frv.c (frvbf_iacc_cut): Rework, taking rounding into account.

testsuite/
	* sim/frv/fr400/scutss.cgs: Fix tests to account for rounding.
	Add some new ones.
2004-03-01 09:33:48 +00:00
Richard Sandiford 8ae0baa268 cpu/
* frv.cpu (r-store, r-store-dual, r-store-quad): Delete.
	(rstb, rsth, rst, rstd, rstq): Delete.
	(rstbf, rsthf, rstf, rstdf, rstqf): Delete.

gas/testsuite/
	* gas/frv/allinsn.s (rstb, rsth, rst, rstd, rstq): Replace with nops.
	(rstbf, rsthf, rstf, rstdf, rstqf): Likewise.
	* gas/frv/allinsn.d: Update accordingly.

opcodes/
	* frv-desc.c, frv-opc.c, frv-opc.h: Regenerate.

sim/frv/
	* decode.c, decode.h, model.c, sem.c: Regenerate.

sim/testsuite/
	* sim/frv/{rstb,rsth,rst,rstd,rstq}.cgs: Delete.
	* sim/frv/{rstbf,rsthf,rstf,rstdf,rstqf}.cgs: Delete.
2004-03-01 09:26:33 +00:00
Andrew Cagney 3ce2bf1815 2004-02-29 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (rs6000_init_frame_pc_first): New function.
	(rs6000_gdbarch_init): Set deprecated_init_frame_pc_first.
	* config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST):
	Delete macro.
2004-03-01 00:50:56 +00:00
gdbadmin 312d3cb118 *** empty log message *** 2004-03-01 00:00:03 +00:00
Alan Modra 2d9a3a9b5d daily update 2004-02-29 23:00:21 +00:00
Daniel Jacobowitz 6ea9fb3712 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
to use unsigned char.
	* gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
	gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
2004-02-29 22:29:15 +00:00
Daniel Jacobowitz 2da6aac335 * inflow.c (terminal_inferior): Don't give up the terminal if we
previously couldn't get the inferior's terminal state.
2004-02-29 19:17:49 +00:00
Daniel Jacobowitz 6ba34a8d52 * regcache.c (read_pc_pid): Restore inferior_ptid after reading
PC_REGNUM.
2004-02-29 17:01:38 +00:00
Daniel Jacobowitz 23b23974c7 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
line of output.
2004-02-29 16:51:48 +00:00
Daniel Jacobowitz dc3f888344 * server.c (handle_v_cont): Call set_desired_inferior. 2004-02-29 16:49:38 +00:00
Daniel Jacobowitz 89a208daac * remote-utils.c (prepare_resume_reply): Always supply "thread:". 2004-02-29 16:48:29 +00:00
Daniel Jacobowitz 62ea82f508 * linux-low.c (linux_wait): Unblock async I/O.
(linux_resume): Block and enable async I/O.
	* remote-utils.c (block_async_io, unblock_async_io): New functions.
	* server.h (block_async_io, unblock_async_io): Add prototypes.
2004-02-29 16:47:15 +00:00
Daniel Jacobowitz 6910d122ac * remote-utils.c (remote_open): Print a status notice after
opening a TCP port.
	* server.c (attach_inferior): Print a status notice after
	attaching.
2004-02-29 16:46:01 +00:00
Daniel Jacobowitz d677d77d05 * linux-arm-low.c (arm_get_pc): Print out stop PC in debug mode. 2004-02-29 16:43:49 +00:00
H.J. Lu 0ad989f9fd 2004-02-28 H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (_bfd_elf_link_add_archive_symbols): New prototype.

	* elflink.h (is_global_data_symbol_definition): Moved to
	elflink.c.
	(elf_link_is_defined_archive_symbol): Likewise.
	(elf_link_add_archive_symbols): Likewise. Renamed to
	_bfd_elf_link_add_archive_symbols.

	* elflink.c (elf_link_is_defined_archive_symbol): Get the size
	of ELF symbol table entry from backend.
	(_bfd_elf_link_add_archive_symbols): Call bfd_link_add_symbols
	instead of elf_link_add_object_symbols.
2004-02-29 06:11:52 +00:00
Andrew Cagney 168efedae1 Branch didn't get cut, remove reference. 2004-02-29 03:39:04 +00:00
Andrew Cagney 01cf0b9f2c Fix tipo. 2004-02-29 02:59:16 +00:00
Daniel Jacobowitz 7574fd5374 * gdb.base/relocate.c (dummy): Initialize. 2004-02-29 02:58:28 +00:00
Andrew Cagney faae5abe9a 2004-02-28 Andrew Cagney <cagney@redhat.com>
* NEWS: Refer to GDB 6.1.
	* README: Refer to GDB 6.1.
	* PROBLEMS: Refer to GDB 6.1.

Index: doc/ChangeLog
2004-02-28  Andrew Cagney  <cagney@redhat.com>

	* gdb.texinfo (Contributors): Mention GDB 6.1 release engineer.
2004-02-29 02:57:24 +00:00
Daniel Jacobowitz a195357fd2 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
a breakpoint at exit.
2004-02-29 02:55:21 +00:00
Daniel Jacobowitz 2227a3c550 * thread-db.c (disable_thread_signals): Remove unused function. 2004-02-29 02:39:47 +00:00
Andrew Cagney 7a3ccebe9b Oops, move branch message to correct position. 2004-02-29 02:16:56 +00:00
Andrew Cagney ae92b7d67a GDB 6.1 branch created. 2004-02-29 02:09:34 +00:00
gdbadmin 0f0f2dd5b5 *** empty log message *** 2004-02-29 00:00:02 +00:00
Alan Modra 75fba9fba7 daily update 2004-02-28 23:00:05 +00:00
Nathanael Nerode 3dee29daf4 PR bootstrap/7087
* Makefile.tpl: Guard XFOO sed statements better.
	* Makefile.tpl: Add dependency for configure-target-libada.
	* Makefile.in: Regenerate (incidentally fixes broken
	commit when libada-branch was merged).
2004-02-28 22:03:47 +00:00
Mark Kettenis 041bd74ba6 * amd64-nat.c: Include "gdb_string.h".
(amd64_collect_native_gregset): Zero-extend the 32-bit
general-purpose registers and %eip.
2004-02-28 21:55:48 +00:00
Andrew Cagney 0558264b6b 2004-02-28 Andrew Cagney <cagney@redhat.com>
* src-release (CVS_NAMES): Define.
	(do-tar, do-tar): Prune $(CVS_NAMES).
2004-02-28 21:52:04 +00:00
Mark Kettenis 3c017e4024 * amd64-tdep.h: (amd64_collect_fxsave): New prototype.
* amd64-tdep.c (amd64_collect_fxsave): New function.
(amd64_fill_fxsave): Simply call amd64_collect_fxsave.
2004-02-28 20:48:57 +00:00
Mark Kettenis 80571bffe3 * i387-tdep.h: Update copyright year.
(i387_collect_fxsave): New prototype.
* i387-tdep.c: Update copyright year.
(i387_collect_fxsave): New function containing most of the code
from i387_fill_fxsave.
(i387_fill_fxsave): Call i387_collect_fxsave.
2004-02-28 20:43:51 +00:00
Andrew Cagney 50d71875b9 2004-02-28 Andrew Cagney <cagney@redhat.com>
* amd64-linux-nat.c (ps_get_thread_area): When architecture is
	i386 use PTRACE_GET_THREAD_AREA.  Suggested by Roland McGrath.
2004-02-28 19:38:21 +00:00
Andrew Cagney b6d42148e9 Oops, wrong patch :-( 2004-02-28 18:54:31 +00:00
Andrew Cagney 394023e238 2004-02-28 Andrew Cagney <cagney@redhat.com>
* amd64-linux-nat.c (ps_get_thread_area): When architecture is
	i386 use PTRACE_GET_THREAD_AREA.  Suggested by Roland McGrath.
2004-02-28 18:52:19 +00:00
Mark Kettenis 4a28816e79 * amd64-tdep.c (amd64_frame_cache): Fix comment. 2004-02-28 18:07:58 +00:00
Andrew Cagney dbda997201 2004-02-28 Andrew Cagney <cagney@redhat.com>
* utils.c: Use "", instead of <>, to include readline.
	tui/tui-win.c, tui/tui.c, tui/tui-hooks.c: Ditto.
	* tracepoint.c, top.c, symmisc.c, symfile.c: Ditto.
	* source.c, solib.c, exec.c, event-top.c: Ditto.
	* corelow.c, completer.c, cli/cli-setshow.c: Ditto.
	* cli/cli-dump.c, cli/cli-cmds.c: Ditto.
	* Makefile.in: Update all dependencies.
	(readline_tilde_h, readline_history_h): Define.
	(readline_headers): Delete.
2004-02-28 18:04:37 +00:00
Mark Kettenis 91ae43031c * config/djgpp/fnchange.lst: Rename "config/i386/nm-linux64.h" to
"config/i386/nm-lx64.h" and "config/i386/tm-linux64.h" to
"config/i386/tm-lx64.h".
2004-02-28 18:01:48 +00:00
Mark Kettenis 83277a992f * config/djgpp/fnchange.lst: Rename "amd64-linux-tdep.c" to
"amd64-ltdep.c" and "amd64-linux-nat.c" to "amd64-lnat.c".  Remove
rules for "x86-64-linux-tdep.c" and "x86-64-linux-nat.c".
2004-02-28 17:55:39 +00:00
Andrew Cagney ecc9ac844c 2004-02-28 Andrew Cagney <cagney@redhat.com>
* dwarf2-frame.h (struct gdbarch): Add opaque declaration.
2004-02-28 16:59:32 +00:00
Andrew Cagney 6e1d7d6c23 2004-02-28 Andrew Cagney <cagney@redhat.com>
* breakpoint.c (_initialize_breakpoint): Use
	"add_setshow_auto_boolean_cmd.  Better word-wrap help messages.
	Add help to show command.
2004-02-28 16:56:12 +00:00
Mark Kettenis 7fa2737c9e * i386-nat.c: Reformat to be closer to coding standards.
(i386_handle_nonaligned_watchpoint): Rename local variable `rv' to
`retval'.  Make variables `align' and `size' local to while-loop.
(i386_stopped_data_address): Rename local variable `ret' to `addr'.
(_initialize_i386_nat): New prototype.
2004-02-28 15:38:04 +00:00
Mark Kettenis 9671aeef93 * tui/tui.c: Include <readline/readline.h> instead of
"readline/readline.h".  Include it after <term.h> and
"gdb_curses.h".
2004-02-28 15:02:35 +00:00
Fred Fish 72fd54a966 Reviewed and approved by drow@false.org.
2004-02-27  Fred Fish  <fnf@redhat.com>
	* gdb.base/chng-syms.exp: Add expect condition to match failing
	case that isn't a timeout.
2004-02-28 05:40:46 +00:00
Alexandre Oliva ec3391e704 * elf-bfd.h (struct elf_backend_data): Added
elf_backend_can_make_relative_eh_frame,
elf_backend_can_make_lsda_relative_eh_frame and
elf_backend_encode_eh_address.
(_bfd_elf_encode_eh_address): Declare.
(_bfd_elf_can_make_relative): Declare.
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use new
hooks to decide whether to attempt to make_relative and
make_lsda_relative.
(_bfd_elf_write_section_eh_frame_hdr): Call encode_eh_address.
(_bfd_elf_can_make_relative): New.
(_bfd_elf_encode_eh_address): New.
* elf32-frv.c (frv_elf_use_relative_eh_frame): New.
(frv_elf_encode_eh_address): New.
(elf_backend_can_make_relative_eh_frame): Define.
(elf_backend_can_make_lsda_relative_eh_frame): Define.
(elf_backend_encode_eh_address): Define.
* elfxx-target.h
(elf_backend_can_make_relative_eh_frame): Define.
(elf_backend_can_make_lsda_relative_eh_frame): Define.
(elf_backend_encode_eh_address): Define.
(elfNN_bed): Add them.
2004-02-28 00:35:45 +00:00
Alexandre Oliva e6deed0a00 * elf32-frv.c (elf32_frv_howto_table) <R_FRV_LABEL16>: Set
complain_on_overflow to signed.
2004-02-28 00:33:33 +00:00
gdbadmin 65592fb1e5 *** empty log message *** 2004-02-28 00:00:33 +00:00
Alan Modra 8c9c8ebf32 daily update 2004-02-27 23:00:04 +00:00
Andrew Cagney 412275d567 2004-02-27 Andrew Cagney <cagney@redhat.com>
* hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always use
	the new frame unwind code.
	(hppa_frame_cache): Use PCOQ_HEAD_REGNUM instead of PC_REGNUM.
	(hppa_frame_prev_register): Compute PCOQ_TAIL_REGNUM from
	PCOQ_HEAD_REGNUM.
2004-02-27 21:47:53 +00:00
Andrew Cagney fca7aa43b0 Index: ChangeLog
2004-02-27  Andrew Cagney  <cagney@redhat.com>

	* hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always
	"return_value" and "push_dummy_call".
	(hppa32_use_struct_convention): Delete unused function.
	(hppa32_store_return_value): Delete unused function.
	(hppa32_extract_return_value): Delete unused function.
	(hppa32_stack_align): Delete function.
2004-02-27 19:06:16 +00:00
Eli Zaretskii e6a8a7d2ae 2004-02-27 Eli Zaretskii <eliz@elta.co.il>
* coffread.c (enter_linenos): Don't let rawptr reference memory
	outside linetab[]'s limits.
2004-02-27 17:46:11 +00:00
H.J. Lu b60d7a1a49 2004-02-27 H.J. Lu <hongjiu.lu@intel.com>
* elflink.h (sort_symbol): New.
	(elf_link_add_object_symbols): Use a sorted symbol array for
	weakdef.
2004-02-27 17:02:48 +00:00