Commit Graph

10452 Commits

Author SHA1 Message Date
Mark Kettenis 0fc087fe41 * Makefile.in (ALLDEPFILES): Add i387-nat.c.
(i387-nat.o): Add dependencies.
2001-11-04 13:14:43 +00:00
gdbadmin 0001244b9e *** empty log message *** 2001-11-04 00:00:35 +00:00
gdbadmin 56059d66d7 *** empty log message *** 2001-11-03 00:00:35 +00:00
Andrew Cagney 1396e6f1d3 Doco problem with alpha-dec-osf5.1. 2001-11-02 21:59:18 +00:00
Andrew Cagney 5c7dd74823 * utils.c (internal_verror): Restore calls to abort().
Fix PR gdb/219.
2001-11-02 21:46:52 +00:00
Michael Chastain 3559696cf5 2001-11-02 Michael Chastain <mec@shout.net>
* MAINTAINERS: Update my entry.
2001-11-02 15:41:16 +00:00
gdbadmin e3eb7b4206 *** empty log message *** 2001-11-02 00:00:04 +00:00
Michael Snyder cbfa24cd20 2001-10-31 Michael Snyder <msnyder@redhat.com>
* gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
	depending on what the symbol table contains.
	* gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
	the output of the ptype command.  Similarly, accept both "const &"
	and "const&".
2001-11-01 23:41:09 +00:00
Fred Fish 990f9fe3aa Approved by kev@cygnus.com
ChangeLog entry:

	2001-11-01  Fred Fish  <fnf@redhat.com>

	* coff-solib.c (coff_solib_add): Add new readsyms arg.
	* irix5-nat.c (solib_add): Ditto.
	* osfsolib.c (solib_add): Ditto.
	* pa64solib.c (pa64_solib_add): Ditto.
	* pa64solib.c (add_to_solist): Ditto.
	* pa64solib.c (read_dld_descriptor): Ditto.
	* solib.c (solib_add): Ditto.
	* somsolib.c (som_solib_add): Ditto.
	* win32-nat.c (child_solib_add): Ditto.
	* xcoffsolib.c (solib_add): Ditto.

	* coff-solib.h (coff_solib_add): Add new readsyms arg to prototype.
	* pa64solib.c (add_to_solist): Ditto.
	* pa64solib.c (read_dld_descriptor): Ditto.
	* pa64solib.h (pa64_solib_add): Ditto.
	* solib.h (solib_add): Ditto.
	* somsolib.h (som_solib_add): Ditto.
	* config/i386/tm-cygwin.h (child_solib_add): Ditto.

	* coff-solib.c (coff_solib_add):  If readsyms is zero don't read
	symbols but do any other needed work for shared libs.
	* irix5-nat.c: Ditto.
	* osfsolib.c (solib_add): Ditto.
	* solib.c (solib_add): Ditto.
	* win32-nat.c (child_solib_add): Ditto.
	* xcoffsolib.c (solib_add): Ditto.

	* irix5-nat.c (sharedlibrary_command): Pass 1 as readsyms to
	solib_add to force reading of shared library symbols.
	* osfsolib.c (sharedlibrary_command;): Ditto.
	* pa64solib.c (pa64_solib_sharedlibrary_command): Ditto.
	* solib.c (sharedlibrary_command): Ditto.
	* somsolib.c (som_solib_sharedlibrary_command): Ditto.
	* xcoffsolib.c (sharedlibrary_command): Ditto.

	* coff-solib.c (coff_solib_create_inferior_hook): Call solib_add
	unconditionally with auto_solib_add.
	* irix5-nat.c (solib_create_inferior_hook): Ditto.
	* osfsolib.c (solib_create_inferior_hook): Ditto.
	* solib.c (solib_create_inferior_hook): Ditto.
	* solib-osf.c (osf_solib_create_inferior_hook): Ditto.
	* solib-svr4.c (enable_break): Ditto.
	* solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.

	* corelow.c (solib_add_stub): Add auto_solib_add to args passed
	via SOLIB_ADD.
	* sol-thread.c (sol_thread_attach): Ditto.
	* config/rs6000/nm-rs6000.h (SOLIB_ADD): Ditto.

	* infcmd.c (attach_command): Remove auto_solib_add decl.
	Call SOLIB_ADD directly with auto_solib_add.
	* infrun.c (handle_inferior_event): Ditto.

	* coff-solib.h (SOLIB_ADD): Add readsyms arg.
	* pa64solib.h (SOLIB_ADD): Ditto.
	* solib.h (SOLIB_ADD): Ditto.
	* somsolib.h (SOLIB_ADD): Ditto.
	* config/i386/tm-cygwin.h (SOLIB_ADD): Ditto.

	* fork-child.c (clone_and_follow_inferior): Remove unused
	auto_solib_add decl.

	* pa64solib.c (pa64_solib_add): Call add_to_solist with readsyms.
	(read_dld_descriptor): Ditto.
	(pa64_solib_add): Call read_dld_descriptor with	readsyms.
	(pa64_solib_in_dynamic_linker): Ditto.

	* corelow.c (symfile.h): Need this for auto_solib_add declaration.
	* sol-thread.c (symfile.h): Ditto.

