mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
* cli/cli-dump.c (add_dump_command): Explicitely use "b" flag to
write dump file binary.
This commit is contained in:
parent
a4aa0fb7d0
commit
5b3316750e
@ -1,3 +1,8 @@
|
||||
2002-08-06 Corinna Vinschen <vinschen@redhat.com>
|
||||
|
||||
* cli/cli-dump.c (add_dump_command): Explicitely use "b" flag to
|
||||
write dump file binary.
|
||||
|
||||
2002-08-05 Michael Snyder <msnyder@redhat.com>
|
||||
|
||||
* mips-tdep.c (mips_find_saved_regs): Adjust stack according
|
||||
|
@ -442,7 +442,7 @@ add_dump_command (char *name, void (*func) (char *args, char *mode),
|
||||
c->completer = filename_completer;
|
||||
d = XMALLOC (struct dump_context);
|
||||
d->func = func;
|
||||
d->mode = "w";
|
||||
d->mode = "wb";
|
||||
set_cmd_context (c, d);
|
||||
c->func = call_dump_func;
|
||||
|
||||
@ -450,7 +450,7 @@ add_dump_command (char *name, void (*func) (char *args, char *mode),
|
||||
c->completer = filename_completer;
|
||||
d = XMALLOC (struct dump_context);
|
||||
d->func = func;
|
||||
d->mode = "a";
|
||||
d->mode = "ab";
|
||||
set_cmd_context (c, d);
|
||||
c->func = call_dump_func;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user