Commit Graph

10278 Commits

Author SHA1 Message Date
Keith Seitz ddc5429238 * wrapper.h (gdb_value_struct_elt): New function.
* wrapper.c (gdb_value_struct_elt): Ditto.
	(do_captured_value_struct_elt): Ditto.
2001-10-31 03:16:04 +00:00
Andrew Cagney 34f47bc431 Update README and NEWS to 5.1. 2001-10-31 02:53:17 +00:00
Michael Snyder 91740388ce 2001-10-30 Michael Snyder <msnyder@redhat.com>
* gdb.base/jump.exp: Allow it to run for all targets.
2001-10-31 02:40:24 +00:00
Andrew Cagney 4536bbc6c7 Fix -W... flags check. 2001-10-31 01:57:04 +00:00
gdbadmin 2d98304df3 *** empty log message *** 2001-10-31 00:00:33 +00:00
Fred Fish c3c057c81f 2001-10-30 Fred Fish <fnf@redhat.com>
* somsolib.c (som_solib_add): A megabyte is 1024*1024 bytes.
	* pa64solib.c (add_to_solist): Ditto.
	* win32-nat.c (_initialize_inftarg): Remove unnecessary
	initialization of auto_solib_add, it defaults to 1.
2001-10-30 17:34:30 +00:00
Fred Fish b7209cb4ed Changes approved by kev@cygnus.com, ezannoni@cygnus.com, eliz@is.elta.co.il.
Changelog:

	2001-10-27  Fred Fish  <fnf@redhat.com>

	* symfile.c (auto_solib_add): Update comment to note that
	this variable is now just used as a boolean to control shlib
	autoloading, and clarify when it is used.
	* symfile.h (auto_solib_add): Ditto.

	* symfile.c (auto_solib_limit): New variable that holds the
	autoloading threshold instead of overloading auto_solib_add.
	* symfile.h (auto_solib_limit): Ditto.

	* irix5-nat.c (_initialize_solib): Change auto-solib-add
	variable from var_zinteger to var_boolean and update help.
	* osfsolib.c (_initialize_solib): Ditto.
	* pa64solib.c (_initialize_pa64_solib): Ditto.
	* solib.c (_initialize_solib): Ditto.
	* somsolib.c (_initialize_som_solib): Ditto.
	* xcoffsolib.c (_initialize_solib): Ditto.

	* pa64solib.c (pa64_solib_total_st_size): Update comment to
	note that the new auto_solib_limit variable is used instead
	of overloading auto_solib_add variable.
	(_initialize_pa64_solib): Ditto.
	* somsolib.c (som_solib_total_st_size): Ditto.
	(_initialize_som_solib): Ditto.

	* pa64solib.c (_initialize_pa64_solib): Add new set/show
	commands for auto-solib-limit variable.
	* somsolib.c (_initialize_som_solib): Ditto

	* pa64solib.c (add_to_solist): Check that auto_solib_add is
	set and use auto_solib_limit as the threshold size instead
	of auto_solib_add.
	* somsolib.c (som_solib_add): Ditto, and also change warning
	text about size threshold exceeded.

  doc/ChangeLog:

	2001-10-28  Fred Fish  <fnf@redhat.com>

	* gdb.texinfo (auto-solib-add): Change docs to match
	implementation change.
	(auto-solib-limit): Add docs for new variable.
2001-10-30 04:05:36 +00:00
gdbadmin 310a798eb8 *** empty log message *** 2001-10-30 00:00:33 +00:00
Mark Kettenis dec66fe5f0 * config/i386/tm-i386v.h: Don't include "regcache.h".
(EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, FRAME_CHAIN,
FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_NUM_ARGS):
Remove macros.  The versions from "tm-i386.h" should work fine
(and in most cases even better).
2001-10-29 23:54:56 +00:00
Mark Kettenis c6ba6f0d51 * i386-tdep.c (i386_extract_return_value): Use
convert_typed_floating to extract floating-point value from
register buffer.
(i386_store_return_value): Use convert_typed_floating to store
floating-point return balue in register buffer
(i386_register_virtual_type): Change type of floating-point
registers to builtin_type_i387_ext.
(i386_register_convert_to_virtual): Use convert_typed_floating to
do the conversion.
(i386_register_convert_to_raw): Likewise.
2001-10-29 23:49:31 +00:00
Mark Kettenis 43686d6411 * doublest.h (convert_typed_floating): New prototype.
* doublest.c (convert_typed_floating): New function.
2001-10-29 23:35:37 +00:00
Corinna Vinschen 1b7c05e765 * gdb.base/call-ar-st.c (print_double_array): Match for loop
with new double_array size.
	(main): Change storage class of all local variables to static.
	Reduce size of double_array to 9.
	* gdb.base/call-ar-st.exp:  Increase timeout value.
	Change expected output for double array to match new size in
	call-ar-st.c.
