| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| X-Recipient: | djgpp AT delorie DOT com |
| Message-ID: | <5224ADC3.6050608@iki.fi> |
| Date: | Mon, 02 Sep 2013 18:24:51 +0300 |
| From: | Andris Pavenis <andris DOT pavenis AT iki DOT fi> |
| User-Agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 |
| MIME-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| Subject: | Used DWARF version for GCC-4.8.1 |
| Reply-To: | djgpp AT delorie DOT com |
Updated GCC-4.8.1 packages for DJGPP at
http://ap1.pp.fi/djgpp/gcc/index.html
to use DWARF2 by default (it means unless DWARF3/4 is explicitly required).
Some problems seems to:
I do not see:
Breakpoint 1, main () at 1.c:10
10 int a = 1;
(gdb) s
11 f(a);
(gdb)
f (i=<error reading variable: can't compute CFA for this frame>) at 1.c:5
5 printf("a=%d\n", i);
(gdb) p i
can't compute CFA for this frame
(gdb)
any more with it.
I simply tried to use xgcc.exe from GCC build directory for testing
whether debugging works. For example:
gdb --args xgcc.exe --help
1) Messages like 'error reading variable: can't compute CFA for this frame'
does not appear any more as it was expected
2) Backtrace is often broken: gdb fails to display frame info
I should perhaps check more with cross-compiler as building
native compiler simply requires too much time
Andris
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |