Commit Graph

7051 Commits

Author SHA1 Message Date
David Taylor 6981a588db changelog entries for gdb/13521. 1998-01-30 21:11:53 +00:00
David Taylor 7d0a3fc844 Changes by Peter.Schauer to fix gdb/13521 -- gdb step command fails to step
from a function in one dynamically linked library into a function in another
dynamically linked library.
1998-01-30 20:33:43 +00:00
Stan Shebs 3e269acb3e * coffread.c (coff_symtab_read) [SEM]: Remove code, macro can
never be defined.
	* dbxread.c (process_one_symbol) [BLOCK_ADDRESS_ABSOLUTE]:
	Remove, no longer needed.
	* hppa-tdep.c (N_SET_MAGIC): Remove, no longer used.
	* config/pa/xm-hppab.h (SEEK_SET, SEEK_CUR, SEEK_END): Ditto.
	* config/mips/tm-mipsm3.h (NUMERIC_REG_NAMES): Ditto.
	* config/mips/mipsm3.mt (TDEPFILES): Remove mipsread.o.
Cruft discovered while working on GDB internals manual
1998-01-30 03:54:54 +00:00
Stan Shebs 7074cd4e8a Suggested by Chris Walter <walter@budoe.bu.edu>:
* dwarfread.c (set_cu_language): Recognize Fortran.
	* dwarf2read.c (set_cu_language): Ditto.
	(read_array_type): Fix language test.
1998-01-28 23:02:03 +00:00
Michael Snyder 2a913d7135 Wed Jan 28 12:51:08 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
* blockframe.c (generic_frame_chain_valid): A frame pointer may
        be valid if it is equal to the frame pointer of its caller (ie.
        not necessarily strictly INNER_THAN).  Allows frameless functions.
1998-01-28 21:06:54 +00:00
Mark Alexander 29df6f4b7e * monitor.c (monitor_vsprintf): New function to handle
printing of large addresses using %A format specifier.
	(monitor_printf_noecho, monitor_printf): Use monitor_vsprintf
	instead of vsprintf.
	* dve3900-rom.c (_initialize_r3900_rom): Use %A instead of %Lx
	to print addresses.
1998-01-28 19:52:06 +00:00
Jason Molenda 4b95e9a13d * configure.in (CONFIG_LDFLAGS): Only add -export-dynamic
when using GNU ld.
A little longer patch than necessary due to some whitespace reformatting.
1998-01-28 00:17:53 +00:00
Fred Fish 043fadbe52 Fix some mswin sanitization problems. 1998-01-27 05:19:50 +00:00
Jason Molenda bf1fb2e0c3 * config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset):
Add closing parenthesis.  From HJ Lu.
1998-01-27 03:10:23 +00:00
Mark Alexander d8365eee42 * dve3900-rom.c: Improve performance by using memory commands
that print less fluff.  Minor cosmetic changes.
	Eliminate compiler warnings.
1998-01-27 02:04:21 +00:00
Keith Seitz d001edb7ba * gdbtk.c (gdb_actions_command): Make note of next action
before freeing all references to it.
1998-01-26 19:41:39 +00:00
Fred Fish e454c4004f Fix minor sanitization problems. 1998-01-26 17:14:55 +00:00
Martin Hunt 0776b0b0da Sat Jan 24 23:52:08 1998 Martin M. Hunt <hunt@cygnus.com>
* gdbtk.c: Merge from Foundry branch.
	(TclDebug): New debugging function.
	(gdb_loc): For frames, find address of calling function
	instead of whatever is on the stack (usually the next
	instruction).
	(gdb_listfiles): Takes an optional pathname argument and
	returns an alphabetized list of basenames of files in the
	path.
1998-01-25 08:56:08 +00:00
Martin Hunt f03cdc5ef4 Sat Jan 24 23:44:43 1998 Martin M. Hunt <hunt@cygnus.com>
* breakpoint.c (enable_breakpoint): Preserve breakpoint
	disposition when enabling a breakpoint.
	* symtab.c (find_pc_sect_line): If no symbol information
	is found, return correct pc anyway.
1998-01-25 08:53:37 +00:00
Stan Shebs 9a2e2aba8c * configure.host (i[3456]86-*-osf1mk*, mips-*-mach3*,
ns32k-*-mach3*): Fix file names.
	(i[3456]86-*-os9k, m88*-*-mach3*, w65-*-*): Remove config
	recognition, no source files for these.
	* configure.tgt (powerpc-*-aix4*): Remove config, now identical
	to powerpc-*-aix*.
	* config/powerpc/{aix4.mh,aix4.mt,tm-ppc-aix4.h}: Remove files,
	no longer needed.
1998-01-24 01:34:00 +00:00
Mark Alexander 1a31a33a93 * monitor.c (monitor_write, monitor_readchar): New functions.
* monitor.h (monitor_write, monitor_readchar): Declare.
	* dve3900-rom.c: Add support for fast loading on ethernet connections.
1998-01-24 00:52:54 +00:00
Keith Seitz 11f91b2bbc * symfile.c: Define two new hooks for symbol reading: "pre_add_symbol_hook"
and "post_add_symbol_hook". These hooks are called before we begin reading
        symbols, and after we finish.
        (generic_load): Use new symbol reading hooks and get rid of compiler warning.
        * gdbtk.c (gdbtk_init): Add hooks for pre- and post-symbol reading.
        (gdbtk_pre_add_symbol): New function: the pre-add-symbol hook.
        (gdbtk_post_add_symbol): New function: the post-add-symbol hook.
        (find_file_in_dir): New function. Moved the guts of gdb_find_file_command
        into here to allow its use by others.
        (gdb_loc): Use find_file_in_dir to return the real path to the file
        (or "N/A" if we can't find it).
        * configure.in (TIX_LIB_EXT): Define new variable for those special cases
        when TCL_SHLIB_SUFFIX is not enough to specify the dependency.
        * configure: Regenerate.
1998-01-23 20:54:35 +00:00
Fred Fish 77636dea0a * config/d10v/tm-d10v.h (CALL_DUMMY): Define as "{ 0 }".
(TARGET_READ_FP): Define to d10v_read_fp rather than d10v_read_sp.
	(TARGET_WRITE_FP): Define to d10v_write_fp rather than d10v_write_sp.
	(d10v_write_fp, d10v_read_fp): Add prototypes.
	* symtab.c (decode_line_1): Remove assignment of sals[0].pc field.
	* symfile.c (simple_overlay_update, simple_overlay_update_1):
	Ignore the size of overlay sections.  This check is redundant anyway.
	* printcmd.c (print_frame_args): Ditto.
	* valops.c (value_fetch_lazy): Ditto.
	* values.c (unpack_long): Ditto.
	* d10v-tdep.c (d10v_frame_chain, d10v_frame_find_saved_regs,
	d10v_init_extra_frame_info): Fix some minor bugs so the finish command
 	works properly.
	(show_regs): Change num1 and num2 types from "long long" to "LONGEST".
	(d10v_read_fp, d10v_write_fp): New functions.
	(d10v_push_arguments): Remove unneeded assigns to "val" and "contents".
	(d10v_push_arguments): Fix for pointers and structs.
	(d10v_extract_return_value): Fix for pointers and chars.
1998-01-23 15:44:12 +00:00
Fred Fish b7c05d37e2 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
"calling function with watchpoint enabled".
1998-01-23 15:36:12 +00:00
Mark Alexander 549cf35bf6 Fix sanitization. 1998-01-23 00:19:49 +00:00
Ron Unrau 64708c01f5 Add sanitize-sky for txvu stuff. 1998-01-22 23:25:18 +00:00
Ron Unrau ea4d289e43 Recognize txvu-elf as a target. 1998-01-22 23:22:22 +00:00
Fred Fish 34fddd75fa * gdb.base/break.exp (test_next_with_recursion): Remove
gdb_suppress_tests for d10v-*-*.
	* lib/gdb.exp (gdb_suppress_tests): Disable this function
	pending review of whether it is useful or not.
1998-01-22 22:13:07 +00:00
Mark Alexander 6720fa27e3 Add dve.exp. 1998-01-22 18:37:04 +00:00
Mark Alexander ec151a0075 Fix sanitization errors. 1998-01-22 18:23:43 +00:00
Stan Shebs 4133151f13 * configure.tgt (i386-*-mach*, m88*-*-mach3*): Remove config
recognition, no source files for these (note that the i386 Mach
	is pre-Mach 3).
	(mips*-*-mach3*, ns32k-*-mach3*): Fix file names.
	* config/mips/mipsel64.mt: Remove, never referenced.
1998-01-21 03:01:47 +00:00
Mark Alexander 4eb808df1e * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards. 1998-01-20 21:12:35 +00:00
Stan Shebs 59ae1b0fa9 * top.c (print_gdb_version): Restore to original message. 1998-01-19 22:31:03 +00:00
Ian Lance Taylor b5edcb4521 From cgf@bbc.com (Chris Faylor):
* win32-nat.c (child_mourn_inferior): Call ContinueDebugEvent to
	let the child exit.
	(child_kill_inferior): Respond to all debug events as the child is
	terminating.
1998-01-19 18:38:51 +00:00
Ian Lance Taylor 76bf91921d * Makefile.in (all): Change gdb dependency to gdb$(EXEEXT).
(uninstall): Add $(EXEEXT) to file name to remove.
	(gdb$(EXEEXT)): Rename target from plain gdb.
	(gdb1$(EXEEXT)): Rename target from plain gdb1.
	(clean, mostlyclean): Add $(EXEEXT) to binary names to remove.
1998-01-19 18:36:49 +00:00
Mark Alexander e8f06427fd * config/dve.exp: New file to support Densan boards. 1998-01-19 18:31:47 +00:00
Mark Alexander 78b25a6752 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
* config/dve.exp: New file to support Densan boards.
1998-01-19 16:56:35 +00:00
Felix Lee 23f38c9ef9 * top.c (print_gdb_version): delete stutter. 1998-01-16 20:26:57 +00:00
Keith Seitz 0422b59e83 * gdbtk.c (gdb_immediate_command): New function which does not buffer an
y
        output. (Contrast to gdb_cmd.)
        (gdbtk_init): Install "gdb_immediate" command into interpreter.
1998-01-15 20:43:37 +00:00
Nick Clifton ed3e2cfec2 Applied patch from Tony.Thompson@arm.com 1998-01-15 20:33:03 +00:00
Gavin Romig-Koch ed70a3354d Initial vr4111 Sanitization marks. 1998-01-15 18:46:32 +00:00
Gavin Romig-Koch 8ef2d81aa8 toplevel--
* config.sub: Create the vr4111 as a copy of vr4100.
	gas--
	* config/tc-mips.c (md_begin): Create the vr4111 as a copy of
	the vr4100.
	gcc--
	* config.sub: Create the vr4111 as a copy of the vr4100.
	* configure.in: Same.
	* configure: Rebuild.
	gdb--
	* configure.tgt: Create the vr4111 as a copy of the vr4100.
1998-01-15 15:27:13 +00:00
Gavin Romig-Koch 86418a70c8 toplevel--
* config.sub: Create the vr4111 as a copy of vr4100.
	gas--
	* config/tc-mips.c (md_begin): Create the vr4111 as a copy of
	the vr4100.
	gcc--
	* config.sub: Create the vr4111 as a copy of the vr4100.
	* configure.in: Same.
	* configure: Rebuild.
	gdb--
	* configure.tgt: Create the vr4111 as a copy of the vr4100.
1998-01-15 14:56:12 +00:00
Stan Shebs 8d9371a56f * config/mips/{r3900.mt,r3900l.mt,tm-r3900.h,tm-r3900l.h}:
Remove, no longer used.
1998-01-15 03:44:01 +00:00
Keith Seitz bb3d9f43d3 * configure.in (--enable-gdbtk): If tcl was built with --enable-shared,
use TCL_SHLIB_SUFFIX to specify the suffix of the library file so that
        we don't expect to see "libfoo.a" instead of "libfoo.{so,sl, etc}".
        * configure: Regenerate.
1998-01-15 01:19:00 +00:00
Michael Meissner f27bb101a5 Remove GCC-isms 1998-01-14 23:13:56 +00:00
Fred Fish 0728afad48 * configure.in (--with-mmalloc): Add new configure arg to use the
mmalloc package.  Default is to not use it.
	(START_INFERIOR_TRAPS_EXPECTED): Define to the integer 2, not
	the string "2".
	* acconfig.h (USE_MMALLOC, FORCE_MMCHECK): Add #undef.
	* configure: Regenerated.
	* config.in: Regenerated.
	* Makefile.in (MMALLOC_DIR, MMALLOC_SRC): Remove.
	(MMALLOC): Set using configure.
	(MMALLOC_CFLAGS): Set using configure.
	* config/i386/tm-linux.h (sys_quotactl): Define to 1 rather
	than just defining it.
	* mpw-make.sed: Undefine USE_MMALLOC rather than defining NO_MMALLOC.
	* utils.c (NO_MMALLOC): Use USE_MMALLOC instead.
	* objfiles.c: ditto.
	* defs.h: ditto.
	* config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Remove.
	* config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Remove.
	* config/i386/cygwin32.mh (MMALLOC_CFLAGS): Remove.
	* config/alpha/alpha-osf3.mh (MMALLOC_CFLAGS): Remove.
	* config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Remove.
	* gdbserver/Makefile.in (MMALLOC_*): Remove.
	* config/rs6000/rs6000.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
	* config/rs6000/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
	* config/powerpc/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
	* config/powerpc/aix.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
	* config/ns32k/ns32km3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
	* config/mips/mipsm3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
	* config/mips/decstation.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
	* config/m88k/cxux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
	* config/i386/xm-windows.h (NO_MMALLOC, NO_MMCHECK): Remove.
	* config/i386/i386mk.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
	* config/i386/i386m3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
	* config/i386/i386gnu.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
	* config/alpha/alpha-osf1.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
	* config/alpha/alpha-linux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
1998-01-14 04:28:29 +00:00
Fred Fish 2a426d3136 * gdbint.texinfo (Host Conditionals): Document change from
using NO_MMALLOC to it's inverse, USE_MMALLOC.
1998-01-14 04:09:54 +00:00
David Taylor 4d132e40f6 ChangeLog entry for changes committed Monday, 5 Jan. Wrote this on Monday,
but forgot to commit it.
1998-01-13 21:56:55 +00:00
Michael Snyder 8f05bc9557 Mon Jan 12 11:46:51 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
* config/m68k/tm-m68k.h (REGISTER_VIRTUAL_TYPE): make A0 thru A7
        default to void pointer type (so that their default radix is hex).
1998-01-12 23:41:59 +00:00
Nick Clifton ef40809d23 Sanitization for new ARM files. 1998-01-12 23:27:42 +00:00
Michael Snyder e21fb2aec6 Mon Jan 12 11:46:51 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
* symtab.c: move rbreak_command from no_class to class_breakpoint
          so it will be listed under "help breakpoints".
1998-01-12 19:49:03 +00:00
Stan Shebs 0a51a5afd6 * rdi-share/hostchan.c: Remove gettimeofday declaration. 1998-01-10 15:01:03 +00:00
Nick Clifton 3a9c3d120f Applied patches from Tony.Thompson@arm.com to implement the Angel remote
debugging interface and resurrected associated RDI files.
1998-01-08 11:12:39 +00:00
Mark Alexander 352f9e9dc7 * monitor.h (MO_PRINT_PROGRAM_OUTPUT): Define.
* monitor.c (monitor_wait): Echo program output.
	* dve3900-rom.c (_initialize_r3900_rom): Remove MO_HANDLE_NL flag,
	add MO_PRINT_PROGRAM_OUTPUT flag.
1998-01-05 23:41:46 +00:00