Commit Graph

4826 Commits

Author SHA1 Message Date
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
Jason Molenda 085dd6e638 import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
Jason Molenda 9e0b60a847 import gdb-1999-06-21 snapshot 1999-06-21 13:27:42 +00:00
Jason Molenda 0f71a2f66f import gdb-1999-06-14 snapshot 1999-06-14 18:08:47 +00:00
Jason Molenda cce74817d9 import gdb-1999-06-07 snapshot 1999-06-07 19:19:32 +00:00
Jason Molenda ac9a91a77c import gdb-1999-06-01 snapshot 1999-06-01 15:44:41 +00:00
Jason Molenda 392a587b05 import gdb-1999-05-25 snapshot 1999-05-25 18:09:09 +00:00
Jason Molenda 9e086581c7 import gdb-1999-0519 1999-05-19 19:58:41 +00:00
Stan Shebs cd0fc7c3eb import gdb-1999-05-10 1999-05-11 13:35:55 +00:00
Stan Shebs b83266a0e1 import gdb-19990504 snapshot 1999-05-05 14:45:51 +00:00
Stan Shebs 7a292a7adf import gdb-19990422 snapshot 1999-04-26 18:34:20 +00:00
Stan Shebs c906108c21 Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
Stan Shebs 071ea11e85 Initial creation of sourceware repository 1999-04-16 01:34:07 +00:00
Jason Molenda 8fa71a718c 1999-02-11 Jason Molenda (jsm@bugshack.cygnus.com)
* configure, aclocal.m4: Regenerate with correct version of aclocal.
1999-02-11 19:22:23 +00:00
Syd Polk 92cf44957c 1999-02-10 Syd Polk <spolk@cygnus.com>
* acinclude.m4: Fix for new location of itclConfig.sh and itkConfig.sh.
	* aclocal.m4: Regnerate.
	* configure: Regenerate.
1999-02-11 02:15:40 +00:00
Jason Molenda f43739dcc4 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
* demangle.c: Fix comments to mention "set demangle-style"
        instead of "set demangle".
        Run through indent to fix minor indenting problems.
