Commit Graph

9307 Commits

Author SHA1 Message Date
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
Kevin Buettner fbad08934d Enable new thread support for Linux/IA-64. 2001-02-21 05:20:35 +00:00
Andrew Cagney 1adad886b2 Fix printf fmt arguments. 2001-02-21 00:05:34 +00:00
Kevin Buettner 0579d647a6 Cleanup solib-aix5.c as suggested by J.T. Conklin. 2001-02-20 23:42:23 +00:00
Andrew Cagney d65fe83949 Move frame specific register code to the new file frame.c. 2001-02-20 22:39:03 +00:00
Kevin Buettner 60cf7a8541 * solib-aix5.c: New file. 2001-02-20 20:43:12 +00:00
Martin Hunt a43ad351c8 2001-02-20 Martin M. Hunt <hunt@redhat.com>
* solib.c (info_sharedlibrary_command): Don't assume pointers
	are the same size of long, call	longest_local_hex_string_custom().
2001-02-20 18:07:17 +00:00
Martin Hunt 58bc91c9c3 2001-02-20 Martin M. Hunt <hunt@redhat.com>
* solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
	extract_signed_integer() should be called instead of
	extract_address().
2001-02-20 18:05:19 +00:00
Martin Hunt 291b7e049d 2001-02-20 Martin M. Hunt <hunt@redhat.com>
* MAINTAINERS: Add Martin Hunt to Write After Approval list.
2001-02-20 18:02:49 +00:00
Andrew Cagney d02ee68167 When the target h/w has 8byte registers, return 8 bytes for the raw buffer size
(from jim kingdon).
2001-02-20 03:38:32 +00:00
Elena Zannoni f07e76c6c1 Remove cvs conflict indicator. 2001-02-20 00:12:40 +00:00
Michael Snyder a858089e45 2001-02-19 Michael Snyder <msnyder@mvstp600e.cygnus.com>
* parse.c (write_exp_msymbol): Make the type CORE_ADDR, to
	accomodate 64-bit addresses.
2001-02-20 00:10:18 +00:00
Elena Zannoni 23cc649f21 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>
 	* symtab.c (lookup_symbol_aux): Call lookup_symbol_aux, not
 	lookup_symbol, when trying to find a symbol with a mangled name,
 	to avoid infinite recursion.
2001-02-20 00:09:01 +00:00
Andrew Cagney 0db23c95cc TODO Tweeks. 2001-02-19 23:20:54 +00:00
Jonathan Larmour 911413e6b3 * arm-tdep.c (check_prologue_cache): Fix off by 1 error.
(save_prologue_cache): Ditto.
2001-02-19 22:03:25 +00:00
Fernando Nasser 9b0c4aebb4 2001-02-19 Fernando Nasser <fnasser@redhat.com>
From  Drew Moseley  <dmoseley@redhat.com>
        * gdb.base/ending-run.exp: Properly handle the BSP state when
        stepping past the end of main.
2001-02-19 21:48:52 +00:00
Michael Chastain 02aa71d5de 2001-02-19 John Moore <jmoore@redhat.com>
* gdb.base/commands.exp (infrun_breakpoint_command_test):
	Converted HPUX fix for non-expected items following multiple
	step commands into general solution for all platforms.
2001-02-19 20:44:27 +00:00
Elena Zannoni 8d1de4b7ab 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From: innadadadavida@yahoo.com:
	* partial-stab.h (switch): Check that pst is not null
 	before dereferencing it.
2001-02-19 20:15:42 +00:00
Elena Zannoni 3017564ad2 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From Andrew Cagney  <cagney@b1.cygnus.com>:
	* symfile.c (add_symbol_file_command): Always initialize
 	my_cleanup using a NULL cleanup.
2001-02-19 18:56:11 +00:00
Eli Zaretskii fa58ee1196 * demangle.c (demangling_style_names): New variable.
(_initialize_demangler): Fill demangling_style_names with the
	names of known demangling styles from libiberty_demanglers[].  Use
	add_set_enum_cmd instead of add_set_cmd, to get completion on
	demangling style names.

	* proc-api.c (_initialize_proc_api): Make `procfs-file' use
	file-name completion.

	* remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.

	* solib.c (_initialize_solib): Ditto for `solib-search-path' and
	`solib-absolute-prefix'.

	* tracepoint.c (_initialize_tracepoint): Ditto for
	`save-tracepoints'.

	* win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.

	* cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
	file-name completion.

	* infcmd.c (_initialize_infcmd): Make the following commands use
	the file-name completer: `tty', `args', `path', `paths', and
	`run'.
2001-02-19 11:47:16 +00:00
Michael Chastain 1fa449a475 2001-02-18 Michael Chastain <chastain@redhat.com>
* gdb.c++/classes.exp (do_tests): Change runto statements
	from "runto 'foo(void)'" to "runto 'foo'".  This makes the
	statements demangler agnostic.
	* gdb.c++/virtfunc.exp (do_tests): Likewise.
	(gdb_virtfunc_restart): Likewise.
2001-02-18 19:59:57 +00:00
Eli Zaretskii 89dea5aa55 * go32-nat.c: Include i387-nat.h.
(fetch_register): New function, uses some of the guts of
	go32_fetch_registers and i387_supply_register.
	(go32_fetch_registers): Most of the code moved into
	fetch_register.  Use i387_supply_fsave.
	(store_register): Use i387_fill_fsave instead of custom code.
	(go32_store_registers): Use i387_fill_fsave.

	* Makefile.in (go32-nat.o): Depend on i387-nat.h.

	* config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
2001-02-18 07:22:17 +00:00
Michael Chastain b2f9ec70af 2001-02-14 Michael Chastain <chastain@redhat.com>
* gdb.c++/inherit.exp (do_tests): Change runto statements
	from "runto 'foo(void)'" to "runto 'foo'".  This makes the
	statements demangler agnostic.
2001-02-18 07:10:32 +00:00
Eli Zaretskii 7830cf6fb9 * completer.c (gdb_completer_file_name_break_characters): Remove
slash from file-name break characters.
	[__MSDOS__]: Special definition for DOS/Windows file names.
	(line_completion_function): When completing on file names, bump
	`p' to the first file-name constituent character of `word', before
	invoking the completer.
2001-02-18 07:04:11 +00:00