aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2000-03-132000-03-13 James Ingham <jingham@leda.cygnus.com>Jim Ingham13-101/+351
Add support for a variable object that tries to evaluate itself in the currently selected frame, rather than in a fixed frame. * wrapper.c,h (gdb_parse_exp_1): Added a wrapper for gdb_parse_exp_1. * varobj.h: Added USE_CURRENT_FRAME to varobj_type & changed def'n of varobj_create. * varobj.c (varobj_list): Return type indicates whether the variable's type has changed (for current frame variables). (varobj_update): Handle the case where the variable's type has changed. (delete_variable_1): Allow for deletion of variables that have not been installed yet. (new_root_variable): Initialize use_selected_frame variable. (value_of_root): This is where most of the work to handle "current frame" variables was added. Most of the complexity involves handling the case where the type of the variable has changed. (varobj_create): Add a "type" argument, to tell if the variable is one of these "current frame" variables. Also protect call to parse_exp_1 from long jumping. * mi-var-block.exp: The error report from varobj_create changed since I am now trapping parse_exp_1 errors. Change the tests to match the new error message. * mi-var-child.exp: Ditto. * mi-var-cmd.exp: Ditto. * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all the library directories. * gdbtk-varobj.c (variable_create): Pass the correct "how_specified" flag to the varobj_create routine.
2000-03-13 * go32-nat.c (struct env387): Remove declaration.Eli Zaretskii2-208/+150
(print_387_status, i386_go32_float_info): Remove redundant functions. (regno_mapping, sig_map, excepn_map): Add braces around inner initializers. (many functions): Use ATTRIBUTE_UNUSED to shut up the compiler; fix code which mixed signed with unsigned. (go32_resume): Use TARGET_SIGNAL_LAST instead of -1. (go32_wait): Initialize INT3_addr. (go32_fetch_registers): Extend all FP registers that are shorter than 4 bytes to 32 bits. Support 32 standard FP registers defined on config/i386/tm-i386.h. (store_register): Support 32 FP registers. (go32_create_inferior): Don't crash if handed a NULL pointer instead of exec file name. (ignore): Remove unused function. (go32_insert_hw_breakpoint): Remove unused variables. (init_go32_ops): Set value of processing_gcc_compilation to 2.
2000-03-13From Daniel Berlin:Andrew Cagney4-24/+113
Fix C++ overloading, add support for seeing through references.
2000-03-13Revert: ``Fix C++ overload support, see through references''.Andrew Cagney5-410/+330
Change also contained numerous white-space changes.
2000-03-122000-03-11 Mark Kettenis <kettenis@gnu.org>Mark Kettenis2-5/+13
* gnu-nat.c: Fix the formatting where indent misinterpreted `&' as a binary operator. (gnu_attach): Change error message for missing argument to be identical to the corresponding message in `inftarg.c'. This makes the testsuite happy.
2000-03-112000-03-11 Mark Kettenis <kettenis@gnu.org>Mark Kettenis2-1/+16
* i386gnu-nat.c (gnu_store_registers): Make sure the T bit in the %eflags isn't modified. This fixes a bug where every call to a function in the program beyond the first call would fail.
2000-03-10Fix C++ overload support, see through referencesDaniel Berlin5-330/+410
2000-03-10Devolve area maintaineship responsibilities.Andrew Cagney2-8/+10
2000-03-092000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-0/+6
* minsyms.c (prim_record_minimal_symbol_and_info): Add comment.
2000-03-092000-02-25 Scott Bambrough <scottb@netwinder.org>Scott Bambrough2-1/+22
* gdb.base/long_long.exp: Correct test suite failure when printing a long long value as a double on ARM platforms. ARM doubles use a hybrid endian format. It is not strictly little or big endian. It is little endian with the words swapped.
2000-03-09Anthony Green is Java maintainer.Andrew Cagney2-2/+10
2000-03-082000-03-08 Mark Kettenis <kettenis@gnu.org>Mark Kettenis3-0/+21
* i386-tdep.c (i386_linux_saved_pc_after_call): New function. * config/i386/tm-linux.h (SAVED_PC_AFTER_CALL): Define to call i386_linux_saved_pc_after_call.
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.