1999-02-11 01:58:22 +00:00
Bob Manson 886f038c4c * i386-tdep.c (gdb_print_insn_i386): Add missing returns.
Disassembly fails on sparc host otherwise (for obvious reasons).
1999-02-11 01:54:15 +00:00
Stan Shebs baf6de2ed9 Declare Gould configuration obsolete:
* configure.host, configure.tgt: Comment out Gould configs.
	* Makefile.in: Comment out Gould-related actions.
	* gould-xdep.c, gould-tdep.c, config/gould/*: Comment out.
	* NEWS: Mention obsolete status.
And the first one bites the dust...
1999-02-10 21:28:03 +00:00
Christopher Faylor dc3623dc4b Fix a typo. 1999-02-10 17:19:01 +00:00
DJ Delorie 9cc267def9 * sparcl-tdep.c: UDP download works in cygwin 1999-02-09 20:05:42 +00:00
Jason Molenda 8aad4bd619 1999-02-08 Jason Molenda (jsm@bugshack.cygnus.com)
* gnu-regex.c: Check ENABLE_NLS instead of HAVE_LIBINTL_H.
        * configure.in: Don't check for libintl.h.
        * configure, config.in: Regenerated.

Fixes a problem on debian systems, a conflict between the
/usr/include/libintl.h and the routines that are actually linked in,
up in ../intl.
1999-02-09 07:03:23 +00:00
Stan Shebs f84e1784d4 * NEWS: Mention new X packet and PowerPC variant support. 1999-02-09 02:19:18 +00:00
Nick Clifton 5510d6a1c7 Add support for StrongARM host/target. 1999-02-08 17:07:07 +00:00
David Taylor 2a5e06a2db dsrec.c (make_srec): cast targ_addr to int in call to sprintf, otherwise on
big endian machines (e.g., sparc) with a bfd_vma of 64 bits, everything
gets loaded at location 0.  (PR 18929)
1999-02-08 17:07:06 +00:00
Andrew Cagney dd1a4280b2 From Frank Ch. Eigler <fche@cygnus.com>
* infrun.c (wait_for_inferior): Allow SIGTRAP to be "pass"ed to target program.
(But the comments are cagney's and not Frank's.)
1999-02-07 22:35:03 +00:00
Christopher Faylor d8f6bd4ee7 * config/i386/cygwin.mh: Move TERMCAP test code to configure.in.
* configure.in: Treat libtermcap.a detection as a special case when
hosting on cygwin.
* configure: Regenerate.
1999-02-03 19:29:00 +00:00
Keith Seitz 62286abf6e * remote.c (remote_binary_download, remote_binary_length): New
static globals for dealing with binary transmissions.
        (remote_write_bytes): Add support for binary downloads
        by shadowing the "M" packet with a new "X" packet. This
        defaults to ON; if the stub does not understand this, it
        will fall back to using "M".
        (putpkt): Add support for binary downloading.
        * monitor.c (monitor_expect): The mon2000 monitor
        on the MSA2000 will also emit random DC1/DC3 chars.
        * m32r-stub.c: Change all char's to unsigned char's
        to support binary downloading.
        (handle_exception): Add support for binary downloading
        via a new "X" packet.
        (getpacket): Do NOT strip eighth bit of incoming chars.
        Watch out for escaped characters in the incoming stream.
        (putpacket): Do NOT strip eighth bit of incoming chars.
        (bin2mem): New function to write binary data directly to
        memory.
        * m32r-rom.c: Add new "mon2000" target.
1999-02-03 17:02:01 +00:00
Elena Zannoni 17c9273aa1 Tue Feb 2 18:40:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* hp-psymtab-read.c (hpread_build_psymtabs): Coerce first arg
	passed to make_cleanup to the correct type.
	(hpread_quick_traverse): Change fifth arg to call to
	hpread_end_psymtab to be 0.
	Compare CURR_MODULE_END to 0 rather than NULL.
	Get rid of ifdef'ed out code.
	(scan_procs): Get rid of ifdef'ed out code.

	* somread.c (som_symfile_read): Coerce first argument passed to
	make_cleanup to the correct type.
1999-02-02 23:53:54 +00:00
Elena Zannoni 85a85d8a14 Tue Feb 2 17:36:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* hp-psymtab-read.c (do_pxdb): New function. Check whether the
	file needs to be processed by pxdb (an HP debug info massaging
	tool), if so call it.
	(hpread_build_psymtabs): Initialize scan_start to 0 and
	simplify flow of control.

	* somread.c (som_symfile_read): Add call to do_pxdb (),
	in hp-psymtab-read.c.

	* symfile.c (symbol_file_add): Remove ifdef'ed out HPUX specific
	code.
	(symfile_bfd_open): Remove HPUXHPPA ifdef'ed code. Code is now
	in hp-psymtab-read.c.
1999-02-02 23:38:45 +00:00
Martin Hunt 71003ca13f 1999-02-02 Martin Hunt <hunt@cygnus.com>
* printcmd.c (print_scalar_formatted): Use strcat to concat all
	the output together before calling fprintf_filtered().
1999-02-02 21:11:16 +00:00
Jason Molenda 0abbe35d84 1999-02-01 Jason Molenda (jsm@bugshack.cygnus.com)
* configure.in: Require autoconf 2.13.
        (AM_EXEEXT): Replace with new AC_EXEEXT.
        * acinclude.m4: Move itcl header macros from aclocal.m4 to here.
        * aclocal.m4: Regenerated.
        * configure: Regenerated.
1999-02-01 21:34:30 +00:00
Jim Blandy 7d201336b4 *** empty log message *** 1999-02-01 21:17:46 +00:00
Edith Epstein 0c17cddada *** empty log message *** 1999-02-01 19:03:07 +00:00
Stan Shebs 552316ee17 * buildsym.h, buildsym.c: Convert to ANSI-only. 1999-02-01 00:38:25 +00:00
Stan Shebs 8523b5f36d * buildsym.h, buildsym.c: Reformat to standard. 1999-01-31 23:57:18 +00:00
Stan Shebs f3cc3e6e6d * buildsym.c (merge_symbol_lists): Remove unused variable.
(_initialize_buildsym): Remove, does nothing.
1999-01-31 23:29:13 +00:00
Stan Shebs 3a70e50388 1999-01-31 J.T. Conklin <jtc@redbacknetworks.com>
* i386-stub.c, m32r-stub.c, m68k-stub.c, sh-stub.c, sparc-stub.c,
 	sparcl-stub, sparclet-stub.c: Change declaration of putDebugChar
 	to include explicit void return type as per documentation.  Fix up
 	occasions where stubs erroneously checked return type.
1999-01-31 21:46:19 +00:00
Stan Shebs b7263fb370 From J.T. Conklin <jtc@redbacknetworks.com>:
* remote.c (remote_query): Fix tipo.
1999-01-31 21:23:43 +00:00
Elena Zannoni f9039690ac Fri Jan 29 19:10:09 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Fix typos in ChangeLog
1999-01-30 00:12:22 +00:00
Stan Shebs 31bcf8905f * configure.tgt (v850): Add wildcard to match.
Also remove sanitization for v850e and ea.
1999-01-29 23:39:40 +00:00
Edith Epstein 34adffbd05 Fri Jan 29 16:44:01 1999 Edith Epstein <eepstein@sophia.cygnus.com>
* inferior.h: ran indent

	* fork-child.c: ran indent

	* infrun.c : ran indent
1999-01-29 21:47:09 +00:00
Elena Zannoni fbd641cbd3 Fri Jan 29 12:57:34 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* infrun.c (_initialize_infrun): do not stop or print anything
	when a SIGWINCH is received.
1999-01-29 18:29:12 +00:00
Elena Zannoni f4d3153f65 Fri Jan 29 12:57:34 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Makefile.in (m2-exp.tab.c): use YACC not BISON.
	(f-exp.tab.c): ditto
	(jv-exp.tab.c): ditto
	(c-exp.tab.c): ditto
	(YACC): define as @YACC@
1999-01-29 18:01:29 +00:00
Martin Hunt 6925baeaa6 1999-01-29 Martin Hunt <hunt@cygnus.com>
Changes from Keith Seitz  <keiths@cygnus.com>

        * valops.c (value_assign): Add calls to register_changed_hook and
        memory_changed_hook to inform UIs that the user has changed
        the target's registers/memory.
        * findvar.c (write_register_gen): Remove call to pc_changed_hook.
        * defs.h: Remove declaration for pc_changed_hook and
        add declarations for register_changed_hook and
        memory_changed_hook.
        * top.c: Ditto.
1999-01-29 09:46:03 +00:00
Mark Alexander e5c9fdd2b6 Fix for PR 17980:
* procfs.c (wait_fd): Handle deleted threads correctly.
1999-01-29 02:19:27 +00:00
Jason Molenda 401be973eb 1999-01-28 Jason Molenda (jsm@bugshack.cygnus.com)
* utils.c (init_page_info): Force window size if running under emacs.

emacs-detection stolen from readline.
1999-01-28 22:06:24 +00:00
Jim Ingham 31262a404a 1999-01-27 James Ingham <jingham@cygnus.com>
* gdbtk-wrapper.c: Missed a couple of places where FILE->GDB_FILE
	in the fputs_unfiltered_hook needed to propagate.
1999-01-28 06:11:03 +00:00
Jim Ingham c98fe0c119 This is the merge of the Itcl3.0 gdbtk development branch into the
trunk.  To build it, you will have to do update -dP in the itcl
directory, and update tcl, tk, tix and libgui as well.
1999-01-28 03:50:17 +00:00
Elena Zannoni 42d99b82d9 Wed Jan 27 16:50:25 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* hp-psymtab-read.c: reformatted using indent.
1999-01-27 21:59:10 +00:00
Elena Zannoni 893a9f1383 Wed Jan 27 13:20:25 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* hp-psymtab-read.c: reformatted comments, updated copyright.
1999-01-27 18:22:44 +00:00
Andrew Cagney 57bb3453c4 * mips-tdep.c (mips_gdbarch_init): Trace e_flags from BFD
elf_info.
1999-01-27 04:45:28 +00:00
Mark Alexander 602886332b * v850-tdep.c (v850_generic_reg_names, v850e_reg_names,
v850_register_names, v850_processor_type_table): Declare tables
	and structures for handling differences in register names for
	v850 and v850e.
	(struct reg_list): Define new structure for creating tables
	of register bit masks in v850e instrutions.
	(handle_prepare, handle_pushm): New helpers for v850_scan_prologue.
	(v850_scan_prologue): Recognize v850e instructions: callt, prepare,
	and pushm.
	(v850_target_architecture_hook): New function to set register
	names based on current machine.
	(_initialize_v850_tdep): Set up target_architecture_hook.
	* config/v850/tm-v850.h (v850_register_names): Declare.
	(REGISTER_NAME): Define to refer to v850_register_names.
	(SR0_REGNUM, CTBP_REGNUM): Define.
	(PS_REGNUM): Redefine in terms of SR0_REGNUM.
1999-01-27 00:15:00 +00:00
Elena Zannoni d8f4ee32b2 Tue Jan 26 18:27:26 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Makefile.in (c-exp.tab.c): use BISON instead of YACC, to pick
	the correct value from configure output.
	(jv-exp.tab.c): ditto.
	(f-exp.tab.c): ditto.
	(m2-exp.tab.c): ditto.
1999-01-26 23:32:39 +00:00
Jason Molenda 517ab61151 1999-01-26 Jason Molenda (jsm@bugshack.cygnus.com)
* breakpoint.h (ep_is_exception_catchpoint): Add prototype.
        * frame.h (select_and_print_frame): Add prototype.
        * stack.c (func_command): Call select_and_print_frame with correct
        number of arguments.  Reformat whitespace.

As far as I can tell, the func command (only enabled in --dbx mode) doesn't
actually work right now, even with this rather glaring fix.  I'm not going
to spend time on it; dbx mode looks pretty seriously broken after a five
second glance.
1999-01-26 23:15:13 +00:00
Fernando Nasser a61e26e2d2 Tue Jan 26 16:53:54 1999 Fernando Nasser <fnasser@cygnus.com>
* remote.c (remote_query): fix maximum packet size to account for
          remote_debug use.
          (putpkt): add comment to alert about extra byte need.
1999-01-26 21:57:10 +00:00
Mark Alexander 1eeb1b63fa * sh-tdep.c (sh_target_architecture_hook): Return immediately
when a matching machine is found.
1999-01-26 03:57:32 +00:00
Andrew Cagney 95490429f9 Fix typos. 1999-01-22 03:21:25 +00:00
Stan Shebs b58ed18b12 From J.T. Conklin <jtc@redbacknetworks.com>:
* top.c (init_main): Fix tipo in description of the remotetimeout
	variable.
	* breakpoint.c (bpstat_stop_status): Handle systems where
	DECR_PC_AFTER_BREAK != DECR_PC_AFTER_HW_BREAK.
1999-01-22 03:09:06 +00:00
Stan Shebs 51aa361ef8 * procfs.c (init_procfs_ops): New function, fills in procfs_ops,
init only nonzero fields, leave to_require_attach and
	to_require_detach empty, not needed for /proc systems yet.
	(_initialize_procfs): Call init_procfs_ops.
1999-01-22 02:30:37 +00:00
Mark Alexander f5dce6c602 * mon960-rom.c (_initialize_mon960): Call init_mon960_cmds
to fill in mon960_cmds structure properly.
1999-01-22 01:29:46 +00:00
Mark Alexander 7363ff9083 Changes for PR 8996:
* h8300-tdep.c (original_register_names, h8300h_register_names,
	h8300_register_names): Define new variables.
	(set_register_names): New function to set register names based on
	current CPU type.
	(h8300_command, h8300h_command, h8300s_command): Call
	set_register_names.
	* config/h8300/tm-h8300.h (h8300_register_names): Declare.
	(REGISTER_NAME): Define to refer to h8300_register_names.
1999-01-20 23:54:03 +00:00
Jim Blandy 36eeadb29d *** empty log message *** 1999-01-19 16:57:09 +00:00
Jim Blandy d21802cde4 *** empty log message *** 1999-01-19 16:56:22 +00:00
David Taylor 5337bd558b disable_breakpoints_in_shlibs now takes a new parameter -- silent; callers
updated.  new callers -- clear_solib (irix5-nat.c, osfsolib.c, solib.c).
PR 16495 / PR 18213.
1999-01-19 16:20:39 +00:00
David Taylor d69cff284b only declare child_post_attach if CHILD_POST_ATTACH is defined. 1999-01-19 15:29:06 +00:00
Andrew Cagney 3b06727073 More make_cleanups/catch_errors warning fixes. 1999-01-19 12:28:20 +00:00
Andrew Cagney bc8bd256d0 HPMERGE:
More wrong uses of gdb_stderr and stderr/stdout.
More upddates to calls of catch_errors() so that call matches new interface.
1999-01-19 02:17:00 +00:00
Stan Shebs ab0e22180a * ser-ocd.c (ocd_open): Handle Unix case gracefully.
fixes bug reported on ecos-discuss
1999-01-19 02:13:06 +00:00
Stan Shebs 8a7dfaa090 * target.c (dummy_target): Don't initialize statically.
(init_dummy_target): New function, fills in dummy_target.
	(initialize_targets): Use it.
	* hpux-thread.c (hpux_thread_ops): Don't initialize statically.
	(init_hpux_thread_ops): New function, fills in hpux_thread_ops.
	(_initialize_hpux_thread): Use it.
	* m3-nat.c (m3_ops): Don't initialize statically.
	(init_m3_ops): New function, fills in m3_ops.
	(_initialize_m3): Use it.
1999-01-19 00:49:41 +00:00
Fernando Nasser 49f47b0013 1999-01-18 Fernando Nasser <fnasser@totem.to.cygnus.com>
* sol-thread.c: delete compile time initialization of target_ops
          (_initialize_sol_thread): initialize target_ops at run time.
        * hpux-thread.c: added target_ops entry.
        * m3-nat.c: ditto.
1999-01-19 00:39:04 +00:00
David Taylor 63f8d5f5b3 change initialization of procfs_ops from compile time to run time. 1999-01-18 20:22:43 +00:00
Christopher Faylor 040bbbc24b * configure.in: Ensure that -luser32 is always linked in for cygwin build.
* configure: Regenerated.
1999-01-18 17:54:36 +00:00
Mark Alexander a396d2bd0d * values.c (value_virtual_fn_field): Clear the pointed-to
offset when casting to the base class.
1999-01-18 16:43:01 +00:00
David Taylor f9a5267ce6 fix hp merge (2.66.4 branch) changes to remote-udi.c -- it didn't compile. 1999-01-18 15:35:10 +00:00
Andrew Cagney c634a08ff8 HPMERGE:
Pass gdb_stderr instead of stderr.
In serial.c, fix call to gdb_fclose() - pass gdb_file** not gdb_file*
1999-01-18 01:24:06 +00:00
Andrew Cagney 8bdec905f1 Fix warnings from calls to catch_errors() and make_cleanup(). 1999-01-18 00:46:13 +00:00
Andrew Cagney 6e45c399c1 catch_errors() takes PTR argument/func instead of char* argument/func.
Update breakpoint.c.
Fix (?) cover_target_enable_exception_callback().  Wasn't returning a
value.
1999-01-17 23:23:42 +00:00
Fernando Nasser 2bef607561 1999-01-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
* remote.c (remote_query): new function - creates proper interface
        to the remote protocol "q" command.
1999-01-16 19:01:23 +00:00
Zdenek Radouch 517b49896a Changed ABI to match a GCC change. Structs passed by value are always
passed using a pointer.
1999-01-15 22:17:00 +00:00
Fernando Nasser 7269d43e10 1999-01-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
* target.h: added entry for target queries (to_query)
          target.c: ditto.
1999-01-15 17:30:25 +00:00
David Taylor 1206c6599d fix stream arguments to fprintf_unfiltered, gdb_flush, print_address_numeric,
and fwrite.
1999-01-14 23:40:25 +00:00
Michael Snyder dab43dfdcd Wed Jan 13 14:59:02 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
* infrun.c (set/show scheduler-locking) New command.  Set a
          mode bit that will control how GDB attempts to control thread
          scheduling for step, continue, etc.  (resume): make use of
          the schedule-locking mode.
        * target.h (struct target_ops): new field to_has_thread_control.
        * sol-thread.c: initialize target_ops to_has_thread_control.
        * procfs.c: ditto.
        * target.c: ditto.
        * m3-nat.c: ditto.
        * remote.c: ditto.
        * hpux-thread.c: ditto.
1999-01-14 18:46:54 +00:00
David Taylor 320d5bd8b6 insert_breakpoints -- insert cast to eliminate warning. 1999-01-14 00:37:26 +00:00
David Taylor 9e309e8341 change by Edie. 1999-01-13 17:18:32 +00:00
Jason Molenda 642c5be775 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
* monitor.c (init_base_monitor_ops): Whitespace cleanup.
        (_initialize_remote_monitors): Same.
1999-01-13 01:49:33 +00:00
Jason Molenda 9d4010dcac 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
* monitor.c (init_monitor_ops): Initialize the monitor_ops
        structure if it hasn't already been done.

PR 18735
1999-01-13 01:45:04 +00:00
Stan Shebs 7110ccc127 * inftarg.c (child_ops): Don't initialize statically.
(init_child_ops): New function, fills in child_ops.
	(_initialize_inftarg): Use it.
	(child_post_attach): Declare extern.
	(child_wait): Fix ambiguous parens.
	(child_attach_to_process): Remove unused local wstatus.
	(child_insert_fork_catchpoint, child_remove_fork_catchpoint,
	child_insert_vfork_catchpoint, child_remove_vfork_catchpoint,
	child_has_forked, child_insert_exec_catchpoint,
	child_remove_exec_catchpoint): Return a value.
1999-01-12 22:58:18 +00:00
Michael Snyder 98c5c19292 Mon Jan 11 16:43:44 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
* remote.c (remote_wait): Add inferior_pid to thread list only
        if it is not already there.
1999-01-12 00:44:30 +00:00
Jason Molenda 897ccbb084 1999-01-11 Jason Molenda (jsm@bugshack.cygnus.com)
* scm-tags.h: Update FSF's address on copyright notice.
        * ser-e7kpc.c: Same.
        * gnu-nat.h: Same.
1999-01-11 23:22:25 +00:00
Stu Grossman 4cffc916c1 * dwarf2read.c (dump_die): Change stderr gdb_stderr.
* expprint.c (print_subexp):  fprintf => fprintf_unfiltered.
	* jv-typeprint.c (java_type_print_base):  fputs => fputs_filtered.
	* stack.c (struct function_bounds):  Remove superfluous `typedef'.
	* symfile.c (list_overlays_command):  stdout => gdb_stdout.
	* symmisc.c (maintenance_check_symtabs):  stdout => gdb_stdout.
	* utils.c (print_spaces):  Make more efficient.
1999-01-11 21:51:39 +00:00
David Taylor 776fb68dfc print_spaces -- fix arg to strcat (broken by 1.165.6.4 change to utils.c). 1999-01-11 18:58:07 +00:00
Stan Shebs 4d8f8e121a * exec.c (exec_ops): Don't initialize statically.
(init_exec_ops): New function, fills in exec_ops.
	(_initialize_exec): Use it.
1999-01-08 20:03:11 +00:00
Zdenek Radouch 1c3101060c Beta version of the FR30 port. 1999-01-07 22:54:18 +00:00
David Taylor 460845ab29 HP merge related changes; TUI stuff; new configs for 10.20 and 11.00; new files. 1999-01-06 23:10:48 +00:00
Stan Shebs 7517f04bc4 * remote.c: Pacify --enable-build-warnings, reformat code
to conform to standards, fix spelling errors.
	(ishex, stubhex, record_currthread, etc): Declare.
	(ishex, stubhex): Declare char arg as int.
	(pack_string): Comment out, never used but possibly useful.
	(threadref_to_int, remote_get_threadinfo, etc): Make static.
1999-01-06 20:14:30 +00:00
David Taylor 3473370194 HP merge changes by eepstein and ezannoni; added external flag
hp_som_som_object_present; added true and false tokens; changed some of
the template processing code for handling HP aCC templates.
1999-01-06 16:52:17 +00:00
Michael Snyder b53a15146c * remote.c (record_curthread): Must not modify inferior_pid when
called from wait_for_inferior.  Instead, if a new thread-id is
	detected, call add_thread.  (MAGIC_NULL_PID): new macro, use
	instead of the magic number "42000".  (remote_find_new_threads):
	if inferior_pid is unknown, get and use the current thread id.
	(remote_start_remote): on connecting, attempt to get the current
	thread id for inferior_pid.  (remote_resume): If pid == -1,
	then resume any-thread (not the current thread specifically).
	* thread.c (info_threads_command): don't initialize current_pid
	until after call to FIND_NEW_THREADS (which may change inferior_pid).
1999-01-06 03:08:10 +00:00
David Taylor 490825560e target.c (noprocess): terminate sentence with a period.
breakpoint.c (catch_command_1): ditto.
1999-01-05 22:01:26 +00:00
David Taylor eceede3100 c_value_print -- remove hack^2 from HP -- it causes testsuite losses with
no real gain.
1999-01-05 17:08:19 +00:00
David Taylor 2819d3d65f restore START_INFERIOR_TRAPS_EXPECTED if not already defined by tm-*.h 1999-01-05 16:58:28 +00:00
Jason Molenda d951f9e4f9 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
* configure.in: Fix whitespace indentation for --help.
        * configure: Regenerated.
1999-01-05 01:42:38 +00:00
Jason Molenda d7f71863da 1999-01-04 Manuel Bouyer <bouyer@antioche.lip6.fr>
* main.c: Add --write command line option, document -w.
        * gdb.1: Document --write.
1999-01-05 00:50:49 +00:00
Jason Molenda f240337a6f 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
* configure.in: Require autoconf 2.12.1 or higher.
        * doc/configure.in: Ditto.
        * nlm/configure.in: Ditto.
        * rdi-share/configure.in: Ditto.
        * testsuite/configure.in: Ditto.
        * doc/Makefile.in: Don't hardcode $(SHELL).
        * nlm/Makefile.in: Ditto.
        * rdi-share/Makefile.in: Ditto.
        * testsuite/Makefile.in: Ditto.
1999-01-05 00:17:07 +00:00
Stan Shebs 73ec6020e5 Split the ChangeLog by year 1999-01-04 21:06:51 +00:00
Stan Shebs 64aa82eb77 * remote-vx.c (init_vx_ops, init_vx_run_ops): Remove unneeded
inits of new fields, including ref to bogus field.
	(vx_ops, vx_run_ops): Make static.
1999-01-04 21:01:58 +00:00
David Taylor 97bff53b38 delete redundant definition of STARTUP_INFERIOR_TRAPS_EXPECTED. 1999-01-04 20:21:16 +00:00
David Taylor 3e1d3d67b9 change <sys/unistd.h> to <unistd.h> and conditionalize its inclusion. 1999-01-04 20:07:59 +00:00
Stan Shebs 4c49748e82 * corelow.c (core_ops): Don't initialize statically.
(init_core_ops): New function, fills in core_ops.
	(_initialize_corelow): Use it.
1998-12-31 23:28:57 +00:00
Stan Shebs b5c7e12253 Add a sky sanitization, cosmetic changes for consistency 1998-12-31 23:25:34 +00:00
David Taylor 65b07ddca8 all remaining *.c *.h files from hp merge. 1998-12-31 21:58:30 +00:00
Stan Shebs c4b2310000 From J.T. Conklin <jtc@redbacknetworks.com>:
* i386-stub.c: Fix error string in last change.
1998-12-31 01:50:43 +00:00
Jason Molenda adcb1e06ef 1998-12-30 Jason Molenda (jsm@bugshack.cygnus.com)
* utils.c: <readline/readline.h> instead of "readline/readline.h".

        * configure.in (TERM_LIB): Search for the appropriate term library
        on the host system.
        * configure: Regenerated.
        * Makefile.in (TERMCAP): Set based on autoconf check.
        * config/*/*.mh: Don't override TERMCAP setting.
