Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gdbserver + arm nommu
@ 2006-11-17  8:53 Mangesh Edake
  2006-11-17 14:18 ` Daniel Jacobowitz
  0 siblings, 1 reply; 6+ messages in thread
From: Mangesh Edake @ 2006-11-17  8:53 UTC (permalink / raw)
  To: gdb

Hi All,
         I want to run the gdbserver on ARM platform
with NOMMU. I am not able to find any patches for
this. I am looking for gdb-6.x. Please let me know if
any patches are available and if not , let me know 
what are the changes i need to follow.

Thanks and regards,
Mangesh Edake


 
____________________________________________________________________________________
Sponsored Link

$200,000 mortgage for $660/ mo - 
30/15 yr fixed, reduce debt - 
http://yahoo.ratemarketplace.com


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

* Re: gdbserver + arm nommu
  2006-11-17  8:53 gdbserver + arm nommu Mangesh Edake
@ 2006-11-17 14:18 ` Daniel Jacobowitz
       [not found]   ` <20061117142726.25304.qmail@web30605.mail.mud.yahoo.com>
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Jacobowitz @ 2006-11-17 14:18 UTC (permalink / raw)
  To: Mangesh Edake; +Cc: gdb

On Fri, Nov 17, 2006 at 12:53:22AM -0800, Mangesh Edake wrote:
> Hi All,
>          I want to run the gdbserver on ARM platform
> with NOMMU. I am not able to find any patches for
> this. I am looking for gdb-6.x. Please let me know if
> any patches are available and if not , let me know 
> what are the changes i need to follow.

Have you just tried it?  If it does not work, say what's wrong.  Use
a version from CVS.

-- 
Daniel Jacobowitz
CodeSourcery


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

* Re: gdbserver + arm nommu
       [not found]   ` <20061117142726.25304.qmail@web30605.mail.mud.yahoo.com>
@ 2006-11-17 17:33     ` Daniel Jacobowitz
  2006-11-18 14:05       ` Mangesh Edake
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Jacobowitz @ 2006-11-17 17:33 UTC (permalink / raw)
  To: Kaushik karandikar; +Cc: Mangesh Edake, gdb

On Fri, Nov 17, 2006 at 06:27:26AM -0800, Kaushik karandikar wrote:
>                 Even i am having the same problem. I compiled
>                 gdbserver from gdb-6.0. And stuck with the thread_db.
>                 And many other compilation errors. I am using the
>                 arm-elf-gcc-2.95 compiler. I found the patches for
>                 gdb-5.2.1 but in that i am not able to do single step
>                 and continue. It would be a great help if you look
>                 into those issues and guide to make gdbserver up and
>                 running on ARM board.

We can only help you with the current version.  Nathan added a patch
useful for uClinux in the last few months.  I've only tested it
on ColdFire, but I think it would work on ARM too.

As for thread_db and other compilation errors, I assume this is a
problem with your development environment, not with gdbserver.

-- 
Daniel Jacobowitz
CodeSourcery


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

* Re: gdbserver + arm nommu
  2006-11-17 17:33     ` Daniel Jacobowitz
@ 2006-11-18 14:05       ` Mangesh Edake
  2006-11-18 16:31         ` Daniel Jacobowitz
  0 siblings, 1 reply; 6+ messages in thread
From: Mangesh Edake @ 2006-11-18 14:05 UTC (permalink / raw)
  To: Daniel Jacobowitz, Kaushik karandikar; +Cc: gdb


Hi,
   I looked for the patches provided by nathan. I
found those patches are for m68k and apply to the
files gdb/m68k-tdep.c and gdb/m68klinux-tdep.c

http://sourceware.org/ml/gdb-patches/2006-06/msg00093.html


There is no patch for ARM for gdb-6.x to make
gdbserver work on ARM platform. So we have decided to
continue with gdb-5.2.1 as it is patched. Now in this
case I have arm-elf-gdb version 6.4 and gdbserver that
will run on ARM board is from gdb-5.2.1, so will this 
create any problems due to version mismatch going
further?  

Thanks and Regards,
Mangesh Edake



--- Daniel Jacobowitz <drow@false.org> wrote:

> On Fri, Nov 17, 2006 at 06:27:26AM -0800, Kaushik
> karandikar wrote:
> >                 Even i am having the same problem.
> I compiled
> >                 gdbserver from gdb-6.0. And stuck
> with the thread_db.
> >                 And many other compilation errors.
> I am using the
> >                 arm-elf-gcc-2.95 compiler. I found
> the patches for
> >                 gdb-5.2.1 but in that i am not
> able to do single step
> >                 and continue. It would be a great
> help if you look
> >                 into those issues and guide to
> make gdbserver up and
> >                 running on ARM board.
> 
> We can only help you with the current version. 
> Nathan added a patch
> useful for uClinux in the last few months.  I've
> only tested it
> on ColdFire, but I think it would work on ARM too.
> 
> As for thread_db and other compilation errors, I
> assume this is a
> problem with your development environment, not with
> gdbserver.
> 
> -- 
> Daniel Jacobowitz
> CodeSourcery
> 



 
____________________________________________________________________________________
Sponsored Link

$420k for $1,399/mo. 
Think You Pay Too Much For Your Mortgage? 
Find Out! www.LowerMyBills.com/lre


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

* Re: gdbserver + arm nommu
  2006-11-18 14:05       ` Mangesh Edake
