public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* label formats in gcc 3.4 for arm-vxworks
@ 2006-02-20 18:11 Olivier Hainque
  0 siblings, 0 replies; only message in thread
From: Olivier Hainque @ 2006-02-20 18:11 UTC (permalink / raw)
  To: gcc; +Cc: hainque

Hello,

Working on an arm-vxworks port for Ada, we noticed that both
NO_DOT_IN_LABEL and NO_DOLLAR_IN_LABEL are defined, the former from
config/vxworks.h and the latter from arm/aout.h.

Is it really intended this way ?

NO_DOT_IN_LABEL is actually #undef'ed from config/vxworks.h, but the
arm/aout.h overrules it because

  tm_file="... vxworks.h arm/elf.h arm/aout.h ... arm/vxworks.h"

This is causing labels for nested functions to be formatted by

  #   define ASM_PN_FORMAT "__%s_%lu"

...  causing some troubles to the debugger, which fails to reconstruct
the proper user level name.

Before investigating possible debugger adjustments, we wanted to check
whether the compiler configuration was as intented.

Thanks in advance for your help,

Olivier








^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-20 18:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-20 18:11 label formats in gcc 3.4 for arm-vxworks Olivier Hainque

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).