1998-12-31 01:30:52 +00:00
Mark Alexander 1b0df0adcb * value.c (value_virtual_fn_field): Handle the situation where
vtbl is a pointer to a structure instead of a pointer to an array.
1998-12-31 01:29:30 +00:00
David Taylor 4ef1f46773 hp merge changes -- too numerous to mention here; see ChangeLog and
ChangeLog-gdbtk for details.
1998-12-28 23:06:13 +00:00
Per Bothner 0bf2ba41ef * Makefile.in (READLINE_CFLAGS): Search $(READLINE_SRC)/.. rather
than $(READLINE_SRC) so #include <readline/readline.h> will work.
	* top.c:  #include <readline/history.h> instead of "history.h".
	* tracepoint.c:  Likewise.
	* mac-xdep.c:  Likewise.
1998-12-23 23:06:11 +00:00
Andrew Cagney 30ce5223b8 * defs.h (TARGET_FLOAT_FORMAT, TARGET_DOUBLE_FORMAT): Define using
TARGET_BYTE_ORDER and not target_byte_order.
1998-12-23 02:13:37 +00:00
Elena Zannoni 83e2dcc014 Tue Dec 22 10:51:33 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* config/i386/cygwin.mh (TERMCAP): define.
 	(from Chris Faylor, cgf@cygnus.com)
1998-12-22 22:10:23 +00:00
Elena Zannoni 57ac5cfff1 Tue Dec 22 10:51:33 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* top.c: specify directory name for including readline.h

	* tracepoint.c: ditto.

	* utils.c: ditto.
1998-12-22 22:06:48 +00:00
Mark Alexander 4a1b8bb277 Fix for PR 18470:
* value.c (value_virtual_fn_field): Handle the situation where
	vtbl is a pointer to a structure instead of a pointer to an array.
1998-12-21 21:34:39 +00:00
Andrew Cagney 6535b1df92 1998-12-17 J.T. Conklin <jtc@redbacknetworks.com>
* blockframe.c (get_frame_saved_regs): If the saved_regs_addr ptr
is null, ensure that saved registers are copied from the local
variable that was used to obtain them.
1998-12-20 23:04:45 +00:00
Stu Grossman 0e52a532e4 * mips-tdep.c (mips32_heuristic_proc_desc): Clear temp_saved_regs
on restart.  Fixes problem with backtracing through functions that
	use virtual frame pointers.
1998-12-19 17:56:40 +00:00
Andrew Cagney 1fe2e66a01 CARP/vr4xxx:
Rewrite ``set mipsfpu'' command so that it works with the multi-arch
framework.  For vr4111 and vr4121 disable the FPU.
1998-12-18 05:14:06 +00:00
Andrew Cagney 2e64ee9aae CARP:
Pass gdbarch_info by value to the arch init function.
Review doco.
Update mips-tdep.c
1998-12-18 03:21:45 +00:00
Andrew Cagney ff6f2f5786 CARP:
For MIPS, multi-arch MIPS_EABI, MIPS_LAST_FP_ARG_REGNUM,
MIPS_LAST_ARG_REGNUM.
1998-12-16 15:13:55 +00:00
Andrew Cagney 115c338d20 CARP:
Swap the GDB builtin types when ever the architecture changes.
1998-12-16 15:05:19 +00:00
Andrew Cagney dcf46491d8 CARP:
Add multi-arch code!
1998-12-16 15:01:03 +00:00
Andrew Cagney e81bad50a8 * gdbtypes.c (build_gdbtypes): New function.
(_initialize_gdbtypes): Call.
1998-12-16 14:57:08 +00:00
Andrew Cagney 5036d102ed * gdbarch.c (show_architecture): Use TARGET_ARCHITECTURE.
* gdbarch.h, gdbarch.c: Fix typo's. Use struct's in preference to
types.
* gdbarch.h, gdbarch.c (gdbarch_debug): Add ``set archdebug'' to
command set.
1998-12-16 01:17:50 +00:00
Stan Shebs 91e14aa9a7 Fix sanitization mistake, move gdbtk change entries to right place 1998-12-15 19:44:29 +00:00
Andrew Cagney 759181e384 config/mips/tm-*.h: (TARGET_BYTE_ORDER_DEFAULT,
TARGET_BYTE_ORDER_SELECTABLE_P): Replace TARGET_BYTE_ORDER and
TARGET_BYTE_ORDER_SELECTABLE.
1998-12-15 13:35:50 +00:00
Jason Molenda fc5b254aa6 1998-12-14 Anthony Thompson (athompso@cambridge.arm.com)
* remote-rdp.c (rdp_init): Don't discard first character on reset.
        (translate_open_mode): Define table.
        (exec_swi): Handle SWI_Clock.  SWI_Open now handles stdin/stdout.
        SWI_Write returns number of bytes not written.  SWI_Read does the
        same.  SWI_Seek should return success/failure flag.  Fix SWI_Flen.

