https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82509
Eric Botcazou changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82509
--- Comment #6 from Eric Botcazou ---
Author: ebotcazou
Date: Thu Oct 19 13:50:10 2017
New Revision: 253893
URL: https://gcc.gnu.org/viewcvs?rev=253893&root=gcc&view=rev
Log:
PR debug/82509
* dwarf2out.c (new_die_raw): New static
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82509
--- Comment #5 from Eric Botcazou ---
> This uses your patch to gcc, plus the following patch to gdb:
>
> https://sourceware.org/ml/gdb-patches/2017-10/msg00266.html
Great, thanks for the testing.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82509
--- Comment #4 from Peeter Joot ---
Here's the debug session that shows the compiler+debugger stack playing nicely
together:
(gdb) n
40 int cb = memcmp( &b, &n, sizeof( b ) );
(gdb) p bt
$1 = {v = 3, a = {1, 2, 3, 4}}
(gdb) p b
$2 = {v
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82509
--- Comment #3 from Peeter Joot ---
Created attachment 42350
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42350&action=edit
test case used to verify Eric's patch in a gdb session.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82509
Eric Botcazou changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82509
Eric Botcazou changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|