Commit Graph

4046 Commits

Author SHA1 Message Date
David Taylor 6981a588db changelog entries for gdb/13521. 1998-01-30 21:11:53 +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
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
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
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
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
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
Felix Lee 23f38c9ef9 * top.c (print_gdb_version): delete stutter. 1998-01-16 20:26:57 +00:00
Nick Clifton ed3e2cfec2 Applied patch from Tony.Thompson@arm.com 1998-01-15 20:33:03 +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
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
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
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
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
Mark Alexander 3435297a00 * configure.in: Double up brackets in shell case pattern. 1998-01-02 18:53:05 +00:00
Michael Snyder a26171caf4 Fri Jan 2 17:15:52 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
* Oops -- move gdbtk references into the appropriate ChangeLogs
1998-01-02 17:16:40 +00:00
Michael Snyder 99fa2de001 Fri Jan 2 17:06:05 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
* tracepoint.c (finish_tfind_command): improved algorithm for
        deciding when we've "stepped" into a new stack frame.
        (map_args_over_tracepoints): loop over tracepoint list "safely",
        since list elements may be deleted during loop.
        (read_actions): add actions to history list.
1998-01-02 17:09:12 +00:00
Michael Snyder 43b043cf65 Fri Jan 2 16:56:16 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
[From Keith Seitz  (kseitz@cygnus.com)]
        * actiondlg.tcl (change): handle '$' in register names.
        gdbtk.c (gdb_actions_command): extract and save step count
        from "while-stepping" command
1998-01-02 17:01:29 +00:00
Stan Shebs 6d0b229c9b Split the ChangeLog by year 1998-01-02 13:10:44 +00:00
Mark Alexander 896ccb317d * dsrec.c (load_srec): Check remotedebug flag when printing
debug info.
1997-12-31 11:47:19 +00:00
David Taylor 6b038bd9e6 add _siglongjmp to list of longjmp breakpoints. 1997-12-31 07:36:28 +00:00
Mark Alexander 7e9576e098 * dve3900-rom.c: New file to support Densan DVE-R3900/20 board.
* monitor.c (monitor_debug): Move to utils.c, rename to puts_debug.
	(monitor_write_memory, monitor_read_memory, monitor_insert_breakpoint,
	monitor_remove_breakpoint): Remove useless address bits if current
	monitor has MO_ADDR_BITS_REMOVE flag.
	* monitor.h (MO_ADDR_BITS_REMOVE): Define.
	* utils.c (puts_debug): Formerly monitor_debug from monitor.c;
	move here and make public.  Add better support for carriage returns.
	* defs.h (puts_debug): Declare.
	* dsrec.c (load_srec): Use puts_debug to print remotedebug information.
	Output header record correctly.
	(make_srec): Output a header record instead of a termination record
	if sect is non-NULL (value is ignored), but abfd is NULL.
	* config/mips/tm-tx39.h (DEFAULT_MIPS_TYPE): Remove definition.
	(REGISTER_NAMES): Define to add R3900-specific registers.
	* config/mips/tm-tx39l.h: Ditto.
	* config/mips/tx39.mt (TDEPFILES): Add dve3900-rom.o and support files.
	* config/mips/tx39l.mt: Ditto.
1997-12-29 21:50:10 +00:00
Stan Shebs 8c3bd6a40e * dsrec.c: Cosmetic improvements.
(make-srec): Change indexing of format and code tables to
	remove confusing empty entries.
1997-12-24 12:51:55 +00:00
Mark Alexander 138b5e6359 * remote-mips.c (_initialize_remote_mips): Fix DDB doc string. 1997-12-22 21:55:09 +00:00
David Taylor 36985eca91 improved end-of-stack handling. 1997-12-19 06:55:44 +00:00
Andrew Cagney d279563d53 From gavink, for shorter-than-int integer values, on big endian host
store in correct location.
1997-12-17 19:45:57 +00:00
Andrew Cagney 4dbdbfc4d3 o Fix code deleting psymtab entry from objfile's list.
Only worked if the first element in the list was
	being deleted.
o	When MAINLINE (reading main objectfile and need to
	clear out old data), change elfread.c so that the
	psymbol table is emptied once (in elf_symfile_read)
	instead of multiple times in each *_read_psymtab
	function.
o	For elf_symfile_read, load dwarf2 symbols last
	(so that they are searched for first).
o	In mdebug_psymtab_read, delete check to see if
	symbols for current source file already loaded.
	Test doesn't work for .h files.  Above change
	works better
1997-12-17 16:50:18 +00:00
Michael Snyder 7a880bf32d Wed Dec 17 10:47:05 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* tracepoint.c (set_raw_tracepoint): initialize addr_string
        to NULL; (trace_actions_command): call readline_begin_hook only
        if from_tty is true.
1997-12-17 10:49:19 +00:00
David Taylor 7165fd141e add sanitize markers 1997-12-17 10:39:58 +00:00
Mark Alexander 411a624cd1 * configure.tgt: Change little-endian tx39 target name to tx39l.
start-sanitize-tx19
	* configure.tgt: Change little-endian tx19 target name to tx19l.
end-sanitize-tx19
1997-12-16 20:10:36 +00:00
Mark Alexander 72495d1fdd Sanitize recent tic80 change. 1997-12-16 20:04:57 +00:00
Ian Lance Taylor dafec9dda1 * Makefile.in (LIBGUI): New variable.
(GUI_CFLAGS_X): New variable.
	(IDE_CFLAGS): Add $(GUI_CFLAGS_X).
	* configure.in: Add $(LIBGUI) to TCL_LIBS and CONFIG_DEPS.
	* configure: Rebuild.
1997-12-16 18:20:54 +00:00
Jeff Law 2f1d67ecf0 * remote-sim.c (gdbsim_open): Use "--architecture" instead of
ambigious short form.
1997-12-16 10:22:14 +00:00
David Taylor 7ae2b4337a back trace now works when using external memory and frameless functions; all
arguments are passed in args registers until we run out; finding saved regs
now has two offsets not just one doing double duty.
TARGET_READ_SP / TARGET_WRITE_SP are (temporarily?) commented out.
1997-12-16 07:43:26 +00:00
Andrew Cagney 02475394db When using sigaction() to install cntrl-c handler do not also use signal(). 1997-12-15 12:59:55 +00:00
Andrew Cagney e7ab2a476e (Mostly from Gavin Koch)
In dwarf2read.c, if the ABI is 32 bit and 64 bit addresses are encountered
discard the most significant 32 bits.
Use CORE_ADDR for address variables instead of long.
Add more explicit tx49 configur target.
Check/use sigaction/SA_RESTART in remote-sim.c
1997-12-15 12:38:05 +00:00