delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2012/12/13/15:33:08

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
Date: Thu, 13 Dec 2012 22:32:56 +0200
From: Eli Zaretskii <eliz AT gnu DOT org>
Subject: Re: RFC: remove deprecated_sym_private
In-reply-to: <50CA3340.5050502@gmx.de>
X-012-Sender: halo1 AT inter DOT net DOT il
To: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
Cc: djgpp-workers AT delorie DOT com
Message-id: <83a9thofpj.fsf@gnu.org>
References: <87sj7c9u95 DOT fsf AT fleche DOT redhat DOT com> <83r4mw7x68 DOT fsf AT gnu DOT org> <50C87C50 DOT 3050704 AT gmx DOT de> <83fw3b8cl8 DOT fsf AT gnu DOT org> <50C91E2A DOT 2050809 AT gmx DOT de> <83k3slomws DOT fsf AT gnu DOT org> <50CA2843 DOT 7020603 AT gmx DOT de> <50CA3340 DOT 5050502 AT gmx DOT de>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019