Approved by eliz@is.elta.co.il
doc/ChangeLog entry:

	2001-11-01  Fred Fish  <fnf@redhat.com>

	* gdbint.texinfo (SOLIB_ADD): Document additional new
	"readsyms" arg.
2001-11-01 16:17:08 +00:00
Don Howard 070b1dd3c2 Fixed formatting error. 2001-11-01 05:11:19 +00:00
Andrew Cagney 1de2edba33 use xmalloc() and xfree(). 2001-11-01 02:53:05 +00:00
Andrew Cagney 30b28db19b s/value_ptr/struct value */ 2001-11-01 02:37:56 +00:00
Andrew Cagney 72330bd63b Re-indent. 2001-11-01 02:22:21 +00:00
Andrew Cagney d45fc520b1 s/value_ptr/struct value */ 2001-11-01 01:21:35 +00:00
Andrew Cagney 3a1c5313da value_ptr tweeks. 2001-11-01 01:07:35 +00:00
gdbadmin 5b04e9c073 *** empty log message *** 2001-11-01 00:00:33 +00:00
Corinna Vinschen 68e9cc944c * arch-utils.c (generic_in_solib_call_trampoline): New function.
* arch-utils.h (generic_in_solib_call_trampoline): Extern declaration.
	* gdbarch.c: Regenerated from gdbarch.sh.
	* gdbarch.h: Ditto.
	* gdbarch.sh (function_list): Add `IN_SOLIB_CALL_TRAMPOLINE' definition.
	* infrun.c (IN_SOLIB_CALL_TRAMPOLINE): Remove macro.
2001-10-31 23:21:33 +00:00
Andrew Cagney 60e6cc428d From DJ Barrow.
* s390-tdep.c: (s390_gdbarch_init): Don't initialize
find_solib_trampoline_target.
2001-10-31 22:57:46 +00:00
Andrew Cagney 6138715944 * remote-vx.c (net_wait): Fix typo from PIDGET change. 2001-10-31 22:29:21 +00:00
Mark Kettenis fc633446cd * config/i386/tm-i386.h (REGISTER_NAMES): Remove.
(REGISTER_NAME): New define.
(i386_register_name): New prototype.
* i386-tdep.c (i386_register_names): New variable.
(i386_register_name): New function.
* config/i386/tm-i386os9k.h, config/i386/tm-ptx.h,
config/i386/tm-symmetry.h: Undefine REGISTER_NAME instead of
REGISTER_NAMES.
2001-10-31 22:24:06 +00:00
Corinna Vinschen aaa68313b8 * gdb.base/miscexprs.c (main): Add usage of preprocessor
symbol `STORAGE' to allow to choose the storage class of
	the local datastructures.
	* gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
	compiler directive.
2001-10-31 20:59:22 +00:00
Don Howard b433d00bbc 2001-10-30 Don Howard <dhoward@redhat.com>
* gdb.texinfo: (Command Files) Added documentation for the
	behavior of gdb with input redirected from a file.
2001-10-31 19:20:43 +00:00
Christopher Faylor 3f8ad85b6f * win32-nat.c (register_loaded_dll): Attempt to ensure that the case of the
loaded DLL matches the on-disk case since the debugging API does not seem to
ensure this.  Calculate max name length here.
(handle_load_dll): Move max name length calculation to register_loaded_dll.
2001-10-31 19:05:35 +00:00
Daniel Jacobowitz 433144fbec * arm-linux-nat.c: Include <asm/ptrace.h> explicitly. 2001-10-31 15:56:33 +00:00
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
Andrew Cagney 4bb5d56713 * README: Mention problems with HP/UX. 2001-10-18 04:35:35 +00:00
Andrew Cagney 03dd37c302 Functions to convert to/from CORE_ADDR and a string. Use in Insight. 2001-10-17 20:35:31 +00:00
Jason Molenda 1ba7c32c23 * symtab.c (lookup_block_symbol): Break out of linear search
if we're past the range of possible matches.

Original patch submission, with links to history/background behind it,
here:
	http://sources.redhat.com/ml/gdb-patches/2001-09/msg00120.html
