2011-01-05 Michael Snyder <msnyder@vmware.com>
* addrmap.c: Shorten lines of >= 80 columns. * arch-utils.c: Ditto. * arch-utils.h: Ditto. * ax-gdb.c: Ditto. * ax-general.c: Ditto. * bcache.c: Ditto. * blockframe.c: Ditto. * breakpoint.c: Ditto. * buildsym.c: Ditto. * c-lang.c: Ditto. * c-typeprint.c: Ditto. * charset.c: Ditto. * coffread.c: Ditto. * command.h: Ditto. * corelow.c: Ditto. * cp-abi.c: Ditto. * cp-namespace.c: Ditto. * cp-support.c: Ditto. * dbug-rom.c: Ditto. * dbxread.c: Ditto. * defs.h: Ditto. * dfp.c: Ditto. * dfp.h: Ditto. * dictionary.c: Ditto. * disasm.c: Ditto. * doublest.c: Ditto. * dwarf2-frame.c: Ditto. * dwarf2expr.c: Ditto. * dwarf2loc.c: Ditto. * dwarf2read.c: Ditto. * elfread.c: Ditto. * eval.c: Ditto. * event-loop.c: Ditto. * event-loop.h: Ditto. * exceptions.h: Ditto. * exec.c: Ditto. * expprint.c: Ditto. * expression.h: Ditto. * f-lang.c: Ditto. * f-valprint.c: Ditto. * findcmd.c: Ditto. * frame-base.c: Ditto. * frame-unwind.c: Ditto. * frame-unwind.h: Ditto. * frame.c: Ditto. * frame.h: Ditto. * gcore.c: Ditto. * gdb-stabs.h: Ditto. * gdb_assert.h: Ditto. * gdb_dirent.h: Ditto. * gdb_obstack.h: Ditto. * gdbcore.h: Ditto. * gdbtypes.c: Ditto. * gdbtypes.h: Ditto. * inf-ttrace.c: Ditto. * infcall.c: Ditto. * infcmd.c: Ditto. * inflow.c: Ditto. * infrun.c: Ditto. * inline-frame.h: Ditto. * language.c: Ditto. * language.h: Ditto. * libunwind-frame.c: Ditto. * libunwind-frame.h: Ditto. * linespec.c: Ditto. * linux-nat.c: Ditto. * linux-nat.h: Ditto. * linux-thread-db.c: Ditto. * machoread.c: Ditto. * macroexp.c: Ditto. * macrotab.c: Ditto. * main.c: Ditto. * maint.c: Ditto. * mdebugread.c: Ditto. * memattr.c: Ditto. * minsyms.c: Ditto. * monitor.c: Ditto. * monitor.h: Ditto. * objfiles.c: Ditto. * objfiles.h: Ditto. * osabi.c: Ditto. * p-typeprint.c: Ditto. * p-valprint.c: Ditto. * parse.c: Ditto. * printcmd.c: Ditto. * proc-events.c: Ditto. * procfs.c: Ditto. * progspace.c: Ditto. * progspace.h: Ditto. * psympriv.h: Ditto. * psymtab.c: Ditto. * record.c: Ditto. * regcache.c: Ditto. * regcache.h: Ditto. * remote-fileio.c: Ditto. * remote.c: Ditto. * ser-mingw.c: Ditto. * ser-tcp.c: Ditto. * ser-unix.c: Ditto. * serial.c: Ditto. * serial.h: Ditto. * solib-frv.c: Ditto. * solib-irix.c: Ditto. * solib-osf.c: Ditto. * solib-pa64.c: Ditto. * solib-som.c: Ditto. * solib-sunos.c: Ditto. * solib-svr4.c: Ditto. * solib-target.c: Ditto. * solib.c: Ditto. * somread.c: Ditto. * source.c: Ditto. * stabsread.c: Ditto. * stabsread.c: Ditto. * stack.c: Ditto. * stack.h: Ditto. * symfile-mem.c: Ditto. * symfile.c: Ditto. * symfile.h: Ditto. * symmisc.c: Ditto. * symtab.c: Ditto. * symtab.h: Ditto. * target-descriptions.c: Ditto. * target-memory.c: Ditto. * target.c: Ditto. * target.h: Ditto. * terminal.h: Ditto. * thread.c: Ditto. * top.c: Ditto. * tracepoint.c: Ditto. * tracepoint.h: Ditto. * ui-file.c: Ditto. * ui-file.h: Ditto. * ui-out.h: Ditto. * user-regs.c: Ditto. * user-regs.h: Ditto. * utils.c: Ditto. * valarith.c: Ditto. * valops.c: Ditto. * valprint.c: Ditto. * valprint.h: Ditto. * value.c: Ditto. * varobj.c: Ditto. * varobj.h: Ditto. * vec.h: Ditto. * xcoffread.c: Ditto. * xcoffsolib.c: Ditto. * xcoffsolib.h: Ditto. * xml-syscall.c: Ditto. * xml-tdesc.c: Ditto.
This commit is contained in:
parent
9689e3a3a7
commit
3e43a32aaa
151 changed files with 2974 additions and 1820 deletions
38
gdb/solib.c
38
gdb/solib.c
|
@ -102,8 +102,8 @@ static void
|
|||
show_solib_search_path (struct ui_file *file, int from_tty,
|
||||
struct cmd_list_element *c, const char *value)
|
||||
{
|
||||
fprintf_filtered (file, _("\
|
||||
The search path for loading non-absolute shared library symbol files is %s.\n"),
|
||||
fprintf_filtered (file, _("The search path for loading non-absolute "
|
||||
"shared library symbol files is %s.\n"),
|
||||
value);
|
||||
}
|
||||
|
||||
|
@ -833,8 +833,9 @@ update_solib_list (int from_tty, struct target_ops *target)
|
|||
}
|
||||
|
||||
if (e.reason < 0)
|
||||
exception_fprintf (gdb_stderr, e, _("\
|
||||
Error while mapping shared library sections:\n"));
|
||||
exception_fprintf (gdb_stderr, e,
|
||||
_("Error while mapping shared "
|
||||
"library sections:\n"));
|
||||
|
||||
/* Notify any observer that the shared object has been
|
||||
loaded now that we've added it to GDB's tables. */
|
||||
|
@ -849,9 +850,9 @@ Error while mapping shared library sections:\n"));
|
|||
stand out well. */
|
||||
|
||||
if (not_found == 1)
|
||||
warning (_("\
|
||||
Could not load shared library symbols for %s.\n\
|
||||
Do you need \"set solib-search-path\" or \"set sysroot\"?"),
|
||||
warning (_("Could not load shared library symbols for %s.\n"
|
||||
"Do you need \"set solib-search-path\" "
|
||||
"or \"set sysroot\"?"),
|
||||
not_found_filename);
|
||||
else if (not_found > 1)
|
||||
warning (_("\
|
||||
|
@ -904,7 +905,8 @@ libpthread_solib_p (struct so_list *so)
|
|||
FROM_TTY and TARGET are as described for update_solib_list, above. */
|
||||
|
||||
void
|
||||
solib_add (char *pattern, int from_tty, struct target_ops *target, int readsyms)
|
||||
solib_add (char *pattern, int from_tty,
|
||||
struct target_ops *target, int readsyms)
|
||||
{
|
||||
struct so_list *gdb;
|
||||
|
||||
|
@ -1096,7 +1098,8 @@ info_sharedlibrary_command (char *pattern, int from_tty)
|
|||
{
|
||||
if (so_missing_debug_info)
|
||||
ui_out_message (uiout, 0,
|
||||
_("(*): Shared library is missing debugging information.\n"));
|
||||
_("(*): Shared library is missing "
|
||||
"debugging information.\n"));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1353,8 +1356,9 @@ reload_shared_libraries_1 (int from_tty)
|
|||
solib_map_sections (so);
|
||||
|
||||
if (e.reason < 0)
|
||||
exception_fprintf (gdb_stderr, e, _("\
|
||||
Error while mapping shared library sections:\n"));
|
||||
exception_fprintf (gdb_stderr, e,
|
||||
_("Error while mapping "
|
||||
"shared library sections:\n"));
|
||||
else if (auto_solib_add || was_loaded || libpthread_solib_p (so))
|
||||
solib_read_symbols (so, flags);
|
||||
}
|
||||
|
@ -1467,7 +1471,8 @@ Show autoloading of shared library symbols."), _("\
|
|||
If \"on\", symbols from all shared object libraries will be loaded\n\
|
||||
automatically when the inferior begins execution, when the dynamic linker\n\
|
||||
informs gdb that a new library has been loaded, or when attaching to the\n\
|
||||
inferior. Otherwise, symbols must be loaded manually, using `sharedlibrary'."),
|
||||
inferior. Otherwise, symbols must be loaded manually, using \
|
||||
`sharedlibrary'."),
|
||||
NULL,
|
||||
show_auto_solib_add,
|
||||
&setlist, &showlist);
|
||||
|
@ -1490,9 +1495,12 @@ For other (relative) files, you can add directories using\n\
|
|||
|
||||
add_setshow_optional_filename_cmd ("solib-search-path", class_support,
|
||||
&solib_search_path, _("\
|
||||
Set the search path for loading non-absolute shared library symbol files."), _("\
|
||||
Show the search path for loading non-absolute shared library symbol files."), _("\
|
||||
This takes precedence over the environment variables PATH and LD_LIBRARY_PATH."),
|
||||
Set the search path for loading non-absolute shared library symbol files."),
|
||||
_("\
|
||||
Show the search path for loading non-absolute shared library symbol files."),
|
||||
_("\
|
||||
This takes precedence over the environment variables \
|
||||
PATH and LD_LIBRARY_PATH."),
|
||||
reload_shared_libraries,
|
||||
show_solib_search_path,
|
||||
&setlist, &showlist);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue