Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Finding Entry symbol
@ 2007-01-29 13:51 Rohit Arul Raj
  2007-01-29 14:11 ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Rohit Arul Raj @ 2007-01-29 13:51 UTC (permalink / raw)
  To: gdb

Hi all,

I am working with GCC 4.1.1 and GDB Version 5.2.1 for a private target.
I need to find the root entry point from the given binary file (elf format).

Any help regarding this?

Regards,
Rohit


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

* Re: Finding Entry symbol
  2007-01-29 13:51 Finding Entry symbol Rohit Arul Raj
@ 2007-01-29 14:11 ` Daniel Jacobowitz
  2007-01-29 19:25   ` Michael Snyder
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2007-01-29 14:11 UTC (permalink / raw)
  To: Rohit Arul Raj; +Cc: gdb

On Mon, Jan 29, 2007 at 07:20:56PM +0530, Rohit Arul Raj wrote:
> Hi all,
> 
> I am working with GCC 4.1.1 and GDB Version 5.2.1 for a private target.
> I need to find the root entry point from the given binary file (elf format).
> 
> Any help regarding this?

Search for bfd_get_start_address.  I highly recommend you not use that
old of a GDB version for any new work, though.

-- 
Daniel Jacobowitz
CodeSourcery


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

* Re: Finding Entry symbol
  2007-01-29 14:11 ` Daniel Jacobowitz
@ 2007-01-29 19:25   ` Michael Snyder
  2007-01-29 19:27     ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Snyder @ 2007-01-29 19:25 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: Rohit Arul Raj, gdb

On Mon, 2007-01-29 at 09:11 -0500, Daniel Jacobowitz wrote:
> On Mon, Jan 29, 2007 at 07:20:56PM +0530, Rohit Arul Raj wrote:
> > Hi all,
> > 
> > I am working with GCC 4.1.1 and GDB Version 5.2.1 for a private target.
> > I need to find the root entry point from the given binary file (elf format).
> > 
> > Any help regarding this?
> 
> Search for bfd_get_start_address.  I highly recommend you not use that
> old of a GDB version for any new work, though.

Especially with GCC 4.1.1 -- aren't there conflicts over dwarf entries?



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

* Re: Finding Entry symbol
  2007-01-29 19:25   ` Michael Snyder
@ 2007-01-29 19:27     ` Daniel Jacobowitz
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2007-01-29 19:27 UTC (permalink / raw)
  To: Michael Snyder; +Cc: Rohit Arul Raj, gdb

On Mon, Jan 29, 2007 at 11:25:26AM -0800, Michael Snyder wrote:
> Especially with GCC 4.1.1 -- aren't there conflicts over dwarf entries?

Oh, good point: yes, there probably will be.

-- 
Daniel Jacobowitz
CodeSourcery


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

end of thread, other threads:[~2007-01-29 19:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-29 13:51 Finding Entry symbol Rohit Arul Raj
2007-01-29 14:11 ` Daniel Jacobowitz
2007-01-29 19:25   ` Michael Snyder
2007-01-29 19:27     ` Daniel Jacobowitz

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