2003-11-16 Klee Dienes (kdienes@apple.com)
* gdb.apple/sections.exp: New test, to ensure that section
tables are properly updated by 'add-symbol-file'.
2003-11-11 Jason Molenda (jmolenda@apple.com)
* gdb.apple/info-shared-addr.exp: Test metrowerks-address-to-name
while I'm at it.
2003-11-11 Jason Molenda (jmolenda@apple.com)
* gdb.apple/info-shared-addr.exp: New test case, to test
the new "info sharedlibrary
" command.
2003-10-28 Jim Ingham
* gdb.apple/slipnslide.exp: I fixed gdb so that it won't move
the puts breakpoint from libmylib.dylib before running to
libSystem after. Fix the testsuite to account for this.
2003-10-23 Jason Molenda (jmolenda@apple.com)
* gdb.apple/bp_cond_objc.exp: Renamed to..
* gdb.apple/bp-cond-objc.exp: This.
2003-10-22 Jason Molenda (jmolenda@apple.com)
* gdb.apple/info-pid.exp: Add a few more cases where the inferior
has exited.
2003-10-22 Jason Molenda (jmolenda@apple.com)
* gdb.apple/info-pid.c: New file.
* gdb.apple/info-pid.exp: New tests for "info pid" aka "-pid-info" cmds.
2003-10-21 Jason Molenda (jmolenda@apple.com)
* gdb.apple/fix-and-continue/small-c/b-valid-2.c, b-valid-3.c:
New files that add a new global variable in the middle of a fixing
session.
* .../small-c/fix-small-c.exp: Set the new global variable to a value
after b-valid-2.c is brought in; then see if the value persists when
b-valid-3.c is fixed in.
* .../small-c/Makefile: Add build targets for new files.
* gdb.apple/fix-and-continue/set-up-objdir.sh: Fix tar invocation
for Panther.
2003-10-20 Jim Ingham
* gdb.mi/mi1-disassemble.exp: Change the "mixed arguments" to
align with the change to allow "-s -n".
2003-10-16 Jason Molenda (jmolenda@apple.com)
* gdb.objc/myclass.exp: Reorder selector test order so we don't
get the same selector for WiwKeeOrqwKxqIFjeqwJ twice by accident.
Verify that we get the same selector for WiwKeeOrqwKxqIFjeqwJ in
the same run.
2003-10-16 Jason Molenda (jmolenda@apple.com)
* gdb.c++/templates.exp: Pull in current FSF TOT version of this
file to get some testsuite fixes. Keep APPLE LOCAL patch at top
to compile correctly on MacOS X.
* gdb.java/jv-print.exp: Add APPLE LOCAL patch to match our gdb's
output.
* gdb.mi/mi1-disassemble.exp: Add APPLE LOCAL patch to match our
gdb's output change to [data-disassemble]'s help output.
* gdb.mi/mi1-var-block.exp: Correct expected output.
* gdb.threads/schedlock.exp: Don't run these tests on MacOS X; they
are random and unreproducible.
2003-10-15 Jason Molenda (jmolenda@apple.com)
* gdb.c++/local.exp: Correct regexp. Should contribute this back
to the FSF - they don't know it's broken because the FSF gdb isn't
printing anything for this case.
2003-10-14 Jason Molenda (jmolenda@apple.com)
* gdb.apple/cplusplus-local-vars.exp: Correct tests pass/fail text.
* gdb.base/until.exp: Update to FSF TOT version to pick up loosened
regexp.
* gdb.c++/inherit.exp: Update to FSF TOT version to pick up updated
regexps.
2003-10-13 Jason Molenda (jmolenda@apple.com)
* gdb.base/printcmds.exp: Recognize Apple local output style.
* gdb.base/float.exp: Add case to recognize PowerPC info float
output.
* gdb.apple/weak.exp: Generalize regexp to accept
current style of output.
* gdb.apple/slipnslide.exp: Fix regexps to match current
output style of info sharedlibrary. NB: I'm guessing on
the correct syntax for the "libmylib and libsystem will
both try to load at same addr" test -- this may need to be
tweaked after r. 3451959 is fixed.
2003-10-09 Igor Likhatchev
* gdb.apple/slipnslide.exp: inserted '-gdb-set use-cached-symfiles off'
to expect output close to the original, when the test was written.
2003-10-09 Igor Likhatchev
* renamed gdb.apple/gcc_stabs_problem_3415844* test files to gdb.apple/cplusplus-local-vars* .
Removed Radar number from specific test descriptions.
2003-10-08 Igor Likhatchev
* added gdb.apple/gcc_stabs_problem_3415844 test files.
2003-09-29 Klee Dienes
* gdb.apple/slipnslide.exp: Update to match the new commapage
MI output fields.
2003-09-29 Jason Molenda (jmolenda@apple.com)
* maint.exp (maint internal-error): Don't expect to see "Create a
core file of GDB?" question on internal error.
2003-09-24 Jim Ingham
* completion.exp: Test that "complete file ./gdb.base/compl" agrees with the
result from sending a tab.
2003-09-18 Jim Ingham
* annota1.exp: Actually require the presence of the signal handler
frame in the backtrace for the test testing the presence of the
signal handler frame.
2003-09-18 Igor Likhatchev (igor@apple.com)
* gdb.apple/r3384998.exp: Corrected expected reg. expression to eliminate
false failure
2003-09-09 Jason Molenda (jmolenda@apple.com)
* gdb.objc/myclass.exp: Revert last. Works correctly with
TOT FSF sources, but not our current sources.
2003-09-09 Jason Molenda (jmolenda@apple.com)
* gdb.objc/myclass.exp: Add a new test for r. 3366832. I should
put this over in gdb.apple but with luck I'll get this contributed
upstream soon.
2003-09-02 Klee Dienes
* gdb.apple/slipnslide.exp: Update to match the new commapage
MI output fields.
2003-08-22 Jason Molenda (jmolenda@apple.com)
* gdb.apple/r3376901.exp: New test for backtrace + list.
* gdb.apple/r3376901.c: Test file.
* gdb.apple/r3384998.exp: New test for backtrace from $pc == 0x0.
* gdb.apple/r3384998.c: Test file.
2003-08-12 Igor Likhatchev (igor@apple.com)
* gdb.apple/ivars.exp: Increased timeout.
2003-08-08 Igor Likhatchev (igor@apple.com)
*gdb.base/constvars.c: Make use of structures crass and crisp,
so debug info wouldn't be stripped with gcc option -gused.
2003-08-06 Jason Molenda (jmolenda@apple.com)
* gdb.apple/cfm.exp: Tweak expect regexp to match
current gdb output style.
2003-07-31 Klee Dienes
* gdb.objc/myclass.exp: Test the selector cache; make sure it
gets properly cleared between runs.
2003-07-24 Jason Molenda (jmolenda@apple.com)
* gdb.apple/fix-and-continue/small-c/b-invalid-12.c: New file which
adds a call to an undefined external function.
* .../small-c/Makefile.in: Build it.
* .../small-c/fix-small-c.exp: Add test case.
2003-07-02 Igor Likhatchev (igor@apple.com)
* gdb.base/help.exp
Modified expected text for command "help breakpoints", since Apple gdb
now provides help for set/show regexp against thrown/caught objects.
2003-06-16 Jason Molenda (jmolenda@apple.com)
* gdb.apple/fix-and-continue/small-c/b-invalid-4.c: Remove.
This is now valid.
.../small-c/Makefile: Remove refs.
.../small-c/fix-small-c.exp: Remove test.
2003-06-01 Jason Molenda (jmolenda@apple.com)
* gdb.apple/fix-and-continue/small-objc/class-v3.m (sayHello): Add
a call to +[NSString stringWithCString], which is a previously
unreferenced class and selector.
* gdb.apple/fix-and-continue/small-c/invalid-10.c: Non-lazy
external reference that dyld cannot resolve.
* .../small-c/invalid-11.c: Lazy external reference that dyld cannot
resolve.
* .../Makefile: Add compilation of invalid-10 and invalid-11.
Don't add these to fix-small-c.exp yet because they crash the
inferior process.
2003-05-21 Jason Molenda (jmolenda@apple.com)
* gdb.apple/fix-and-continue/small-c/mi-fix-small-c.exp: Update
expected line numbers.
2003-05-14 Jim Ingham (jingham@apple.com)
* gdb.apple/mi1-varobj.exp: Added test for making a varobj that
starts out pointing to an uninitalized variable, then gets
init'ed as one dynamic type, then re-inited as another.
2003-05-12 Jim Ingham (jingham@apple.com)
* gdb.apple/mi1-varobj.exp: Added tests for dynamic types in
ObjC.
* gdb.apple/objc-prog.m: Added a derived class to MyClass to
test the dynamic types.
* gdb.mi/mi1-var-block.exp: Add block_start_addr and block_end_addr
to the var-create match strings.
* gdb.mi/mi1-var-child.exp: ditto
* gdb.mi/mi1-var-cmd.exp: ditto
* gdb.mi/mi1-var-display.exp: ditto
* gdb.mi/gdb701.exp: ditto
* gdb.mi/gdb792.exp: ditto
*gdb.mi/mi-cmd-var-block.exp: Added a comment, the current test
"update foo2 should be out of scope" the second time is wrong,
it depends on gdb failing the first time it should have noted the
variable was out of scope. If it gets that right, THIS test fails...
2003-05-08 Jason Molenda (jmolenda@apple.com)
* gdb.apple/fix-and-continue/small-c/b-generic.c (slurry): Change
variable initialization to be testible.
2003-05-07 Jason Molenda (jmolenda@apple.com)
* gdb.apple/fix-and-continue/small-c/Makefile: Enable -findirect-data.
.../small-objc/Makefile: Enable -findirect-data.
small-c/*: Rename "static_var" to "global_var".
small-c/b-generic.c: New variable, "static_var", which has static
linkage.
small-c/fix-small-c.exp: Updated to expect new variable names.
2003-05-07 Jason Molenda (jmolenda@apple.com)
* gdb.apple/fix-and-continue/small-c/fix-small-c.exp: Fix test bug.
2003-05-07 Jim Ingham (jingham@apple.com)
* gdb.apple/mi1-varobj.exp: Fix the stack-list-locals tests for the
new block_start_addr & block_end_addr keys.
* gdb.apple/slipnslide.exp: Set printf_address to "" so we don't get
a Tcl error if we don't succeed in setting it.
2003-05-02 Jason Molenda (jmolenda@apple.com)
* gdb.apple/fix-and-continue/small-c/mi-fix-small-c.exp: New test
file for a few tests of the F&C MI interface.
* .../a.c: Add an extra call to help mi-fix-small-c.exp.
2003-04-21 Jason Molenda (jmolenda@apple.com)
* gdb.apple/fix-and-continue/small-objc/main.m: Add an additional
call for testing a breakpoint on an ObjC member func.
.../small-objc/fix-small-objc.exp: Put a breakpoint on a fixed objc
member func, call it.
2003-04-17 Jason Molenda (jmolenda@apple.com)
* gdb.apple/fix-and-continue/small-c/Makefile: Three new invalid tests
for argument types and return type.
* .../small-c/b-invalid-[7-9].c: The tests.
* .../small-c/b-generic.c: Add some new things for the new tests.
* .../small-c/fix-small-c.exp: Run the tests.
2003-04-15 Jason Molenda (jmolenda@apple.com)
* gdb.apple/fix-and-continue/small-c/Makefile: Two new invalid fixes.
* gdb.apple/fix-and-continue/small-c/fix-small-c.exp: Ditto.
* gdb.apple/fix-and-continue/small-c/b-invalid-[56].c: Ditto.
* gdb.apple/fix-and-continue/small-c/a.c: Typeo.
2003-04-15 Jason Molenda (jmolenda@apple.com)
* gdb.apple/ivars.exp (test_run): Add default case for breakpoint
hitting.
2003-04-10 Jason Molenda (jmolenda@apple.com)
* gdb.apple/fix-and-continue/small-c/b-invalid-4.c: New file.
* gdb.apple/fix-and-continue/small-c/b-valid-1.c: New file.
* gdb.apple/fix-and-continue/small-c/Makefile: Add two more stages.
* gdb.apple/fix-and-continue/small-c/fix-small-c.exp: Run two new
tests.
* gdb.apple/fix-and-continue/small-c/a.c: Add more bar() calls,
fix static_var printing in fred().
* gdb.apple/fix-and-continue/small-c/b-invalid-[1-3].c: Strip
unnecessary things from these files.
2003-04-08 Jason Molenda (jmolenda@apple.com)
* gdb.apple/fix-and-continue/small-c/b-v[1-4].c: Removed.
* gdb.apple/fix-and-continue/small-c/b-generic.c: Added.
* gdb.apple/fix-and-continue/small-c/b-invalid-[1-3].c: New file.
* gdb.apple/fix-and-continue/small-c/a.c: Refer to global variable
defined over in b.c.
* gdb.apple/fix-and-continue/small-c/Makefile: Update.
* gdb.apple/fix-and-continue/small-c/fix-small-c.exp: Update.
2003-04-02 Jason Molenda (jmolenda@apple.com)
* gdb.apple/fix-and-continue/small-objc/Makefile: Add suffixes to
the various rebuilt fixed bundles.
* gdb.apple/fix-and-continue/small-objc/fix-small-objc.exp: Same.
2003-04-02 Jason Molenda (jmolenda@apple.com)
* gdb.apple/fix-and-continue/small-objc/Makefile: Set
DYLD_LIRARY_PATH to ZL framework to pick up modified ObjC runtime
on Jaguar systems. Add a (currently unused) stage4. Clean up
'make clean' targets.
* gdb.apple/fix-and-continue/small-c/Makefile: Create each fixed
objfile with a unique name. Clean up 'make clean' targets.
* gdb.apple/fix-and-continue/small-c/fix-small-c.exp: Expect that.
* gdb.apple/fix-and-continue/small-objc/class-v4.m: Add a fourth
version of this class (currently unused).
2003-04-02 Jason Molenda (jmolenda@apple.com)
* gdb.apple/fix-and-continue/small-c/b-v4.c: Add a third version of b.c.
* gdb.apple/fix-and-continue/small-c/a.c: Typeo.
* gdb.apple/fix-and-continue/small-c/Makefile: Add a stage4.
* gdb.apple/fix-and-continue/small-c/fix-small-c.exp: Call the 4th
stage; check the address of the newly loaded module to ensure it is
a different value each time.
2003-03-31 Jason Molenda (jmolenda@apple.com)
* gdb.apple/fix-and-continue/*/Makefile: Drop the -fzero-link
compiler argument - it won't be necessary with the modified ObjC
runtime.
2003-03-26 Jason Molenda (jmolenda@apple.com)
* gdb.apple/fix-and-continue/small-c/Makefile: Update to use
-fzero-link.
* gdb.apple/fix-and-continue/small-objc/Makefile: Update to use
-fzero-link.
2003-03-25 Jason Molenda (jmolenda@apple.com)
* gdb.apple/fix-and-continue/small-objc/*: New set of tests
where a small ObjC program is fix and continued. Tests run as
fix-small-objc.exp. There are currently four failing tests, but
three of those will be fixed by a new objc runtime and one I'll
fix in gdb shortly.
2003-03-25 Jason Molenda (jmolenda@apple.com)
* gdb.apple/weak.exp: Correct the regexp.
2003-03-25 Jason Molenda (jmolenda@apple.com)
* gdb.apple/slipnslide.exp: Loosen regexp for mi1 start-up - the order
that the result, prompt, and =shlib-updated messages are delivered
can change easily..
2003-03-24 Jason Molenda (jmolenda@apple.com)
* gdb.apple/pc-verify.exp: A couple of quick tests to get the value
of $pc through a couple different mechanisms and verify that they're
consistent. A lot more could be added to this to check pc and fp
at different levels, and maybe even through different types of
callers (sigtramps, dummy frames, whatever).
* gdb.apple/pc-verify.c: New file, derived from gdb.base/break.c.
* gdb.apple/fix-and-continue/small-c/Makefile: Fix gcc compiler opt.
2003-03-20 Jason Molenda (jmolenda@apple.com)
* gdb.apple/fix-and-continue/small-c/Makefile: Use special dyld,
add -mfix-and-continue to CFLAGS.
* gdb.apple/fix-and-continue/small-c/fix-small-c.exp: Minor reformat.
2003-03-20 Jason Molenda (jmolenda@apple.com)
* gdb.apple/fix-and-continue/set-up-objdir.sh: New script to set up
a directory in $OBJDIR for fix and continue tests.
* gdb.apple/fix-and-continue/small-c/*: First trivial fix and continue
test.
2003-03-18 Jason Molenda (jmolenda@apple.com)
* lib/mi-support.exp (mi_gdb_start): Turn off MI timings.
2003-03-13 Klee Dienes
* gdb.apple/cfm.exp: Update to new 'info sharedlibrary' output format.
* gdb.apple/dynaload.exp: Ditto.
* gdb.apple/ivars.exp: Ditto.
* gdb.apple/slipnslide.exp: Ditto.
* gdb.apple/weak.exp: Ditto.
2003-02-17 Jason Molenda (jmolenda@apple.com)
* gdb.apple/inf-call-interrupt.exp, gdb.apple/ivars.exp: Remove
old-style radar annotations from test case names.
* gdb/base/{call-ar-st.exp,call-rt-st.exp,corefile.exp,default.exp,
ending-run.exp,printcmds.exp,structs.exp}: Ditto.
* gdb.mi/gdb792.exp: Add new APPLE LOCAL typecode note.
2003-02-16 Jason Molenda (jmolenda@apple.com)
* gdb.base/maint.exp: Remove radar annotations; fix up regexps to
match Apple segment names correctly; update maint print statistics
expected text to match new output.
2002-12-17 Klee Dienes
* gdb.apple/weak.exp: Update to new dyld shared library description
strings.
2002-12-17 Klee Dienes
* configure.in: Configure gdb.apple on i386 as well as powerpc.
* configure: Regenerate.
2002-12-17 Klee Dienes
* gdb.apple/weak.exp: Allow for memory errors hile re-inserting
the breakpoints for libraries that are no longer loaded.
2002-12-16 Klee Dienes
* gdb.base/signals.exp: Revert to FSF sources.
2002-12-12 Klee Dienes
* gdb.apple/dynaload.exp: Check for .*$binfile, not just $binfile.
* gdb.apple/annota1.exp: Remove radar numbers from bug strings.
Check for .*$binfile, not just $binfile.
* gdb.base/call-rt-st.exp: Remove radar numbers from bug strings.
* gdb.base/default.exp: Allow "no registers" return from info float.
2002-12-06 Klee Dienes
* gdb.arch/altivec-abi.c (vrsavex): Remove explicit setting of
VRSAVE.
* gdb.arch/altivec-abi.exp: Remove (r. #######) entries.
* gdb.arch/altivec-regs.c (vrsavex): Remove explicit setting of
VRSAVE.
* gdb.arch/altivec-regs.exp: Remove (r. #######) entries.
2002-11-23 Klee Dienes
* gdb.apple/weak.exp: Update to match the relocated objfile
support.
2002-11-21 Klee Dienes
* gdb.mi/mi1-hooks.exp: New file.
2002-11-20 Jason Molenda (jmolenda@apple.com)
* gdb.apple/po.exp: Add four tests to check a few ObjC class+method
names and apostrophy combinations.
2002-11-19 Jason Molenda (jmolenda@apple.com)
* gdb.arch/altivec-regs.exp: Remove radar #'s from two passing tests.
* gdb.base/corefile.exp: Remove radar # from one passing test.
* gdb.base/nodebug.exp: Revert to FSF sources; tests pass.
* gdb.base/return.exp: Ditto.
* gdb.base/return2.exp: Ditto.
* gdb.base/signals.exp: Remove radar # from one passing test.
* gdb.mi/mi1-var-cmd.exp: Remove radar # from three passing tests.
2002-11-19 Jason Molenda (jmolenda@apple.com)
* gdb.mi/mi1-var-cmd.exp: Re-add some Apple Local adjustments.
2002-11-19 Jason Molenda (jmolenda@apple.com)
* gdb.base/default.exp: Annotate show convenience fails with radar #.
2002-11-19 Jason Molenda (jmolenda@apple.com)
* gdb.apple/dynaload.exp: Update test case to not expect "Switching
to process" output at inferior start-time.
* gdb.apple/ivars.exp: Allow either "Y" or "B" as the shared library
"current" value, even though I think the "B" value is less than
correct.
* gdb.apple/weak.exp: Annotate with new radar #. Update test case
to not expect "Switching to process" output at inferior start-time.
2002-11-12 Jason Molenda (jmolenda@apple.com)
* gdb.apple/inf-call-interrupt.exp: Annotate fails with radar #'s.
* gdb.apple/ivars.exp: Ditto.
2002-11-10 Klee Dienes
* gdb.mi/gdb792.exp: Add Apple-local varobj fields to the
expected output.
2002-11-10 Klee Dienes
* lib/mi-support.exp: Don't insist on the mi prompt to be in a
certain format; our mi1 seems to provide the "new-format"
prompt, not the old format. When we are able to re-enable
this test, it should probably be a FAIL, not an error and
remote_close.
2002-11-08 Jason Molenda (jmolenda@apple.com)
* gdb.apple/inf-call-interrupt.c: Add a couple new functions so
I can also test a signal handler in the backtrace when I have the time.
2002-11-08 Jason Molenda (jmolenda@apple.com)
* gdb.apple/weak.exp: The output order of "reading shared libraries"
and "reading file" got switched yesterday.
* gdb.apple/inf-call-interrupt.exp: New test file for getting
interrupted while calling inferior functions.
* gdb.apple/inf-call-interrupt.c: New file.
2002-11-07 Klee Dienes
* gdb.base/selftest.exp: Check for gdb.c, not main.c, as the
source file in the "backtrace through signal handler" test.
2002-11-07 Klee Dienes
* configure.in: Use _AC_COMPILER_EXEEXT instead of AC_EXEEXT
(I have zero clue what is actually going on here, but it works when I
do this).
* configure: Regenerate.
2002-11-07 Klee Dienes
* gdb.base/annota1.exp: Update "run until main breakpoint" test to
handle "Reading symbols for shared libraries." earlier in the
startup process.
2002-11-06 Jason Molenda (jmolenda@apple.com)
* gdb.apple/ivars.exp: Find libSystem's load addr at run time.
* gdb.apple/dynaload.exp: Ditto.
* gdb.apple/mi1-varobj.exp: Don't hardcode line numbers of objc-prog.m.
2002-11-05 Jason Molenda (jmolenda@apple.com)
* gdb.apple/ivars.exp: Rework to run cases with the shared library
named at link time (static) and at run-time (dynamic), with gdb
being forced to find addresses for both arrangements.
* gdb.apple/ivars-static.m: New file, very much akin to the old ivars.m.
* gdb.apple/ivars-dynamic.m: Dynamic version of above.
* gdb.apple/libivars.m (get_an_object): A C function to return an
object from the solib to make my dynamic case easier.
* gdb.apple/ivars.m: Removed.
2002-11-05 Jason Molenda (jmolenda@apple.com)
* gdb.apple/slipnslide.c: Update foo() prototype.
* gdb.apple/dylib-loader.c: Ditto.
* gdb.apple/weak.exp: New tests for weak libraries.
* gdb.apple/libweak.c: dylib for the above test.
* gdb.apple/weak-prog.c: program for the above test.
2002-11-05 Jason Molenda (jmolenda@apple.com)
* gdb.apple/dynaload.exp: New set of test cases to test future-break
on a shlib that is loaded dynamically at run-time (instead of linked
in by the static link editor aka ld).
* gdb.apple/dylib-loader.c: Sources for above.
2002-11-04 Jason Molenda (jmolenda@apple.com)
* gdb.apple/ivars.exp: Add function to compile the shared library.
Check info sharedlibrary output to make sure it's recognized.
Use future-break to set the breakpoint, even though it's equivalent
to break here. Check the lang setting too for fun.
2002-11-04 Klee Dienes
* gdb.arch/altivec-regs.exp: Update architecture test to include
powerpc-* instead of just powerpc-*altivec. Update decimal_vector
tests to allow \000 and not just \0 in the char string output.
Update 'info reg' expected output to include the 'raw' fields.
Update the output of 'info reg vrsave/vscr' to expect the integer
value after the hex value. Un-ifdef the 'info vector' test.
Convert from 'info powerpc altivec' to 'info vector'.
2002-11-04 Klee Dienes
* gdb.base/watchpoint.c: Add assignment to buf[7] in the "test
basic watchpoints" section.
* gdb.base/watchpoint.exp: Add test for detecting modification
of an array element with 'watch buf', where 'buf' is the name of the
array.
2002-11-01 Jason Molenda (jmolenda@apple.com)
* gdb.apple/objc-prog.m: Add a local class with some ivars
for future test cases in po.exp.
* gdb.apple/ivars.exp: A very quick hack to examine ivars in
an object from a dylib.
* gdb.apple/ivars.m, gdb.apple/libivars.h, gdb.apple/libivars.m: New
files.
2002-11-01 Jason Molenda (jmolenda@apple.com)
* gdb.apple/libmylib.c: Add comment, make puts() call explicit.
* gdb.apple/slipnslide.c: Use NSModule calls to get foo() addr if
present, call it.
* gdb.apple/slipnslide.exp: See if symbol offsets remain constant during
a slide; try to hit a breakpoint in an inserted, slid library.
2002-11-01 Jason Molenda (jmolenda@apple.com)
* gdb.apple/libmylib.c: Add comment, make puts() call explicit.
* gdb.apple/slipnslide.c: Use NSModule calls to get foo() addr if
present, call it.
* gdb.apple/slipnslide.exp: See if symbol offsets remain constant during
a slide; try to hit a breakpoint in an inserted, slid library.
2002-10-31 Klee Dienes
* gdb.apple/slipnslide.exp: Add timeout cases for the breakpoint
read commands. Set default values for _slid_address if the
breakpoint reads fail. Update the "did mylib slide" regex to not
specify the load address of mylib.
2002-10-31 Jason Molenda (jmolenda@apple.com)
* gdb.apple/slipnslide.c, gdb.apple/slipnslide.exp,
gdb.apple/libmylib.c:
New files for testing dylib sliding.
2002-10-31 Jason Molenda (jmolenda@apple.com)
* gdb.arch/altivec-abi.exp: Annotate with radar #'s.
* gdb.arch/altivec-regs.exp: Ditto.
2002-10-30 Jason Molenda (jmolenda@apple.com)
* gdb.mi/mi1-var-child.exp: Finish updates to support new
dynamic_type fields.
* gdb.mi/mi1-var-cmd.exp: Ditto.
* gdb.mi/mi1-var-display.exp: Ditto.
2002-10-30 Jason Molenda (jmolenda@apple.com)
* gdb.apple/cfm.sh: Rework srcdir handling to work correctly with
relative path builds.
2002-10-29 Klee Dienes
* gdb.base/break.exp: Add multiple calls to the inferior in
the user-commands for 'break 79'. Add a check for the calls
to the inferior in the check for the result. Add new test, to
check that user-defined breakpoint commands are called for functions
called by the user (currently fails).
2002-10-29 Jason Molenda (jmolenda@apple.com)
* gdb.apple/._template.cfm: Remove.
2002-10-28 Klee Dienes
* gdb.apple/cfm.sh: Use uuencoded template libraries in
cfm-libs. Strip the 'y' from the 'yes | cat -n' output.
* gdb.apple/cfm-libs/*.uu: Provide uuencoded CFM and Mach-O
template libraries.
* gdb.apple/cfm.exp: No longer bother with the remote_download
of the template files; the test won't work on a remote board anyway.
2002-10-28 Klee Dienes
* gdb.apple/cfm.exp: Set timeout to 180. Call 'cfm.sh' to set
up the CFM libraries for debugging, rather than iterate within
TCL ... the 'remote_exec build' code is rather slow.
* gdb.apple/cfm.sh: New file. Sets up shared libraries for
CFM testing in /tmp/cfm, using files from $1.
2002-10-26 Klee Dienes
* configure, configure.in: Revert change of 10-26.
* lib/insight-support.exp (gdbtk_initialize_display): Explicitly
return 0 if we are running on Mac OS X. The problem is that the
this function uses the presence of GDB_DISPLAY, or the existence
of Xvfb, to decide if it should run the gdbtk tests. On Mac OS X
systems, we can have Xvfb, but we don't support the gdbtk tests.
Unfortunately, the tests for the presence of Insight in
gdbtk_start come *after* we try to build the binaries (which is a
bit of a waste), and worse, bomb out the entire test suite with an
'exit 1' if they can't find gdbtk. A better fix would be to
re-organize the insight-support.exp code a bit to have a decent
check for insight support, and use that.
2002-10-26 Klee Dienes
* configure, configure.in: Turn off gdbtk by default for
Mac OS X.
2002-10-25 Jason Molenda (jmolenda@apple.com)
* gdb.apple/mi1-varobj.exp: Updates for tuple vs list cleanups.
* gdb.mi/mi1-stack.exp: Updates for tuple vs list cleanups.
* gdb.mi/mi1-var-block.exp: Updates for tuple vs list cleanups.
Remove setup_xfail's for several tests that fail with the FSF's
MI, but work with ours because of our IN_SCOPE field.
* gdb.mi/mi1-var-child.exp: Updates for tuple vs list cleanups.
* gdb.mi/mi1-var-cmd.exp: Ditto.
* gdb.mi/mi1-var-display.exp: Ditto.
2002-10-25 Jason Molenda (jmolenda@apple.com)
* gdb.mi/mi1-pthreads.exp: Fix to testsuite - generic GDB probably
has the same problems on Linux.
2002-10-24 Jason Molenda (jmolenda@apple.com)
* gdb.mi/mi1-stack.exp: Update to handle Apple localized output.
2002-10-23 Klee Dienes
* gdb.mi/mi1-var-cmd.exp: Remove extra space from the "create
global variable" test name.
2002-10-23 Klee Dienes
* gdb.c++/misc.cc (main): Disable return of foo.*pmi on i386;
it was crashing the compiler (filed as #3082048).
2002-10-23 Klee Dienes
* gdb.apple/cfm.exp: Disable tests on i386.
2002-10-23 Klee Dienes
* gdb.base/printcmds.exp: Use a1_0 instead of a1[0] in the
test-name to avoid having to argue constantly with TCL about the
brackets.
2002-10-22 Jason Molenda (jmolenda@apple.com)
* gdb.apple/cfm.exp: Adjust for new output style. Tighten up timeout.
2002-10-21 Jason Molenda (jmolenda@apple.com)
* gdb.apple/mi1-varobj.exp: New file for testing some of our
local varobj additions.
* gdb.apple/objc-prog.m (blocky): New function for the
mi1-varobj tests.
2002-10-21 Jason Molenda (jmolenda@apple.com)
* gdb.mi/mi1-var-cmd.exp: Fix expected text so it doesn't assume
current buggy behavior.
2002-10-21 Jason Molenda (jmolenda@apple.com)
* gdb.mi/mi1-var-cmd.exp: Update to handle Apple localized output.
* gdb.mi/mi1-var-display.exp: Update to handle Apple localized output.
2002-10-21 Jason Molenda (jmolenda@apple.com)
* gdb.mi/gdb701.exp: Update to look for dynamic_type. Standardize
APPLE LOCAL marker.
* gdb.mi/mi1-return.exp: Standardize APPLE LOCAL marker.
* gdb.mi/mi1-stack.exp: Standardize APPLE LOCAL marker.
* gdb.mi/mi1-watch.exp: Standardize APPLE LOCAL marker.
2002-10-18 Klee Dienes
* gdb.base/attach.exp: Set verbose to 'on' when checking for tests
that involve "Reading symbols from ..." output. Match 'lib.*' and
not just 'libc.*' when checking for system library loads (Mac OS
X) doesn't use libc, but does use libsystem).
* gdb.base/default.exp: Also allow "The program has no registers
now." as output from "info float".
* gdb.base/selftest.exp: Add recognizer init_mmalloc_default_pool
to the "step through main" tests. When checking "step into
xmalloc call", allow xmalloc to be in either of utils.c or
xmalloc.c.
2002-10-18 Jason Molenda (jmolenda@apple.com)
* gdb.mi/mi1-var-block.exp: Update to handle Apple localized output.
* gdb.mi/mi1-var-child.exp: Update to handle Apple localized output.
2002-10-17 Jason Molenda (jmolenda@apple.com)
* gdb.apple/po.exp: Seven new test cases, as seen in r. 3053944.
2002-10-17 Jason Molenda (jmolenda@apple.com)
* gdb.apple/objc-prog.m: Add a couple functions that return objects.
2002-10-16 Jason Molenda (jmolenda@apple.com)
* gdb.apple/objc-prog.m: New file. The start of a program that
various tests can use.
* gdb.apple/po.exp: New file. print-object tests.
2002-10-16 Klee Dienes
* gdb.base/opaque.exp: Remove patch to "ptype on opaque struct
pointer (statically)" (read-type-psyms is now set to '1' by default).
2002-10-15 Jason Molenda (jmolenda@apple.com)
* gdb.apple/cfm.exp: Only generate the 64 CFM needed files.
Add comment. Clean up /tmp/cfm when finished.
2002-10-15 Jason Molenda (jmolenda@apple.com)
* gdb.apple: New directory.
* gdb.apple/configure, gdb.apple/configure.in, gdb.apple/Makefile.in:
New files.
* gdb.apple/cfm.exp: New test - taken from Klee's
DebuggerTests/CFMTester.
* gdb.apple/cfm.c, gdb.apple/._template.cfm, gdb.apple/template.cfm:
Support files for cfm.exp.
* configure.in: Add gdb.apple.
* configure: Regenerated.
2002-10-11 Jason Molenda (jmolenda@apple.com)
* gdb.mi/mi-var-display.exp: Fix Darwin exit.
* gdb.mi/mi1-stack.exp: Fix up stack-list-frames regexps for Apple
local changes.
* lib/mi-support.exp (mi_check_current_frame): Fix regexp to
correctly allow either mi1 or mi0 brackets.
2002-10-10 Jason Molenda (jmolenda@apple.com)
* lib/gdb.exp (gdb_suppress_entire_file): Don't append \n on warning.
* lib/mi-support.exp (mi_check_current_frame): Allow for either
mi1 or mi0 brackets.
* gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp, gdb.mi/mi-console.exp,
gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp, gdb.mi/mi-hack-cli.exp,
gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp,
gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp,
gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp,
gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp:
Don't run these on MacOS X for now. We'll leave them the pristine
FSF versions so merges aren't headache-inducing, but they won't match
our MI output so we'll just suppress them for now.
2002-10-10 Jason Molenda (jmolenda@apple.com)
* lib/mi-support.exp (mi_check_current_frame): New function to verify
that we're stopped where we're supposed to be.
(mi_get_stopped): New function to wait for a *stopped message and
verify that we stopped where we should have.
(mi_get_bp_stopped): Specialization of mi_get_stopped for breakpoints.
(mi_execute_to_helper): Customize to Apple's *stopped output.
(mi_finish_to): Ditto.
(mi_continue_to): Ditto.
(mi0_continue_to): Ditto. (All mi0* funcs should probably be removed)
gdb.mi/mi1-console.exp: Use mi_get_bp_stopped.
gdb.mi/mi1-disassemble: Ditto.
gdb.mi/mi1-eval.exp: Use mi_get_bp_stopped and mi_get_stoped.
gdb.mi/mi1-read-memory.exp: Use mi_get_stopped.
gdb.mi/mi1-return.exp: Use mi_get_bp_stopped. Adjust -exec-return
^done message to not expect FRAME.
gdb.mi/mi1-simplerun.exp: Use mi_get_bp_stopped.
gdb.mi/mi1-stack.exp: Use mi_get_bp_stopped and mi_get_stopped.
gdb.mi/mi1-stepi.exp: Ditto.
gdb.mi/mi1-until.exp: Ditto.
gdb.mi/mi1-var-block.exp: Ditto.
gdb.mi/mi1-var-cmd.exp: Use mi_get_bp_stopped.
gdb.mi/mi1-var-display.exp: Use mi_get_bp_stopped, mi_continue_to.
gdb.mi/mi1-watch.exp: Use mi_get_bp_stopped. Change *stopped messages
for watchpoint hits to not include FRAME. Should add mi_get_wp_stopped?
2002-10-07 Jason Molenda (jmolenda@apple.com)
* lib/mi-support.exp (mi_runto): Expect COMMANDS field in
breakpoint 'stopped' message. Don't expect FRAME field.
(mi_execute_to_helper): Don't expect FRAME field.
* gdb.mi/gdb701.exp: -var-create includes TYPECODE and IN_SCOPE fields.
2002-10-06 Klee Dienes
* gdb.arch/altivec-abi.c: Switch to VDECL4/8/16, rather than
complicated varargs magic, for the vector declaration routines.
2002-10-06 Klee Dienes
* gdb.arch/altivec-abi.c: Conditionalize inclusion of altivec.h.
New macro, VDECL, to handle differences in the OS X
initialization syntax (Mac OS X should support the {}-style
syntax, but doesn't in all cases due to a compiler issue).
Explicitly specify signed vs. unsiged for int, short, and
char, to placate the OS X compiler. Explicitly set vrsave to
0xfffffff on OS X.
* gdb.arch/altivec-regs.c: Conditionalize inclusion of altivec.h.
Explicitly setvrsave to 0xfffffff on Mac OS X.
* gdb.arch/altivec-abi.exp: Add test for powerpc-apple-* when
detecting Altivec support. Paramterize the compile flags
needed for Altivec support.
* gdb.arch/altivec-regs.exp: Add test for powerpc-apple-* when
detecting Altivec support. Paramterize the compile flags
needed for Altivec support. Paramterize the base of the
vector register names (Apple uses v, not vr). Rename
vector_register to hex_register. Expect results from 'info
reg' in decimal format; also add a test for 'print /x' to get the
registers in hex format. Comment out the test for "info powerpc
altivec" (the function was removed recently).
2002-10-03 Jason Molenda (jmolenda@apple.com)
* gdb.base/annota1.exp: Mark fails due to two radars; edit expected
text slightly for Apple local output.
2002-10-02 Jason Molenda (jmolenda@apple.com)
* gdb.threads/pthreads.exp: Don't expect 'b main thread 2' to work
on MOSX.
2002-10-01 Jason Molenda (jmolenda@apple.com)
* gdb.base/constvars.exp: Don't xfail these tests on Mac OS X systems.
2002-09-30 Jason Molenda (jmolenda@apple.com)
* gdb.base/attach.exp: s#/tmp#/private/tmp# 'cause that's the actual
location and some tests want the named directory to match the actual
directory. xfail one test that is invalid with our attach cmd;
tweak a pattern or two to match local output.
2002-09-30 Jason Molenda (jmolenda@apple.com)
* gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads to build
test executable.
* gdb.threads/print-threads.exp: Same.
* gdb.threads/schedlock.exp: Same.
* gdb.threads/pthreads.exp: Change expected text messages to
match Apple GDB output.
2002-09-26 Jason Molenda (jmolenda@apple.com)
* gdb.base/corefile.exp: Mark fails with radar #'s.
* gdb.base/default.exp: Add test to detect proper setting/clearing
of $input_radix, $output_radix Apple local convenience variables.
* gdb.base/nodebug.exp: Mark fails as xfails with explanations about
why they're expected.
* gdb.base/return.exp: Mark fail with radar #.
* gdb.base/signals.exp: Mark fails with radar #'s. One of these
("continue to func1") may be a generic gdb problem that I'll
have to xfail and close the radar - will investigate later.
2002-09-26 Klee Dienes
* lib/gdb.exp (default_gdb_start): Separate the lower-level starter
functionality into another function to help work around probable
kernel/libc problem exposed by corefile.exp.
* gdb.base/corefile.exp: Detect Apple corefiles in /cores.
Call new default_gdb_run() function instead of spawn/close.
* gdb.base/coremaker.c: Print pid before dumping core.
2002-09-26 Klee Dienes
* gdb.mi/mi-stack.exp,mi-stepi.exp,mi-until.exp,mi-var-block.exp
mi-var-child.exp,mi-var-display.exp,mi0-stack.exp,mi0-stepi.exp
mi0-until.exp,mi0-var-block.exp,mi0-var-child.exp,mi0-var-display.exp:
Add -re ".*$mi_gdb_prompt$" {fail ""} to tests using gdb_expect
which fail on the Apple GDB, to prevent test-suite timeouts.
* gdb.mi/mi-stepi.exp, gdb.mi/mi0-stepi.exp: Fix the test result
messages from "next-instruction" to "exec-next-instruction".
* gdb.mi/mi-var-display.exp, gdb.mi/mi0-var-display.exp: Fail the
"create variable (7.81)" tests if 'fp' wasn't properly set by the
"record fp" part of the file. We'll probably want to fix this
test another way, but in the meantime, the test file shouldn't be
crashing just because an earlier part of the file failed.
2002-09-26 Klee Dienes
* gdb.base/default.exp: Remove the '\n's from the "Timeout now
..." messages: the 'verbose' command already appends a '\n'.
2002-09-25 Jason Molenda (jmolenda@apple.com)
* gdb.base/call-rt-st.exp: Annotate another failure; fix up radar
reporting method so it's correct. Shoudl really modify
print_struct_call to take an optional third argument of a test name
string.
* gdb.base/opaque.exp: Note Apple local type psym behavior. Should
probably XFAIL this or something.
* gdb.base/ptype.exp: Ditto.
* gdb.base/return2.exp: Mark failing testcase with radar #.
2002-09-24 Jason Molenda (jmolenda@apple.com)
* gdb.base/structs.exp (p L[3-11]): Annotate with existing radar about
inf func call w/ structs of chars.
2002-09-24 Jason Molenda (jmolenda@apple.com)
* gdb.base/default.exp (set, show): Extend timeout to allow for busy OS X
systems, remove hardcoded failure results.
2002-09-24 Jason Molenda (jmolenda@apple.com)
* gdb.base/call-rt-st.exp: Patch for breakpoint misplacement fixed,
remove radar 3049666 annotations.
* gdb.base/funcargs.exp: Ditto.
* gdb.base/long_long.exp: Ditto.
2002-09-24 Jason Molenda (jmolenda@apple.com)
* gdb.base/relocate.exp (add-symbol-file): Adjust test case to use
Apple supported syntax.
* gdb.base/return2.exp (return values): Mark with radar #.
* gdb.base/shlib-call.exp (set bp in shared lib): Change to
future-break to work with Apple's shlib behavior.
* gdb.base/signals.exp (backtrace in signals_tests_1): Note radar #.
2002-09-19 Klee Dienes (kdienes@apple.com)
* gdb.base/default.exp (info set): Disable test for Darwin for
now; replace with a hard-coded FAIL.
* gdb.base/default.exp (show): Ditto.
* gdb.mi/mi-stack.exp (nexts in callee4): Add a fallback case
to avoid timeout.
2002-09-19 Jason Molenda (jmolenda@apple.com)
* gdb.base/printcmds.exp (p a1, p a2): Annotate with new radar #.
* gdb.base/nodebug.exp (p/c array_index): Annotate with new radar #.
2002-09-19 Jason Molenda (jmolenda@apple.com)
* gdb.base/nodebug.exp: Fix up function call to specify return
type as per Apple gdb style.
2002-09-18 Jason Molenda (jmolenda@apple.com)
* gdb.base/list.exp (nonexistant function): Adjust to accept Apple
syntax.
* gdb.base/long_long.exp (get to known place): Adjust to Apple gdb's
behavior.
* gdb.base/maint.exp (maint info sections .text): MachO wording.
(maint info sections {CODE,DATA}): Annotate with radar #.
(help maint): Match Apple gdb help msg.
(help maint demangle): Ditto.
(help maint): Ditto.
2002-09-16 Jason Molenda (jmolenda@apple.com)
* gdb.base/funcargs.exp: Declare scope of $r3049666 to pass it
around correctly.
2002-09-16 Jason Molenda (jmolenda@apple.com)
* gdb.base/default.exp (add-symbol-file): Fix test case to match
Apple gdb output.
* gdb.base/ending-run.exp: Annotate two failures with radar #'s.
XFAIL three others as expected behavior on our platform.
* gdb.base/funcargs.exp: Annotate three test fails with radar #'s.
* gdb.base/help.exp: Fix expected messages to match actual Apple
gdb help output for a dozen tests.
2002-09-15 Jason Molenda (jmolenda@apple.com)
* gdb.base/dump.exp: Annotate fails with radar #.
2002-09-12 Jason Molenda (jmolenda@apple.com)
* gdb.base/call-ar-st.exp: Annotate failures with radar numbers
tracking the problems.
* gdb.base/call-rt-st.exp: Ditto.
2002-09-09 Jason Molenda (jmolenda@apple.com)
* gdb.objc: New directory, tests from Adam Fedor's patch,
http://sources.redhat.com/ml/gdb/2002-09/msg00059.html
* configure.in: Configure gdb.objc.
* configure: Regenerated.
2002-09-05 Jason Molenda (jmolenda@apple.com)
* gdb.base/completion.exp: Recognize additional commands starting
with 't' in Apple gdb.
2002-08-30 Klee Dienes
* gdb.asm/asm-source.exp: Change test for Mac OS X to work for
Intel as well.
2002-08-27 Klee Dienes
* gdb.asm/asm-source.exp: Add test for Mac OS X; reset
asm-arch to "" if true. Exit test entirely if asm-arch is ""
(rather than generating 20 FAILs).
* gdb.base/call-rt-st.exp: Allow the breakpoint on loop_count to
be set on either line 106 or 107.
* gdb.base/callfuncs.exp: Don't return a value when checking to
see that register contents are restored after returning a call
dummy (the value might be returned in a register on some systems).
* gdb.base/maint.exp: Add fallback case when checking for "maint
info sections .text/CODE/DATA"; without it, the testsuite will
time out on systems that don't use the names .text and .data for
text and data sections.
2001-09-04 Syd Polk
* gdb.base/page.exp: Changed tests to call gdb_expect directly;
otherwise, they would hang.
* gdb.base/shlib.exp sizeof.exp: Fixed tests to compile for Darwin.
* gdb.c++/templates.exp userdef.exp: Ditto.
2000-10-02 James Ingham
* gdb.threads/pthreads.exp: Add the System framework to the
libraries searched for pthread.
* gdb.base/default.exp: Adjust test for inclusion of ObjC in help
string.
* gdb.base/assign.exp: cut & paste typo in test label.