Age | Commit message (Collapse) | Author | Files | Lines |
|
* gdb.base/annota1.exp (annotate-signal-handler-caller):
Relax the regular expression a little, make it pass on Solaris 8.
|
|
* gdb.base/break.exp (bp on small function, optimized file):
Add a second pass pattern. The behavior differs here between stabs
and dwarf for one-line functions. Stabs preserves two line symbols
(one before the prologue and one after) with the same line number,
but dwarf regards these as duplicates and discards one of them.
Therefore the address after the prologue (where the breakpoint is)
has no exactly matching line symbol, and GDB reports the breakpoint
as if it were in the middle of a line rather than at the beginning.
|
|
line after the caller.
|
|
* gdb.base/interrupt.exp: Make "pass" message say "send"
rather than "send_gdb" (for consistancy).
|
|
* gdb.base/break.exp: When compiled with -O2 optimization,
gdb may not stop at the first line of main, due to code motion.
|
|
Properly check for GCC version number.
|
|
* gdb.base/call-ar-st.exp: Bail out if target is sparclet.
This test depends on parsing the printf output from the target.
Since the sparclet stub doesn't do stdio, this will never work.
* gdb.base/call-rt-st.exp: ditto.
* gdb.base/call-strs: ditto.
|
|
* gdb.base/miscexprs.exp: make sizeof long array test portable.
* gdb.base/ending-run.exp: After connecting to a remote target,
but before running, the target will appear to be in a random
location. Specify both a file and a line for breakpoints.
Also, the function that calls main may be called 'init'
rather than 'start'.
|
|
|
|
* gdb.base/help.exp: Update output for add-symbol-file command.
|
|
From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
|
|
|
|
* gdb.base/funcargs.exp: Relax patterns matching pointers to char.
|
|
Change to rely on PIDGET etc.
* config/i386/nm-i386sol2.h (TARGET_HAS_WATCHPOINTS,
TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT,
STOPPED_BY_WATCHPOINT, target_[insert/remove]_watchpoint):
define. Allow target to use procfs hardware watchpoints.
* config/sparc/nm-sun4sol2.h: ditto.
* config/i386/tm-i386sol2.h (PIDGET, TIDGET, MERGEPID): modify
definitions to use 16 bits for the pid, 15 bits for the tid, and
1 bit for the flag.
* config/sparc/tm-sun4sol2.h: ditto.
(SOFTWARE_SINGLE_STEP, SOFTWARE_SINGLE_STEP_P): undefine.
* testsuite/gdb.threads/pthreads.exp (all_threads_running): Allow
for more than 15 thread increments.
|
|
values that can be represented exactly.
* gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
above change, and to not check against the directory part of the source
file name.
(step into print_long_arg_list): Likewise.
(print print_small_structs from print_long_arg_list): Likewise.
(print print_long_arg_list): Likewise.
|
|
fix typo.
|
|
* gdb.base/printcmds.c: Terminate char array ctable2 with 0.
|
|
|
|
|
|
optimized code so we can test breakpoints work even when function
prologues may be optimized away
|
|
From David Whedon <dwhedon@gordian.com>
* gdb.base/commands.exp : Added command deprecator tests.
|
|
|
|
|
|
* eval.c (evaluate_subexp_with_coercion): Add call to
check_typedef, to handle typedeffed vars correctly.
* gdb.base/printcmds.c: Add typedeffed arrays.
* gdb.base/printcmds.exp (test_print_typedef_arrays): New
procedure to test arrays that are typedef'd.
|
|
gdb.base/long_long.exp revision 1.2
date: 2000/03/09 21:55:40; author: scottb; state: Exp; lines: +187 -99
|
|
|
|
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.
|
|
* 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.
|
|
* 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.
|
|
* mi-basics.exp: Comment out test for a still unimplemented operation.
|
|
* mi-disassemble.exp: Rewrite most of the tests to conform to new
disassemble interface.
|
|
|
|
|
|
Add --enable-gdbmi option to configury.
Add mi rules to Makefile.in
Add mi conditional output to event-top.c infrun.c main.c top.c.
Add -i=mi option.
|
|
|
|
default source file is set properly before running this test.
|
|
* lib/gdb.exp: Tell the testsuite that now gdbtk is in the
gdbtk/library directory, not in gdbtcl2.
|
|
* gdb/config/i386/windows.mh,
gdb/doc/GDBvn.texi, gdb/doc/remote.texi,
gdb/testsuite/gdb.base/README, gdb/testsuite/gdb.base/crossload.exp,
gdb/testsuite/gdb.base/i486-elf.u, gdb/testsuite/gdb.base/i860-elf.u,
gdb/testsuite/gdb.base/m68k-aout.u,
gdb/testsuite/gdb.base/m68k-aout2.u,
gdb/testsuite/gdb.base/m68k-elf.u, gdb/testsuite/gdb.base/mips-ecoff.u,
gdb/testsuite/gdb.base/sparc-aout.u,
gdb/testsuite/gdb.base/sparc-elf.u,
gdb/tui/Makefile,
readline/ChangeLog: These files have been removed over the course
of the last year, but weren't cvs removed from the old GDB repository
on sourceware.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
* gdb.base/annota2.cc, annota2.exp: Move from here.
* gdb.c++/annota2.cc, annota2.exp: To here.
* gdb.c++/Makefile.in (PROGS): Add annota2 executable.
|
|
|
|
|
|
|
|
|
|
* gdb.base/compiler.c gdb.base/dollar.exp gdb.c++/compiler.cc: Files
removed in gdb-1999-11-16 snapshot.
|