Commit graph

26359 commits

Author SHA1 Message Date
Nick Clifton
8ad9e709b4 treat -m32r as a seperate, specific command line switch. 2000-03-06 23:37:57 +00:00
Elena Zannoni
24e8cecf49 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* mi-cmds.h: Export mi_cmd_data_write_register_values.

	* mi-cmds.c (mi_cmds): Implement data-write-register-values with
 	mi_cmd_data_write_register_values.

	* mi-main.c (mi_cmd_data_write_register_values): New
 	function. Write a value into a register.
2000-03-06 22:57:52 +00:00
Nick Clifton
108213226d Further LINK6 bug fix. 2000-03-06 22:38:43 +00:00
Elena Zannoni
cdffbaa2d2 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdbmi.texinfo: Update data-disassemble documentation.
2000-03-06 22:14:44 +00:00
Elena Zannoni
19e08fb3c9 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* mi-disassemble.exp: Don't assume numbers for the offset
 	values. They can be different depending on the architecture.

	* mi-watch.exp (test_watchpoint_triggering): In same cases the
 	type can be 'hw wathcpoint' not just 'watchpoint'. Adjust for that.

	* basics.c (callee4): Make the function return something,
 	otherwise the return value is undefined.
2000-03-06 21:33:38 +00:00
Joern Rennecke
05102e700f * sh-opc.h (sh_table): ldre and ldrs have a *signed* displacement. 2000-03-06 21:13:15 +00:00
Elena Zannoni
2231a1e869 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* mi-basics.exp: Comment out test for a still unimplemented operation.
2000-03-06 20:00:53 +00:00
Nick Clifton
11c8a8d1b7 fix LINK6 code. 2000-03-06 19:49:58 +00:00
Elena Zannoni
e2d008317c 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* mi-disassemble.exp: Rewrite most of the tests to conform to new
 	disassemble interface.
2000-03-06 19:46:40 +00:00
Nick Clifton
347dad9e10 Remove extraneous CYGNUYS LOCAL markers. 2000-03-06 18:09:38 +00:00
Ian Lance Taylor
a999880517 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
archive.
2000-03-06 18:08:38 +00:00
Jim Blandy
ef7904ee59 *** empty log message *** 2000-03-06 18:06:04 +00:00
Jim Blandy
9ddea9f1c1 Doc fix. 2000-03-06 18:04:56 +00:00
Elena Zannoni
2f16bb3237 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From  Eli Zaretskii  <eliz@is.elta.co.il>:

	* event-loop.c (poll_timers): Don't compare delta.tv_sec with
	zero, since time_t might be unsigned.
2000-03-06 17:07:03 +00:00
Mark Kettenis
b948cda90b 2000-03-06 Mark Kettenis <kettenis@gnu.org>
* i386-linux-nat.c (supply_fpregset): Mask off the reserved bits
	in *FPREGSETP.
	(convert_to_fpregset): Don't touch the reserved bits in *FPREGSETP.
2000-03-06 16:08:12 +00:00
Catherine Moore
b47e35fc72 * elf.c (swap_out_syms): Check for null type_ptr. 2000-03-06 15:44:25 +00:00
Mark Kettenis
64bb16715d Double Oops! I forgot the regenerated configure too. 2000-03-05 23:00:32 +00:00
Mark Kettenis
9eaaac1650 Oops, forgot to save ChangeLog before commit. 2000-03-05 22:57:57 +00:00
Mark Kettenis
f60300e72c 2000-03-05 Mark Kettenis <kettenis@gnu.org>
Allow GDB to run on Linux 2.0 again.
	* config.in: Add HAVE_PTRACE_GETREGS.
	* configure.in: Check if <sys/ptrace.h> defines PTRACE_GETREGS.
	* configure: Regenerated.
	* config/i386/nm-linux.h (CANNOT_FETCH_REGISTER,
	CANNOT_STORE_REGISTER): New defines.
	* i386-linux-nat.c (have_ptrace_getregs): New variable.
	(PTRACE_XFER_TYPE, CANNOT_FETCH_REGISTER, fetch_register,
	old_fetch_inferior_registers, CANNOT_STORE_REGISTER,
	store_register, old_store_inferior_registers): Copied over from
	`inptrace.c' as a temporary measure.
	(fetch_regs, store_regs, fetch_fpregs, store_fpregs):
	Conditionalize on HAVE_PTRACE_GETREGS.  Define stubs if
	HAVE_PTRACE_GETREGS isn't defined.
	(fetch_regs): Reset `have_ptrace_getregs' if ptrace call fails
	with EIO.
	(fetch_inferior_registers, store_inferior_registers): Fall back on
	the method use in `infptrace.c' (by calling
	old_fetch_inferior_registers and old_store_inferior_registers) if
	`have_ptrace_getregs' isn't set.
