Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: loody <miloody@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: some questions about gdb
Date: Mon, 10 Jan 2011 20:58:00 -0000	[thread overview]
Message-ID: <m339p0lbm9.fsf@fleche.redhat.com> (raw)
In-Reply-To: <AANLkTin8xB8Z=LZisyd2f8jCi6jPmOSr_e9hRRb4en_v@mail.gmail.com>	(loody's message of "Sat, 8 Jan 2011 21:50:37 +0800")

>>>>> ">" == loody  <miloody@gmail.com> writes:

>> 1. I compile the kernel with -g but I cannot see the disassembly.
>> My pc increase 4 when I type 'n' but I cannot see the disassembly.

I don't know what is going on here.

>> 2. I search gdb and which tell me there is a command, disassemble /m,
>> which can mix source and assembly.
>> But I use it on my mips platform, it said:
>> (gdb) disassemble /m irq_enter
>> A syntax error in expression, near `/m'.

You probably have too old a version of gdb.

>> 3. is any document about how to compile insight6.8.1 with mips gdb 7.2?

You can't do this.  You have to get a corresponding version of Insight.
I don't know whether a new version of Insight has been released.

Tom


  parent reply	other threads:[~2011-01-10 20:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-08 13:50 loody
2011-01-08 14:14 ` loody
2011-01-10 20:58 ` Tom Tromey [this message]
2011-01-10 21:47   ` Keith Seitz
2011-01-16 13:47     ` loody
2011-01-17 17:16       ` Tom Tromey
2011-01-16 19:03     ` Petr Hluzín

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m339p0lbm9.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=miloody@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox