Commit Graph

9330 Commits

Author SHA1 Message Date
J.T. Conklin 7256e1a5bb * config/h8300/tm-h8300.h (FRAME_ARGS_ADDRESS): Changed to use
h8300_frame_args_address from frame_args_address.
(FRAME_LOCALS_ADDRESS): Changed to use h8300_frame_locals_address
from frame_locals_address.
(PRINT_REGISTER_HOOK): Changed to use h8300_print_register_hook
from print_register_hook.
(h8300_frame_args_address): Declare.
(h8300_frame_find_saved_regs): Declare.
(h8300_frame_locals_address): Declare.
(h8300_frame_saved_pc): Declare.
(h8300_pop_frame): Declare.
(h8300_print_register_hook): Declare.
* h8300-tdep.c (h8300_frame_find_saved_regs): Removed declaration.
(h8300_frame_args_address): Renamed from frame_args_address.
(h8300_frame_locals_address): Renamed from frame_locals_address.
(h8300_pop_frame): Renamed from pop_frame.
(h8300_print_register_hook): Renamed from print_register_hook.
-------------------------------------------------------------------
2001-03-16 22:34:46 +00:00
Michael Chastain f266096bea 2001-03-12 Michael Chastain <chastain@redhat.com>
* gdb.c++/derivation.exp: Use the 'runto' library function.
2001-03-16 20:04:02 +00:00
Michael Chastain cac3c2ff11 2001-03-12 Michael Chastain <chastain@redhat.com>
* gdb.c++/annota2.exp: Fix regular expression for "post-query".
2001-03-16 20:00:04 +00:00
Kevin Buettner 435b259cb0 Change type of ``storage_needed'' from unsigned int to long. 2001-03-16 18:06:44 +00:00
Michael Chastain b6c11a24b3 2001-02-24 Michael Chastain <chastain@redhat.com>
* gdb.c++/ref-types.exp: Change handwritten code to library
	function 'runto'.
2001-03-16 17:59:58 +00:00
Orjan Friberg 6bae5bceb3 2001-03-16 Orjan Friberg <orjanf@axis.com>
* gdb.base/signals.exp: Set count to 0 explicitly.
2001-03-16 09:05:16 +00:00
Orjan Friberg b7844da629 2001-03-16 Orjan Friberg <orjanf@axis.com>
* gdb.base/signals.exp: Set count to 0 explicitly.
2001-03-16 08:57:44 +00:00
Kevin Buettner 80117be270 Misc. cleanups. 2001-03-16 03:52:12 +00:00
Mark Salter 880a15ee85 *** empty log message *** 2001-03-15 21:47:38 +00:00
Mark Salter f949823c68 (gdb_load): Add support for additional target_info: gdb_download_size
and gdb_load_timeout.
2001-03-15 21:46:57 +00:00
Mark Salter 0015fd9aa4 *** empty log message *** 2001-03-15 18:51:56 +00:00
Mark Salter 269a569e35 (gdb_target_cmd): Add explicit error return.
(gdb_target_monitor): Add check of gdb_target_cmd return value.
2001-03-15 18:51:25 +00:00
Martin Hunt 77cd5909d2 2001-03-15 Martin Hunt <hunt@redhat.com>
* linespec.c (decode_line_1): Remove trailing quote
	when parsing double quotes.
2001-03-15 18:02:14 +00:00
Kevin Buettner f7f5a202bc Pass NULL for the mem_attrib argument in the to_xfer_memory calls. 2001-03-15 17:42:00 +00:00
Andrew Cagney 0d35ddbaee Add list of targets being obsoleted. 2001-03-15 17:06:00 +00:00
Andrew Cagney 043780a1fb Add ``attrib'' parameter to *xfer_memory() functions. 2001-03-15 16:55:15 +00:00
Andrew Cagney 9b9c068d47 Note Harris 88k is obsolete in news file. 2001-03-15 01:07:51 +00:00
Andrew Cagney f88e2c5226 Include regcache.h 2001-03-14 23:23:16 +00:00
Andrew Cagney 0981ead9af Update target list. 2001-03-14 22:05:34 +00:00
Keith Seitz 91c1720e68 * linespec.c (decode_line_1): Skip argptr over a leading
double quote. Prevents alloc of 0 bytes and memcpy of -1 bytes.
2001-03-14 18:36:45 +00:00
Kevin Buettner 3cc122b3fe Add entry of ia64-aix-nat.c. 2001-03-14 18:21:04 +00:00
Andrew Cagney 5bb367b1d9 Eliminate some uses of __STDC__. 2001-03-14 16:42:30 +00:00
Andrew Cagney a728f04251 Eliminate ARCH_NUM_REGS. 2001-03-13 23:31:14 +00:00
Fernando Nasser f48ff60ac8 2001-03-13 Fernando Nasser <fnasser@redhat.com>
From Steven Johnson <sjohnson@neurizon.net>
	* cli/cli-script.c (define_command): Fix setting of post hooks.
