bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Eli Zaretskii
Subject: Re: gdb 5.1 dumped core on me [was: Emacs abort under gdb]
Date: Thu, 24 Jan 2002 09:40:05 +0200 (IST)

> From: Francesco Potorti` <address@hidden>
> Date: Tue, 22 Jan 2002 12:27:11 +0100
> 
> (gdb) p/x current_buffer->auto_save_file_name
> $59 = 0x1827b31c
> (gdb) xstring
> $60 = (struct Lisp_String *) 0x827b31c
> Segmentation fault (core dumped)

Does GDB's core file say something interesting about where did GDB
crash?

Anyway, since no one responded, let me rephrase the (implicit)
question in Francesco's report: Is GDB supposed to handle invalid
memory accesses gracefully?  That is, if the user asks GDB to access
the inferior's memory via an invalid pointer, does GDB protect itself
against SIGSEGV and other related calamities?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]