aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2000-03-07From Tom Tromey <tromey@cygnus.com> and Keith Seitz <?>:Jim Blandy4-8/+137
* minsyms.c: #include <ctype.h>, for msymbol_hash_iw. (compact_minimal_symbols): Added `objfile' argument. Put symbols in the objfile's hash table. (install_minimal_symbols): Put symbols in the objfile's demangled hash table. (lookup_minimal_symbol): Use hash table to find symbol in objfile. (msymbol_hash_iw, msymbol_hash, add_minsym_to_hash_table): New functions. (prim_record_minimal_symbol_and_info): Initialize the hash link fields of the new minimal symbol. * symtab.h (struct minimal_symbol): New fields `hash_next', `demangled_hash_next'. (msymbol_hash_iw, msymbol_hash, add_minsym_to_hash_table): Declare. * objfiles.h (MINIMAL_SYMBOL_HASH_SIZE): New define. (struct objfile): New fields `msymbol_hash', `msymbol_demangled_hash'.
2000-03-062000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni4-1/+91
* mi-cmds.h: Export mi_cmd_data_write_register_values. * mi-cmds.c (mi_cmds): Implement data-write-register-values with mi_cmd_data_write_register_values. * mi-main.c (mi_cmd_data_write_register_values): New function. Write a value into a register.
2000-03-062000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-59/+70
* gdbmi.texinfo: Update data-disassemble documentation.
2000-03-062000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni4-11/+24
* mi-disassemble.exp: Don't assume numbers for the offset values. They can be different depending on the architecture. * mi-watch.exp (test_watchpoint_triggering): In same cases the type can be 'hw wathcpoint' not just 'watchpoint'. Adjust for that. * basics.c (callee4): Make the function return something, otherwise the return value is undefined.
2000-03-062000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-3/+5
* mi-basics.exp: Comment out test for a still unimplemented operation.
2000-03-062000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-127/+62
* mi-disassemble.exp: Rewrite most of the tests to conform to new disassemble interface.
2000-03-06*** empty log message ***Jim Blandy1-0/+4
2000-03-06Doc fix.Jim Blandy1-4/+4
2000-03-062000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-2/+12
From Eli Zaretskii <eliz@is.elta.co.il>: * event-loop.c (poll_timers): Don't compare delta.tv_sec with zero, since time_t might be unsigned.
2000-03-062000-03-06 Mark Kettenis <kettenis@gnu.org>Mark Kettenis2-17/+37
* i386-linux-nat.c (supply_fpregset): Mask off the reserved bits in *FPREGSETP. (convert_to_fpregset): Don't touch the reserved bits in *FPREGSETP.
2000-03-05Double Oops! I forgot the regenerated configure too.Mark Kettenis1-319/+341
2000-03-05Oops, forgot to save ChangeLog before commit.Mark Kettenis1-0/+23
2000-03-052000-03-05 Mark Kettenis <kettenis@gnu.org>Mark Kettenis4-2/+234
Allow GDB to run on Linux 2.0 again. * config.in: Add HAVE_PTRACE_GETREGS. * configure.in: Check if <sys/ptrace.h> defines PTRACE_GETREGS. * configure: Regenerated. * config/i386/nm-linux.h (CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): New defines. * i386-linux-nat.c (have_ptrace_getregs): New variable. (PTRACE_XFER_TYPE, CANNOT_FETCH_REGISTER, fetch_register, old_fetch_inferior_registers, CANNOT_STORE_REGISTER, store_register, old_store_inferior_registers): Copied over from `inptrace.c' as a temporary measure. (fetch_regs, store_regs, fetch_fpregs, store_fpregs): Conditionalize on HAVE_PTRACE_GETREGS. Define stubs if HAVE_PTRACE_GETREGS isn't defined. (fetch_regs): Reset `have_ptrace_getregs' if ptrace call fails with EIO. (fetch_inferior_registers, store_inferior_registers): Fall back on the method use in `infptrace.c' (by calling old_fetch_inferior_registers and old_store_inferior_registers) if `have_ptrace_getregs' isn't set.
2000-03-052000-01-29 Mark Kettenis <kettenis@gnu.org>Mark Kettenis2-193/+230
* i386-linux-nat.c: Use elf_gregset_t and elf_fpregset_t instead of gregset_t and fpregset_t. Those are the only names that are guaranteed to specify the right types for all supported Linux systems out there. Various doc fixes and gratitious local variable renames, all in an attempt to stress similarities between the code and unify the terminology used. Use ISO-C all over. (regmap): Remove trailing comma. (FPREG_ADDR): Renamed from FPREGSET_T_FPREG_ADDR. (convert_to_gregset): Make static. Remove GDB_REGS argument. It is unnecessary and wasn't used anyway. All callers changed. (convert_to_fpregset, convert_to_xfpregset): Likewise. (fetch_regs, store_regs): Remove unused variable `regno'. (fill_fpregs): If REGNO is not -1, only update the specified register. (fetch_core_registers): Renamed from i386_linux_fetch_core_registers. There is no need for a unique name since the function is static anyway. (linux_elf_core_fns): Renamed from i386_linux_nat_core_functions since it is more descriptive.
2000-03-05Expand readline/ maintainers.Andrew Cagney2-2/+10
2000-03-042000-03-04 Mark Kettenis <kettenis@gnu.org>Mark Kettenis3-48/+176
Fix support for Linux/i386 signal trampolines. The old approach didn't work for Linux 2.2 and beyond, and didn't work with recent versions of the GNU C library. * i386-tdep.c (LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0, LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): New defines. (linux_rt_sigtramp_code): New variable. (LINUX_RT_SIGTRAMP_LEN): New define. (i386_linux_rt_sigtramp_start): New function. Detect start of signal trampolines for RT signals. (i386_linux_sigtramp): Removed. (i386_linux_in_sigtramp): New function. (i386_linux_sigcontext_addr): New function. Recognize the names of the signal tranmpolines used by recent versions of the GNU C library, and add support for RT signals. (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET): New defines. Moved here from config/i386/tm-linux.h. (i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp): Reimplement in terms of i386_linux_sigcontext_addr. * config/i386/tm-linux.h (LINUX_SIGCONTEXT_SIZE): Removed. (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET): Moved to i386-tdep.c. (IN_SIGTRAMP): Redefine to call i386_linux_in_sigtramp.
2000-03-04Re-do checkin by Alexandre Oliva <oliva@lsd.ic.unicamp.br>. PointedAndrew Cagney1-1/+2
out maintainer rules.
2000-03-04* Makefile.in (all-gdbtk): Fix $srcdir to ${srcdir}.Alexandre Oliva2-3/+7
2000-03-04Transfer SIM maintainership to Frank.Andrew Cagney2-1/+13
2000-03-04Add MichaelS and PeterS to all privs list.Andrew Cagney2-2/+8
2000-03-04Don't use LONG_LONG when it isn't available.Andrew Cagney2-3/+7
2000-03-04Comment out longest_raw_hex_string.Andrew Cagney3-0/+15
2000-03-04When GDB doesn't recognize the -i=mi option, assume there is no MI support.Andrew Cagney2-0/+11
2000-03-04Make mmalloc functions consistent. Some need ISO-C others need PTR :-(.Andrew Cagney3-14/+16
2000-03-04Oops, lost update to defs.h:null_cleanup().Andrew Cagney2-1/+2
2000-03-04Convert extract/store functions to ISO-C.Andrew Cagney3-29/+20
2000-03-04Convert make_cleanup functions to ISO-C.Andrew Cagney3-28/+40
2000-03-032000-03-03 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni4-11/+20
* defs.h (struct continuation_arg): Change type of field 'data' from PTR to void *. * event-loop.h: Eliminate uses of PTR, use 'void *' instead. * event-top.c: Ditto.
2000-03-03Move GDBtk's ``ln -s ... gdbtcl'' code out of configure.Andrew Cagney4-215/+247
Add CONFIG_CLEAN, CONFIG_ALL to configured targets. Add all-gdbtk, clean-gdbtk.
2000-03-03Only configure GDBtk when it is present.Andrew Cagney4-322/+336
2000-03-032000-03-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-1/+6
* config/alpha/alpha-linux.mh: Remove core-regset.o fron the NATDEPFILES list.
2000-03-02Attempt to fix AIX/i386 target.Mark Kettenis2-29/+25
2000-03-02Fixes for extract_floating() and store_floating().Kevin Buettner2-13/+14
2000-03-02 * uw-thread.c: Apply GNU conventions to comment formatting.Nicholas Duffek2-208/+166
(deactivate_uw_thread): Call remove_thread_event_breakpoints(). (uw_thread_mourn_inferior): Move remove_thread_event_breakpoints() call to deactivate_uw_thread().
2000-03-01Daniel Berlin is C++ maintainer.Andrew Cagney2-1/+6
2000-03-01Mark Kettenis is the x86 architcture maintainer and a jointAndrew Cagney2-4/+22
GNU/Linux/x86 maintainer. Nick Duffeck and Robert Lipe share SCO/Unixware. Nick Duffek and Peter Schauer share Solaris/x86.
2000-03-012000-03-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-4/+8
* mi-cmd-disas.c (mi_cmd_disassemble): Use ui_out_field_core_addr() instead of print_address_numeric(), to maintain consistency throughout MI.
2000-03-01From Fernando: call generic_mourn_inferior() when closing rdi and simAndrew Cagney3-0/+8
targets.
2000-03-01Note that there is no need to send configure.in patches.Andrew Cagney2-0/+12
2000-03-012000-03-01 Mark Kettenis <kettenis@gnu.org>Mark Kettenis2-1/+5
* MAINTAINERS: Correct my own mail address.
2000-03-01Identify maintainers caught up in a paper trail.Andrew Cagney2-6/+12
2000-02-29From Peter Schauer: Fix Solaris/x86 threads by copying linux code.Andrew Cagney4-64/+18
2000-02-29From Peter Schauer: Define Solaris/x86 MERGEPID.Andrew Cagney2-0/+6
2000-02-29From J.T.: Convert i386 to updated frame_saved_regs.Andrew Cagney3-15/+24
2000-02-29From Peter Schauer - fix mmalloc bitrot.Andrew Cagney2-2/+8
2000-02-29From Eli. Bring go32 target up-to-date with recent GDB i386 changes.Andrew Cagney5-22/+59
2000-02-29From Eli. Warning fixes.Andrew Cagney4-8/+23
2000-02-29Include <ctype.h> for isupper().Andrew Cagney2-0/+5
2000-02-29Add more checks for no stack frame.Andrew Cagney3-1/+14
2000-02-29Read 2 byte (16 bit addresses) when needed.Andrew Cagney2-0/+8