A patch from PR 15841 for the RDP (Demon) interface.
1998-12-14 23:55:25 +00:00
Stan Shebs 6d2743e5ec 1998-12-14 J.T. Conklin <jtc@redbacknetworks.com>
* config/i386/nbsd.mh, config/m68k/nbsd.mh, config/ns32k/nbsd.mh
	(XDEPFILES): Add ser-tcp.o.
1998-12-14 23:42:19 +00:00
Andrew Cagney f0b5151401 Fix typo TM_PRINT_INSN_INFO -> TARGET_PRINT_INSN_INFO
Move gdbtk stuff to gdbtk file.
1998-12-14 23:17:16 +00:00
Andrew Cagney 456c9134ae Always compile EXTRA_MDEBUG code (even when it is disabled). 1998-12-14 04:54:13 +00:00
Andrew Cagney 14a15da3a5 Fix C-Style in init function. 1998-12-14 03:47:38 +00:00
Andrew Cagney 20dd6c3bb8 * monitor.c (monitor_printable_string): New function to convert a into
a printable representation.
(monitor_error): Call error after converting string into printable
format.
(monitor_printf{,_noecho}): If EXTRA_RDEBUG is defined, convert string
into printable form before printing.
(monitor_expect): Ditto.
(monitor_read_memory{,_single}): Call monitor_error, not error.
(monitor_read_memory): Return immediately if length is 0.
* ppcbug-rom.c (init_ppc_cmds): Fill in dump_registers field, which is
now required.
1998-12-14 03:29:52 +00:00
Andrew Cagney f7e85b1bc1 CARP:
Consolidate the semi-dynamic target system dependant GDB parameters
moving them all into a new file.
1998-12-14 02:37:16 +00:00
Andrew Cagney aaa3c096db CARP:
Re-do TARGET_PRINT_INSN_INFO, TARGET_PRINT_INSN, TARGET_ARCHITECTURE,
TARGET_ARCHITECTURE_AUTO, TARGET_BYTE_ORDER_SELECTABLE_P,
TARGET_BYTE_ORDER so that they can all be overriden.

Document.

Convert mn10300 and PPC targets.
1998-12-13 23:28:46 +00:00
Andrew Cagney 86a51f415d CARP: Mechanism to replace EXTRA_FRAME_INFO.
Add two pointers (saved_regs, extra_info) to struct frame_info.
Introduce new macro FRAME_INIT_SAVED_REGS which replaces
FRAME_FIND_SAVED_REGS.

Document.

Use in mn10300 and rs6000 targets. Fix side effects on ALPHA, MIPS,
Z8K and SPARC targets.
1998-12-12 02:50:39 +00:00
Jeff Law 0b174df89d * txvu-tdep.c (set_vxtu_prompt): Rename set_prompt. 1998-12-11 22:53:20 +00:00
Fernando Nasser a4c7e96587 1998-12-11 Fernando Nasser <fnasser@cygnus.com>
From J.T. Conklin  <jtc@redbacknetworks.com>:
        * i386-stub.c (handle_exception): Add support for 'P' command.
        (NUMREGS): New macro.
1998-12-11 21:17:56 +00:00
Jason Molenda 852b7d1192 1998-12-11 Jeff Law (law@cygnus.com)
* configure.in (with-sim-gpu2): Do not emit a -L argument without
        an associated pathname.  Link in the math library after the gpu2
        library.