2001-03-13 22:29:14 +00:00
Mark Kettenis 305d65cac6 * i386-linux-tdep.c: Fix formatting and clarify comments.
(i386_linux_svr4_fetch_link_map_offsets): Use NULL instead of 0
where appropriate.
2001-03-13 12:42:08 +00:00
Andrew Cagney bf62e5b49c * gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
(proc_update_sc): Use gdb_assert instead of assert.
(proc_abort): Ditto.
(inf_set_step_thread): Ditto.
(gnu_wait): Ditto.
(S_exception_raise_request): Ditto.
(gnu_terminal_init_inferior): Ditto.
2001-03-13 00:51:40 +00:00
Kevin Buettner 21479deda0 Cleanup solib-svr4.c by moving legacy code out to its own file. 2001-03-10 06:17:24 +00:00
Kevin Buettner d7fa9de08d Committed. 2001-03-10 01:22:11 +00:00
Andrew Cagney f8241bd143 Move Philip Blundell to Write After Approval list. 2001-03-09 23:58:24 +00:00
Keith Seitz e6b4b0c29a * MAINTAINERS: Add myself to write after approval list. 2001-03-09 22:30:36 +00:00
Mark Kettenis 96836138dc * i387-tdep.c (print_i387_status_word): Fix printing of Stack
fault flag.  It is bit 6 of the x87 FPU status word, not bit 7.
2001-03-09 16:14:55 +00:00
Andrew Cagney 1b59432770 Obsolete harris 88k target. 2001-03-09 03:56:03 +00:00
Andrew Cagney 4a32a1e416 Delete make rules for obsolete files. 2001-03-09 03:36:07 +00:00
David Taylor fc33412a6a * gdb.base/annota1.exp: Move test of isnative to earlier in the
file -- to prevent failing when the compile fails but we have no
 	intention of running the tests anyway.

	* gdb.base/long_long.exp: Test target_info for no_long_long, skip
	tests if set.

	* gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
 	integers.

	* gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
	* gdb.c++/namespace.exp: Ditto.

Fix PR gdb/16.
2001-03-08 21:09:23 +00:00
David Taylor 24285e3a2b Add comment (part of immediately previous commit). 2001-03-08 20:51:38 +00:00
David Taylor ec9a34493d * stack.c (parse_frame_specification): For one argument case,
handle the situation where the argument is an integer, not an
 	address -- arguably the most common case.  This matters on
	targets where pointers and addresses are different.
2001-03-08 20:45:22 +00:00
Andrew Cagney a50c34dcb9 * TODO: Revise 5.1 list. Delete PARAMS task. Add coding standard
review.  Clarify GNU/LINUX/sparc.  Move other tasks to 5.2 or
general.
2001-03-08 15:13:00 +00:00
Andrew Cagney cfc046cf08 Doco SID + GDB + Solaris 8 broken. 2001-03-08 03:19:59 +00:00
Orjan Friberg 115f06de3d 2001-03-07 Orjan Friberg <orjanf@axis.com>
* gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
	* gdb.base/pointers.exp: Relax pattern match of decimals.
2001-03-07 17:29:58 +00:00
Orjan Friberg 1b3c55407c 2001-02-26 Orjan Friberg <orjanf@axis.com>
* gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
	* gdb.base/pointers.exp: Relax pattern match of decimals.