2001-10-17 07:12:57 +00:00
Christopher Faylor 7470a420fc * win32-nat.c (safe_symbol_file_add_stub): Improve logic for avoiding load of
already loaded DLL.
(register_loaded_dll): Convert loaded DLL name to "posix" format or it will
confuse subsequent opening of the filename due to dos paths.
(dll_symbol_command): Pass from_tty parameter to safe_symbol_file_add.
2001-10-16 04:50:21 +00:00
Elena Zannoni 8cc1c88238 2001-10-15 Elena Zannoni <ezannoni@redhat.com>
* symtab.c (lookup_block_symbol): Update comment.
2001-10-16 03:23:35 +00:00
Andrew Cagney 1aa20aa88f * value.h (value_as_address): Rename value_as_pointer.
* eval.c, findvar.c, gnu-v2-abi.c, gnu-v3-abi.c, jv-lang.c,
jv-valprint.c, printcmd.c, stack.c, top.c, valarith.c, valops.c,
values.c: Update.
2001-10-16 01:58:07 +00:00
Andrew Cagney dbbd9c57ff 202001-10-15 Jim Ingham <jingham@inghji.apple.com>
* valarith.c (value_sub): Don't pass a raw type to
value_from_pointer, it has to go through check_typedef first.
2001-10-16 01:19:09 +00:00
Andrew Cagney 73d3c16e21 Provide a valid non-multi-arch default for INTEGER_TO_ADDRESS. 2001-10-15 21:38:44 +00:00
Andrew Cagney fc0c74b114 Add INTEGER_TO_ADDRESS to hadle nasty harvard architectures that do
funnies to integer to address conversions.
2001-10-15 18:18:30 +00:00
Mark Kettenis 3902478264 * config/s390/nm-linux.h: Don't include <signal.h>.
(lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
GET_THREAD_SIGNAL): Remove.
2001-10-14 21:04:05 +00:00
Mark Kettenis dc17571df2 * config/nm-linux.h (struct objfile): Remove forward declaration.
(linuxthreads_new_objfile): Remove prototype.
(linuxthreads_pid_to_str): Remove prototype.
(PREPARE_TO_PROCEED): Redefine in terms of
lin_lwp_prepare_to_proceed.
(struct target_waitstatus): Forward declaration.
(child_wait): New prototype.
(CHILD_WAIT): Define.
(lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
GET_THREAD_SIGNAL): Moved here from arch-specific files.
* config/alpha/nm-linux.h, config/arm/nm-linux.h,
config/ia64/nm-linux.h, config/mips/nm-linux.h,
config/powerpc/nm-linux.h: Don't include <signal.h>.
(lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
GET_THREAD_SIGNAL): Remove.
* config/i386/nm-linux.h: Likewise.
(struct target_waitstatus, child_wait, CHILD_WAIT): Remove.
* config/m68k/linux.mh, config/sparc/linux.mh (NATDEPFILES):
Remove linux-thread.o.  Add proc-service.o, thread-db.o and
lin-lwp.o.
(LOADLIBES): New variable.
2001-10-14 20:59:23 +00:00
Mark Kettenis a14bd2ea89 * config/nm-linux.h (struct objfile): Remove forward declaration.
(linuxthreads_new_objfile): Remove prototype.
(linuxthreads_pid_to_str): Remove prototype.
(PREPARE_TO_PROCEED): Redefine in terms of
lin_lwp_prepare_to_proceed.
(struct target_waitstatus): Forward declaration.
(child_wait): New prototype.
(CHILD_WAIT): Define.
(lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
GET_THREAD_SIGNAL): Moved here from arch-specific files.
* config/alpha/nm-linux.h, config/arm/nm-linux.h,
config/ia64/nm-linux.h, config/mips/nm-linux.h,
config/powerpc/nm-linux.h: Don't include <signal.h>.
(lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
GET_THREAD_SIGNAL): Remove.
* config/i386/nm-linux.h: Likewise.
(struct target_waitstatus, child_wait, CHILD_WAIT): Remove.
* config/m68k/linux.mh, config/sparc/linux.mh (NATDEPFILES):
Remove linux-thread.o.  Add proc-service.o, thread-db.o and
lin-lwp.o.
(LOADLIBES): New variable.
2001-10-14 20:42:07 +00:00
Mark Kettenis 8e4d17db0e * sparc-nat.c (fetch_core_registers): Remove redundant prototype. 2001-10-14 17:15:14 +00:00
Mark Kettenis c987d8c09d * proc-service.c (BUILD_LWP): Redefine in terms of ptid_build. 2001-10-14 11:50:39 +00:00
Mark Kettenis cacab7c477 Fix attaching to cloned processes. This fixes PR gdb/61.
* lin-lwp.c (struct lwp_info): Add new member `cloned'.
(is_cloned) Removed.
(lin_lwp_attach_lwp): Don't call stop_wait_callback.  Instead call
waitpid explicitly.  Mark the LWP as cloned if waitpid fails and
retry with __WCLONE flag.
(lin_lwp_attach): Likewise.  Warn if attaching to a cloned process.
(detach_callback): Replace use of is_cloned with explicit check on
LWP id and process id.
(stop_wait_callback): Replace use of is_cloned with check if LWP
is marked as cloned.
[CHILD_WAIT] (child_wait): New function.
(lin_lwp_wait): Replace use of is_cloned with check if LWP is
marked as cloned.  Mark newly detected LWPs as cloned if detected
by waitpid with __WCLONE flag.
(kill_wait_callback): Replace use of is_cloned with check if LWP
is marked as cloned.
* config/i386/nm-linux.h (struct target_waitstatus): Add forward
declaration.
(child_wait): Add prototype.
(CHILD_WAIT): Define.
2001-10-14 11:30:37 +00:00
Andrew Cagney 5769d3cd7d S/390 31 & 64 bit target and GNU/Linux native support.
Contributed by D.J. Barrow <djbarrow@de.ibm.com> of IBM.
* s390-nat.c, s390-tdep.c: New file.
* config/s390/nm-linux.h, config/s390/s390.mh: New file.
* config/s390/s390.mt, config/s390/s390x.mt: New file.
* config/s390/tm-linux.h, config/s390/tm-s390.h: New file.
* config/s390/xm-linux.h: New file.
* NEWS: Update.
* MAINTAINERS: Update.
2001-10-13 22:13:35 +00:00
Andrew Cagney 83e6b173e7 From 2001-07-09 D.J. Barrow <djbarrow@de.ibm.com>:
* gdbarch.sh: Fixed CALL_DUMMY_BREAKPOINT_OFFSET to check
CALL_DUMMY_BREAKPOINT_OFFSET_P.
* gdbarch.c: Regenerate.
2001-10-13 19:40:31 +00:00
Mark Kettenis 21bf60feee * thread-db.c: Fix a few formatting mistakes. 2001-10-13 15:04:02 +00:00
Corinna Vinschen 03dd63aa03 * gdb.base/maint.exp: Treat $EXEEXT as optional in output. 2001-10-13 08:36:32 +00:00
Christopher Faylor d60dc82aca Fix capitalization. 2001-10-13 04:15:40 +00:00
Christopher Faylor fefd0a378f * win32-nat.c (safe_symbol_file_add_stub): Properly initialize linked list
pointer to beginning rather than one beyond beginning.
2001-10-13 01:20:29 +00:00
Daniel Jacobowitz e88c90f2c5 2001-10-12 Daniel Jacobowitz <drow@mvista.com>
* symtab.h (struct block): (ALL_BLOCK_SYMBOLS): New macro.

        * symtab.c (find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS.
        (make_symbol_completion_list): Likewise.
        (make_symbol_overload_list): Likewise.
        * buildsym.c (finish_block): Likewise.
        * breakpoint.c (get_catch_sals):  Likewise.
        * mdebugread.c (mylookup_symbol): Likewise.
        * objfiles.c (objfile_relocate): Likewise.
        * printcmd.c (print_frame_args): Likewise.
        * stack.c (print_block_frame_locals): Likewise.
        (print_block_frame_labels): Likewise.
        (print_frame_arg_vars): Likewise.
        * symmisc.c (dump_symtab): Likewise.
        * tracepoint.c (add_local_symbols): Likewise.
        (scope_info): Likewise.

2001-10-12  Daniel Jacobowitz  <drow@mvista.com>

        * mi-cmd-stack.c (list_args_or_locals): Use ALL_BLOCK_SYMBOLS.

2001-10-12  Daniel Jacobowitz  <drow@mvista.com>

        * generic/gdbtk-cmds.c (gdb_listfuncs): Use ALL_BLOCK_SYMBOLS.
        * generic/gdbtk-stack.c (gdb_block_vars): Likewise.
        (gdb_get_blocks): Likewise.
        (gdb_get_vars_command): Likewise.
5~
2001-10-12 23:51:30 +00:00
Jim Blandy f4846649b3 * Makefile.in (MAKEHTMLFLAGS): Remove -glossary; the most recent
version of texi2html (1.64) doesn't support this flag any more.
2001-10-12 21:10:07 +00:00
Daniel Jacobowitz 375f3d864b * minsyms.c (msymbol_hash): Use better hash function.
(msymbol_hash_iw): Likewise.  Terminate loop at '(' properly.

        * objfiles.h: Increase MINIMAL_SYMBOL_HASH_SIZE to match modern
        binaries.
2001-10-12 19:07:07 +00:00
Daniel Jacobowitz 5515947148 * printcmd.c (print_frame_args): Move symbol iteration explicitly
inside the func != NULL block.
2001-10-12 17:15:34 +00:00
Fernando Nasser 30ef99d1a8 2001-10-12 Fernando Nasser <fnasser@redhat.com>
* MAINTAINERS (Misc): Add Ian Roxborough as tcl/, tk/ and itcl/
	maintainer.
2001-10-12 15:59:11 +00:00
Christopher Faylor 02e423b9b2 * config/i386/tm-cygwin.h: include tm-i386.h instead of tm-i386v.h. This fixes
errors in "long long" handling for 'finish' and 'return' commands.
* win32-nat.c (safe_symbol_file_add_stub): Avoid adding a shared library if it
has already been loaded.
(safe_symbol_file_add_cleanup): Don't mess with stderr or we won't see any
error messages.
(safe_symbol_file_add): Ditto.
(solib_symbols_add): Make static.  Accept 'from_tty' parameter.  Pass it to
safe_symbol_file_add.
(core_dll_symbols_add): Accomodate extra solib_symbols_add parameter.
(child_solib_add): Ditto.
* win32-nat.c (handle_exception): Don't print "first chance" exceptions.
(get_child_debug_event): Continue from exceptions if !handle_exception.
2001-10-12 04:32:16 +00:00
Tom Tromey 1b15f1fad9 * symtab.c (lookup_symtab): Removed.
(lookup_symtab_1): Renamed to lookup_symtab.
2001-10-12 03:38:12 +00:00
gdbadmin ae14a5f5db *** empty log message *** 2001-10-12 00:00:02 +00:00
Christopher Faylor 700b351bda * win32-nat.c (get_child_debug_event): Close file handles created after process
creation and DLL load.
(child_create_inferior): Close unneeded process/thread handle after thread
creation.
2001-10-11 01:55:58 +00:00
gdbadmin 4a04a41f35 *** empty log message *** 2001-10-11 00:00:04 +00:00
Jim Blandy 4eab1e18e9 * mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes. 2001-10-10 21:22:44 +00:00
Keith Seitz 4abb499edb * varobj.c (cplus_value_of_child): Deal with a failure
to dereference a pointer object.
2001-10-10 17:01:52 +00:00
gdbadmin c9ce2220e1 *** empty log message *** 2001-10-10 00:00:05 +00:00
gdbadmin ddb2683535 *** empty log message *** 2001-10-09 00:00:02 +00:00
Joel Brobecker 8b2797db31 Document changes to hpux-thread.c. 2001-10-08 20:44:38 +00:00
Joel Brobecker f7926acf20 Rewrite find_active_thread() and find_tcb() to use ptid_t, instead of
overloading the thread and the pid into the same 32-bit value. Make
associated necessary adaptations. Also remove unused variable
cached_active_thread.
2001-10-08 20:42:08 +00:00
Nicholas Duffek 420effb8ac * MAINTAINERS (powerpc, SCO/Unixware, Solaris/x86): Remove my
entries.
2001-10-08 19:05:00 +00:00
gdbadmin ab7f1108bf *** empty log message *** 2001-10-08 00:00:04 +00:00
gdbadmin ba9011bc0e *** empty log message *** 2001-10-07 00:00:03 +00:00
Mark Kettenis 3eb970a80b * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Define. 2001-10-06 19:19:27 +00:00
gdbadmin 3bbed9b708 *** empty log message *** 2001-10-06 00:00:08 +00:00
gdbadmin 09d15f2aa8 *** empty log message *** 2001-10-05 00:00:02 +00:00
Frank Ch. Eigler 1d9d99f32d 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
* lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
	if gdb child process crashes, just signal an error.
2001-10-04 22:11:12 +00:00
Tom Tromey 78f495860c * main.c (enable_external_editor): Don't declare.
(captured_main): Don't set enable_external_editor.
2001-10-04 15:04:27 +00:00
gdbadmin 1baf8b2495 *** empty log message *** 2001-10-04 00:00:04 +00:00
gdbadmin 0a30e5973d *** empty log message *** 2001-10-03 00:00:02 +00:00
Kevin Buettner ab31aa69b9 Split SVR4/SunOS solib support. 2001-10-02 23:11:24 +00:00
Jim Blandy 838ae6c473 * lib/gdb.exp (test_xfail_format): Simplify.
* lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
front of the variable name `format'.  Simplify `if'.
2001-10-02 19:42:10 +00:00
Elena Zannoni 39ae698d7d 2001-10-01 Elena Zannoni <ezannoni@redhat.com>
* Makefile.in (mipsread.o): Remove old dependency on partial-stab.h.
2001-10-02 02:53:48 +00:00
Elena Zannoni a99a072c2c 2001-10-01 Elena Zannoni <ezannoni@redhat.com>
* xcoffread.c (N_UNDF, N_ABS, N_TEXT, N_DATA, N_BSS, N_COMM, N_FN,
        N_EXT, N_INDR, N_SETA, N_SETT, N_SETD, N_SETB, N_SETV,
        CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE, START_PSYMTAB, END_PSYMTAB,
        SET_NAMESTRING): Delete definitions.
        Don't include language.h any more.
        Don't include partial-stab.h any more.
        (scan_xcoff_symtab): Don't jump through hoops to reuse code in
        partial-stab.h, include the code directly, instead.

        * Makefile.in (xcoffread.o): Remove dependency on partial-stab.h.
2001-10-02 02:51:41 +00:00
Elena Zannoni d5d0a62f69 2001-10-01 Elena Zannoni <ezannoni@redhat.com>
* xcoffread.c (N_UNDF, N_ABS, N_TEXT, N_DATA, N_BSS, N_COMM, N_FN,
	N_EXT, N_INDR, N_SETA, N_SETT, N_SETD, N_SETB, N_SETV,
	CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE, START_PSYMTAB, END_PSYMTAB,
	SET_NAMESTRING): Delete definitions.
	Don't include language.h any more.
	Don't include partial-stab.h any more.
	(scan_xcoff_symtab): Don't jump through hoops to reuse code in
	partial-stab.h, include the code directly, instead.

	* Makefile.in (xcoffread.o): Remove dependency on partial-stab.h.
2001-10-02 02:39:48 +00:00
gdbadmin 6c3748ca43 *** empty log message *** 2001-10-02 00:00:06 +00:00
Daniel Jacobowitz 8f0cbc1ca3 * gdb.threads/pthreads.exp: Wait for output and delay
before sending ^C.
2001-10-01 20:36:48 +00:00
Daniel Jacobowitz 1f08dafd5a * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
some incorrect output instead of timing out.
        * gdb.mi/mi-var-display.exp (continue to incr_a):  Likewise.
