aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1998-04-23Wed Apr 22 21:17:35 1998 Christopher Faylor <cgf@cygnus.com>Christopher Faylor2-0/+33
* gdbtk.c (_initialize_gdbtk): add cygwin32 specific code to allow `gdb -nw' to work when specified specified from a windows console-mode command line.
1998-04-22 * configure: Rebuilt.Tom Tromey4-130/+1833
* configure.in: Call CY_GNU_GETTEXT. * Makefile.in (top_builddir): New macro. (INTL): Define to @INTLLIBS@. (INTL_DEPS): New macro. (CDEPS): Reference INTL_DEPS, not INTL.
1998-04-22 * txvu-tdep.c (txvu_print_insn): Fix thinko.Doug Evans1-0/+6
1998-04-22Change "linux" usage to make rms usage + pick up jlimke's configure.inJason Molenda1-129/+154
change from yesterday.
1998-04-22 Handle missing shared libraries during the examination of a corePeter Schauer4-28/+59
dump gracefully. * solib.c (find_solib): Use catch_errors around call to solib_map_sections. Use warning instead of error if reading of the shared library name fails. (solib_map_sections): Change return and argument types to make it callable from catch_errors. (symbol_add_stub): Avoid GDB core dump if solib->abfd is NULL. * irix5-nat.c, osfsolib.c (xfer_link_map_member, solib_map_sections, symbol_add_stub): Ditto.
1998-04-22Add intl libraryMichael Meissner2-7/+27
1998-04-22Humoring RMS by saying "GNU/Linux" instead of just "Linux"Stan Shebs9-14/+16
1998-04-22 * gdb.texinfo (EDITION, DATE): Update and change to use ordinalsStan Shebs2-7/+12
for the edition instead of confusing GDB-version-like numbers.
1998-04-21Add configure option --with-sim-funit for sim & gdb.James Lemke2-0/+19
1998-04-21Add a "keep-vr4320" section so that tm-vr4320.h and vr4320.mt areJason Molenda1-0/+6
removed by default.
1998-04-21Add ns32knbsd-nat.c to things-to-keep.Jason Molenda1-11/+12
1998-04-21Add branches.c.Jason Molenda1-0/+1
1998-04-21Keep cygmon.exp.Jason Molenda1-2/+3
1998-04-21add i386sco5.mt, nm-i386sol2.h, tm-i386sco5.h, tm-i386sol2.hJason Molenda1-0/+4
1998-04-21* MIPS CPU-specific dissasembly extensions. Now TM_PRINT_INSN_MACH from tm.hFrank Ch. Eigler3-2/+465
sets a default mach for disassembly, just like sparc port. c.f. PR 15371. Tue Apr 21 11:20:54 1998 Frank Ch. Eigler <fche@cygnus.com> * mips-tdep.c (gdb_print_insn_mips): Disassemble MIPS instructions with subtarget-specific `mach', rather than fixed default. * config/mips/tm-mips.h (TM_PRINT_INSN_MACH): New macro, default disassembly `mach'. start-sanitize-r5900 * config/mips/tm-r5900.h (TM_PRINT_INSN_MACH): Override. end-sanitize-r5900 start-sanitize-sky * config/mips/tm-txvu.h (TM_PRINT_INSN_MACH): Override. end-sanitize-sky
1998-04-20Mon Apr 20 15:35:03 1998 Philippe De Muyter <phdm@macqel.be>Jason Molenda1-1/+1
* coffread.c (decode_base_type): Treat a long field with size greater than TARGET_LONG_BIT as long long. * values.c (value_from_longest): Print code value in error message.
1998-04-20Mon Apr 20 15:32:21 1998 Mark Kettenis <kettenis@phys.uva.nl>Jason Molenda2-1/+8
* gdb/gdb_string.h (strdup): Declare only if not defined as a macro. Mark glibc development versions are defining strdup as a macro and the prototype hosees it. Either way, this patch shouldn't cause problems.
1998-04-20Mon Apr 20 14:18:45 1998 J. Kean Johnston <jkj@sco.com>Jason Molenda5-11/+269
* procfs.c: Added replacement macros for LWP stuff. Fixed support for UnixWare / SVR4.2MP targets and any targets which use multi-file /proc entries. Fixed support for hardware watchpoints. * solib.c: SCO needs some of the same code as SunOS. Change preprocessor conditionals. * config/i386/i386sco5.mt: New file. * config/i386/tm-i386sco5.h: New file. * config/i386/i386sco5.mh (NATDEPFILES): add i386v-nat.o. * config/i386/nm-i386v42mp.h (TARGET_HAS_HARDWARE_WATCHPOINTS): define. Add other macros for hardware assisted watchpoints. * config/i386/nm-i386sco5.h: Correct attributions. (TARGET_HAS_HARDWARE_WATCHPOINTS): define. * config/i386/nm-linux.h (target_remote_watchpoint): Pass 'type' through to i386_insert_watchpoint. Mon Apr 20 14:12:30 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) * infrun.c (wait_for_inferior): Don't add signalled processes as new threads. * procfs.c (wait_fd): Note if LWP has exited. (procfs_wait): use GETPID to get process ID. NOTE: I didn't commit Kean's changes to configure.host/configure.tgt yet because they are kind of bogus and I'm punting back to him to let him figure out what he's trying to do. So configuring for UnixWare may not work just yet.
1998-04-18Added sparc86x support.Stan Cox2-1/+6
1998-04-16Thu Apr 16 13:13:24 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda2-0/+10
* rdi-share/etherdrv.c (EthernetWrite): Use strerror to get error string if in an ANSI C-ish environment.
1998-04-16Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>John Metzler1-0/+113
* gdb.base/branches.c: Code with lots of loops and subroutines. Used to test gdbs ability to single step through PC changes, especially to test mips-tdep.c:mips_next_pc
1998-04-16 * sparc-tdep.c (SPARC_HAS_FPU): Define.Mark Alexander2-33/+25
(sparc_extract_return_value): New function, required to handle machines without floating point. (sparc_store_return_value): Ditto. * config/sparc/tm-sparc.h (EXTRACT_RETURN_VALUE): Call sparc_extract_return_value instead of using inline code. (sparc_extract_return_value): Declare. (STORE_RETURN_VALUE): Call sparc_store_return_value instead of using inline code. (sparc_store_return_value): Declare.
1998-04-15Wed Apr 15 12:19:42 1998 Martin M. Hunt <hunt@cygnus.com>Martin Hunt2-3/+6
* solib.c (enable_break): Only call warning once instead of three times.
1998-04-15Reflect departures of old gdbtk versionsStan Shebs1-1/+1
1998-04-15End of another (shorter :-) ) era. Now only gdbtcl2 has a gdbtk interface.Stan Shebs1-0/+5
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