aboutsummaryrefslogtreecommitdiff
path: root/gdb/procfs.c
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>1994-09-10 08:50:10 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>1994-09-10 08:50:10 +0000
commit26a859ec838aa00054f5504cbe3dc2e09771ed81 (patch)
treeb8f9c559018ce1afc32d332cb4d0aa582d0682de /gdb/procfs.c
parentb35be5109247d25244c3ee581c83fd01b86e0b93 (diff)
downloadgdb-26a859ec838aa00054f5504cbe3dc2e09771ed81.zip
gdb-26a859ec838aa00054f5504cbe3dc2e09771ed81.tar.gz
gdb-26a859ec838aa00054f5504cbe3dc2e09771ed81.tar.bz2
* corelow.c (add_solib_stub): Copy to_sections changes from
core_ops to current_target after adding the shared libraries. * partial-stab.h (N_EXCL), dbxread.c (add_old_header_file, find_corresponding_bincl_psymtab): Change `repeated header not seen' error to a complaint, simplify complaint. * procfs.c (signalname, errnoname): Make `name' const. * symfile.c (reread_symbols): Use filename from old BFD to reopen the objfile. * values.c (record_latest_value): Don't record value in the history chain until we are sure there won't be an error.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r--gdb/procfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c
index 5d3ed27..e6e3f9c 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -3080,7 +3080,7 @@ static char *
signalname (signo)
int signo;
{
- char *name;
+ const char *name;
static char locbuf[32];
name = strsigno (signo);
@@ -3099,7 +3099,7 @@ static char *
errnoname (errnum)
int errnum;
{
- char *name;
+ const char *name;
static char locbuf[32];
name = strerrno (errnum);