aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1998-04-15 * sparc-tdep.c (sparc_extract_struct_value_address): Make itMark Alexander4-31/+194
work correctly on little-endian hosts. (sparc_push_arguments): New function. (gdb_print_insn_sparc): New function. (_initialize_sparc_tdep): Make gdb_print_insn_sparc the default disassembler, so that SPARClite-specific instructions will be recognized. * sparcl-tdep.c (readchar): Print debugging information. (debug_serial_write): New function, a replacement for SERIAL_WRITE that prints debugging information. * config/sparc/tm-sparc.h (PUSH_ARGUMENTS): Define. (sparc_push_arguments): Declare.
1998-04-14 * gdbcfgxref (xref_menu): Call new regex and wild card searchesJohn Metzler1-0/+5
Now you can type in a specific triple like mips64-vr4320-elf or somthing like mips*.h (triple_search) wildcardsearch): The new functions
1998-04-14Tue Apr 14 15:43:49 1998 John Metzler <jmetzler@cygnus.com>John Metzler4-1/+37
* configure.tgt: Switch over to use tm-4320.h. Since I switched to MIPS EABI the fixes are no longer backward compatible with 4300. * tm-vr4320.h: Added * vr4320.mt: Added
1998-04-14* Changed one line in one C++ test case to hopefullyFrank Ch. Eigler1-0/+5
zap one group of persistent gdb testomat failures. Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com> * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass more rigorous EGCS C++ error checking.
1998-04-13Mon Apr 13 16:17:52 1998 Martin M. Hunt <hunt@cygnus.com>Martin Hunt2-1/+6
* gdbtk.c (gdb_loadfile): Change fstat() call to stat(). Needed because you can't convert a FILE* to an fd.
1998-04-13Mon Apr 13 16:28:07 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni4-1/+92
* utils.c: (warning) added call to warning_hook * source.c: (find_source_lines) modified to call warning in case of source vs. executable time stamp mismatch. Simplified object file check. Initialized mtime to 0. * defs.h: added warning_hook prototype * top.c: added warning_hook prototype. * gdbtk.c: (perror_with_name_wrapper) new function to call perror_with_name safely. (gdb_loadfile) added source vs. executable time stamp check. (gdbtk_warning) new function to pass a warning message to the gui. (gdbtk_ignorable_warning) new function to pass a warning to the gui. Used only for the src. vs. exec check. (gdbtk_init) added warning_hook added include <sys/stat.h>
1998-04-13> * gdb.texinfo (hbreak, watch): Fix typo, "date" -> "data".Fred Fish2-2/+6
1998-04-13 * gdbtk.c (gdbtk_start_timer): Include on all platforms. DecreaseKeith Seitz2-162/+33
timer interval a little. (gdbtk_stop_timer): Include on all platforms. (gdbtk_wait): No more signals! Use a timer on all platforms to keep the GUI alive. (gdbtk_init): Remove FIOASYNC and all x_fd references. Now using timers on all platforms.
1998-04-13 * config/sparc/tm-sun4os4.h (IS_STATIC_TRANSFORM_NAME): Add missingKeith Seitz2-0/+6
definition.
1998-04-11Fri Apr 10 22:36:28 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)Jason Molenda6-10/+123
Update support for x86 Solaris 2. * config/i386/tm-i386sol2.h, nm-i386sol2.h: New configuration files for x86 Solaris 2. * config/i386/i386sol2.mt, i386sol2.mh: Use them. * config/sparc/tm-sun4sol2.h (PROCFS_GET_CARRY): New macro, extract carry flag from a given regset. (IS_STATIC_TRANSFORM_NAME): New macro, check if a symbol name is a SunPro transformed name. * i386-tdep.c (sunpro_static_transform_name): New function to extract the source name from a SunPro transformed name. * inferior.h (procfs_first_available, procfs_get_pid_fd): Add prototypes. * infrun.c (wait_for_inferior): Handle breakpoint hit in signal handler without intervening stop in sigtramp. * procfs.c (procfs_lwp_creation_handler): Use PROCFS_GET_CARRY instead of direct access to the status register. (procfs_get_pid_fd): New function, returns procfs fd for a given pid. * sol-thread.c (ps_lgetLDT): New function, returns LDT for a given lwpid. (sol_find_new_threads): Handle failed libthread_db initialization gracefully. * stabsread.c (define_symbol): Use IS_STATIC_TRANSFORM_NAME to check for a SunPro transformed symbol name.
1998-04-11Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)Jason Molenda1-0/+17
* gdb.base/help.exp: Clean up `help set args' and `help show args' tests. * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling function when asleep. * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment for i*86 Linux and SVR4 signal handling problems. Remove linux xfail for `next to handler in signals_tests_1', fixed by recent infrun.c change. Limit backtrace to 10 frames to avoid timeout problems with infinite stack backtraces. Adjust expect pattern in `handle all print' test to match Apr 28 1997 target.[ch] change.
1998-04-10Fri Apr 10 15:48:10 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda2-1/+20
* gdbtk.c (gdb_listfiles): Allocate space for 'files' dynamically. Harumph, my change got lost in the foundry->devo merge.
1998-04-10 * utils.c (fmthex): A formatting function for hexdumpsJohn Metzler2-5/+38
1998-04-10Fri Apr 10 10:35:35 1998 John Metzler <jmetzler@cygnus.com>John Metzler1-0/+20
* mips-tdep.c (unpack_mips16): Fixed instruction decoding, lots of bit pattern interpretations. mips_fetch_instruction does not work for 16 bit instructions. Some confusion remains about sign extension in backward branches. (mips32_relative_offset): Sign extension (mips32_next_pc): Major debugging, bit pattern interpretation (print_unpack): debugging printf (fetch_mips_16): new funtion, key on PC low bit, not symbol table (mips16_next_16): Initial major debugging of this function. Lots of bit pattern mistakes. (mips_next_pc): key on low bit of PC, not symbol table. * symfile.c(generic_load) : Added a download verification which reads back the loade code. Download chunk size is now a defined macro. Fixed a bug in which downloading slips into loading one byte at a time. Lower level functions in monitor.c can load long sequences of bytes and make use of these fixups. Referencing bfd-start_address directly was incorrectly getting zero for start.
1998-04-09 * mips-tdep.c (do_fp_register_row): Use alloca rather than arraysIan Lance Taylor2-2/+11
with dynamic size.
1998-04-09Thu Apr 9 14:20:59 1998 Martin M. Hunt <hunt@cygnus.com>Martin Hunt2-1/+4
* gdbtk.c (gdbtk_init): Remove redundant variable "IDE".
1998-04-09Wed Apr 8 19:21:42 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda2-2/+6
* top.c (print_gdb_version): Print 1998 now.
1998-04-09Wed Apr 8 19:14:11 1998 John Metzler <jmetzler@cygnus.com>John Metzler1-0/+1
* .Sanitize (Things-to-lose): gdbcfgxref * gdbcfgxref: Corelates target triples, mk, mt files, target dependent headers and sources.
1998-04-08Ack, forgot to update copyright to 1998.Jason Molenda1-1/+1
1998-04-08Wed Apr 8 16:57:22 1998 Philippe De Muyter <phdm@macqel.be>Jason Molenda2-14/+41
* source.c: Remove obsolete decl of strstr().
1998-04-08Wed Apr 8 16:47:33 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda2-29/+9
* solib.c (solib_create_inferior_hook): Remove Ulrich Drepper's patch of March 23 1998. * breakpoint.c (breakpoint_re_set_one): Remove Ulrich Drepper's patch of March 23 1998.
1998-04-07end of an eraStan Shebs2-2808/+6
1998-04-07 * mdebugread.c (parse_partial_symbols): If this is an .mdebugDawn Perchik2-110/+208
section in an ELF file, override a symbol's ECOFF section with its ELF section. Also, fix stabs continuation where a stabs string continues for more than one continuation.
1998-04-07 * gdbtk.c (gdb_cmd): NEVER call the busy, update, and idle hooks.Keith Seitz2-8/+9
1998-04-05Declare array using MAX_REGISTER_RAW_SIZE, not REGISTER_RAW_SIZE(X)Andrew Cagney2-20/+49
1998-04-04 * infrun.c: Fix prototype of signals_info to match static funtion.Dawn Perchik2-19/+80
1998-04-03Thu Apr 2 16:52:44 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda2-56/+62
* LRS: Reformat a bit to keep text under 80 columns.
1998-04-03 * gdb.texinfo: Add some credits, mention bug monitor.Stan Shebs3-8/+33
* remote.texi: Mention mips monitor targets. * gdbint.texinfo: Describe SP_REGNUM, STEP_SKIPS_DELAY.
1998-04-02* Fixes for PR 14571.Frank Ch. Eigler1-0/+7
Thu Apr 2 12:47:41 1998 Frank Ch. Eigler <fche@cygnus.com> * sol-thread.c (sol_thread_store_registers): Save & restore new value of single updated register to prevent accidental clobbering.
1998-04-02 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): Define.Mark Alexander3-0/+12
* config/sparc/sparclite.mt: Link in the erc32 simulator.
1998-04-02Wed Apr 1 16:30:49 1998 Ian Dall <Ian.Dall@dsto.defence.gov.au>Jason Molenda7-8/+528
* ns32k-tdep.c (flip_bytes, ns32k_localcount, ns32k_get_enter_addr, sign_extend): Restore functions mysteriously deleted. * ns32knbsd-nat.c: New (?) file to support fetching and storing registers on NetBSD hosts. * nbsd.mh (NATDEPFILES): put ns32knbsd-nat.o instead of ns32k-nat.o * ns32km3-nat.c (reg_offset): Get order of floating point registers correct. Add extra 32382 register offsets. (REG_ADDRESS): define to point at correct part of thread state. Use calls to "warning" instead of "message". * tm-nbsd.h, tm-ns32km3.h (REGISTER_NAMES, NUM_REGS, REGISTER_BYTES, REGISTER_BYTE): redefine allowing for 32382 fpu registers.
1998-04-01Wed Apr 1 13:43:07 1998 Philippe De Muyter <phdm@macqel.be>Jason Molenda2-0/+7
* NEWS: m68k-motorola-sysv host support added. * coffread.c (coff_start_symtab): Accept the filename as an argument, set it here. Callers updated.
1998-04-01Make the SR, FSR and FIR registers 32 bits regardless of the target.Andrew Cagney3-10/+23
1998-04-01Fix Thumb breakpoints and diassembly.Nick Clifton2-48/+144
1998-04-01* d10v-tdep.c (d10v_extract_return_value): Wierd. GCC wants to returnAndrew Cagney3-2/+20
odd sized register quantities with only half of the first register used! * config/d10v/tm-d10v.h (USE_STRUCT_CONVENTION): Use stack when size > 8.
1998-03-31 * gdbtk.c (gdb_loadfile): Don't use the return result from sprintf, whiKeith Seitz2-4/+21
ch returns a char * under SunOS4.
1998-03-31whoopsIan Lance Taylor1-8/+0
1998-03-31 * configure.in: Add $(LIBIDETCL) as well as $(LIBIDE) ifIan Lance Taylor4-4/+20
--enable-ide. * Makefile.in (IDE_CFLAGS_X): Add -I for libidetcl/src. (LIBIDETCL): Define. * configure: Rebuild.
1998-03-31 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; waitBob Manson2-9/+61
for a newline from gdb before continuing. (default_gdb_exit): Just look for y or n.
1998-03-31Mon Mar 30 16:42:12 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda10-174/+2571
* rdi-share/Makefile.am, rdi-share/aclocal.m4, rdi-share/configure: New files. * rdi-share/configure.in: Rewritten to be an autoconf input file. * rdi-share/Makefile.in, rdi-share/configure: Generated by automake/autoconf. * rdi-share/dbg_hif.h, etherdrv.c, hostchan.c: Use autoconf tests to check environment. automake/autoconfiscate rdi-share. We don't use the checks that autoconf provides too much for now, but it'll be easier to use them if any problems crop up in the future. (rdi-share/ is foreign code and it probably isn't worth spending any more time than necessary messing with it.)
1998-03-30 * gdbtk.c (gdb_get_tracepoint_info): Change formatting of address.Keith Seitz2-2/+9
(tracepoint_exists): Remove code which confuses assembly traces.
1998-03-29 * tracepoint.c (trace_start_command): Set trace_running_p.Keith Seitz2-0/+7
(trace_stop_command): Clear trace_running_p.
1998-03-28 * NEWS: Update for 4.17 release.Stan Shebs2-2/+111
1998-03-28 * gdbtk.c (gdb_cmd): If argc > 2, assume that the busy and idle hooksKeith Seitz2-3/+20
should not be called.
1998-03-27Thu Mar 26 22:29:28 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni5-3/+73
* gdbtk.c: (gdb_trace_status) new function. (gdbtk_init) added command "gdb_is_tracing". (tracepoint_notify) added passcount information. * tracepoint.c (trace_status_command): Recognize a boolean return value from the stub to indicate whether trace experiment is running. Export this value as a global state variable (trace_running_p) for use by the GUI. (from Michael Snyder) (trace_pass_command) added call to modify_tracepoint_hook. * tracepoint.h export trace_running_p
1998-03-26Thu Mar 26 12:00:35 1998 Martin M. Hunt <hunt@cygnus.com>Martin Hunt2-55/+94
* gdbtk.c (gdbtk_fputs): Insert fencepost. (gdb_loc): Correct pc calculation. (gdb_immediate_command): Return if a load is in progress. (gdb_cmd): Return if a load is in progress. (target_stop_wrapper): New function. (gdb_stop): Call target_stop_wrapper. (x_event): Add fencepost and optimize load cancel check. (gdbtk_start_timer): Set up structs only once. (gdbtk_stop_timer): Just use preset structs to set timer parameters. (gdb_loadfile): If file cannot be loaded, return error message. (gdb_loadfile): Add space before tab so that lines without a '-' can later be changed to have one.
1998-03-25Wed Mar 25 14:08:51 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-3/+10
* gdbtk.c (gdbtk_pre_add_symbol): Use Tcl_merge to form Tcl commands.
1998-03-25* As suggested by crash, made --with-sim-gpu2 option active only on -sky- ↵Frank Ch. Eigler2-20/+28
target.
1998-03-24 * Makefile.in: Derive SHELL from configure.Stu Grossman8-109/+255
* config/d10v/d10v.mt config/d30v/d30v.mt config/m32r/m32r.mt config/mn10200/mn10200.mt config/mn10300/mn10300.mt : Remove -lm from SIM. This prevents dependency checking of -lm (under NT native builds). (It is automatically added by configure if it exists.) * doc/configure mswin/configure nlm/configure testsuite/gdb.base/configure testsuite/gdb.c++/configure testsuite/gdb.chill/configure testsuite/gdb.disasm/configure testsuite/gdb.stabs/configure testsuite/gdb.threads/configure: Regenerate with autoconf 2.12.1 to fix shell issues for NT native builds.
1998-03-24Mon Mar 23 18:10:57 1998 Ulrich Drepper (drepper@cygnus.com)Jason Molenda1-0/+5
* solib.c (solib_create_inferior_hook): Rewrite previous change to check the type of file via BFD.