This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]