Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* How to share code between [gdb]/gnu-nat.c with [gdb]/gdbserver/gnu-hurd-low.c?
@ 2013-08-12  8:36 Yue Lu
  2013-08-12 12:25 ` Luis Machado
  0 siblings, 1 reply; 2+ messages in thread
From: Yue Lu @ 2013-08-12  8:36 UTC (permalink / raw)
  To: gdb; +Cc: Luis Machado, Thomas Schwinge

Hi all,

When I working with porting gdbserver to GNU/Hurd I found I alway need
to duplicate code from [gdb]/gnu-nat.c to my new file
[gdb]/gdb/server/gnu-hurd.low.c. There are too many functions and
structures can be shared between the two file only need a little
change or even without any change.

I don't have good ideal to share the code, can you give me any
suggestions? Thank you.

-- 
Yue Lu (陆岳)


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

end of thread, other threads:[~2013-08-12 12:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-12  8:36 How to share code between [gdb]/gnu-nat.c with [gdb]/gdbserver/gnu-hurd-low.c? Yue Lu
2013-08-12 12:25 ` Luis Machado

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