This is the mail archive of the gdb-prs@sourceware.org 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]

corefiles/2007: deleting the file that you're trying to


>Number:         2007
>Category:       corefiles
>Synopsis:       deleting the file that you're trying to
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 07 13:38:01 UTC 2005
>Closed-Date:
>Last-Modified:
>Originator:     palfrey@tevp.net
>Release:        20050907-cvs
>Organization:
>Environment:
Debian testing/unstable
>Description:
(previously reported as http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=323217)

Doing this is *very* stupid, but deleting the file that you're trying to debug crashes gdb.

Example:

palfrey@kriek:[~/wsn/projects/positif/routing] gdb refine 
GNU gdb 6.3.50.20050907-cvs-debian
Copyright 2004 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 "i486-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) she rm refine
(gdb) r
BFD: BFD 2.16.91 20050907 internal error, aborting at /local/palfrey/src/src/bfd/cache.c line 496 in bfd_cache_lookup_worker

BFD: Please report this bug.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 Deleting the file that you're trying to debug crashes gdb
 From: palfrey@tevp.net
 Reply-To: palfrey@tevp.net
 X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31)
 X-GNATS-Notify: 
 
 Deleting the file that you're trying to debug crashes gdb


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