2001-10-01 20:31:38 +00:00
Andrew Cagney 447aa9a61f * infcmd.c (do_registers_info): Delete code dumping large
registers.  Handled by val_print.
2001-10-01 18:11:19 +00:00
gdbadmin c7faceac8d *** empty log message *** 2001-10-01 00:00:05 +00:00
Andrew Cagney 85de96271b * gdbarch.sh (gdbarch_alloc): Name the new architecture
``current_gdbarch'' so that it, and not the identically named
global is refered to by macros.
* gdbarch.c: Regenerate.
2001-09-30 16:54:28 +00:00
Andrew Cagney f3796e2657 * cli/cli-decode.c (add_set_boolean_cmd): Define.
* cli/cli-decode.h (add_set_boolean_cmd): Declare.
* command.h (add_set_boolean_cmd): Ditto.
* remote.c (_initialize_remote): Use add_set_boolean_cmd for "set
remotebreak"
2001-09-30 16:16:16 +00:00
gdbadmin 7efde2a4dd *** empty log message *** 2001-09-30 00:00:06 +00:00
Andrew Cagney 08e45a405b * gdbarch.sh (gdbarch_dump): Sort output.
* gdbarch.c: Regenerate.
2001-09-29 22:35:53 +00:00
Andrew Cagney e712c1cf79 * rs6000-tdep.c (rs6000_gdbarch_init): Don't use the previous
architecture to infer the wordsize.  Previous architecture may not
be a PowerPC.
2001-09-29 21:32:01 +00:00
gdbadmin 6e73fe5560 *** empty log message *** 2001-09-29 00:00:04 +00:00
Tom Tromey 7cacb6a3a7 * tuiLayout.h (tui_set_layout): Don't declare.
* tui.h (tui_vAddWinToLayout): Don't declare.
	(tui_vSetLayoutTo): Likewise.
	(tui_set_layout): Declare.
