Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Re: Disassemble arbitrary memory with disas?
@ 2009-05-22 22:45 Toshi Morita
  0 siblings, 0 replies; 5+ messages in thread
From: Toshi Morita @ 2009-05-22 22:45 UTC (permalink / raw)
  To: Joel Brobecker, Jonas Maebe; +Cc: gdb


Thanks a lot!!
Will try it when I get back in the office on Tuesday!

Toshi

--- On Fri, 5/22/09, Jonas Maebe <jonas.maebe@elis.ugent.be> wrote:

> From: Jonas Maebe <jonas.maebe@elis.ugent.be>
> Subject: Re: Disassemble arbitrary memory with disas?
> To: "Joel Brobecker" <brobecker@adacore.com>
> Cc: "Toshi Morita" <tm314159@yahoo.com>, gdb@sourceware.org
> Date: Friday, May 22, 2009, 2:51 PM
> 
> On 22 May 2009, at 23:44, Joel Brobecker wrote:
> 
> > I think that the "x /i" command should work. Have a
> look at the GDB
> > documentation on the "x" command, it should give you
> more details
> > about how to use the /something modifiers.
> 
> Indeed. An alternative is "disassemble
> <start_address> <stop_address>". "x/10i
> <address>" is easier to type though :)
> 
> 
> Jonas
> 


      


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Disassemble arbitrary memory with disas?
@ 2009-05-22 21:36 Toshi Morita
  2009-05-22 21:44 ` Joel Brobecker
  2009-05-22 21:54 ` Andreas Schwab
  0 siblings, 2 replies; 5+ messages in thread
From: Toshi Morita @ 2009-05-22 21:36 UTC (permalink / raw)
  To: gdb


I'm currently debugging a JIT which dynamically generates code, and I'd like to disassemble it with the "disas" command in GDB.

However, since there isn't any symbolic information for the buffer in which the code is generated, GDB refuses to disassemble.

Is there a way to do this? 

Please reply to tm314159 at yahoodotcom since I don't normally read this list.

Toshi



      


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

end of thread, other threads:[~2009-05-22 22:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-22 22:45 Disassemble arbitrary memory with disas? Toshi Morita
  -- strict thread matches above, loose matches on Subject: below --
2009-05-22 21:36 Toshi Morita
2009-05-22 21:44 ` Joel Brobecker
2009-05-22 21:51   ` Jonas Maebe
2009-05-22 21:54 ` Andreas Schwab

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