This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gdb/73: "ERROR: Breakpoints not deleted", gdb.mi/mi-*.exp, native linux



>Number:         73
>Category:       gdb
>Synopsis:       "ERROR: Breakpoints not deleted", gdb.mi/mi-*.exp, native linux
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 30 12:08:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Michael Chastain
>Release:        gdb 2001-06-30-cvs (MI_OUT)
>Organization:
>Environment:
native i686-pc-gnu (red hat linux 6.0, 6.1, 6.2, 7)
gcc gcc-3_0-branch from cvs 2001-06-29
configured with --enable-gdbmi (should be redundant now)
>Description:
16 of the gdb.mi/mi-*.exp tests report an ERROR like this:

  spawn /horton/chastain/fsf/2001-06-29/snapon/native/build/gcc/xgcc -B/horton/chastain/fsf/2001-06-29/snapon/native/build/gcc/ /horton/chastain/fsf/2001-06-29/source/gdb/testsuite/gdb.mi/basics.c -DFAKEARGV -g -lm -o /horton/chastain/fsf/2001-06-29/snapon/native/build/gdb/testsuite/gdb.mi/basics
  102-break-delete
  102^done
  (gdb)
  103-break-list
  103^done,BreakpointTable={hdr=[]}
  (gdb)
  ERROR: Breakpoints not deleted

This happens in: mi-break.exp mi-console.exp mi-disassemble.exp mi-eval.exp mi-read-memory.exp mi-regs.exp mi-return.exp mi-simplerun.exp mi-stack.exp mi-stepi.exp mi-until.exp mi-var-block.exp mi-var-child.exp mi-var-cmd.exp mi-var-display.exp mi-watch.exp

The empty "hdr=[]" happens on native i686-pc-linux-gnu.
"hdr" has a value when I run on native sparc-sun-solaris-{2.5.1,2.6,2.7,2.8}.

A week earlier, gdb 2001-06-23-cvs (MI_OUT), gives:

  spawn /horton/chastain/fsf/2001-06-23/snapon/native/build/gcc/xgcc -B/horton/chastain/fsf/2001-06-23/snapon/native/build/gcc/ /horton/chastain/fsf/2001-06-23/source/gdb/testsuite/gdb.mi/basics.c -DFAKEARGV -g -lm -o /horton/chastain/fsf/2001-06-23/snapon/native/build/gdb/testsuite/gdb.mi/basics
  102-break-delete
  102^done
  (gdb)
  103-break-list
  103^done,BreakpointTable={}
  (gdb)
>How-To-Repeat:
build cvs gdb on native i686-pc-linux-gnu
use gcc 3.0 to compile test programs
run test script mi-break.exp
>Fix:
Either change "hdr=[]" to output something more acceptable,
or change lib/mi-support.exp to accept "hdr=[]".
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]