2001-09-28 17:39:09 +00:00
Corinna Vinschen 674f90ff34 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
check to allow additional `int'.
2001-09-28 11:41:30 +00:00
gdbadmin b43d14f89c *** empty log message *** 2001-09-28 00:00:01 +00:00
Michael Snyder 2e2394a075 2001-09-20 Michael Snyder <msnyder@redhat.com>
Changes by Daniel Berlin  <dan@cgsoftware.com>, to support
	better parsing of const and volatile type expressions.
	* c-exp.y (const_and_volatile, const_or_volatile_noopt,
	const_or_volatile): New non-terminals.
	(ptype): Use new rule for const_or_volatile.
	(typebase): Use new rule for const_or_volatile_noopt.
	* parser-defs.h (enum type_pieces): New values tp_const, tp_volatile.
	* parse.c (follow_types): Handle tp_const and tp_volatile on the
	type stack: call make_cv_type to create new const/volatile type.
2001-09-27 22:39:05 +00:00
Daniel Jacobowitz 9b28427211 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2001-09-27 22:21:22 +00:00
Michael Snyder b55a47712d 2001-09-27 Michael Snyder <msnyder@redhat.com>
* lib/gdb.exp (test_debug_format): New proc.
	(setup_xfail_format): Use new proc test_debug_format.
	* gdb.base/constvars.exp (local_compiler_xfail_check): New
	proc; use new service proc test_debug_format.
	Replace all other "gcc_compiled" tests with this test.
	* gdb.base/volatile.exp (local_compiler_xfail_check): New
	proc; use new service proc test_debug_format.
	Replace all other "gcc_compiled" tests with this test.
2001-09-27 21:35:56 +00:00
Michael Snyder 56e2d25ab5 2001-09-20 Michael Snyder <msnyder@redhat.com>
Changes by Daniel Berlin  <dan@cgsoftware.com>, to support
	better parsing of const and volatile type expressions.
	* c-exp.y (const_and_volatile, const_or_volatile_noopt,
	const_or_volatile): New non-terminals.
	(ptype): Use new rule for const_or_volatile.
	(typebase): Use new rule for const_or_volatile_noopt.
	* parser-defs.h (enum type_pieces): New values tp_const, tp_volatile.
	* parse.c (follow_types): Handle tp_const and tp_volatile on the
        type stack: call make_cv_type to create new const/volatile type.
2001-09-27 21:16:43 +00:00
Michael Snyder 3e9986d221 2001-09-21 Michael Snyder <msnyder@redhat.com>
* c-exp.y (typebase): Accept (signed long long) as a type expr.
2001-09-27 21:14:48 +00:00
Joel Brobecker d68f31a9f3 Document changes in infttrace.c (for HPUX 11.00). 2001-09-27 13:32:17 +00:00
Joel Brobecker d3340a536f kill_inferior: Issue a TT_PROC_EXIT request rather than a TT_PROC_STOP
request to kill the inferior and its child processes. Otherwise, the
inferior is not killed on HPUX 11.0.  Removed the code that detaches the
child processes since we just killed them.
2001-09-27 13:31:45 +00:00
gdbadmin 53a55750dd *** empty log message *** 2001-09-27 00:00:01 +00:00
Andrew Cagney e3abfe1d65 Add framework for ``set/show serial ...''. 2001-09-26 23:27:39 +00:00
Andrew Cagney ff1da24e18 * CONTRIBUTE: Update. 2001-09-26 20:52:56 +00:00
Corinna Vinschen 4e6667ac4f * gdb.base/constvars.exp: Check for different orders of keywords
and additional "int" strings in output.
2001-09-26 16:06:28 +00:00
Kevin Buettner e5e2b9ff10 Use gdbarch data mechanism instead of gdbarch swap mechanism to manage
the fetching of architecture specific link map offsets.
2001-09-26 07:03:13 +00:00
gdbadmin ca990479da *** empty log message *** 2001-09-26 00:00:02 +00:00
Jiri Smid 86ed34a902 fix of my email address 2001-09-25 11:52:54 +00:00
Jiri Smid c74ae012f5 * x86-64-linux-tdep.c (LINUX_SIGINFO_SIZE): Add.
(x86_64_linux_sigcontext_addr): Replace `sizeof (struct siginfo)'
by LINUX_SIGINFO_SIZE.
2001-09-25 10:37:17 +00:00
Andrew Cagney 4f3379724d * maint.c (maintenance_set_cmdlist, maintenance_show_cmdlist): New
variables.
(maintenance_set_profile_cmd): New function.
(maintenance_show_cmd, maintenance_set_cmd): New functions.
(_initialize_maint_cmds): Add "maintenance set" and "maintenance
show" and, commented out, "maintenance set/show profile" commands.
2001-09-25 02:31:51 +00:00
gdbadmin 0163999c22 *** empty log message *** 2001-09-25 00:00:06 +00:00
Andrew Cagney f76febae84 * findvar.c (read_var_value): For LOC_INDIRECT and LOC_REF_ARG
convert the pointer into a CORE_ADDRs.
2001-09-24 19:46:15 +00:00
Andrew Cagney 96d2f608dc * doublest.h (store_floating, extract_floating): Add comment
indicating these functions are deprecated.
(extract_typed_floating, store_typed_floating): Declare.
* doublest.c: Include "gdbtypes.h".
(extract_typed_floating, store_typed_floating): Define.