2001-03-07 17:21:43 +00:00
Mark Kettenis 39424bef91 * defs.h: Provide prototypes for floatformat_is_negative,
floatformat_is_nan and floatformat_mantissa.
* utils.c: Include "gdb_assert.h".
(floatformat_is_negative): New function.
(floatformat_is_nan): New function.
(floatformat_mantissa): New function.
* valprint.c: Include "floatformat.h".
(print_floating): Get rid of the Linux-specific
TARGET_ANALYZE_FLOATING macro and rewrite NaN detection with the
help these new functions.  Print NaN's in a format conforming to
ISO C99.
2001-03-07 16:09:03 +00:00
Eli Zaretskii 7a1bd56a08 * top.c (init_main): Make `set history file name' complete on file
names.
2001-03-07 07:21:13 +00:00
J.T. Conklin 21a12a30df * Makefile.in (LINTFLAGS): Update to contain all of the macros
which define include paths used when compiling.

* util.c (savestring, msavestring): Change type of length argument.
* defs.h (savestring, msavestring): Update to match.
2001-03-07 03:10:15 +00:00
J.T. Conklin b47218fbce Remove local change that wasn't supposed to be committed. 2001-03-07 03:00:33 +00:00
J.T. Conklin 5565b5569b 2001-03-06 J.T. Conklin <jtc@redback.com>
* symtab.h (decode_line_1): Removed declaration.

        * symfile.c (#include <assert.h>): Removed.

        * arch-utils.c (#include <ctype.h>): Removed.
        * c-typeprint.c: Likewise.
        * dbxread.c: Likewise.
        * gdbtypes.c: Likewise.
        * target.c: Likewise.
        * os9kread.c: Likewise.

        * c-valprint.c (#include "demangle.h"): Removed.
        * ch-typeprint.c: Likewise.
        * eval.c: Likewise.
        * f-typeprint.c: Likewise.
        * f-valprint.c: Likewise.
        * m2-typeprint.c: Likewise.
        * typeprint.c: Likewise.
        * p-typeprint.c: Likewise.
        * valarith.c: Likewise.
        * valprint.c: Likewise.

        * m2-typeprint.c (#include "gdb_string.h"): Removed.
        * nlmread.c: Likewise.

        * mdebugread.c (#include "gdb-stabs.h"): Removed.
        * minsyms.c: Likewise.
        * mipsread.c: Likewise.
        * nlmread.c: Likewise.

        * m2-typeprint.c (#include "obstack.h"): Removed.
        * m2-valprint.c: Likewise.

        * event-loop.c (#include <setjmp.h>): Removed.
2001-03-07 02:57:08 +00:00
Stan Shebs e8be95aefe * MAINTAINERS: Remove self from specific maintenance domains
(macos, gdbserver, documentation, testsuite).
2001-03-06 19:24:29 +00:00
Kevin Buettner b6ba6518e9 Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
Kevin Buettner 8a5c92d309 Fix whitespace problem in my most recent entry. 2001-03-06 00:55:19 +00:00
Kevin Buettner 596c9d4b8f Configury changes for AIX5/IA-64. 2001-03-06 00:52:31 +00:00
Michael Chastain 60e012f18d Reverted revision 1.2. 2001-03-05 23:40:47 +00:00
Michael Chastain 997079667f Revert revisions 1.81, 1.82, 1.83, 1.84, and 1.85. 2001-03-05 23:37:38 +00:00
Michael Chastain 8ffcb692e6 Revert revision 1.2. 2001-03-05 23:33:17 +00:00
Andrew Cagney eccbb20dda * TODO (GDB 5.1 Known Problems): Document z8k as broken. 2001-03-05 22:22:57 +00:00
Christopher Faylor 61e2d1f302 clarify my recent entry. 2001-03-05 17:03:03 +00:00
Christopher Faylor 9ff2efe549 * wince.c: Change realloc to xrealloc throughout.
(handle_load_dll): Use void * rather than PTR.
2001-03-05 16:59:54 +00:00
Andrew Cagney 58841d58e5 * ocd.h (ocd_xfer_memory): Add ``attrib'' parameter.
* ocd.c (ocd_xfer_memory): Ditto.
* ser-ocd.c (ocd_setstopbits): New function. Add to ocd_ops.
* MAINTAINERS: Document powerpc-eabi and powerpcle-eabi as
buildable with ,-Werror.

* Makefile.in (symfile_h): Define.
(mcore-tdep.o): Add $(symfile_h), $(gdbcore_h) and $(inferior_h).
* mcore-tdep.c: Include "symfile.h", "gdbcore.h" and "inferior.h".
* MAINTAINERS: Document mcore-elf and mcore-pe as buildable with
,-Werror.

* dsrec.c (make_srec): Fix internal_error fmt arg.
* MAINTAINERS: Document i960-coff as buildable with ,-Werror.
2001-03-05 16:38:07 +00:00
Michael Chastain 6cd43bc59e Obvious fix: in an entry for 1997-02-01, expand wildcard to explicit
list of files actually modified.
2001-03-04 22:23:30 +00:00
Michael Chastain af6704f764 Obvioux fix: in an entry for 1997-06-29, expand wildcard to explicit
list of files actually modified.
2001-03-04 22:08:49 +00:00
Michael Chastain 5adc7e6d3b Obvious fix: in an entry for 1997-09-10, expand wildcard to explicit
list of files actually modified.
2001-03-04 21:41:15 +00:00
Michael Chastain 7f8890b962 Obvious fix. Add missing ChangeLog entry for gdb.c++/ovldbreak.exp
change on 2001-01-28.  Embarrassing!
2001-03-04 21:23:05 +00:00
Michael Chastain f48893aa08 Obvious fix: in an entry for 2001-02-11, change "gdb.base/cplusfuncs.exp"
to "gdb.c++/cplusfuncs.exp".
2001-03-04 21:15:17 +00:00
Michael Chastain 15744ab16c Obvious fix: in an entry for 1997-02-23, expand wildcard to explicit
list of files actually modified.
2001-03-04 20:26:44 +00:00
Michael Chastain f20b8a29a5 Obvious fix: in entries for 1998-02-10 and 1998-02-06,
change "m68k/tm-delta68.h" to "config/m68k/tm-delta68.h".
2001-03-04 18:52:48 +00:00
Michael Chastain c4e4e46645 Obvious fix: in an entry for 1997-02-11, change "m32r/tm-m32r.h" to
"config/m32r/tm-m32r.h".
2001-03-04 18:44:42 +00:00
Kevin Buettner 3cad1ac9a2 * solib-aix5.c (aix5_relocate_main_executable): Don't use ANOFFSET
as an lvalue.
2001-03-03 08:31:20 +00:00
Kevin Buettner d112a051b5 Don't use ANOFFSET as an lvalue. 2001-03-03 08:24:05 +00:00
Andrew Cagney 130c39e6f1 * MAINTAINERS (paper trail): Update. 2001-03-03 03:34:27 +00:00
Andrew Cagney b9fa2e73d9 Change convention to ``Fix PR gdb/NNNN'' 2001-03-03 03:23:50 +00:00
Andrew Cagney c53efe6e57 From 2001-03-01 Tom Rix <trix@redhat.com>:
* mn10200-tdep.c (mn10200_frame_chain): Pass 0 for ``pc''
parameter to mn10200_analyze_prologue.
* config/mn10200/tm-mn10200.h: Include "regcache.h".
* MAINTAINERS: Document that mn10200-elf target is buildable.
2001-03-03 01:38:49 +00:00
Kevin Buettner 52b5c2eb6c Move GDB_GREGSET_T, GDB_FPREGSET_T defines from config/ia64/xm-aix.h
to config/ia64/nm-aix.h.
2001-03-03 00:08:27 +00:00
Matthew Hiller 2edb46b1ea 2001-03-02 Matt Hiller <hiller@redhat.com>
* config/mn10300/tm-mn10300.h (E0_REGNUM): Correct to 15.
2001-03-02 22:41:05 +00:00
Kevin Buettner 82a2886fa2 Revise earlier comment regarding sparc-nat.c to be more meaningful. 2001-03-02 20:04:21 +00:00
Kevin Buettner 92c71a3eb7 Fix typo in which sparc-nat.c was changed to include itself. 2001-03-02 17:01:48 +00:00
J.T. Conklin 3a644c8da1 * defs.h (__CYGWIN__): Moved conditional which defines __CYGWIN__
if __CYGWIN32__ is set from here.
* config/i386/xm-cygwin.h: To here.
* config/powerpc/xm-cygwin.h: To here.
2001-03-02 02:54:10 +00:00
J.T. Conklin e2a4c6c1d8 * i386-stub.c (handle_exception): Use 'T' response packet. 2001-03-01 22:45:42 +00:00
Michael Snyder dc96c6c7af [fix my email address in changelog entries] 2001-03-01 22:18:45 +00:00
Michael Snyder 4b33390acd 2001-03-01 Michael Snyder <msnyder@mvstp600e.cygnus.com>
* m32r-tdep.c: Fix cut and paste error in comment.
2001-03-01 22:10:04 +00:00
J.T. Conklin ba41d5499a * gdbtypes.h (builtin_type_f_integer): Removed duplicate declaration.
(MAX_OF_TYPE): Wrap macro definition in parenthesis.
(MIN_OF_TYPE): Likewise.

* memattr.h (mem_access_mode): Removed extraneous trailing comma.
2001-03-01 21:56:35 +00:00
Andrew Cagney 088d891f58 * Makefile.in (os9kread.o): Do not compile with WERROR_CFLAGS.
* os9kread.c (os9k_process_one_symbol): Add assert to detect
``loses if sizeof (char *) > sizeof (int)''.
2001-03-01 18:19:28 +00:00
Andrew Cagney 3826677692 Document pragmatics of why gdb_assert() is lowercase. 2001-03-01 17:30:05 +00:00
Andrew Cagney 2ad43c4f09 * Makefile.in (gdbtk-cmds.o): Add $(regcache_h) to dependency
lists.
(mi-main.o): Ditto.
2001-03-01 16:13:18 +00:00
Andrew Cagney 367e21d8a0 * Makefile.in (regcache_h): Define. Add $(regcache_h) to
dependency lists.
2001-03-01 15:49:13 +00:00
Michael Snyder c0d8fd9a10 2001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
* printcmd.c (print_address_numeric): Update comments to refer
	to sizeof addr, not sizeof pointer.
	(x_command): Remove needless whitespace (shorten long line).
2001-03-01 03:56:45 +00:00
Michael Snyder d85310f71a 2001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
* breakpoint.c (print_one_breakpoint): Formatting clean-up.
	(read_memory_nobpt): Ditto.
	(ep_is_catchpoint): Ditto.
	(ep_is_shlib_catchpoint): Ditto.
	(ep_is_exception_catchpoint): Ditto.
	(describe_other_breakpoints): Ditto.
2001-03-01 03:50:17 +00:00
Andrew Cagney 97900206ca * regcache.h (register_valid): Fix comment documenting valid
states.
2001-03-01 01:51:54 +00:00
Andrew Cagney 4e052eda91 Create new file regcache.h. Update all uses. 2001-03-01 01:39:22 +00:00
Michael Chastain 0cff82d9a9 Fix the year on the following lines:
! 2001-02-10  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
  ! 2001-02-10  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
  ! 2001-02-10  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
  ! 2001-01-27  Christopher Faylor  <cgf@cygnus.com>
2001-03-01 00:39:56 +00:00
Matthew Hiller 07d48ebccc 2001-02-28 Matt Hiller <hiller@redhat.com>
* MAINTAINERS: Add Matt Hiller to Write After Approval list.
2001-02-28 21:51:25 +00:00
Michael Snyder d8f92b1f63 2001-02-27 Michael Snyder <msnyder@mvstp600e.cygnus.com>
* gdb.base/varargs.c (find_max_double): Fix printf format string:
	first arg is int not float.
2001-02-28 01:54:47 +00:00
David Taylor 3078eca931 remove conflict indicator. 2001-02-27 21:58:33 +00:00
David Taylor 993f3aa5bc fix off by one error in test for error. 2001-02-27 21:57:09 +00:00
Andrew Cagney 86168def62 * config/sparc/sp64linux.mt: New file.
* configure.tgt: Recognize sparc64-*-linux* as a sp64linux target.
* configure.host: Recognize sparc64-*-linux* as a linux host.
From 2000-03-17 Jakub Jelinek <jakub@redhat.com>:
* config/sparc/tm-sp64linux.h: New file.
2001-02-27 17:04:47 +00:00
Kevin Buettner e1e9e218c1 Replace calls to abort() with calls to internal_error(). 2001-02-25 04:45:12 +00:00
Andrew Cagney 2126d5fbda Mention how to cite GDB problem reports. 2001-02-23 22:20:38 +00:00
Andrew Cagney 17fceda3ae Mention gdbarch.sh and to not submit gdbarch.[ch]. 2001-02-23 22:09:30 +00:00
Michael Snyder 40f33b9b8e 2001-02-22 Michael Snyder <msnyder@mvstp600e.cygnus.com>
* gdb.base/reread.exp: Unsupported for non-native targets;
	doesn't work for remote debugging.
2001-02-23 19:04:40 +00:00
Andrew Cagney 60edd51d05 Move get_saved_register to frame.h. 2001-02-22 16:48:19 +00:00
Kevin Buettner aacc1edd3a Fix typo in my previously committed ChangeLog entry. 2001-02-22 03:12:13 +00:00
Kevin Buettner d7fa2ae254 Made changes to shared library support and added more of the support needed
for AIX/IA-64.
2001-02-22 03:01:27 +00:00
Eli Zaretskii 5ece1a18c0 * gdb.texinfo (Signals): Document "ignore", "noignore", and "all". 2001-02-21 16:17:50 +00:00