@ 2006-11-18 16:31         ` Daniel Jacobowitz
  2006-12-05 12:01           ` Mangesh Edake
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Jacobowitz @ 2006-11-18 16:31 UTC (permalink / raw)
  To: Mangesh Edake; +Cc: Kaushik karandikar, gdb

On Sat, Nov 18, 2006 at 06:05:01AM -0800, Mangesh Edake wrote:
> 
> Hi,
>    I looked for the patches provided by nathan. I
> found those patches are for m68k and apply to the
> files gdb/m68k-tdep.c and gdb/m68klinux-tdep.c

Those patches have nothing to do with this.

If you can't try CVS HEAD, see if it works, and tell us what
happens if it doesn't work, then I'm sorry but we can't help
you.

> There is no patch for ARM for gdb-6.x to make
> gdbserver work on ARM platform. So we have decided to
> continue with gdb-5.2.1 as it is patched. Now in this
> case I have arm-elf-gdb version 6.4 and gdbserver that
> will run on ARM board is from gdb-5.2.1, so will this 
> create any problems due to version mismatch going
> further?  

It should be fine.

-- 
Daniel Jacobowitz
CodeSourcery


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

* Re: gdbserver + arm nommu
  2006-11-18 16:31         ` Daniel Jacobowitz
@ 2006-12-05 12:01           ` Mangesh Edake
  0 siblings, 0 replies; 6+ messages in thread
From: Mangesh Edake @ 2006-12-05 12:01 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: Kaushik karandikar, gdb

Hi all,
  I am able to debug a program using gdb-6.4 and
gdb-6.4/gdbserver. Many thanks to Daniel for his
precious suggestions.
  Currently I am trying to debug a multi-threaded
program using the same gdbserver. I have compiled
uClibc with the pThread debugging enabled and then 
statically linked gdbserver with libthread_db.a 
and the program with libpthread.a, as my target
doesn't support dynamic linking (no shared lib
support, even toolchain cannot create .so files). 
  Now when I try to debug a program, it kills at 
'pthread_create' line. Between 'info th' from the gdb
running on host lists only the main process as a
thread. I checked with gdbserver and it supports many
of the q-packets and thread related packets.
  In this case gdb at host is supposed to refer the
exactly same 'pthread symbols' as target is, but it
cannot. Even I cannot try solib-absolute-prefix  
or solib-search-path, since there are no corresponding
.so (libthread_db.so) files generated at host. Hence
looking at the scenario, is this causing my program to
terminate? and is there any way to tell gdb the
'pthread symbols' statically? 

Thanks in advance,
Mangesh Edake. 

 
--- Daniel Jacobowitz <drow@false.org> wrote:

> On Sat, Nov 18, 2006 at 06:05:01AM -0800, Mangesh
> Edake wrote:
> > 
> > Hi,
> >    I looked for the patches provided by nathan. I
> > found those patches are for m68k and apply to the
> > files gdb/m68k-tdep.c and gdb/m68klinux-tdep.c
> 
> Those patches have nothing to do with this.
> 
> If you can't try CVS HEAD, see if it works, and tell
> us what
> happens if it doesn't work, then I'm sorry but we
> can't help
> you.
> 
> > There is no patch for ARM for gdb-6.x to make
> > gdbserver work on ARM platform. So we have decided
> to
> > continue with gdb-5.2.1 as it is patched. Now in
> this
> > case I have arm-elf-gdb version 6.4 and gdbserver
> that
> > will run on ARM board is from gdb-5.2.1, so will
> this 
> > create any problems due to version mismatch going
> > further?  
> 
> It should be fine.
> 
> -- 
> Daniel Jacobowitz
> CodeSourcery
> 



 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com


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

end of thread, other threads:[~2006-12-05 12:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-17  8:53 gdbserver + arm nommu Mangesh Edake
2006-11-17 14:18 ` Daniel Jacobowitz
     [not found]   ` <20061117142726.25304.qmail@web30605.mail.mud.yahoo.com>
2006-11-17 17:33     ` Daniel Jacobowitz
2006-11-18 14:05       ` Mangesh Edake
2006-11-18 16:31         ` Daniel Jacobowitz
2006-12-05 12:01           ` Mangesh Edake

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