* stabsread.c (define_symbol): Use store_typed_floating.
* valarith.c (value_binop): Ditto.
* values.c (unpack_long): Use extract_typed_floating.
(unpack_double): Ditto.
2001-09-24 17:16:53 +00:00
Orjan Friberg 7ab98e9e4f 2001-09-24 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c (reg_mode_add_sub_cmp_and_or_move_op): Fetch operand1
	from correct register.
2001-09-24 08:04:10 +00:00
gdbadmin 02ca6eb41d *** empty log message *** 2001-09-24 00:00:33 +00:00
gdbadmin 5175008b28 *** empty log message *** 2001-09-23 00:00:03 +00:00
gdbadmin 7e6922fd50 *** empty log message *** 2001-09-22 00:00:02 +00:00
Mark Kettenis 1dbeeb7b3b * x86-64-linux-tdep.c (STRUCT_OFFSET): Removed. 2001-09-21 22:57:29 +00:00
Jiri Smid c4d82c9662 * config/i386/x86-64linux.mh: New file.
* config/i386/x86-64linux.mt: New file.
* config/i386/nm-x86_64.h: New file.
* x86-64-linux-tdep.c: New file.
* x86-64-linux-nat.c: New file.
* x86-64-tdep.c: New file.
* x86-64-tdep.h: New file.
* i386-tdep.h: New file.
* i387-nat.c: Include i386-tdep.h when multiarch.
* i387-tdep.c: Ditto.
* config/djgpp/fnchange.lst: Add entries for x86_64-linux-tdep.c
and x86_64-linux-nat.c
* Makefile.in: Add x86_64-linux-tdep.o, x86_64-tdep.o,
x86_64-linux-tdep.o, x86_64-nat.o, update dependencies.
2001-09-21 12:24:55 +00:00
Jiri Smid 53e95fcfec * config/i386/x86-64linux.mh: New file.
* config/i386/x86-64linux.mt: New file.
* config/i386/nm-x86_64.h: New file.
* x86-64-linux-tdep.c: New file.
* x86-64-linux-nat.c: New file.
* x86-64-tdep.c: New file.
* x86-64-tdep.h: New file.
* config/djgpp/fnchange.lst: Add entries for x86_64-linux-tdep.c
and x86_64-linux-nat.c
* Makefile.in: Add x86_64-linux-tdep.o, x86_64-tdep.o,
x86_64-linux-tdep.o, x86_64-nat.o, update dependencies.
2001-09-21 12:19:15 +00:00
Jiri Smid 9a82579f3d * i386-tdep.h: New file.
* i387-nat.c: Include i386-tdep.h when multiarch.
* i387-tdep.c: Ditto.
2001-09-21 12:15:15 +00:00
Jiri Smid cab16195fe * MAINTAINERS: Add myself to the write-after-approval list.
* i386-nat.c (TARGET_HAS_DR_LEN_8, DR_LEN_8): Declare.
(i386_length_and_rw_bits, i386_handle_nonaligned_watchpoint,
i386_insert_watchpoint, i386_remove_watchpoint):  Add support for
8-byte wide watchpoints.
(i386_show_dr): Debug message format string change.
2001-09-21 07:17:52 +00:00
Jiri Smid e906b9a3a9 * i386-nat.c (TARGET_HAS_DR_LEN_8, DR_LEN_8): Declare.
(i386_length_and_rw_bits, i386_handle_nonaligned_watchpoint,
i386_insert_watchpoint, i386_remove_watchpoint):  Add support for
8-byte wide watchpoints.
(i386_show_dr): Debug message format string change.
2001-09-21 07:16:03 +00:00
Jiri Smid 5f3b524877 * MAINTAINERS: Add myself to the write-after-approval list. 2001-09-21 07:14:31 +00:00
gdbadmin a10bc936b8 *** empty log message *** 2001-09-21 00:00:35 +00:00
Kevin Buettner 1c4dcb5771 Make set_solib_svr4_fetch_link_map_offsets() work as intended. 2001-09-20 20:07:55 +00:00
Alan Modra 3a42e9d062 * coffread.c: Replace all occurrences of bfd_read with bfd_bread.
* dbxread.c: Likewise.
	* dwarf2read.c: Likewise.
	* dwarfread.c: Likewise.
	* somread.c: Likewise.
	* ultra3-nat.c: Likewise.
	* xcoffread.c: Likewise.
