* gdbserver on OS X -- abandon all hope?
@ 2006-04-18 10:29 Bill Burgess
2006-04-18 14:20 ` Dave Korn
0 siblings, 1 reply; 3+ messages in thread
From: Bill Burgess @ 2006-04-18 10:29 UTC (permalink / raw)
To: gdb
Hello,
Four years ago the question of gdbserver on OS X came up here, but
with no joy. Hoping that surely this situation had changed I
downloaded the source today, but gdbserver will still only configure
for Linux targets.
I guess it must be hard or someone would have done it by now? What a
shame, I can compile for my ARM target under Eclipse in OS X but it
looks like Windows/USB-JTAG will be necessary to debug it. On the
other hand perhaps it will save me a bundle as there's no point in my
getting ARM's newly-gdbserver-compatible RealView ICE JTAG adapter.
And no, there's nothing at Apple regarding gdbserver except blindly
copied FSF documentation. Not a single hit in the Apple discussion
forums. And nothing I can find anywhere on Tiger OS X 10.4. Now, in
fact there are gdbserver sources located at Apple:
http://www.opensource.apple.com/darwinsource/DevToolsNov2005/gdb-434/
src/gdb/gdbserver/
...but the configure.srv file lists only Linux targets. Probably
blindly copied (like the documentation) and never built.
Is it time to abandon all hope?
Thanks,
--Bill
William C. Burgess, Ph.D.
Senior Research Engineer
Greeneridge Sciences, Inc.
6060 Graham Hill Road Stop F
Felton, CA 95018
Tel: 831-335-9600
Fax: 805-967-7720
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: gdbserver on OS X -- abandon all hope?
2006-04-18 10:29 gdbserver on OS X -- abandon all hope? Bill Burgess
@ 2006-04-18 14:20 ` Dave Korn
2006-04-18 16:17 ` Bill Burgess
0 siblings, 1 reply; 3+ messages in thread
From: Dave Korn @ 2006-04-18 14:20 UTC (permalink / raw)
To: 'Bill Burgess', gdb
On 18 April 2006 06:31, Bill Burgess wrote:
> Hello,
>
> Four years ago the question of gdbserver on OS X came up here, but
> with no joy. Hoping that surely this situation had changed I
> downloaded the source today, but gdbserver will still only configure
> for Linux targets.
>
> I guess it must be hard or someone would have done it by now? What a
> shame, I can compile for my ARM target under Eclipse in OS X but it
> looks like Windows/USB-JTAG will be necessary to debug it. On the
> other hand perhaps it will save me a bundle as there's no point in my
> getting ARM's newly-gdbserver-compatible RealView ICE JTAG adapter.
>
> And no, there's nothing at Apple regarding gdbserver except blindly
> copied FSF documentation. Not a single hit in the Apple discussion
> forums. And nothing I can find anywhere on Tiger OS X 10.4. Now, in
> fact there are gdbserver sources located at Apple:
>
> http://www.opensource.apple.com/darwinsource/DevToolsNov2005/gdb-434/
> src/gdb/gdbserver/
>
> ...but the configure.srv file lists only Linux targets. Probably
> blindly copied (like the documentation) and never built.
>
> Is it time to abandon all hope?
>
> Thanks,
> --Bill
Sorry, can you just clarify something: if you're cross-compiling for and
debugging an ARM target, why would you need to configure gdbserver for OS X?
As far as I understand it you run gdbserver on the target and would only need
to run plain old gdb itself on your Mac.
cheers,
DaveK
--
Can't think of a witty .sigline today....
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gdbserver on OS X -- abandon all hope?
2006-04-18 14:20 ` Dave Korn
@ 2006-04-18 16:17 ` Bill Burgess
0 siblings, 0 replies; 3+ messages in thread
From: Bill Burgess @ 2006-04-18 16:17 UTC (permalink / raw)
To: Dave Korn; +Cc: gdb
On Apr 18, 2006, at 3:29 AM, Dave Korn wrote:
> Sorry, can you just clarify something: if you're cross-compiling
> for and
> debugging an ARM target, why would you need to configure gdbserver
> for OS X?
> As far as I understand it you run gdbserver on the target and would
> only need
> to run plain old gdb itself on your Mac.
Wow...I think you are right. I went back and re-read the
documentation and
it does make more sense when read with your point of view. I had
somehow
understood that gdb does not have built-in networking code, so that
it would need gdbserver to handle networking for it. Sounds silly
now doesn't it?
If only the documentation had hit me over the head with something like
"gdbserver resides on the the remote target" although it does come
embarrassingly close to saying just that.
Thanks for your response. I've never been so happy to be wrong!
--Bill
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-04-18 14:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-18 10:29 gdbserver on OS X -- abandon all hope? Bill Burgess
2006-04-18 14:20 ` Dave Korn
2006-04-18 16:17 ` Bill Burgess
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox