Commit Graph

4680 Commits

Author SHA1 Message Date
Kevin Buettner 482ca3f5dc Shared library, function calling fixes for GNU/Linux PPC port. 2000-02-24 23:06:48 +00:00
Andrew Cagney a526d7137a Include "gdb_wait.h" instead of <wait.h>. 2000-02-24 08:55:15 +00:00
Andrew Cagney e56ac5c3a3 Only install GDBtk files when GDBtk is being built. 2000-02-24 08:16:26 +00:00
Andrew Cagney b0b1b869c7 * configure.in (SUBDIR_MI_CFLAGS): Fix typo, wrong brace. 2000-02-24 07:27:51 +00:00
Christopher Faylor 091be84d73 * configure.tgt: Add arm, mips, sh wince targets.
* config/arm/tm-wince.h: New file.
* config/arm/wince.mt New file.
* config/sh/tm-wince.h: New file.
* config/sh/wince.mt New file.
* config/mips/tm-wince.h: New file.
* config/mips/wince.mt New file.
* wince.c: New file.
* wince-stub.c: New file.
* wince-stub.h: New file.
* sh-tdep.c: Use correct register names for Windows CE.
2000-02-24 03:31:45 +00:00
Nicholas Duffek 99eeeb0ff7 * top.c (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Update comments.
(error_return, quit_return): Merge into catch_return pointer.
	(return_to_top_level): Update comment.  Longjmp to *catch_errors,
	and communicate reason to catch_errors via setjmp return value.
	(catch_errors): Always catch both quit and error, and if a catch
	wasn't requested by caller, throw it to the next catch_error.
	Replace dual longjmp buffer memcpy with single pointer change.
	Add FIXME for possibly adding new interface to tell caller what
	event was caught.  Add extensive comments.
	* defs.h (enum return_reason): Reserve 0 for use as initial
	setjmp() return value.
	(RETURN_MASK): New public macro to generate RETURN_MASK_* from
	enum return_reason.
	(RETURN_MASK_QUIT, RETURN_MASK_ERROR): Define using RETURN_MASK.
2000-02-24 00:04:03 +00:00
Fernando Nasser 242bfc55af 2000-02-23 Fernando Nasser <fnasser@cygnus.com>
* infcmd.c (run_stack_dummy): Do not pop frame on random signal.
        * valops.c (_initialize_valops): Add command "set unwindonsignal".
        (hand_function_call): Test for unwind_on_signal and act accordingly.
2000-02-23 15:53:33 +00:00
Andrew Cagney ff844c8dea Re-sync with ../include/dis-asm.h - LEN param changed to unsigned int. 2000-02-23 02:42:40 +00:00
Andrew Cagney fb40c20903 Add mi/ and testsuite/gdb.mi/ subdirectories.
Add --enable-gdbmi option to configury.
Add mi rules to Makefile.in
Add mi conditional output to event-top.c infrun.c main.c top.c.
Add -i=mi option.
2000-02-23 00:25:43 +00:00
Jim Blandy 14e0eb3bb9 *** empty log message *** 2000-02-22 19:22:37 +00:00
Kevin Buettner 50c9bd316d Cleanups and signal handler backtrace fix for GNU/Linux PPC port. 2000-02-22 18:47:41 +00:00
Kevin Buettner 8883511eb0 Changes for GNU/Linux PPC native gdb port. 2000-02-22 01:27:35 +00:00
Kevin Buettner 223b8554ec Changes for GNU/Linux PPC native gdb port. 2000-02-22 01:21:06 +00:00
Elena Zannoni 750334d754 2000-02-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From Philippe De Muyter  <phdm@macqel.be>

	* event-loop.c (handle_file_event): In case of poll, enable
 	printing of informational message if an error/exception is
 	detected on the file descriptor.
2000-02-21 15:56:37 +00:00
Jim Kingdon 2403ff6fdb * MAINTAINERS (Misc): Clarify that yes, anyone can edit web pages. 2000-02-21 06:13:23 +00:00
Andrew Cagney 91b9ff2179 Include "expression.h" which "language.h" depends on. 2000-02-21 03:04:19 +00:00
Andrew Cagney f7cb3ef862 Include "language.h" for longest_local_hex_string_custom(). 2000-02-21 02:51:07 +00:00
Andrew Cagney 0596389cd2 Update gdbarch.sh so that it generates code including <gdb_wait.h>. 2000-02-21 00:21:51 +00:00
Andrew Cagney f5bca8e789 Add more maintainers. Expand the ARM related maintainers. 2000-02-21 00:15:55 +00:00
Andrew Cagney 538aae9db5 Add paragraph on multiple maintainers. 2000-02-20 23:52:58 +00:00
Fernando Nasser 55555bbca2 2000-02-19 Philippe De Muyter <phdm@macqel.be>
* cli-out.c (cli_table_header): Type of parameter `alignment' is
        `enum ui_align', not `int'.
        (cli_field_string, cli_field_skip): Likewise.
2000-02-20 18:23:31 +00:00
Jim Blandy dea753cd34 *** empty log message *** 2000-02-18 22:19:31 +00:00
Jim Blandy 9a90a84581 *** empty log message *** 2000-02-18 22:16:16 +00:00
Elena Zannoni cca728d0c9 2000-02-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* remote.c (remote_async_detach): Use target_mourn_inferior(), to
 	make sure that all is cleaned up after we disconnect from the
 	target.
	(remote_detach): Ditto.
2000-02-18 17:00:18 +00:00
Fernando Nasser 418156660d 2000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
Add the patcher separator line between two same-day patches
	(emacs thinks that they are not necessary).
2000-02-17 20:11:15 +00:00
Fernando Nasser b8d86de35c 2000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
From Rodney Brown  <RodneyBrown@pmsc.com>
	* ui-out.c (ui_out_set_flags): Fix typo, removing warning and
	potentially harming mistake.
2000-02-17 20:08:48 +00:00
Fernando Nasser e8b09175c1 2000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
* arm-tdep.c: Use header file instead of extern declarations for
	the {get,set}_arm_regname* functions.
2000-02-17 19:51:04 +00:00
Fernando Nasser d45b9300fc 2000-02-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
* configure.in: Replaces obsolete gdbtk-variable.c with
	gdbtk-varobj.c.
	* configure: Regenerate.
	* Makefile.in: Remove obsolete/extraneous references to
	gdbtk-var* files.
2000-02-16 23:35:19 +00:00
Mark Kettenis e95a43adc3 2000-02-16 Mark Kettenis <kettenis@gnu.org>
* target.c (do_target_signal_to_host): Do not use REALTIME_LO in
	the conversion of the signal number.  TARGET_SIGNAL_REALTIME_33 is
	33 by definition, whereas REALTIME_LO might be 32 on systems that
	have SIG32 such as Linux.  Make sure that the signal number
	returned is within the range specified by REALTIME_LO and
	REALTIME_HI.
2000-02-16 22:26:12 +00:00
Mark Kettenis 7433da2265 2000-02-16 Mark Kettenis <kettenis@gnu.org>
* configure: Regenerated.
2000-02-16 22:21:18 +00:00
Fernando Nasser bc90b915f7 2000-02-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
* arm-tdep.c (set_disassembly_flavor, arm_othernames,
	_initialize_arm_tdep): Allows the user to choose between any of
	the flavors available for the disassembly to be used in the "info
	reg" command and elsewhere in gdb.  It prevents having to maintain
	this information in two places by using the data kept in the
	opcodes directory.
2000-02-16 20:17:50 +00:00
Mark Kettenis 83d37ec863 2000-02-09 Mark Kettenis <kettenis@gnu.org>
* configure.in: Check for lwpid_t, psaddr_t, prgregset_t and
	prfpregset_t in <sys/procfs.h>.
	* config.in: Add HAVE_LWPID_T, HAVE_PSADDR_T, HAVE_PRGREGSET_T,
	HAVE_PRFPREGSET_T.
	* gdb_proc_service.h: Only provide typedefs for lwpid_t, psaddr_t,
	prgregset_t and prfpregset_t if they are not already present.
2000-02-16 13:45:24 +00:00
Andrew Cagney eeefac92e7 From Rodney Brown: Define MERGEPID when needed. 2000-02-16 08:02:57 +00:00
Jason Molenda 1a645206d4 2000-02-15 Jason Molenda (jsm@bugshack.cygnus.com)
* Makefile.in (diststuff): Run 'diststuff' in doc/ subdir, not
        'do-doc'.
2000-02-16 04:45:41 +00:00
Kevin Buettner f6077098c9 AIX 4.3 changes. 2000-02-15 21:17:04 +00:00
Jim Kingdon 70d5406d75 * elfread.c (elf_symtab_read): Revert changes by Amit S. Kale. A
sym->section->index number is not a SECT_OFF_* code.
2000-02-15 04:48:23 +00:00
Andrew Cagney 168770df11 Add H.J. Lu to check-in after approval list. 2000-02-15 01:23:15 +00:00
Jim Kingdon e18ef0bde6 Add ChangeLog entry which had been omitted in checkin of Mark Kettenis
changes last week.
2000-02-14 19:17:52 +00:00
Nick Clifton 031d1bf1b8 Remove extraneous code. 2000-02-14 18:43:48 +00:00
Jim Kingdon 2bc8a45718 2000-02-14 Amit S. Kale <akale@veritas.com>
* elfread.c (elf_symtab_read): Move the use of sym to after where
	it is set.
	Checked in by Jim Kingdon  <kingdon@redhat.com>
2000-02-14 15:27:28 +00:00
Andrew Cagney 0c566c2e6c Nick Duffek is the UnixWare threads maintainer. 2000-02-14 04:42:15 +00:00
Andrew Cagney 3ca72b44a8 From Jason Merrill: (die_is_declaration): New fn.. 2000-02-14 04:37:06 +00:00
Jim Kingdon 4d9ab7f6c1 Correct missing ChangeLog entry. 2000-02-13 01:19:33 +00:00
Jim Kingdon d6e9fb0513 2000-02-10 J.T. Conklin <jtc@redback.com>
* config/i386/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o
	* configure.tgt (i[3456]86-*-netbsd*): add gdbserver to
 	configdirs.
	* gdbserver/low-nbsd.c: New file.

	* gdbserver/Makefile.in: convert to autoconf.
	* gdbserver/configure.in: likewise.
	* gdbserver/configure: generate.
2000-02-13 01:06:58 +00:00
Andrew Cagney 41c8e0096b Explain how to contribute to GDB. 2000-02-13 00:22:01 +00:00
Andrew Cagney 15929d056e Maintenance - update djgpp, powerpc maintainers. Add some check-in
after approval maintainers.
2000-02-12 23:55:14 +00:00
Andrew Cagney 5185fdd7b6 Reformat only. 2000-02-12 23:19:53 +00:00
Nicholas Duffek f086451a32 * uw-thread.c: Remove __FUNCTION__ GNUism. 2000-02-12 06:08:10 +00:00
Jason Molenda 6d05b4a653 2000-02-11 Jason Molenda (jsm@bugshack.cygnus.com)
* ChangeLog:  Tiny whitespace removal to test modification to
	logger scripts.
2000-02-12 04:28:52 +00:00
Jim Kingdon fa292f2358 2000-01-17 Amit S. Kale <akale@veritas.com>
* elfread.c (elf_symtab_read): Use offset for the section in which a
	symbol resides, instead of .text section for calculating address of a
	symbol.
	Checked in by Jim Kingdon  <kingdon@redhat.com>
2000-02-11 19:37:06 +00:00
Jim Kingdon f90b2b1da8 2000-02-09 Mark Kettenis <kettenis@gnu.org>
* gnu-nat.c (proc_string): Make global.
	(do_mach_notify_dead_name): Suppress dead name notifications if we
	know that the task is dead.

1999-12-13  Mark Kettenis  <kettenis@gnu.org>

	* gnu-nat.c (inf_validate_task_sc): Get task info via proc server
	instead of directly from the kernel.  Add some hackery to make
	sure that the info isn't influenced by suspension of the task in
	the proc server itself.
2000-02-11 06:34:58 +00:00
Jim Kingdon 09f99d3f44 * defs.h (MERGEPID): Added. Patch submitted by Andrew Hobson and
approved by Michael Snyder.
2000-02-10 20:06:32 +00:00
Andrew Cagney 203051afde From Mark Kettenis: Re-order #includes. defs.h is always first. 2000-02-10 04:53:26 +00:00
Andrew Cagney 145679a837 Update nindy files - #include "gdb_wait.h" instead of "wait.h". 2000-02-09 09:04:27 +00:00
Andrew Cagney 03f2053f96 Replace ../include/wait.h with gdb_wait.h. 2000-02-09 08:52:47 +00:00
Andrew Cagney 489137c036 Stop GDB mis-aligning the stack when doing inferior function calls. 2000-02-09 04:46:47 +00:00
Andrew Cagney ce808e9171 From JTC: Reduce default remote_timeout to two. Flush defunct code. 2000-02-09 03:28:18 +00:00
Andrew Cagney e9277ae8d4 From JTC: m32r-stub.c, sparcl-stub.c, sparclet-stub.c
(handle_exception): Return E01 instead of P01 when 'P' command fails.
2000-02-09 03:06:33 +00:00
Andrew Cagney 1216fa2c08 From JTC: Handle NAK from target stub. 2000-02-09 02:51:55 +00:00
Elena Zannoni f2c4d933e6 2000-02-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* configure.in: Remove the addition of sol-thread.c to the
	CONFIG_INITS list. This caused problems with init.c, because
	sol-thread.c would be grepped twice for _initialize_* functions.
	* configure: Ditto.
	* Makefile.in: Add FIXME for init.c.
2000-02-08 16:25:08 +00:00
Jim Kingdon 745b8ca0fc Clean up compiler warnings:
* bcache.h, bcache.c, c-valprint.c, coffread.c, stabsread.c,
	stack.c, valprint.c: Change variables to unsigned.
	* bcache.c: Rearrange to avoid warnings about variables not being set.
	* c-lang.c, ch-lang.c, f-lang.c, m2-lang.c: Include valprint.h
	rather than declaring print_max and repeat_count_threashold
	ourselves (incorrectly).
	* valprint.h: Do declare repeat_count_threashold.
	* ch-exp.c: Use default case for internal error.
	* findvar.c: Don't omit argument type.
	* symtab.c: Remove unused variable.
2000-02-08 04:39:02 +00:00
Jason Molenda 2b266721c4 2000-02-07 Jason Molenda (jsm@bugshack.cygnus.com)
* ChangeLog:  Whitespace change to check cvs logging mechanism.
2000-02-07 18:58:38 +00:00
Jason Molenda aa47baa992 2000-02-06 Jason Molenda (jsm@bugshack.cygnus.com)
* ChangeLog:  Another whitespace tweak test.
2000-02-07 05:10:47 +00:00
Jason Molenda b55cf2e4e4 2000-02-06 Jason Molenda (jsm@bugshack.cygnus.com)
* ChangeLog: Whitespace change checkin to test new cvs logging
	mechanism.
2000-02-07 05:08:39 +00:00
Jason Molenda a9e0ce2c0c 2000-02-06 Jason Molenda (jsm@bugshack.cygnus.com)
* gdb/ChangeLog:  Whitespace change to test cvs logging.
	* sim/ChangeLog:  Ditto, but in a separate dir.
2000-02-07 02:14:29 +00:00
Jason Molenda 3fc11d3e80 import insight-2000-02-04 snapshot (2nd try) 2000-02-07 00:19:45 +00:00
Jason Molenda dfcd3bfb6f import gdb-2000-02-04 snapshot 2000-02-05 07:30:26 +00:00
Jason Molenda 8b93c6380e import gdb-2000-02-02 snapshot 2000-02-03 04:14:45 +00:00
Jason Molenda d9fcf2fb1c import gdb-2000-02-01 snapshot 2000-02-02 00:21:19 +00:00
Jason Molenda da59e08184 import gdb-2000-01-31 snapshot 2000-02-01 03:19:29 +00:00
Jason Molenda 0fda6bd286 import gdb-2000-01-24 snapshot 2000-01-25 02:40:50 +00:00
Jason Molenda c5394b80ae import gdb-2000-01-17 snapshot 2000-01-18 00:55:13 +00:00
Jason Molenda 0d06e24ba7 import gdb-2000-01-10 snapshot 2000-01-11 03:07:37 +00:00
Jason Molenda c3f6f71df3 import gdb-2000-01-05 snapshot 2000-01-06 03:07:20 +00:00
Jason Molenda ed9a39ebf9 import gdb-1999-12-21 snapshot 1999-12-22 21:45:38 +00:00
Jason Molenda c4093a6ab3 import gdb-1999-12-13 snapshot 1999-12-14 01:06:04 +00:00
Jason Molenda de57eccd12 import gdb-1999-12-07 snapshot 1999-12-08 02:51:13 +00:00
Jason Molenda c2d11a7da0 import gdb-1999-12-06 snapshot 1999-12-07 03:56:43 +00:00
Jason Molenda 4ce44c668d import gdb-1999-11-16 snapshot 1999-11-17 02:31:06 +00:00
Jason Molenda 11cf874164 import gdb-1999-11-08 snapshot 1999-11-09 01:23:30 +00:00
Jason Molenda 5c44784c11 import gdb-1999-11-01 snapshot 1999-11-02 04:44:47 +00:00
Jason Molenda e514a9d642 import gdb-1999-10-25 snapshot 1999-10-26 03:43:48 +00:00
Jason Molenda 917317f4c6 import gdb-1999-10-18 snapshot 1999-10-19 02:47:02 +00:00
Jason Molenda 2df3850c7b import gdb-1999-10-11 snapshot 1999-10-12 04:37:53 +00:00
Jason Molenda 2acceee218 import gdb-1999-10-04 snapshot 1999-10-05 23:13:56 +00:00
Jason Molenda 6426a772a2 import gdb-1999-09-28 snapshot 1999-09-28 21:55:21 +00:00
Jason Molenda c2c6d25f0d import gdb-1999-09-21 1999-09-22 03:28:34 +00:00
Jason Molenda cff3e48be7 import gdb-1999-09-13 snapshot 1999-09-13 21:40:00 +00:00
Stan Shebs d4f3574e77 import gdb-1999-09-08 snapshot 1999-09-09 00:02:17 +00:00
Jason Molenda 104c1213b4 import gdb-1999-08-30 snapshot 1999-08-31 01:14:27 +00:00
Jason Molenda 53a5351d90 import gdb-1999-08-23 snapshot 1999-08-23 22:40:00 +00:00
Jason Molenda 7be570e7ce import gdb-1999-08-16 snapshot 1999-08-16 19:57:19 +00:00
Jason Molenda 96baa820df import gdb-1999-08-09 snapshot 1999-08-09 21:36:23 +00:00
Jason Molenda a0b3c4fd32 import gdb-1999-08-02 snapshot 1999-08-02 23:48:37 +00:00
Jason Molenda 5a2468f5c5 import gdb-1999-07-26 snapshot 1999-07-27 00:51:29 +00:00
Jason Molenda adf40b2e16 import gdb-1999-07-19 snapshot 1999-07-19 23:30:11 +00:00
Jason Molenda 43e526b9b4 import gdb-1999-07-12 snapshot 1999-07-12 11:15:22 +00:00
Jason Molenda c5aa993b1f import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
Jason Molenda 9846de1bb5 import gdb-1999-07-07 pre reformat 1999-07-07 17:31:57 +00:00
Jason Molenda 43ff13b418 import gdb-1999-07-05 snapshot 1999-07-05 17:58:44 +00:00