Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Anton Ertl <anton@mips.complang.tuwien.ac.at>
To: "André Pönitz" <andre.poenitz@nokia.com>
Cc: "anton@mips.complang.tuwien.ac.at"
	<anton@mips.complang.tuwien.ac.at>,
	gdb@sourceware.org
Subject: Re: Dealing with version-specific syntax
Date: Sat, 15 Jan 2011 16:33:00 -0000	[thread overview]
Message-ID: <20110115163259.GD9736@a4.complang.tuwien.ac.at> (raw)
In-Reply-To: <201101130833.40498.andre.poenitz@nokia.com>

On Thu, Jan 13, 2011 at 08:33:40AM +0100, André Pönitz wrote:
> You could decide what syntax to use in the same session before loading
> a file:
> 
>   disassemble 0 1
> 
> will produce either
> 
>   Dump of assembler code from 0x0 to 0x1:
>   0x00000000:     Cannot access memory at address 0x0
> 
> or
> 
>    A syntax error in expression, near `1'.

Thank you.  I have now taken this approach, outside gdb:

http://www.complang.tuwien.ac.at/viewcvs/cgi-bin/viewcvs.cgi/gforth/dis-gdb.fs?annotate=1.12

- anton


      reply	other threads:[~2011-01-15 16:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-12 19:28 Anton Ertl
2011-01-13  7:30 ` André Pönitz
2011-01-15 16:33   ` Anton Ertl [this message]

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=20110115163259.GD9736@a4.complang.tuwien.ac.at \
    --to=anton@mips.complang.tuwien.ac.at \
    --cc=andre.poenitz@nokia.com \
    --cc=gdb@sourceware.org \
    /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