aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2000-06-04* win32-nat.c (safe_symbol_file_add_cleanup): Ensure that gdb_stderr is flushedChristopher Faylor4-148/+406
before deleting and restoring it. (safe_symbol_file_add): Ensure that gdb_stderr is flushed before reassigning it. (handle_load_dll): Split into two functions so that WFI can handle shared library events. (child_solib_loaded_library_pathname): New function. (child_clear_solibs): New function. Clears shared library list. (child_solib_add): New function. Adds shared library symbols. (dll_symbol_command): New function. Handles "dll-symbol" command. (info_dll_command): New function. Handles info "sharedlibrary" command. (handle_exceptions): Eliminate 'ignore_trap' argument. (get_child_debug_event): Eliminate two arguments. Return "pid" when appropriate. Break out on most events to allow WFI to handle stuff. (child_wait): Accomodate get_child_debug_event changes. (child_attach): Clear thread list and list of loaded dlls. (child_create_inferior): Clear list of loaded dlls. Use wait_for_inferior in a loop to look for first "trap". (child_resume): Avoid accessing a possibly-freed thread pointer. (_initialize_inftarg): Add "dll-symbols", "sharedlibrary", and "info dll", and "info sharedlibrary" commands. * config/i386/tm-cygwin.h: Add some shared library (aka DLL) hooks.
2000-06-03* win32-nat.c: Fix up gcc warnings throughout.Christopher Faylor5-245/+196
(handle_load_dll): Change DLL name to lower case. (handle_exception): Add a second argument indicating whether a breakpoint should be ignored. Return a 0 if the breakpoint was ignored. (get_child_debug_event): Pass argument to handle_exception to control whether a breakpoint should be ignored. (child_create_inferior): Use modern cygwin API. Explicitly clear last_sig. Pass FIRST_EXCEPTION to get_child_debug_event for detection of first breakpoint. * configure.in: Eliminate unneeded WINDRES/DLLTOOL tests left over after last change. * configure: Regenerate.
2000-06-03* configure.in: Detect correct versions of ranlib and windres whenChristopher Faylor3-206/+278
cross-compiling. * configure: Regenerate.
2000-06-02* configure.tgt: Add pattern for i[3456]86-*-netbsdelf*.J.T. Conklin5-2/+46
* config/i386/nbsdelf.mt: New file. * config/i386/tm-nbsdelf.h: New file. * config/i386/tm-nbsd.h: change include of tm-nbsd.h to the more explicit config/tm-nbsd.h.
2000-06-02* alphabsd-nat.c (supply_fpregset): Substract FP0_REGNUM fromMark Kettenis2-1/+6
register number when used as index into fpr_regs array.
2000-06-02Multiarch TARGET_FLOAT_FORMAT, TARGET_DOUBLE_FORMAT,Andrew Cagney8-71/+299
TARGET_LONG_DOUBLE_FORMAT. Update d10v.
2000-06-01* config/alpha/nm-fbsd.h (CANNOT_STEP_BREAKPOINT): Define.Mark Kettenis2-0/+7
2000-06-012000-06-01 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2-0/+21
* sol-thread.c (rw_common): Circumstances (eg. a bug in Sun's thread_db library) may cause this function to be called with an illegal address, in which case procfs_to_xfer_memory will return zero. Return an error code instead of looping forever.
2000-06-01More updates.Andrew Cagney2-1/+93
2000-06-01* configure.host: Add patterns for i[3456]86-*-netbsdaout*J.T. Conklin6-2/+62
and i[3456]86-*-netbsdelf*. * config/i386/nm-nbsdelf.h: New file. * config/i386/nbsdelf.mh: New file. * config/i386/nm-nbsd.h: change include of nm-nbsd.h to the more explicit config/nm-nbsd.h. * config/i386/tm-nbsd.h: change include of tm-i386bsd.h to tm-i386.h. (SIGTRAMP_START, SIGTRAMP_END, SIGCONTEXT_PC_OFFSET): Define. -------------------------------------------------------------------
2000-05-31* NEWS: Mention FreeBSD/Alpha and FreeBSD/i386 3.x and up as newMark Kettenis2-0/+12
native configurations.
2000-05-31* i386bsd-nat.c: Include "gregset.h".Mark Kettenis2-8/+17
(CANNOT_STORE_REGISTER): Define to cannot_fetch_register instead of CANNOT_FETCH_REGISTER, if not already defined. (supply_gregset): Call supply_register with NULL as its second argument instead of supplying our own zeroed out buffer. (fill_gregset): Copy contents of correct registers instead of the contents of register REGNO.
2000-05-31Revert PARAMS removal.Kevin Buettner2-4/+13
2000-05-31* configure.host, configure.tgt (alpha*-*-freebsd*): New entry.Mark Kettenis3-0/+3
2000-05-31Add support for FreeBSD/Alpha.Mark Kettenis7-0/+302
* alphabsd-nat.c, config/alpha/fbsd.mh, config/alpha/fbsd.mt, config/alpha/nm-fbsd.h, config/alpha/tm-fbsd.h, config/alpha/xm-fbsd.h: New files.
2000-05-31Forgotten ChangeLog entry from an earlier commit.Michael Snyder1-0/+18
2000-05-31 * MAINTAINERS: Add myself to 'Write After Approval' listPierre Muller2-0/+6
2000-05-31Import texinfo.tex from texinfo-4.0.Andrew Cagney5-4/+77
Add support for ``make pdf'' to the gdb/doc directory using pdftex.
2000-05-30Add MAINTAINERS entries for Mac OS X / Objective-C code to be contributed by ↵Klee Dienes1-0/+4
Apple.
2000-05-30Further re-arange into distinct sections.Andrew Cagney2-265/+509
2000-05-30* gdbarch.sh: Add field ``postdefault''. Rename fieldsAndrew Cagney2-90/+136
``startup'' and ``default'' to ``staticdefault'' and ``predefault''. Fix initialization of valid_p. Create/compare gdbarch.log.
2000-05-30Move/rename GDB_GREGSET_T definitions for solaris 2.Andrew Cagney3-7/+14
2000-05-29Purge symtab of make_cleanup_func.Andrew Cagney3-6/+27
Pass correct arg to make_cleanup_free_search_symbols.
2000-05-28Fix GDB_GREGSET_T, GDB_FPREGSET_T typos.Kevin Buettner2-2/+6
2000-05-28PARAMS removal.Kevin Buettner325-4991/+4188
2000-05-262000-05-26 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder23-61/+131
* gregset.h: New file. Typedefs for gdb_gregset_t and gdb_fpregset_t, prototypes for supply_gregset and friends. * procfs.c: Include gregset.h. Delete local prototypes for supply_gregset etc., and local typedef gdb_gregset_t etc. * sol-thread.c: Include gregset.h, delete local prototypes, add appropriate casts to gdb_gregset_t. * uw-thread.c, lin-thread.c, core-sol2.c, core-regset.c, sparc-tdep.c, ptx4-nat.c, ppc-linux-nat.c, mipsv4-nat.c, m88k-nat.c, m68klinux-nat.c, m68k-tdep.c, irix5-nat.c, irix4-nat.c, ia64-linux-nat.c, i386v4-nat.c, cxux-nat.c, arm-linux-nat.c, alpha-nat.c: Include gregset.h. * config/nm-linux.h: Define GDB_GREGSET_T, GDB_FPREGET_T. * config/sparc/tm-sun4sol2.h: Ditto.
2000-05-26Fix bitrot in tui-file.c.Andrew Cagney2-2/+16
2000-05-26Configure TUI to use <ncurses.h> when available.Andrew Cagney8-331/+359
2000-05-25Replace SKIP_SOLIB_RESOLVER stub with something that works.Scott Bambrough3-4/+100
2000-05-25 Scott Bambrough <scottb@netwinder.org> * arm-linux-tdep.c (find_minsym_and_objfile): New. (skip_hurd_resolver): New. (arm_linux_skip_solib_resolver): New. (arm_skip_solib_resolver): Removed. * config/arm/tm-linux.h (SKIP_SOLIB_RESOLVER): Changed to use arm_linux_skip_solib_resolver.
2000-05-25* acconfig.h (HAVE_R_FS, HAVE_R_GS): Add.Mark Kettenis5-330/+420
* configure.in: Add checks for r_fs and r_gs members of `struct reg'. * config.in, configure: Regenerated.
2000-05-25 * ser-go32.c: Remove PARAMS.Eli Zaretskii2-9/+13
2000-05-25Replace <sys/dir.h> (and <dirent.h>) with "gdb_dirent.h".Andrew Cagney8-192/+257
2000-05-25Re-generate config.in.Andrew Cagney2-3/+7
2000-05-25File rename tweeks.Andrew Cagney2-0/+9
2000-05-25Have TUI use the same configury mechanism as MI.Andrew Cagney7-283/+209
2000-05-25Update JimI's e-mail addres.Andrew Cagney3-16/+18
Update TODO - FreeBSD mostly fixed.
2000-05-24Add support for FreeBSD/i386 ELF.Mark Kettenis7-28/+389
* i386bsd-nat.c: New file. * config/i386/tm-fbsd.h (HAVE_I387_REGS): Define. Include "i386/tm-i386.h" instead of "i386/tm-i386b.h". (NUM_REGS): Remove redefinition. (USE_STRUCT_CONVENTION): Define. (i386_float_info): Remove prototype. (FLOAT_INFO): Remove define. (JB_ELEMENT_SIZE): Define to 4. (JB_PC): Define to 0. (GET_LONGJMP_TARGET): Define. (SIGTRAMP_START, SIGTRAMP_END): Define. (SIGCONTEXT_PC_OFFSET): Define. (IN_SOLIB_CALL_TRAMPOLINE): Only define if !SVR4_SHARED_LIBS * config/i386/nm-fbsd.h (PTRACE_ARG3_TYPE): Define to caddr_t. (FETCH_INFERIOR_REGISTERS): Define. (ATTACH_DETACH): Define. (kernel_u_size): Remove PARAMS. (register_u_addr): Use CORE_ADDR in prototype where appropriate. Remove PARAMS. (SVR4_SHARED_LIBS) [FREEBSD_ELF || __ELF__ && !FREEBSD_AOUT]: Define. [SVR4_SHARED_LIBS]: Include "elf/common.h". Only define aliases for struct members from <link.h> if !SVR4_SHARED_LIBS. * config/i386/xm-fbsd.h: New file. * config/i386/fbsd.mt (TDEPFILES): Remove solib.o. * config/i386/fbsd.mh (NATDEPFILES): Remove i386b-nat.o. Add core-regset.o i387-nat.o i386bsd-nat.o.
2000-05-242000-05-24 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2-18/+18
* findvar.c (value_from_register): Factor code, simplify logic.
2000-05-242000-05-17 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2-5/+1
* config/sparc/tm-sun4sol2.h: Turn on multi-arch. * sparc-tdep.c (gdb_print_insn_sparc): Remove temp. multi-arch hack.
2000-05-242000-05-18 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2-4/+10
* gdb.base/annota1.exp (annotate-signal-handler-caller): Relax the regular expression a little, make it pass on Solaris 8.
2000-05-242000-05-17 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2-1/+7
* config/sparc/tm-sun4sol2.h: Turn on multi-arch. sparc-tdep.c (gdb_print_insn_sparc): Remove temporary multi-arch hack.
2000-05-24 * gdb.texinfo: Remove duplicate @syncodeindex. From BrianEli Zaretskii2-4/+6
Youmans.
2000-05-24et al. not et.al.Andrew Cagney2-2/+7
2000-05-24* config/i386/nbsd.mt (TDEPFILES): Move solib.o from here...J.T. Conklin10-27/+200
* config/i386/nbsd.mh (NATDEPFILES): ...to here. * config/m68k/nbsd.mt (TDEPFILES): Move solib.o from here... * config/m68k/nbsd.mh (NATDEPFILES): ...to here. * config/ns32k/nbsd.mt (TDEPFILES): Move solib.o from here... * config/ns32k/nbsd.mh (NATDEPFILES): ...to here. * config/powerpc/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o. * configure.tgt (powerpc-*-netbsd*): add gdbserver to configdirs. * gdbserver/low-nbsd.c (initialize_arch): Define for PPC. (fetch_inferior_registers): Likewise. (store_inferior_registers): Likewise. * gdbserver/low-nbsd.c (fetch_inferior_registers): Handle X86 floating point registers. (store_inferior_registers): Likewise. -------------------------------------------------------------------
2000-05-24Remove quotes from arround for loop arg.Andrew Cagney2-1/+6
2000-05-23* i387-nat.h, i387-nat.c: New files.Mark Kettenis3-0/+166
2000-05-23* config/sparc/nm-linux.h: Include config/nm-linux.h.Alexandre Oliva3-1/+10
* config/powerpc/nm-linux.h: Likewise.
2000-05-23one line fix by Gregory Lielens <Gregory.Lielens@fft.be> to fix a problemDavid Taylor2-1/+6
with the printing of complex numbers (it would print the real part twice).
2000-05-23Add make_cleanup_close() function.Andrew Cagney3-0/+20
2000-05-23Add -Wuninitialized.Andrew Cagney3-3/+9