Mail Archives: djgpp-workers/2012/12/13/15:33:08
> Date: Thu, 13 Dec 2012 20:57:52 +0100
> From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
> CC: Eli Zaretskii <eliz AT gnu DOT org>
>
> Sorry, only to clarify the issue. I have tried to read line numbers from both
> temacs and emacs but this is only possible if and objdump program is used
> from bnu217 or previous versions. As soon as objdump programs from
> bnu219 or later versions are used, it is no longer possible to show debug
> info like line numbers if the binary has been compiled with -gcoff.
> This shows that the coff debug support is seriously broken.
Hmm... maybe I'm missing something here. What do you mean by "not
possible to show debug info like line numbers"? I have Binutils 2.19
here, and I do see this:
{ /* 0x15d1 */
/* file dispnew.c line 318 addr 0x15d7 */
/* file dispnew.c line 322 addr 0x15e7 */
/* file dispnew.c line 325 addr 0x15ed */
/* file dispnew.c line 326 addr 0x15f5 */
/* file dispnew.c line 327 addr 0x15f8 */
} /* 0x15fa */
static void _free_glyph_matrix (struct _glyph_matrix /* id 77 */ *_matrix /* 0x8 */)
{ /* 0x15fa */
int _i /* 0xfffffffc */;
/* file dispnew.c line 344 addr 0x1600 */
/* file dispnew.c line 350 addr 0x1606 */
/* file dispnew.c line 351 addr 0x1615 */
/* file dispnew.c line 354 addr 0x161a */
/* file dispnew.c line 355 addr 0x1622 */
/* file dispnew.c line 356 addr 0x1634 */
/* file dispnew.c line 355 addr 0x165e */
/* file dispnew.c line 359 addr 0x1665 */
/* file dispnew.c line 360 addr 0x1676 */
/* file dispnew.c line 362 addr 0x1684 */
} /* 0x1686 */
static int _margin_glyphs_to_reserve (struct _window /* id 121 */ *_w /* 0x8 */, int _total_glyphs /* 0xc */, int _margin /* 0x10 */)
{ /* 0x1686 */
int _n /* 0xfffffffc */;
int _width /* 0xfffffff8 */;
double _d /* 0xfffffff0 */;
/* file dispnew.c line 376 addr 0x168c */
/* file dispnew.c line 378 addr 0x16a6 */
/* file dispnew.c line 379 addr 0x16b2 */
etc. This is output from
objdump -g -l temacs.exe
Isn't this line number information? What am I missing?
- Raw text -