aboutsummaryrefslogtreecommitdiff
path: root/gdb/procfs.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-05-17 23:54:32 +0000
committerFred Fish <fnf@specifix.com>1992-05-17 23:54:32 +0000
commit6c316cfd666cefcdb824fbcb823358c308255b29 (patch)
treedea599c7f5f3b0b9641620b06dd8288b8156bf15 /gdb/procfs.c
parentbec9b335511df9f349805bf807d07b1e26d98010 (diff)
downloadgdb-6c316cfd666cefcdb824fbcb823358c308255b29.zip
gdb-6c316cfd666cefcdb824fbcb823358c308255b29.tar.gz
gdb-6c316cfd666cefcdb824fbcb823358c308255b29.tar.bz2
* inflow.c (new_tty): Temporarily ignore SIGTTOU when
disconnecting from controlling terminal, to avoid gdb hanging on SVR4. Fixes bug reported by Oliver Okrongli. * procfs.c (PROC_NAME_FMT): Change format to match default used by system, as suggested by Oliver Okrongli. * tm-68k.h (FRAME_FIND_SAVED_REGS): Apply missing parentheses bug fix from Brent Townshend (bst%tt@cam.ORG). * c-exp.y (nonempty_typelist): Fix memory overrun bug reported by turlais@rechser.total.fr. * dwarfread.c (decode_subscr_data): Fix bug in calculation of length of non-zero lowerbound arrays. Bug fix from Peggy Fieland. * objfiles.h (unlink_objfile): Add prototype. * objfiles.c (unlink_objfile): Add function. * objfiles.c (free_objfile): Call unlink_objfile. * objfiles.c (allocate_objfile): Call unlink_objfile on newly remapped objfiles. Bug reported by hahn@sunshine.labs.tek.com. Also, discard old possibly bogus sf struct. * symfile.c (symbol_file_add): Call init_entry_point_info() and find_sym_fns() for remapped symbol files, in case of any changes since the last mapping.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r--gdb/procfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c
index 6da85a7..aa4561a 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -47,7 +47,7 @@ regardless of whether or not the actual target has floating point hardware.
#define MAX_SYSCALLS 256 /* Maximum number of syscalls for table */
#ifndef PROC_NAME_FMT
-#define PROC_NAME_FMT "/proc/%d"
+#define PROC_NAME_FMT "/proc/%05d"
#endif
#if 1 /* FIXME: Gross and ugly hack to resolve coredep.c global */