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]
Other format: [Raw text]

gdb/280: gdb HEAD goes into busy loop on gdb.c++/userdef.cc



>Number:         280
>Category:       gdb
>Synopsis:       gdb HEAD goes into busy loop on gdb.c++/userdef.cc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 20 11:28:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     mec@shout.net
>Release:        gdb 2002-01-19-cvs
>Organization:
>Environment:
red hat linux 7.1
native i686-pc-linux-gnu
gdb cvs HEAD pulled on 2002-01-19
gcc cvs HEAD pulled on 2002-01-19
-gstabs+
>Description:
bash-2.04$ /berman/fsf/_today_/berman/native/install/gdb/HEAD/bin/gdb gdb.c++/userdef
GNU gdb 2002-01-19-cvs
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu" ...
(gdb) break main

gdb goes into a catatonic busy loop here (I gave it five minutes of CPU time and then gave up).
Control C does not work.

gdb has had this problem for a while.  When I use the same executable file, I see the same problem with mainline gdb versions:

  GNU gdb 2002-01-19-cvs
  GNU gdb 2002-01-12-cvs
  GNU gdb 2001-12-23-cvs
  GNU gdb 2001-12-08-cvs
  GNU gdb 2001-12-04-cvs

But this gdb works properly:

  GNU gdb 5.1.0_2002-01-19-cvs

>How-To-Repeat:
Build gcc HEAD (i.e., the mainline) for 2002-01-19.
Build gdb HEAD (i.e., the mainline) for 2002-01-19.
Run the test suite and look at the results for gdb.c++/userdef.exp.
Then invoke the debugger by hand on gdb.c++/userdef and watch it hang.
My gdb.c++/userdef executable is available at:
  ftp://ftp.shout.net/pub/users/mec/userdef-bug/userdef
>Fix:

>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]