2001-09-20 03:03:40 +00:00
gdbadmin 6bac1f1132 *** empty log message *** 2001-09-20 00:00:02 +00:00
Andrew Cagney 8535cb3839 * cris-tdep.c (cris_get_signed_offset): Change return type to an
explicitly signed char.
2001-09-19 21:59:41 +00:00
Andrew Cagney e0441cf0e1 * config/mcore/tm-mcore.h (mcore_virtual_frame_pointer): Update
function signature to match recent tracepoint.c:encode_actions
changes.
* mcore-tdep.c (mcore_virtual_frame_pointer): Ditto.
2001-09-19 20:43:54 +00:00
Frank Ch. Eigler 2015650dea * approved by kseitz
2001-09-19  Frank Ch. Eigler  <fche@redhat.com>

	* lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
	to localhost:NNN instead of :NNN, in case Xvfb is listening
	only on TCP.
2001-09-19 15:39:54 +00:00
Corinna Vinschen f3bcedc1a9 * gdb.base/recurse.exp: When checking leaving the watchpoint
scope, recognize when gdb is in function's epilogue and pass.
2001-09-19 08:21:17 +00:00
Keith Seitz 6b819c92c4 * lib/insight-support.exp (_gdbtk_export_target_info): Add
support for running tests against sid targets.
	(gdbtk_done): Ditto.
2001-09-19 00:08:43 +00:00
gdbadmin 3b3e3cc446 *** empty log message *** 2001-09-19 00:00:02 +00:00
Corinna Vinschen a10c9419a4 * gdb.base/ending-run.c (main): Set stdout buffersize
to the same reasonable value for any target.
        * gdb.base/ending-run.exp: Add a regular expression
        to make testsuite happy on Sanyo Stormy16 target.
2001-09-18 17:49:06 +00:00
Andrew Cagney 2b65245ef4 Add ui_out parameter to libgdb functions. 2001-09-18 05:00:51 +00:00
gdbadmin fed9891d87 *** empty log message *** 2001-09-18 00:00:07 +00:00
Corinna Vinschen 739d0d99b3 * gdb.base/display.c (do_loops): Add float variable `f'.
Increment f in loop.
        * gdb.base/display.exp: Increment timeout by 60 seconds.
        Change float display test to use variable `f'.
2001-09-17 20:41:22 +00:00
Jim Blandy 1b8947f0b5 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
overflowing the limited breakpoint tables on some ROM monitors
(like the ROM68K).
2001-09-17 19:42:28 +00:00
gdbadmin 089e0fcb62 *** empty log message *** 2001-09-17 00:00:01 +00:00
gdbadmin ca58b74bc5 *** empty log message *** 2001-09-16 00:00:01 +00:00
Frank Ch. Eigler 9890ac81bc 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
* lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
	the "-ac" (disable access control) flag.
2001-09-15 17:11:24 +00:00
gdbadmin 7a0c04c188 *** empty log message *** 2001-09-15 00:00:03 +00:00
Kevin Buettner 2069d78d3c Commit Ilya Golubev's clear_solib() fixes. 2001-09-14 00:40:29 +00:00
gdbadmin 93de26c188 *** empty log message *** 2001-09-14 00:00:03 +00:00
Jim Blandy e8816aacae * monitor.c (monitor_load): Don't delete symtab users, or reset
inferior_ptid.
2001-09-13 22:48:19 +00:00
Jim Blandy fe4900853a (monitor_load): Fix indentation. 2001-09-13 18:53:42 +00:00
Jim Blandy 348d75a52f (monitor_load): Fix indentation. 2001-09-13 18:43:03 +00:00
gdbadmin 8dd5f7a869 *** empty log message *** 2001-09-13 00:00:06 +00:00
Jim Blandy e94a679a11 Remove incomplete section on overlays, committed by accident. 2001-09-12 19:49:52 +00:00
Jim Blandy 664cccaec5 * printcmd.c (print_scalar_formatted): Fix indentation. 2001-09-12 04:18:08 +00:00
gdbadmin 58712d0505 *** empty log message *** 2001-09-12 00:00:03 +00:00
gdbadmin 63da102c1d *** empty log message *** 2001-09-11 00:00:04 +00:00
Jim Blandy a5666cc9b8 * rom68k-rom.c (init_rom68k_cmds): Set the flag indicating that
programs running on the board can produce output.
2001-09-10 23:54:16 +00:00