2000-03-05 22:57:06 +00:00
Mark Kettenis
04cd15b61d 2000-01-29 Mark Kettenis <kettenis@gnu.org>
* i386-linux-nat.c: Use elf_gregset_t and elf_fpregset_t instead
	of gregset_t and fpregset_t.  Those are the only names that are
	guaranteed to specify the right types for all supported Linux
	systems out there.
	Various doc fixes and gratitious local variable renames, all in an
	attempt to stress similarities between the code and unify the
	terminology used.  Use ISO-C all over.
	(regmap): Remove trailing comma.
	(FPREG_ADDR): Renamed from FPREGSET_T_FPREG_ADDR.
	(convert_to_gregset): Make static.  Remove GDB_REGS argument.  It
	is unnecessary and wasn't used anyway.  All callers changed.
	(convert_to_fpregset, convert_to_xfpregset): Likewise.
	(fetch_regs, store_regs): Remove unused variable `regno'.
	(fill_fpregs): If REGNO is not -1, only update the specified
	register.
	(fetch_core_registers): Renamed from
	i386_linux_fetch_core_registers.  There is no need for a unique
	name since the function is static anyway.
	(linux_elf_core_fns): Renamed from i386_linux_nat_core_functions
	since it is more descriptive.
2000-03-05 16:39:11 +00:00
Andrew Cagney
9ec7faef59 Expand readline/ maintainers. 2000-03-05 08:46:56 +00:00
Mark Kettenis
45a816d93e 2000-03-04 Mark Kettenis <kettenis@gnu.org>
Fix support for Linux/i386 signal trampolines.  The old approach
	didn't work for Linux 2.2 and beyond, and didn't work with recent
	versions of the GNU C library.
	* i386-tdep.c (LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
	LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): New defines.
	(linux_rt_sigtramp_code): New variable.
	(LINUX_RT_SIGTRAMP_LEN): New define.
	(i386_linux_rt_sigtramp_start): New function.  Detect start of
	signal trampolines for RT signals.
	(i386_linux_sigtramp): Removed.
	(i386_linux_in_sigtramp): New function.
	(i386_linux_sigcontext_addr): New function.  Recognize the names
	of the signal tranmpolines used by recent versions of the GNU C
	library, and add support for RT signals.
        (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET):  New
	defines.  Moved here from config/i386/tm-linux.h.
	(i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp):
	Reimplement in terms of i386_linux_sigcontext_addr.
	* config/i386/tm-linux.h (LINUX_SIGCONTEXT_SIZE): Removed.
        (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET):
        Moved to i386-tdep.c.
	(IN_SIGTRAMP): Redefine to call i386_linux_in_sigtramp.
2000-03-04 23:37:33 +00:00
Frank Ch. Eigler
8ae7f924f3 * moved misplaced ChangeLog entry 2000-03-04 12:46:44 +00:00
Andrew Cagney
109213fcda Re-do checkin by Alexandre Oliva <oliva@lsd.ic.unicamp.br>. Pointed
out maintainer rules.
2000-03-04 08:40:22 +00:00
Alexandre Oliva
b70bc471df * Makefile.in (all-gdbtk): Fix $srcdir to ${srcdir}. 2000-03-04 07:11:38 +00:00
Andrew Cagney
7158fd7f9b Transfer SIM maintainership to Frank. 2000-03-04 06:27:00 +00:00
Andrew Cagney
e7411eaaec Add MichaelS and PeterS to all privs list. 2000-03-04 05:21:51 +00:00
Andrew Cagney
392746e563 Don't use LONG_LONG when it isn't available. 2000-03-04 05:11:19 +00:00
Andrew Cagney
7acb79c883 Comment out longest_raw_hex_string. 2000-03-04 04:56:46 +00:00
Andrew Cagney
76c520e05c When GDB doesn't recognize the -i=mi option, assume there is no MI support. 2000-03-04 03:01:38 +00:00
Andrew Cagney
082faf240e Make mmalloc functions consistent. Some need ISO-C others need PTR :-(. 2000-03-04 02:23:06 +00:00
Andrew Cagney
e54a9244cd Oops, lost update to defs.h:null_cleanup(). 2000-03-04 01:15:32 +00:00
Andrew Cagney
a9ac8f511f Convert extract/store functions to ISO-C. 2000-03-04 01:05:48 +00:00
Andrew Cagney
e400552667 Convert make_cleanup functions to ISO-C. 2000-03-04 00:40:40 +00:00
Andrew Cagney
6dcbc97b8a * Makefile.in (taz): Set PACKAGE to TOOL when not defined.
(do-tar-bz2): Replace TOOL with PACKAGE.
(gdb.tar.bz2): Remove GDBTK from GDB package.
(gdb+dejagnu.tar.bz2, insight.tar.bz2, insight+dejagnu.tar.bz2,
dejagnu.tar.bz2): New packages.
2000-03-03 23:52:30 +00:00
Frank Ch. Eigler
a9e3a73989 * build fix
2000-03-03  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>

	* Makefile.in (IGEN_INSN): Added am33.igen.
2000-03-03 23:25:10 +00:00
Elena Zannoni
97bb9d91de 2000-03-03 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* defs.h (struct continuation_arg): Change type of field 'data'
 	from PTR to void *.

	* event-loop.h: Eliminate uses of PTR, use 'void *' instead.

	* event-top.c: Ditto.
2000-03-03 15:37:09 +00:00
Frank Ch. Eigler
0ef33cd05d * build patch
2000-03-03  Jonathan Larmour  <jlarmour@redhat.co.uk>

	* func.c (buffer_read_memory): Change type of size to unsigned to
	match prototype
2000-03-03 15:00:58 +00:00
Andrew Cagney
b3a9033281 Move GDBtk's ``ln -s ... gdbtcl'' code out of configure.
Add CONFIG_CLEAN, CONFIG_ALL to configured targets.
Add all-gdbtk, clean-gdbtk.
2000-03-03 05:44:39 +00:00
Andrew Cagney
379d643457 Only configure GDBtk when it is present. 2000-03-03 02:50:24 +00:00
Elena Zannoni
7b64ac2f7a 2000-03-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* config/alpha/alpha-linux.mh: Remove core-regset.o fron the
        NATDEPFILES list.
2000-03-03 02:18:26 +00:00
Nick Clifton
866afedcb4 Apply patch for 100679 2000-03-02 23:01:40 +00:00
Frank Ch. Eigler
4cd9361480 * comment tweaks 2000-03-02 22:42:51 +00:00
Michael Meissner
b7b8f32709 fix sign extension problem with d30v 2000-03-02 22:18:12 +00:00
Frank Ch. Eigler
d018757450 * adding forgotten entry 2000-03-02 21:53:51 +00:00
H.J. Lu
158868217c 2000-03-02 H.J. Lu (hjl@gnu.org)
* configure.in: Support --enable-targets=all on ia32.
	* configure: Regenerated.
2000-03-02 20:15:33 +00:00
Nick Clifton
f9bc20e78d Include getopt.h 2000-03-02 18:37:14 +00:00
Frank Ch. Eigler
a3027dd748 * autoconf correction
* merge from internal repo -> sourceware

2000-03-02  Frank Ch. Eigler  <fche@redhat.com>

	* configure: Regenerated.

Tue Feb  8 18:35:01 2000  Donald Lindsay  <dlindsay@hound.cygnus.com>

	* interp.c, mips.igen: all 5 DEADC0DE situations now have sim_io_eprintf
	calls, conditional on the simulator being in verbose mode.
2000-03-02 18:14:02 +00:00
Frank Ch. Eigler
58fddbac5a * whitespace correction 2000-03-02 18:12:44 +00:00
Mark Kettenis
667620fa27 Attempt to fix AIX/i386 target. 2000-03-02 15:44:27 +00:00