Assumes that libm is around (and doesn't take advantage of the
AC_CHECK_LIB(m) that is already in configure.in), but this is a
minor point and unlikely to cause problems.
1998-12-11 18:47:33 +00:00
Andrew Cagney 8b1773ee6a Fix compiler warnings on FreeBSD. 1998-12-11 01:30:59 +00:00
Andrew Cagney d70a61e74c CARP:
More replace reg_name[] with REGISTER_NAME().
1998-12-10 23:07:24 +00:00
David Taylor 4770ff087a Start of HP merge changes to GDB. 1998-12-10 21:25:43 +00:00
Andrew Cagney 9ddf9aa9be CARP:
Rename REGISTER_NAMES{} -> REGISTER_NAME().
1998-12-10 06:10:03 +00:00
Jim Wilson e351e0fca0 Link with i960 simulator.
* config/i960/mon960.mt (SIM_OBJS, SIM): Define.
1998-12-09 06:54:51 +00:00
Stan Shebs ab796a3d17 * NEWS: Add mentions of newly-added configurations. 1998-12-09 00:51:48 +00:00
Jason Molenda ac95dc5eeb 1998-12-08 Philippe De Muyter <phdm@macqel.be>
* config/xm-aix4.h (SIGWINCH_HANDLER): Function `aix_resize_window'
        must accept a signal number as parameter.
        * config/rs6000/xm-rs6000.h (SIGWINCH_HANDLER): Ditto.
        * utils.c (initialize_utils): Give a parameter to `SIGWINCH_HANDLER'.

        * inferior.h (register_valid): Variable's type is `SIGNED char', not
        `char'.
        * findvar.c (register_valid): Ditto.

        * defs.h (make_cleanup_func): Protect parameter list by `PARAMS'.
        * gdbthread.h (unbind_target_thread_vector): Likewise.
