This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[obv] Remove '-mapped' from usage of add-symbol-file
- From: Yao Qi <yao at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 28 Sep 2011 15:37:04 +0800
- Subject: [obv] Remove '-mapped' from usage of add-symbol-file
Option '-mapped' was removed from add-symbol-file in this commit,
Revision 1.116 , Mon Jan 19 19:56:02 2004 UTC (7 years, 8 months
ago) by cagney Branch: MAIN
2004-01-19 Andrew Cagney <cagney@redhat.com>
* top.h (mapped_symbol_files): Delete declaration.
* main.c (captured_main): Delete option "m" and "mapped".
* objfiles.c (mapped_symbol_files): Delete variable.
* symfile.c (symbol_file_command): Delete mmap code.
(symbol_file_add_with_addrs_or_offsets): Ditto.
(add_symbol_file_command, reread_separate_symbols): Ditto.
* objfiles.h (OBJF_MAPPED): Delete.
* objfiles.c (allocate_objfile) [USE_MMALLOC]: Delete.
(free_objfile) [USE_MMALLOC]: Ditto.
(open_existing_mapped_file): Delete function.
(open_mapped_file): Delete function.
(map_to_file): Delete function.
So `-mapped' should be removed from add-symbol-file usage
message as well. Committed.
--
Yao (éå)
gdb:
2011-09-28 Yao Qi <yao@codesourcery.com>
* symfile.c (add_symbol_file_command): Update message on usage.
---
diff --git a/gdb/symfile.c b/gdb/symfile.c
index bb233c9..1540cb7 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -2256,7 +2256,7 @@ add_symbol_file_command (char *args, int from_tty)
}
else
error (_("USAGE: add-symbol-file <filename> <textaddress>"
- " [-mapped] [-readnow] [-s <secname> <addr>]*"));
+ " [-readnow] [-s <secname> <addr>]*"));
}
}
}
--
1.7.0.4