Commit Graph

8228 Commits

Author SHA1 Message Date
Andrew Cagney
9d6d78f259 Update removing anything fixed. 2000-04-03 08:47:48 +00:00
Andrew Cagney
62a4b482f9 Revert white space changes. Need way of stopping this happening. 2000-04-03 06:52:38 +00:00
Andrew Cagney
eb2f494ab0 Re-indent (almost). Several cases where indent was getting it wrong
were omitted.
2000-04-03 05:30:13 +00:00
Andrew Cagney
a960f24961 Delete add_minsym_to_demangled_hash_table from symtabs.h. Static function. 2000-04-03 04:47:27 +00:00
Andrew Cagney
afbfc876f1 Re-indent gdb-events.h, gdb-events.c using gdb-events.sh. 2000-04-03 04:43:26 +00:00
Nicholas Duffek
c91ecb25c3 * gdbtypes.c (safe_parse_type): New wrapper function to ignore
error() during parse_and_eval_type().
	(check_stub_method): Call safe_parse_type instead of
	parse_and_eval_type().
	* wrapper.c (gdb_parse_and_eval_type): New wrapper function.
	(wrap_parse_and_eval_type): New support function.
	* wrapper.h (gdb_parse_and_eval_type): Prototype.
	(wrap_parse_and_eval_type): Prototype.
2000-04-03 03:39:09 +00:00
Andrew Cagney
2df7b2a766 Add Eli to doco maintainers. 2000-04-03 00:04:00 +00:00
Andrew Cagney
c0e8c25248 * gdbarch-utils.h, gdbarch-utils.c: New files.
* Makefile.in (SFILES, COMMON_OBS): Update.
(gdbarch_utils_h) Define.
(gdbarch-utils.o): Add dependencies.

* gdbarch.c, gdbarch.sh: Include "gdbarch-utils.h". Fix code
handling default method values.
(startup_gdbarch): Rename default_gdbarch, name misleading.
(breakpoint_from_pc): Default to legacy_breakpoint_from_pc.
(register_name): Default to legacy_register_name.
(call_dummy_words): Default to legacy_call_dummy_words.
(sizeof_call_dummy_words): Default to
legacy_sizeof_call_dummy_words.
(register_convertible): Default to
generic_register_convertible_not.
(breakpoint_from_pc): Default to legacy_breakpoint_from_pc.
(remote_translate_xfer_address): Default to
generic_remote_translate_xfer_address.
(frameless_function_invocation): Default to
generic_frameless_function_invocation_not.
2000-04-03 00:00:32 +00:00
Mark Kettenis
ed40e7aff9 2000-04-02 Mark Kettenis <kettenis@gnu.org>
* i386-linux-nat.c: Add copyright notice.
2000-04-02 20:16:28 +00:00
Mark Kettenis
b1ced0139c 2000-04-02 Mark Kettenis <kettenis@gnu.org>
* config/i386/xm-linux.h (HOST_LONG_DOUBLE_FORMAT): Define as
	&floatformat_i387_ext.
	* config/i386/xm-i386gnu.h (HOST_LONG_DOUBLE_FORMAT): Likewise.
2000-04-02 14:41:45 +00:00
Mark Kettenis
3956bd7095 2000-03-29 Mark Kettenis <kettenis@gnu.org>
* findvar.c (extract_floating): Remove reference to
	TARGET_EXTRACT_FLOATING.
	(store_floating): Remove reference to TARGET_STORE_FLOATING.
2000-03-31 22:04:50 +00:00
Philippe De Muyter
591b8fa3ef * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
values that can be represented exactly.
	* gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
	above change, and to not check against the directory part of the source
	file name.
	(step into print_long_arg_list): Likewise.
	(print print_small_structs from print_long_arg_list): Likewise.
	(print print_long_arg_list): Likewise.
2000-03-30 23:32:30 +00:00
Fernando Nasser
8310b29b55 2000-03-30 Fernando Nasser <fnasser@cygnus.com>
* wrapper.c (gdb_value_subscript, wrap_value_subscript): New functions.
	Safe version of value_subscript.
	* varobj.c (): Use gdb_value_subscript() to get an array element value.
2000-03-30 20:15:35 +00:00
Michael Snyder
1d1358b667 2000-03-30 Michael Snyder <msnyder@cleaver.cygnus.com>
* ui-file.c: Include "gdb_string.h"
	* cli-out.c: Include gdb_string.h to avoid compiler warnings.
	* wrapper.[ch] (struct gdb_wrapper_arguments): Change fields into
	unions, since they are all used to hold both pointers and ints
	at various times.  Casting pointer to int and vice versa gives
	warnings (and is not safe) if they are not the same size.
2000-03-30 19:52:35 +00:00
Michael Snyder
213c01f70e Capitalize sentences. 2000-03-30 19:12:08 +00:00
Michael Snyder
57e687d9ad 2000-03-30 Michael Snyder <msnyder@cleaver.cygnus.com>
* defs.h (struct continuation_arg): make 'data' a union, to avoid
        casting problems when int and pointer are not the  same size.
        * event-top.c (command_handler): use data as a union.
        (command_line_handler_continuation): ditto.
        * infcmd.c (step_1_continuation): use data as a union.  Re-indent.
        (step_once): ditto.  (finish_command_continuation): ditto.
        (finish_command): ditto.
        * breakpoint.c (until_break_command): use data as a union.
        (until_break_command_continuation): ditto.
        * utils.c (add_intermediate_continuation): fix typo in comment.
2000-03-30 18:54:28 +00:00
Andrew Cagney
59233f88f1 gdbarch cleanups. 2000-03-30 05:32:23 +00:00
Daniel Berlin
23bd111d92 Didn't realize this auto-generated gdb-events.c. Since it does, i applied the gdb-events.c fix for deprecation back to here. 2000-03-30 03:10:58 +00:00
Daniel Berlin
0729fd5008 demangled symbol lookup fixes 2000-03-30 03:03:23 +00:00
Jason Merrill
d332c5ac7e * configure.in: -linux-gnu*, not -linux-gnu.
* configure (gcc_version): When setting, narrow search to
        lines containing `version_string'.
2000-03-30 02:19:56 +00:00
Andrew Cagney
480ff1fb28 Fix thread-extra-info name. qfThreadExtraInfo ->qThreadExtraInfo. 2000-03-29 08:29:00 +00:00
J.T. Conklin
f1251bdd6b 2000-03-28 J.T. Conklin <jtc@redback.com>
* gdb.texinfo: Clarify which remote debug protocol commands are
        required and which are optional.
2000-03-29 04:16:57 +00:00
J.T. Conklin
eafd453605 2000-03-29 J.T. Conklin <jtc@redback.com>
* i386nbsd-nat.c (fetch_core_registers): Make static.

        * m68knbsd-nat.c (fetch_core_registers): Make static.
        (m68knbsd_core_fns, _initialize_m68knbsd_nat): Added.
2000-03-29 04:03:56 +00:00
Andrew Cagney
dbeb8dbdff Revert movement of @chapter and @node tags from separate files to
gdb.texinfo.
2000-03-29 03:55:18 +00:00
Andrew Cagney
67edb2c6ae Update GDB 5 status. 2000-03-29 03:51:18 +00:00
Andrew Cagney
80ce1ecb70 Fix various GCC warnings. 2000-03-29 00:51:17 +00:00
Michael Snyder
692590c19f 2000-03-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
breakpoint.c, breakpoint.h (remove_hw_watchpoints):  New function.
        infrun.c (resume):  Remove hardware watchpoints before stepping
        when CANNOT_STEP_HW_WATCHPOINTS is nonzero.
2000-03-28 22:30:19 +00:00
Michael Snyder
e529db18ad 2000-03-28 Michael Snyder <msnyder@cleaver.cygnus.com>
* Makefile.in: anchor tui-file.h dependency to $srcdir.
2000-03-28 21:19:04 +00:00
Michael Snyder
c690268831 2000-03-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
* breakpoint.c (insert_breakpoints, do_enable_breakpoint):
        Reselect the saved frame silently after frame selection for
        watchpoint evaluation.
        (insert_breakpoints):  Add missing space in `Hardware watchpoint
        deleted' message.  Do not reinsert hardware watchpoint if it is
        already marked for deletion at next stop.
2000-03-28 19:29:56 +00:00
Michael Snyder
03905a3cee 2000-03-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
* procfs.c (proc_set_watchpoint):  Declare addr parameter as
        CORE_ADDR, to match call from procfs_set_watchpoint.
2000-03-28 19:02:47 +00:00
Christopher Faylor
7d88144cc7 * partial-stab.h: Add one more check against corrupted or irregular stabs
entry.
2000-03-28 17:44:53 +00:00
Stan Shebs
6d2ebf8bcc * gdb.texinfo: Update dates, bump to Eighth Edition (note
expectation of additional changes before release), update
	ISBN, add copy of top-level menu for @ifhtml, remove explicit
	node links, rephrase and/or shorten lines to fix formatting
	problem in both regular and @smallbook formats.
	* annotate.texi: Shorten lines in example, use smallexample
	consistently everywhere.
	* Makefile.in: Add comment about texinfo 4.0 html generation.
	(SFILES_INCLUDED): Add annotate.texi.
2000-03-28 16:46:24 +00:00
Philippe De Muyter
f25d2425f4 * gnu-regex.c (regerror): Function renamed from `__regerror'. 2000-03-28 12:13:15 +00:00
Andrew Cagney
2171aa415b From Jonathan L. Fix ser-unix.c timing out when there was no timeout. 2000-03-28 08:24:28 +00:00
Daniel Berlin
5d161b2419 The set debug changes 2000-03-28 02:25:14 +00:00
Andrew Cagney
107b56f053 Bump copyright to 2000. 2000-03-28 02:03:53 +00:00
Andrew Cagney
c247e9c435 Add Glen McCready 2000-03-28 00:17:13 +00:00
Andrew Cagney
3f1ef994e9 Fix typo in description of GETREGS. 2000-03-28 00:03:57 +00:00
Elena Zannoni
30b53638f1 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
fix typo.
2000-03-27 17:44:32 +00:00
Elena Zannoni
7a49518043 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.base/printcmds.c: Terminate char array ctable2 with 0.
2000-03-27 17:34:48 +00:00
Andrew Cagney
138f88c0ba Add GDB 5.0 release criteria. 2000-03-27 10:24:58 +00:00
Andrew Cagney
e7d0728ac1 Move default definition of HAVE_PTRACE_GETREGS to acconfig.h. 2000-03-27 07:31:37 +00:00
Andrew Cagney
ee29d710d1 Create destdirs before installing GDB (don't assume parent directory
did it for us).
2000-03-27 06:51:30 +00:00
Andrew Cagney
2e022a79b4 Re-fix ln -s gdbtk code. Mark ready for deletion post 5.0. 2000-03-27 06:42:08 +00:00
Andrew Cagney
beb998c6a0 Revert white space changes. 2000-03-27 05:29:24 +00:00
Andrew Cagney
56a5d6756f Update list of folk that need accounts. 2000-03-27 00:24:49 +00:00
Andrew Cagney
d6184fa1d3 Make J.T. NetBSD maintainer. 2000-03-26 23:54:54 +00:00
Mark Kettenis
6e2e8c243b 2000-03-27 Mark Kettenis <kettenis@gnu.org>
* config/i386/tm-i386.h: Fix typo.  It is TARGET_LONG_DOUBLE_BIT
	instead of TARGET_LONG_DOUBLE_BITS.
	* config/i386/tm-i386mk.h: Likewise.
2000-03-26 22:10:59 +00:00
Mark Kettenis
ac27f131b2 2000-03-26 Mark Kettenis <kettenis@gnu.org>
Provide `long double' support for most i386 targets.
	* config/i386/tm-i386.h (TARGET_LONG_DOUBLE_FORMAT): Define as
	&floatformat_i387_ext.
	(TARGET_LONG_DOUBLE_BITS): Define as 96.
	(REGISTER_VIRTUAL_TYPE): Change type for FPU registers to
	`builtin_type_long_double'.
	(REGISTER_CONVERT_TO_VIRTUAL): Call
	i386_register_convert_to_virtual.
	(REGISTER_CONVERT_TO_RAW): Call i386_register_convert_to_raw.
	(i387_to_double, double_to_i387): Remove prototypes.
	(i386_extract_return_value): Change prototype to match definition
	in i386-tdep.c.
	* config/i386/tm-i386mk.h (TARGET_LONG_DOUBLE_FORMAT): #undef.
	(TARGET_LONG_DOUBLE_BITS): #undef.
	* config/i386/tm-linux.h (TARGET_LONG_DOUBLE_BIT): Remove.
	[HAVE_LONG_DOUBLE && HOST_I386] (LD_I387): Remove.
	(i387_extract_floating, i387_store_floating): Remove prototypes.
	(TARGET_EXTRACT_FLOATING, TARGET_STORE_FLOATING): Remove.
	(REGISTER_CONVERT_TO_VIRTUAL, REGOISTER_CONVERT_TO_RAW): Remove.
	(REGISTER_VIRTUAL_TYPE): Remove.
	* i386-tdep.c (i386_register_convert_to_virtual): New function.
	(i386_register_convert_to_raw): New function.
	* i387-tdep.c [LD_I387] (i387_extract_floating): Remove.
	(i387_store_floating): Remove.
2000-03-26 21:21:50 +00:00
Daniel Berlin
1c689132b1 Fix maintenance deprecate crash, add testcase 2000-03-25 15:32:19 +00:00