🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #2828

Re: Bug#131033: gdb 5.1 dumped core on me [was: Emacs abort under gdb]

#2828
From: Eli Zaretskii
Date: Mon, 28 Jan 2002 17:09
12 lines
1429 bytes
On Mon, 28 Jan 2002, Francesco Potorti` wrote:

> The most probable cause should be trying to access something out of the
> user space.

As others pointed out, GDB should not crash when it reads the debuggee's
memory, even if the pointer is invalid.  The debug interface should 
return a failure indication, and GDB should have said ``cannot access 
memory at addres 12345678''.  If the debug interface didn't return a 
failure indication, it can be due to a kernel bug, but I doubt that this 
is what happened.
Technical Details
Message-ID: <Pine.SUN.3.91.1020128190621.29128F-100000@is>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!cleanfeed.casema.net!leda.casema.net!news2.euro.net!uunet!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdb

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,410b098bbbab7603
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 2002-01-28 09:57:09 PST
x-uunet-gateway: sjc3sosrv11.alter.net from bug-gdb to gnu.gdb.bug; Mon, 28 Jan 2002 17:57:05 GMT
Date: Mon, 28 Jan 2002 19:09:29 +0200
From: eliz@is.elta.co.il (Eli Zaretskii)
X-Sender: eliz@is
Subject: Re: Bug#131033: gdb 5.1 dumped core on me [was: Emacs abort under gdb]
Message-ID: <Pine.SUN.3.91.1020128190621.29128F-100000@is>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Approved: bug-gdb-request@mail.gnu.org
Newsgroups: gnu.gdb.bug
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!cleanfeed.casema.net!leda.casema.net!news2.euro.net!uunet!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdb
Sender: bug-gdb-request@mail.gnu.org
Lines: 12