2001-10-29 18:20:22 +00:00
Corinna Vinschen 36a222619e * gdb.base/ending-run.exp: Create identical output when passing
`step to end of run' case.  Add regular expression branch satisfying
	Stormy16 target.
2001-10-29 18:16:46 +00:00
Mark Kettenis 92b8ae9161 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
that we catch the expected failure under Linux/x86.
2001-10-29 17:38:11 +00:00
Orjan Friberg cb135b8327 2001-10-29 Orjan Friberg <orjanf@axis.com>
* gdb.base/setvar.exp: Escape curly braces.
	* gdb.stabs/weird.exp: Ditto.
2001-10-29 16:24:35 +00:00
gdbadmin aad62413f5 *** empty log message *** 2001-10-29 00:00:32 +00:00
Mark Kettenis 87ffba60fb * doublest.c: Improve comments a bit.
(floatformat_from_length): New function.
(NAN): Define to 0.0 if not already defined.
(extract_floating): Rewrite to use floatformat_from_length.  Warn
instead of error if LEN doesn't match a known floating-point type,
and return NaN (or 0.0 if NaN isn't available) in that case.
(store_floating): Likewise, but zero out the target byte-stream if
LEN doesn't match a known floating-point type.
(extract_typed_floating): Reformat a bit.
(store_typed_floating): Reformat a bit.  Add comment about zeroing
out padding in the target buffer.
* doublest.h (extract_floating, store_floating): Fix comment about
deprecation of these functions.  Add parameter names to prototypes.
2001-10-28 22:06:27 +00:00
Mark Kettenis 4583280ca5 * i387-tdep.c (print_i387_value): Use extract_typed_floating to
convert RAW to a DOUBLEST instead of extract_floating.
2001-10-28 14:07:35 +00:00
Mark Kettenis e371b258f8 * gdbtypes.c (_initialize_gdbtypes): Set floating-point type for
builtin_type_i387_ext to floatformat_i387_ext.
2001-10-28 12:43:12 +00:00
Daniel Jacobowitz 6884aa54f1 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
* gdm.mi/mi0-hack-cli.exp: Likewise.
2001-10-28 00:29:50 +00:00
gdbadmin 3f715d031e *** empty log message *** 2001-10-28 00:00:34 +00:00
gdbadmin f0f512a7c5 *** empty log message *** 2001-10-27 00:00:32 +00:00
Daniel Jacobowitz 17fd1ad937 * arm-linux-nat.c (fill_gregset): Do not check register_valid[].
(fill_fpregset): Likewise.
2001-10-26 15:41:17 +00:00
Orjan Friberg fa4e459858 2001-10-26 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c (constraint): Loop through the whole cris_spec_regs
	struct, not just the NUM_SPECREGS first entries.
	(bdap_prefix): Read PC before autoincrement.
2001-10-26 14:54:24 +00:00
Corinna Vinschen 02cc9f49ae * win32-nat.c (DebugSetProcessKillOnExit): New static function
pointer to Windows' DebugSetProcessKillOnExit() function.
        (DebugActiveProcessStop): Ditto for DebugActiveProcessStop().
        (has_detach_ability): New function.
        (child_attach): If system has detach ability, enable it.
        (child_detach): If system has detach ability, actually
        detach from process.
        Change tty output to Linux format.
2001-10-26 09:29:31 +00:00
Andrew Cagney 0398c9aabc Unify stabs/weird messages. 2001-10-26 04:17:45 +00:00
gdbadmin 39374d6e4e *** empty log message *** 2001-10-26 00:00:05 +00:00
gdbadmin 0bfecfb326 *** empty log message *** 2001-10-25 00:00:34 +00:00
Jim Blandy bc873f163f (start_psymtab_common): Revert change accidentally included in last
commit.
2001-10-24 17:13:12 +00:00
Jim Blandy 3973eaddf4 Isolate STABS readers' use of the `textlow' and `texthigh' fields
of `struct partial_symtab' to only a few locations.  This change
is not supposed to affect the way the values are computed, only
where they live.

* dbxread.c (struct symloc): Add `textlow' and `texthigh' fields
to the reader-specific structure.
* mdebugread.c (struct symloc): Same.
* dbxread.c (TEXTLOW, TEXTHIGH): New accessor macros.
* mdebugread.c (TEXTLOW, TEXTHIGH): Same.
* dbxread.c (dbx_symfile_read): After we've built all our partial
symbol tables, set each partial symtab's `textlow' and `texthigh'
fields from our reader-specific structure.
* mdebugread.c (mdebug_build_psymtabs): Same.
* dbxread.c (start_psymtab): Initialize the reader-specific
structure's `textlow' and `texthigh' from the new psymtab's.
* mdebugread.c (parse_partial_symbols, new_psymtab): Same.
* dbxread.c (read_dbx_symtab, end_psymtab, read_ofile_symtab): Use
the reader-specific `textlow' and `texthigh', not the generic
psymtab fields.
* mdebugread.c (parse_lines, parse_partial_symbols,
psymtab_to_symtab_1): Same.
* partial-stab.h: Same.
2001-10-24 17:10:18 +00:00
Andrew Cagney ce4148445e Fix -Wformat for hpux. 2001-10-24 02:53:48 +00:00
Andrew Cagney 8f236061d9 Tweeks for HP/UX and -Werror. 2001-10-24 01:19:12 +00:00
gdbadmin dcb643f1b5 *** empty log message *** 2001-10-24 00:00:34 +00:00
gdbadmin a1675ea138 *** empty log message *** 2001-10-23 00:00:32 +00:00
gdbadmin 31422c4a33 *** empty log message *** 2001-10-22 00:00:05 +00:00
Andrew Cagney d20bf2e81b Don't print ``(MI_OUT)'' at startup. 2001-10-21 19:43:41 +00:00
Andrew Cagney 17732724f3 Update makefile.in dependencies. Add header wrappers. 2001-10-21 19:20:30 +00:00
Andrew Cagney fd0407d670 Add explicit #include of "value.h". 2001-10-21 17:19:38 +00:00
Mark Kettenis 3c2fb7bd58 * infptrace.c (child_xfer_memory): Fix a few coding standards
violations.
2001-10-21 14:53:46 +00:00
Eli Zaretskii c4282e67c1 * config/djgpp/README: Fix a typo and tweak for GDB 5.1. 2001-10-21 14:21:03 +00:00
Andrew Cagney 75c9979e9a s/value_ptr/struct value */ 2001-10-21 01:57:42 +00:00
Andrew Cagney e933e53888 * cp-abi.h, hpacc-abi.c, gnu-v2-abi.c, cp-abi.c: Ditto. 2001-10-21 01:06:25 +00:00
gdbadmin f33a821352 *** empty log message *** 2001-10-21 00:00:35 +00:00
Andrew Cagney 278cd55f78 * breakpoint.h, breakpoint.c: Ditto. 2001-10-20 23:54:29 +00:00
Andrew Cagney c984738146 s/value_ptr/struct value */ 2001-10-20 22:43:26 +00:00
gdbadmin 27e4fc867b *** empty log message *** 2001-10-20 20:00:04 +00:00
Andrew Cagney f1e3ec292f * alpha-nat.c: Include <alpha/coreregs.h> instead of
<machine/reg.h>.
(fetch_osf_core_registers): Define core_reg_mapping in a way that
works on OSF5 as well as previous OSF versions.
2001-10-20 19:32:40 +00:00
Christopher Faylor d66b75d138 Revert previous erroneous checkin. 2001-10-20 05:13:45 +00:00
Christopher Faylor 83413c558c * win32-nat.c (handle_load_dll): Avoid strlwr'ing loaded DLLs or cygwin may not
be able to read them in certain situations.
2001-10-20 05:11:41 +00:00
Andrew Cagney 457174f645 Enable PowerPC simulator on native linux and netbsd. 2001-10-20 00:16:44 +00:00