From: Nick Clifton <nickc@cambridge.redhat.com>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: Anthony Green <green@redhat.com>, gdb-patches@sources.redhat.com
Subject: Re: [rfa] Add -m; Was: ARM sim patch: increase default target memory
Date: Mon, 08 Apr 2002 02:34:00 -0000 [thread overview]
Message-ID: <m3g026r0tl.fsf@north-pole.nickc.cambridge.redhat.com> (raw)
In-Reply-To: <3CB07C82.3040902@cygnus.com>
Hi Andrew,
> The attatched patch (er, hack), adds support for the -m flag from
> the GDB command line (vis (gdb) target sim -m<size>).
Hmm, this looks generally OK to me, except that I would recommend
using "strtoul" instead of "atoi" to convert the string into a
number, so that hex values can be specified as well as decimal. I
would also suggest that you consider adding support for a megabyte
postfix so that the user could do:
-m 6M
to set up a 6 megabyte virtual memory, instead of having to type:
-m 6291456
> It also sets the default memory size back to something consistent
> with the other simulators.
This will stop the java tests from running, so maybe you should also
add the new switch to the java test harness so that they do not fail.
Cheers
Nick
next prev parent reply other threads:[~2002-04-08 9:34 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-17 8:52 Anthony Green
2002-03-17 9:13 ` Andrew Cagney
[not found] ` <m3ofhnyt7d.fsf@north-pole.nickc.cambridge.redhat.com>
2002-03-18 13:50 ` Anthony Green
2002-03-18 17:30 ` Andrew Cagney
2002-03-18 23:06 ` Anthony Green
2002-03-19 7:46 ` Andrew Cagney
2002-03-19 8:20 ` Anthony Green
2002-03-19 8:39 ` Andrew Cagney
2002-03-19 9:43 ` Andrew Cagney
2002-04-07 10:06 ` [rfa] Add -m; Was: " Andrew Cagney
2002-04-08 2:34 ` Nick Clifton [this message]
2002-04-08 20:05 ` Andrew Cagney
2002-04-09 1:21 ` Nick Clifton
2002-09-27 17:00 ` Andrew Cagney
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=m3g026r0tl.fsf@north-pole.nickc.cambridge.redhat.com \
--to=nickc@cambridge.redhat.com \
--cc=ac131313@cygnus.com \
--cc=gdb-patches@sources.redhat.com \
--cc=green@redhat.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