Michael Chastain
5af1d5f3ff
2003-02-03 Michael Chastain <mec@shout.net>
...
* gdb.c++/pr-1023.cc: New file.
* gdb.c++/pr-1023.exp: New file.
2003-02-05 06:38:33 +00:00
Jim Blandy
6b5497864a
* gdb.c++/local.exp: Don't expect Local to be in scope in main;
...
it's local to foobar. Check for it there, and check that it's not
present in main.
* gdb.c++/local.cc (marker2): New function.
(foobar): Call marker1.
(main): Call marker2 instead of marker1.
2003-02-05 05:48:46 +00:00
Andrew Cagney
67f1660612
2003-02-04 Andrew Cagney <ac131313@redhat.com>
...
* NEWS: Mention that the mn10200-elf is obsolete.
* configure.tgt: Obsolete mn10200-*-* target.
* breakpoint.c (update_breakpoints_after_exec): Update comment to
mention that the mn10200 is obsolete.
* breakpoint.h: Ditto.
* MAINTAINERS: Mark the mn10200-elf as obsolete.
* config/mn10200/mn10200.mt: Obsolete file.
* config/mn10200/tm-mn10200.h: Obsolete file.
* mn10200-tdep.c: Obsolete file.
Index: testsuite/ChangeLog
2003-02-04 Andrew Cagney <ac131313@redhat.com>
* gdb.disasm/mn10200.exp: Obsolete file.
* gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
* gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
* gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
2003-02-04 22:49:19 +00:00
David Carlton
1c5cb38e90
2003-02-04 David Carlton <carlton@math.stanford.edu>
...
* gdb.texinfo (C@t{++}): Recommend DWARF 2, then stabs+.
(Variables): Recommend stabs+ and DWARF 2.
(C plus plus expressions): Correct info about
compiler versions, debug formats.
(Contributors): Change 'DWARF2' to 'DWARF 2'.
PR symtab/874.
2003-02-04 David Carlton <carlton@math.stanford.edu>
* gdb.c++/overload.exp: Test intToChar(1).
* gdb.c++/overload.cc (intToChar): New.
(main): Call intToChar.
2003-02-04 21:19:27 +00:00
David Carlton
d1fe6965e5
2003-02-03 David Carlton <carlton@math.stanford.edu>
...
* gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
'might_kfail' arg.
KFAIL some of the continue_to_bp_overloaded calls, according to
PR c++/1025.
2003-02-04 01:09:03 +00:00
Michael Chastain
9ba61c5d3a
2003-02-01 Michael Chastain <mec@shout.net>
...
* gdb.base/advance.c (marker1): New marker function.
* gdb.base/advance.exp: When the 'advance' command lands on the
return breakpoint, it can legitimately stop on either the
current line or the next line. Accommodate both outcomes.
* gdb.base/until.exp: Likewise.
2003-02-03 16:07:31 +00:00
Andrew Cagney
e7494ffb71
2003-02-02 Andrew Cagney <ac131313@redhat.com>
...
From 2002-11-10 Jason Molenda (jason-cl@molenda.com ):
* mi-cmd-var.c (mi_cmd_var_list_children): CHILDREN field is
now a list; still a tuple when in mi1.
* gdbmi.texinfo: Update var-list-children example.
2003-02-02 Andrew Cagney <ac131313@redhat.com>
2002-11-10 Jason Molenda (jason-cl@molenda.com ):
* gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
now a list, not a tuple.
* gdb.mi/mi-var-display.exp: Ditto.
* gdb.mi/gdb792.exp: Ditto.
2003-02-02 06:24:04 +00:00
Andrew Cagney
075559bc19
2003-02-01 Andrew Cagney <ac131313@redhat.com>
...
From 2002-11-09 Jason Molenda (jason-cl@molenda.com )
* stack.c (print_frame_info_base): Output complete FRAME tuple
for synthesized frames.
2003-02-01 Andrew Cagney <ac131313@redhat.com>
From 2002-11-09 Jason Molenda (jason-cl@molenda.com ):
* gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
stack backtraces.
* gdb.mi/mi-syn-frame.c: Part of same.
2003-02-02 05:51:09 +00:00
Mark Kettenis
2bd4c7b179
* gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
...
gdb.mi/mi1-pthreads.exp: Return instead of calling
gdb_suppress_entire_file.
2003-02-01 20:47:16 +00:00
Mark Salter
eabd89923e
*** empty log message ***
2003-02-01 14:29:29 +00:00
Mark Salter
5ac125ce75
Clear frame pointer, not sp.
2003-02-01 14:29:12 +00:00
Mark Salter
71469e2fea
*** empty log message ***
2003-01-31 13:11:42 +00:00
Mark Salter
b53f9b27af
Support remote targets.
2003-01-31 13:11:26 +00:00
Michael Chastain
38a94d4494
2003-01-30 Michael Chastain <mec@shout.net>
...
* lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
This was a workaround for a UTF-8 bug in readline 4.3. The bug
has been fixed in gdb/readline on 2003-01-09.
2003-01-31 00:39:28 +00:00
Michael Snyder
19ea9e7332
2003-01-29 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/args.exp: Skip if target does not support args passing.
2003-01-29 23:25:43 +00:00
Daniel Jacobowitz
2307bd6a50
* gdb.exp (gdb_test_multiple): New function, cloned from
...
gdb_test. Accept a list of expect arguments as the third
parameter.
(gdb_test): Use it.
2003-01-23 01:35:21 +00:00
Elena Zannoni
f2dd3617b5
2003-01-20 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
allow for different test tree configurations. Update some
tescases accordingly.
* gdb.arch/altivec-regs.exp: Ditto.
* gdb.asm/asm-source.exp: Ditto.
* gdb.base/advance.exp: Ditto.
* gdb.base/display.exp: Ditto.
* gdb.base/long_long.exp: Ditto.
* gdb.base/mips_pro.exp: Ditto.
* gdb.base/overlays.exp: Ditto.
* gdb.base/relocate.exp: Ditto.
* gdb.base/setshow.exp: Ditto.
* gdb.base/step-line.exp: Ditto.
* gdb.base/step-test.exp: Ditto.
* gdb.base/until.exp: Ditto.
* gdb.c++/virtfunc.exp: Get rid of variable 'src'.
2003-01-20 15:40:07 +00:00
David Carlton
c71cdefd6f
2003-01-17 David Carlton <carlton@math.stanford.edu>
...
* gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
corresponding to PR c++/945.
Update copyright.
2003-01-17 20:24:51 +00:00
David Carlton
fdba05d75f
2003-01-17 David Carlton <carlton@math.stanford.edu>
...
* gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
corresponding to PR c++/68.
(and fix date of previous ChangeLog entry; oops.)
2003-01-17 19:24:16 +00:00
David Carlton
d2b29e01d7
2003-01-16 David Carlton <carlton@math.stanford.edu>
...
* gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
(test_paddr_hairy_functions): Call print_addr_2_kfail for
hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
2003-01-17 19:22:27 +00:00
Elena Zannoni
0fbc361cc7
2003-01-15 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/break.exp: Fix change of default location, because of
removal of until tests.
* gdb.base/help.exp: Update test for new 'until' help message.
Add test for help on 'advance'.
2003-01-16 01:56:16 +00:00
Elena Zannoni
c362c33a0d
2003-01-15 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/args.exp: Fix foobar with GDBFLAGS global.
2003-01-16 01:13:18 +00:00
Mark Kettenis
dabf8a3592
* gdb.base/default.exp: Adapt "info float" test for recent changes
...
to that command. Add test for "info vector".
* gdb.base/float.exp: New file. Add test for "info float" that
resembles the old test in gdb.base/default.exp.
2003-01-15 17:46:20 +00:00
David Carlton
a1769aca31
2003-01-15 David Carlton <carlton@math.stanford.edu>
...
* gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
2003-01-15 17:32:41 +00:00
Elena Zannoni
82025e1307
2003-01-15 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/break.exp: Move the tests of until command from here...
* gdb.base/until.exp: ... to here. New file. Add other tests.
* gdb.base/advance.c: New file.
* gdb.base/advance.exp: New file.
2003-01-15 14:25:11 +00:00
Elena Zannoni
8f9ab80108
2003-01-14 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/args.c: New file.
* gdb.base/args.exp: New file.
2003-01-14 21:03:44 +00:00
Daniel Jacobowitz
a0d9b83140
Update copyright date.
2003-01-14 18:42:38 +00:00
Daniel Jacobowitz
9ae66589a7
* gdb.c++/virtfunc.exp: Remove fixed XFAIL.
2003-01-14 18:32:14 +00:00
Daniel Jacobowitz
8d77e5c3a8
* gdb.threads/killed.exp: Use KFAIL for gdb/568.
2003-01-14 18:13:11 +00:00
Daniel Jacobowitz
12d2f0a1dd
* gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
...
dates.
2003-01-14 17:36:49 +00:00
Daniel Jacobowitz
6ca37014df
* gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
2003-01-14 04:40:48 +00:00
Daniel Jacobowitz
b00234725e
* gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
...
(ptype &*"foo").
* gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2003-01-14 04:34:46 +00:00
Daniel Jacobowitz
d6abaea528
* gdb.mi/mi-console.exp: Remove extra "(known bug)".
...
* gdb.mi/mi1-console.exp: Likewise.
2003-01-13 23:24:43 +00:00
Daniel Jacobowitz
dfd536a75e
* gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
...
* gdb.mi/mi1-console.exp: Likewise.
2003-01-13 22:07:15 +00:00
Daniel Jacobowitz
b5e5c35c01
Update copyright years.
2003-01-13 20:09:33 +00:00
Daniel Jacobowitz
a1fb14a2c2
* gdb.c++/overload.exp: Remove some fixed XFAILs.
2003-01-13 20:08:16 +00:00
Daniel Jacobowitz
c4cf40b7ca
* gdb.base/detach.exp: New test.
2003-01-09 19:18:04 +00:00
Daniel Jacobowitz
696d5a5b84
* Makefile.in (ALL_SUBDIRS): New variable.
...
(subdirs, clean, distclean): Use it.
* gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
regenerating Makefile, since it is generated from the top level.
* gdb.asm/Makefile.in: Likewise.
* gdb.base/Makefile.in: Likewise.
* gdb.c++/Makefile.in: Likewise.
* gdb.disasm/Makefile.in: Likewise.
* gdb.java/Makefile.in: Likewise.
* gdb.mi/Makefile.in: Likewise.
* gdb.threads/Makefile.in: Likewise.
* gdb.trace/Makefile.in: Likewise.
2003-01-09 18:50:28 +00:00
David Carlton
754533e434
2003-01-09 David Carlton <carlton@math.stanford.edu>
...
* gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
Add copyright year 2003.
2003-01-09 17:10:39 +00:00
Michael Chastain
d8b3e9ee2a
2003-01-06 Michael Chastain <mec@shout.net>
...
* gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
When selecting a thread, 'line' and 'file' are optional.
* gdb.mi/mi1-pthreads.exp: Likewise.
2003-01-07 03:31:27 +00:00
Andreas Schwab
8e9e0fe6da
* lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
...
failures.
2003-01-06 18:10:32 +00:00
Daniel Jacobowitz
b5ab8ff3a4
Fix PR gdb/844
...
* lib/gdb.exp (gdb_compile): Handle "quiet" option.
(gdb_compile_pthreads): Pass "quiet" to gdb_compile.
* gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
instead of calling gdb_suppress_entire_file.
* gdb.threads/print-threads.exp: Likewise.
* gdb.threads/schedlock.exp: Likewise.
* gdb.threads/killed.exp: Return instead of calling
gdb_suppress_entire_file.
* gdb.threads/linux-dp.exp: Likewise.
* gdb.threads/pthreads.exp: Likewise.
2003-01-04 23:05:05 +00:00
Daniel Jacobowitz
1e69823536
gdb/
...
* buildsym.h (processing_hp_compilation): Remove obsolete variable.
* gdbarch.sh Remove include of "value.h" in gdbarch.h.
(COERCE_FLOAT_TO_DOUBLE): Remove.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* Makefile.in: Remove value_h from gdbarch_h.
* valops.c (coerce_float_to_double): New variable.
(default_coerce_float_to_double): Remove.
(standard_coerce_float_to_double): Remove.
(value_arg_coerce): Use coerce_float_to_double.
(_initialize_valops): Add "set coerce-float-to-double".
* value.h (default_coerce_float_to_double): Remove prototype.
(standard_coerce_float_to_double): Remove prototype.
* hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
prototyped.
* mdebugread.c (parse_symbol): Likewise.
* stabsread.c (define_symbol): Mark all functions as prototyped.
* hppa-tdep.c (hppa_coerce_float_to_double): Remove.
* alpha-tdep.c (alpha_gdbarch_init): Remove call to
set_gdbarch_coerce_float_to_double.
* arm-tdep.c (arm_gdbarch_init): Likewise.
* frv-tdep.c (frv_gdbarch_init): Likewise.
* h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
* i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
* mips-tdep.c (mips_gdbarch_init): Likewise.
(mips_coerce_float_to_double): Remove.
* rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
(rs6000_coerce_float_to_double): Remove.
* s390-tdep.c (s390_gdbarch_init): Likewise.
* sh-tdep.c (sh_gdbarch_init): Likewise.
(sh_coerce_float_to_double): Remove.
* sparc-tdep.c (sparc_gdbarch_init): Likewise.
(sparc_coerce_float_to_double): Remove.
* v850-tdep.c (v850_gdbarch_init): Likewise.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
* config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
* config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
(hppa_coerce_float_to_double): Remove prototype.
* config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
doc/
* gdb.texinfo (Controlling GDB): Add ABI section. Document
"set coerce-float-to-double".
* gdbint.texinfo (COERCE_FLOAT_TO_DOUBLE): Remove documentation.
testsuite/
* gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
stabs.
* gdb.base/completion.exp: Allow marker1(void) as well as marker1().
* gdb.base/whatis.exp: Always allow (void) after function names.
2003-01-04 22:37:49 +00:00
Daniel Jacobowitz
147ff08c6b
* gdb.c++/casts.exp: Correct regexp.
2003-01-04 22:30:21 +00:00
Mark Kettenis
dc62bfc2fc
* configure.in: Call AC_CONFIG_HEADER. Don't call
...
AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
aforementioned directories in the AC_OUPUT call.
* config.hin: New file.
* gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
gdb.threads/killed.exp, gdb.threads/print-threads.exp,
gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
pass -I$objdir instead of -I$objdir/$subdir in compilation.
* gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
gdb.threads/configure.in, gdb.threads/configure,
gdb.threads/config.in, gdb.trace/configure.in,
gdb.trace/configure: Removed.
2003-01-04 15:37:40 +00:00
Michael Chastain
77afa6398a
2003-01-03 Michael Chastain <mec@shout.net>
...
* gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
2003-01-04 04:07:16 +00:00
Daniel Jacobowitz
7634bb6e63
* gdb.base/store.exp: Fix regular expressions.
2003-01-04 03:59:27 +00:00
Mark Kettenis
b39c905ef8
* configure.in: Rewrite.
...
* configure: Regenerated.
2003-01-04 00:43:24 +00:00
David Carlton
0a8551ddd5
2003-01-03 David Carlton <carlton@math.stanford.edu>
...
* gdb.base/psymtab.exp: New file.
* gdb.base/psymtab1.c: Ditto.
* gdb.base/psymtab2.c: Ditto.
2003-01-03 20:55:46 +00:00
Adam Fedor
c60b71880d
gdb.base/maint.exp: Update expect output to include 'ObjC'.
2002-12-24 04:03:46 +00:00