1998-12-09 00:38:46 +00:00
Edith Epstein 09faf0c212 Tue Dec 8 15:09:44 1998 Edith Epstein <eepstein@sophia.cygnus.com>
Merged in m68k-linux patch from Andreas Schwab

        1998-12-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

        * Makefile.in, configure.host, configure.tgt: Add support for
        m68k-linux.
        * config/m68k/linux.mh: New file.
        * config/m68k/linux.mt: New file.
        * config/m68k/nm-linux.h: New file.
        * config/m68k/tm-linux.h: New file.
        * config/m68k/xm-linux.h: New file.
        * gdb/m68klinux-nat.c: New file.
        * gdbserver/low-linux.c: Add support for m68k-linux.
        * gdb/config/m68k/tm-m68k.h (NUM_FREGS): New macro.
1998-12-08 21:57:35 +00:00
Edith Epstein 1994dc7cfc Tue Dec 8 15:09:44 1998 Edith Epstein <eepstein@sophia.cygnus.com>
* config/m68k/tm-m68k.h (NUM_FREGS): m68k-linux patch.
          Added NUM_FREGS macro.

        * config/m68k/xm-linux.h: m68k-linux patch. New file.

        * config/m68k/tm-linux.h: m68k-linux patch. New file.

        * config/m68k/nm-linux.h: m68k-linux patch. New file.

        * config/m68k/linux.mt: m68k-linux patch. New file.

        * config/m68k/linux.mh: m68k-linux patch. New file.

        * gdbserver/low-linux.c: m68k-linux patch. Added an ifdef
          that checks the value of __GLIBC to decide whether or
          not to include sys/reg.h.

        * m68klinux-nat.c: m68k-linux patch. New file. Note
          both m68k-tdep.c and m68klinux-nat.c contain definitions
          for supply_gregset and supply_fpregset. The definitions
          in m68k-tdep.c are valid is USE_PROC_FS is defined. Otherwise,
          the definitions in m68klinux-nat.c will be used. This is a
          bit of a hack. The supply_* routines do not belong in
          *_tdep.c files. But, there are several lynx ports that currently
          depend on these definitions.

        * configure.tgt: m68k-linux patch. Added m68*-*-linux*
          gdb_target.

        * configure.host: m68k-linux patch. Added m68*-*-linux*
          gdb_host.

        * Makefile.in: m68k-linux patch. Added compile line for
          m68klinux-nat.o
1998-12-08 20:41:19 +00:00
Jason Molenda 223a358838 1998-12-07 Jason Molenda (jsm@bugshack.cygnus.com)
* config/i386/xm-cygwin.h: Remove REQUEST_QUIT definition.
        * config/powerpc/xm-cygwin.h: Ditto.

PR 17664.

With this define in place, you can't type "q" to get out of GDB's pager
under Cygwin.
1998-12-07 23:07:17 +00:00
Jim Blandy 0bd416fe37 *** empty log message *** 1998-12-07 20:28:31 +00:00
Jason Molenda edc452d07d 1998-12-03 Jason Molenda (jsm@bugshack.cygnus.com)
* monitor.c (monitor_read_memory): Zero out pattern buffers
        before calling re_search.
        (parse_register_dump): Ditto.

PR 18049.  This bug had existed erratically since I upgraded to
the new gnu-regex.c this last summer.  The problem is mostly in
parse_register_dump; the allocated structure has some random values
in it and there is a flag set in the register_pattern structure by the
gnu-regex library which indicates that the values in the re_registers
should be trusted.

If those arbitrary contents aren't zero, gnu-regex tries to run realloc
on them and we get a core dump on some hosts for some targets when the
moon is just right.
1998-12-04 04:46:18 +00:00
Zdenek Radouch 254ba53622 FR30 updates/checkpoint. 1998-12-03 15:40:00 +00:00