Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Adding QNX core-file support to bfd
@ 2003-01-23 22:06 Kris Warkentin
  2003-01-24  8:51 ` Nick Clifton
  2003-01-27 17:19 ` Andrew Cagney
  0 siblings, 2 replies; 6+ messages in thread
From: Kris Warkentin @ 2003-01-23 22:06 UTC (permalink / raw)
  To: binutils, gdb

(Posted to both binutils and gdb since there is overlap on who supports core
files)

Our core files require special support and I was hoping that someone might
be able to tell me a better way to do it than we currently do.

Right now, we have a special elfcore_grok_qnx_note() function that is called
in elf.c in much the same way as elfcore_grok_netbsd_note() is called (check
the namedata for a string and call the function if it matches).

The problem with this is that all of that code and the support functions for
reading our registers, status, etc. is wrapped in #ifdef __QNXTARGET__ which
is defined at configure time.  I believe that this is the sort of clutter
that you want to avoid but unfortunately, we rely on some of our definitions
and structures to extract the corefile information.

Can anyone offer any suggestions for a more elegant way to add this support?

cheers,

Kris


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-01-29 17:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-23 22:06 Adding QNX core-file support to bfd Kris Warkentin
2003-01-24  8:51 ` Nick Clifton
2003-01-24 15:08   ` Kris Warkentin
2003-01-27 17:19 ` Andrew Cagney
2003-01-27 18:49   ` Kris Warkentin
2003-01-29 17:48     ` Kris Warkentin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox