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]

[Bug gdb/9615] gdb crashes with SIGSEGV when debugging nested inline functions.


------- Additional Comments From pedro at codesourcery dot com  2009-01-20 23:08 -------
gdb isn't crashing, a.out is.

GDB is correctly showing you where the segmentation fault is happening.  You're
writing 0 to *p, which is the address of the first byte of "hello world\n", a
read only string.  The operating system is trapping on that illegal memory
access, producing the SIGSEGV.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |INVALID


http://sourceware.org/bugzilla/show_bug.cgi?id=9615

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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