* symfile.c (syms_from_bfd): New routine.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
c0302457
JG
1Sat Oct 26 00:16:32 1991 John Gilmore (gnu at cygus.com)
2
3 * buildsym.c: New file. Breaks out symbol-table-building routines
4 from dbxread.c, so they can be shared with xcoffread.c.
5 * buildsym.h: New file. Declarations for buildsym.c users.
6 * dbxread.c: Remove large chunks into buildsym.c.
d47d5315
JG
7 * Makefile.in: Add buildsym.c and buildsym.h.
8
9 * symfile.c (syms_from_bfd): New routine.
10 (add_symbol_file): Call it to do the real work.
11 (syms_from_bfd): Initialize entry_point before calling symfile_init.
12 * symtab.h, symfile.c, coffread.c, mipsread.c, dwarfread.c:
13 Avoid declaring or setting entry_point (symfile.h & symfile.c cope).
c0302457 14
bcccec8c
PB
15Fri Oct 25 18:59:32 1991 Per Bothner (bothner at cygnus.com)
16
17 Various fixes to improve g++ debugging.
18 * symtab.h: Add is_const and is_volatile flags for each method.
19 These are bit fields - take their space from voffset,
20 which shrinks to 30 bits. Since voffset is now a bitfield,
21 make it unsigned for portability. This changes its interpretation
22 slightly: Static methods now have voffset 1 instead of -1,
23 and virtual offsets start at 2, not 1.
24 * symtab.c: Renamed gdb_mangle_typename to gdb_mangle_name,
25 since it now returns an entire magled method name, not just
26 the type part. This avoids some duplication.
27 It also allows us to correctly mangle const and volatile
28 methods (using the new is_const and is_volatile bit fields
29 mentioned above).
30 * valprint.c (type_print_base), values.c (check_stub_method):
31 Simplify by using new gdb_mangle_name.
32 * values.c (value_headof): Fix to correctly handle single
33 inheritance (actually two fixes, either of which suffices).
34 * dbxread.c (read_struct_type): Handle const and volatile
35 method specifiers.
36 * dbxread.c (read_struct_type): Yet one more place where
37 we must handle '\\' continuations.
38 * valprint.c (vtbl_ptr_name): Add final '\0'.
39
eb3f3e5c
SG
40Fri Oct 25 16:06:38 1991 Stu Grossman (grossman at cygnus.com)
41
5ab580cc
SG
42 * tm-sparc.h, tm-68k.h (EXTRACT_RETURN_VALUE): fix output of
43 short return values for sparc and 68k. Patch from Paul Eggert.
44
eb3f3e5c
SG
45 * coffread.c, coredep.c, i386-xdep.c: install patches for
46 SysV/386 3.2 from Mauro DePalma.
47
9cb602e1
JG
48Fri Oct 25 02:02:13 1991 John Gilmore (gnu at cygnus.com)
49
c58215f2
JG
50 * core.c (core_file_info), exec.c (exec_file_info): Print file
51 type. Use printf_filtered.
52
9cb602e1
JG
53 * valops.c (value_fetch_lazy): Avoid 0-length fetches.
54
b662acae
FF
55Thu Oct 24 23:06:40 1991 Fred Fish (fnf at cygnus.com)
56
c8c0a2bd
FF
57 * dwarfread.c: Add casts to remove compiler warnings.
58
84d82b1c
FF
59 * tm-3b1.h, tm-68k.h, tm-altos.h, tm-amix.h, tm-hp300bsd.h,
60 tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-pn.h, tm-sun2.h,
61 tm-sun3.h: Remove locally duplicated code for calling functions
62 in the inferior. The only differences were in the specific trap
63 vectors used and whether or not an fpu was present. These are
64 now handled by appropriate definitions of BPT_VECTOR and
65 HAVE_68881 respectively. Other minor obvious cleanups.
66
67 * valops.c: Correct a minor misspelling.
68
ed317bb3
FF
69 * utils.c: Remove local BSD/USG hacks that are now in libiberty.
70
b662acae
FF
71 * dwarfread.c: Remove prototype for dwarfwarn. Does not work
72 with <varargs.h>.
73
313fdead
JG
74Thu Oct 24 09:33:44 1991 John Gilmore (gnu at cygnus.com)
75
b0077123
JG
76 * stack.c (frame_command): Always print. Use new
77 frame_select_command to select a frame without printing.
78
313fdead
JG
79 * dwarfread.c: Use <varargs.h>, since <stdarg.h> is not portable.
80
4a35d6e9
FF
81Thu Oct 24 01:32:51 1991 Fred Fish (fnf at cygnus.com)
82
35f5886e
FF
83 * dwarfread.c: New file for DWARF debugging format support.
84
85 * elfread.c: New file for ELF object file format support.
86
87 * procfs.c: New file for SVR4 /proc (process file system) support.
88
89 * tm-amix.h, xm-amix.h, tconfig/amix, xconfig/amix: New files for
90 Amiga UNIX support.
91
92 * xm-svr4.h, tm-svr4.h: New files for SVR4 support.
93
94 * xm-m68k.h: New file for host machines with m68k cpu.
95
bb4ff694
FF
96 * Makefile.in: Add elfread.c and dwarfread.c to SFILES_MAINDIR.
97 Add elfread.o and dwarfread.o to OBS.
98
99 * symfile.h: Add "elf" to list of supported formats in comment.
100
e2aab031
FF
101 * c-exp.y, defs.h, symtab.h, valprint.c: Add three new builtin
102 types to gdb, builtin_type_long_double, builtin_type_complex, and
103 builtin_type_double_complex. Add and use new TARGET_SHORT_BIT,
104 TARGET_INT_BIT, TARGET_LONG_BIT, TARGET_FLOAT_BIT,
105 TARGET_DOUBLE_BIT, TARGET_LONG_DOUBLE_BIT, TARGET_COMPLEX_BIT, and
106 TARGET_DOUBLE_COMPLEX_BIT, as the sizes in bits of the indicated
107 types on the target machine (ala the existing TARGET_LONG_LONG_BIT).
108
02070680
FF
109 * infrun.c: When using SVR4 /proc interface instead of ptrace(),
110 call proc_set_exec_trap() to setup child to stop at first instruction.
111
112 * inftarg.c: When using SVR4 /proc interface, call proc_wait()
113 rather than wait().
114
115 * m68k-tdep.c: Add new routines supply_gregset(), fill_gregset(),
116 supply_fpregset(), and fill_fpregset(), which are machine
117 dependent support routines for SVR4 /proc interface.
118
2bc2e684
FF
119 * utils.c: Add warning_setup() and warning(). Warning() behaves
120 the same as error() except that it returns normally rather than
121 jumping back to command level. Modules that don't want to call
122 warning() for some reason, but want to produce their own warnings,
123 can call warning_setup() to ensure compatibility with the way
124 warning() and error() deal with the terminal.
125
eaa1ef1d
FF
126 * symtab.c: Make internal errors produce more useful messages.
127
dcd15e5e
FF
128 * tm-68k.h: Move code that is duplicated in almost every single
129 m68k based machine's configuration files to this common file.
130 Duplications in the configuration files still need to be removed
131 (FIXME).
132
150f5436
FF
133 * infrun.c (child_create_inferior): System V versions must call
134 setpgrp() with no arguments, to comply with prototyping typically
135 in <unistd.h>.
136
cb17dfb1
FF
137 * munch: Add support for SVR4 style nm output.
138
4a35d6e9
FF
139 * dbxread.c, mipsread.c symmisc.c, symtab.c: Remove the object
140 file specific fields from the partial symbol table structure and
141 replace them with a pointer to private data for each different
142 flavor of object file reader to initialize appropriately.
143
b0077123
JG
144Wed Oct 23 09:38:20 1991 John Gilmore (gnu at cygnus.com)
145
146 * xconfig/sun[34]os4: Add note about strstr botch on sunos4.0.3c
147 and previous.
148
149 * mipsread.c (fixup_undef_type): New function. If a struct /
150 union / enum is defined in a header file but nowhere else used,
151 (by typedefing, pointer referencing or declaration) the mipsread code
152 builds the complete tree for the structure but leaves its code as
153 TYPE_CODE_UNDEF as it doesn't know what kind of aggregate it is.
154 Guess its type based on the details of the members.
155
0d3e7f60
SG
156Tue Oct 22 18:04:32 1991 Stu Grossman (grossman at cygnus.com)
157
158 * infrun.c (wait_for_inferior): Check return value from
159 find_pc_line.
160
bc6c937d
SG
161Mon Oct 21 17:47:03 1991 Stu Grossman (grossman at cygnus.com)
162
163 * infrun.c (wait_for_inferior): fix stepi/nexti that was broken
164 by my last edit to this routine.
165
b0077123
JG
166Mon Oct 21 14:27:43 1991 John Gilmore (gnu at cygnus.com)
167
168 * tm-sun3.h (FIX_CALL_DUMMY): problem with cross debugging.
169 FIX_CALL_DUMMY does unaligned accesses and/or forgets to byte swap
170 the values before putting them into the dummy code. (From Peter
171 Schauer)
172
44e4e473
SC
173Mon Oct 21 10:04:39 1991 Steve Chamberlain (steve at rtl.cygnus.com)
174
175 * configure.in: added ebmon target.
176
785ce19c 177Wed Oct 16 22:49:58 1991 John Gilmore (gnu at cygnus.com)
a1b8c5d6
JG
178
179 GDB-4.2 release!
180
181 * Makefile.in: Roll VERSION to 4.2.
44e4e473 182 * README, TODO, WHATS.NEW: Update.
a1b8c5d6
JG
183
184 * core.c (core_open): Improve error message for bad file.
185 Pass .reg virtual memory address to fetch_core_registers to help
186 it find the registers in the core-file header.
187 * coredep.c (fetch_core_registers): Take new argument, use it,
188 and pass it to register_addr to locate the block of registers.
785ce19c 189 * xm-mips.h: Update KERNEL_U_ADDR for new scheme. Cleanup a bit.
a1b8c5d6
JG
190
191 * dbxread.c (read_dbx_symtab, process_one_symbol): Handle
192 Sequent N_FN_SEQ like everybody else's N_FN.
193
194 * main.c: Circumvent SCO cc bug with #if !!defined(USG).
195 * tm-i386v.h: #endif guck.
196 * xconfig/i386*: Remove -Dgetpagesize()=4096 kludge.
785ce19c
JG
197 * xconfig/i386sco: Add HAVE_STRSTR to avoid ANSI bdeath.
198 * xconfig/tahoe: Add REGEX, which seems to be missing.
199
200 * coredep.c: Add <sys/types.h> for SCOnix.
201 * dbxread.c (read_dbx_symntab): Avoid coredump on malformed file.
202 * printcmd.c (print_formatted): Flush output before disassembly.
a1b8c5d6 203
93ae2e88
RP
204Tue Oct 15 20:12:32 1991 Roland H. Pesch (pesch at fowanton.cygnus.com)
205
9e0906a6
RP
206 * doc/refcard.tex (sec "Working Files"): consistent metavars and