This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/51358] incorrect/missing location for function arg, -O0, without VTA
- From: "jan.kratochvil at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 12 Aug 2012 18:37:26 +0000
- Subject: [Bug debug/51358] incorrect/missing location for function arg, -O0, without VTA
- Auto-submitted: auto-generated
- References: <bug-51358-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51358
--- Comment #4 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2012-08-12 18:37:26 UTC ---
It would not be helpful, systemtap would then see no data (just not wrong
data).
Also at that time location list will need to be used and currently GDB when it
sees any location list it thinks it no longer needs to skip the prologue.
OTOH GDB could look at -grecord-gcc-switches first which it currently does not
so I should just finally implement -grecord-gcc-switches in GDB in such case.