Commit | Line | Data |
---|---|---|
abefb1f1 PB |
1 | Mon Nov 4 10:49:33 1991 Per Bothner (bothner at cygnus.com) |
2 | ||
3 | * infrun.c: Fixed typo in comment. | |
4 | * utils.c: All the v*fprintf emulation is now in libiberty, | |
5 | so we can get rid of some junk. | |
6 | * xm-sun3os4.h, xm-sun4os4.h, xconfig/decstation, xconfig/i386sco, | |
7 | xconfig/sun3os4, xconfig/sun4os4: Don`t need HAVE_STRSTR any more. | |
8 | * m68k-pinsn.c (print_insn_arg): Support BB/BW/BL | |
9 | type operands, as used by branch instructions. | |
10 | * gmalloc.c: Fix prototype of memcpy. | |
11 | * elfread.c: Comment out register_addr, since it conflicts | |
12 | with the one in coredep.c. | |
13 | * buildsym.h: Remove extern declarations of two functions | |
14 | that are really static in buildsym.c. | |
15 | * tm-mips.h: Add symbolic names for more registers. | |
16 | * mips-xdep.c (store_inferior_registers): Use new register names. | |
17 | * xm-mips.h: Simplify REGISTER_U_ADDR, since it is now | |
18 | only used for core files, not ptrace. Therefore, | |
19 | the KERNEL_U_ADDR hack is no longer needed. | |
20 | The mapping to ptrace number is now in in mips-xdep.c. | |
21 | * mips-xdep.c: Define REGISTER_PTRACE_ADDR (using the | |
22 | mapping from the old REGISTER_U_ADDR), and use it | |
23 | in {fetch,store}_inferior_registers. | |
24 | * mipsread.c: Rename #include ecoff.h to new name coff-mips.h. | |
25 | * mips-tdep.c (mips_push_dummy_frame, mips_pop_frame): | |
26 | Save/restore FP regs correctly (?). | |
27 | * dbxread.c: Remove duplicate define_symbol and type_synonym_name | |
28 | (these had been previously moved to buildsym.c). | |
29 | Hence, define_symbol becomes extern instead of static. | |
30 | * buildsym.c (read_struct_type): Comment out bogus handling | |
31 | of C++ operator methods. Minor hacking of reading of class | |
32 | contexts. Make define_symbol non-static, so dbxread.c can call it. | |
33 | ||
c9bd6710 JG |
34 | Fri Nov 1 11:05:47 1991 John Gilmore (gnu at cygnus.com) |
35 | ||
36 | * mipsread.c (read_mips_symtab, read_the_mips_symtab): Use real | |
37 | filename with error messages. | |
38 | * stack.c (frame_select_command): Rename to select_frame_command | |
39 | to avoid "fr" and "fra" having nonunique completions. | |
40 | * symfile.c (sort_symtab_syms): Ignore sort of zero symtab *. | |
41 | (symfile_init): Print file format name when unable to handle it. | |
42 | (free_named_symtabs): Use BLOCKVECTOR rather than obsolete BLOCKLIST. | |
43 | * symmisc.c (free_symtab): Only free linetable if nonzero. | |
44 | * symtab.h: Remove obsolete BLOCKLIST macros. | |
45 | ||
d7d1098d SG |
46 | Thu Oct 31 18:12:43 1991 Stu Grossman (grossman at cygnus.com) |
47 | ||
48 | * infrun.c (wait_for_inferior): another stepi/nexti fix. Ensure | |
49 | that stop_step is 1 at bottom of main loop. I don't know why this | |
50 | needs to be done, but it helps me sleep better at night. | |
51 | ||
8b3c897a SG |
52 | Sun Oct 27 18:18:39 1991 Stu Grossman (grossman at cygnus.com) |
53 | ||
54 | * main.c (initialize_history): Read history after reading all | |
55 | init files. | |
56 | ||
4137c5fc JG |
57 | Sun Oct 27 14:09:25 1991 John Gilmore (gnu at cygnus.com) |
58 | ||
59 | * buildsym.c: Break out initial malloc sizes. | |
60 | (record_line): Record directly in a subfile. Alloc on demand. | |
61 | (compare_line_numbers): Add from xcoffread.c. | |
62 | (end_symtab): New params say whether to sort pendings and | |
63 | linetable. Patch block stabs if defined. Shrink linetable before | |
64 | allocating the symtab. | |
65 | * buildsym.h: Delete line_vector* and prev_line_number. Add | |
66 | global_stabs and file_stabs for xcoffread. | |
67 | * dbxread.c (start_subfile): Move to buildsym. Change above calls. | |
68 | * symtab.h: LINETABLE(symtab) can now be null. Zap LINELIST. | |
69 | * symmisc.c, symtab.c: Cope with null LINETABLEs. | |
70 | ||
71 | * blockframe.c: Pass fromleaf to INIT_EXTRA_FRAME_INFO. | |
72 | * tm-29k.h, tm-88k.h, tm-i960.h, tm-irix3.h, tm-mips.h, tm-pyr.h, | |
73 | tm-sparc.h: Accept fromleaf parameter. | |
74 | * c-exp.y (yyerror): Pass error message if given. | |
75 | * configure.in: Add rs6000 host and target. | |
76 | * inflow.c (new_tty): O_NOCTTY kludge for RS/6000. | |
77 | * symfile.h (entry_point): Add. | |
78 | ||
c0302457 JG |
79 | Sat Oct 26 00:16:32 1991 John Gilmore (gnu at cygus.com) |
80 | ||
81 | * buildsym.c: New file. Breaks out symbol-table-building routines | |
82 | from dbxread.c, so they can be shared with xcoffread.c. | |
83 | * buildsym.h: New file. Declarations for buildsym.c users. | |
84 | * dbxread.c: Remove large chunks into buildsym.c. | |
d47d5315 JG |
85 | * Makefile.in: Add buildsym.c and buildsym.h. |
86 | ||
87 | * symfile.c (syms_from_bfd): New routine. | |
88 | (add_symbol_file): Call it to do the real work. | |
89 | (syms_from_bfd): Initialize entry_point before calling symfile_init. | |
90 | * symtab.h, symfile.c, coffread.c, mipsread.c, dwarfread.c: | |
91 | Avoid declaring or setting entry_point (symfile.h & symfile.c cope). | |
c0302457 | 92 | |
bcccec8c PB |
93 | Fri Oct 25 18:59:32 1991 Per Bothner (bothner at cygnus.com) |
94 | ||
95 | Various fixes to improve g++ debugging. | |
96 | * symtab.h: Add is_const and is_volatile flags for each method. | |
97 | These are bit fields - take their space from voffset, | |
98 | which shrinks to 30 bits. Since voffset is now a bitfield, | |
99 | make it unsigned for portability. This changes its interpretation | |
100 | slightly: Static methods now have voffset 1 instead of -1, | |
101 | and virtual offsets start at 2, not 1. | |
102 | * symtab.c: Renamed gdb_mangle_typename to gdb_mangle_name, | |
103 | since it now returns an entire magled method name, not just | |
104 | the type part. This avoids some duplication. | |
105 | It also allows us to correctly mangle const and volatile | |
106 | methods (using the new is_const and is_volatile bit fields | |
107 | mentioned above). | |
108 | * valprint.c (type_print_base), values.c (check_stub_method): | |
109 | Simplify by using new gdb_mangle_name. | |
110 | * values.c (value_headof): Fix to correctly handle single | |
111 | inheritance (actually two fixes, either of which suffices). | |
112 | * dbxread.c (read_struct_type): Handle const and volatile | |
113 | method specifiers. | |
114 | * dbxread.c (read_struct_type): Yet one more place where | |
115 | we must handle '\\' continuations. | |
116 | * valprint.c (vtbl_ptr_name): Add final '\0'. | |
117 | ||
eb3f3e5c SG |
118 | Fri Oct 25 16:06:38 1991 Stu Grossman (grossman at cygnus.com) |
119 | ||
5ab580cc SG |
120 | * tm-sparc.h, tm-68k.h (EXTRACT_RETURN_VALUE): fix output of |
121 | short return values for sparc and 68k. Patch from Paul Eggert. | |
122 | ||
eb3f3e5c SG |
123 | * coffread.c, coredep.c, i386-xdep.c: install patches for |
124 | SysV/386 3.2 from Mauro DePalma. | |
125 | ||
9cb602e1 JG |
126 | Fri Oct 25 02:02:13 1991 John Gilmore (gnu at cygnus.com) |
127 | ||
c58215f2 JG |
128 | * core.c (core_file_info), exec.c (exec_file_info): Print file |
129 | type. Use printf_filtered. | |
130 | ||
9cb602e1 JG |
131 | * valops.c (value_fetch_lazy): Avoid 0-length fetches. |
132 | ||
b662acae FF |
133 | Thu Oct 24 23:06:40 1991 Fred Fish (fnf at cygnus.com) |
134 | ||
c8c0a2bd FF |
135 | * dwarfread.c: Add casts to remove compiler warnings. |
136 | ||
84d82b1c FF |
137 | * tm-3b1.h, tm-68k.h, tm-altos.h, tm-amix.h, tm-hp300bsd.h, |
138 | tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-pn.h, tm-sun2.h, | |
139 | tm-sun3.h: Remove locally duplicated code for calling functions | |
140 | in the inferior. The only differences were in the specific trap | |
141 | vectors used and whether or not an fpu was present. These are | |
142 | now handled by appropriate definitions of BPT_VECTOR and | |
143 | HAVE_68881 respectively. Other minor obvious cleanups. | |
144 | ||
145 | * valops.c: Correct a minor misspelling. | |
146 | ||
ed317bb3 FF |
147 | * utils.c: Remove local BSD/USG hacks that are now in libiberty. |
148 | ||
b662acae FF |
149 | * dwarfread.c: Remove prototype for dwarfwarn. Does not work |
150 | with <varargs.h>. | |
151 | ||
313fdead JG |
152 | Thu Oct 24 09:33:44 1991 John Gilmore (gnu at cygnus.com) |
153 | ||
b0077123 JG |
154 | * stack.c (frame_command): Always print. Use new |
155 | frame_select_command to select a frame without printing. | |
156 | ||
313fdead JG |
157 | * dwarfread.c: Use <varargs.h>, since <stdarg.h> is not portable. |
158 | ||
4a35d6e9 FF |
159 | Thu Oct 24 01:32:51 1991 Fred Fish (fnf at cygnus.com) |
160 | ||
35f5886e FF |
161 | * dwarfread.c: New file for DWARF debugging format support. |
162 | ||
163 | * elfread.c: New file for ELF object file format support. | |
164 | ||
165 | * procfs.c: New file for SVR4 /proc (process file system) support. | |
166 | ||
167 | * tm-amix.h, xm-amix.h, tconfig/amix, xconfig/amix: New files for | |
168 | Amiga UNIX support. | |
169 | ||
170 | * xm-svr4.h, tm-svr4.h: New files for SVR4 support. | |
171 | ||
172 | * xm-m68k.h: New file for host machines with m68k cpu. | |
173 | ||
bb4ff694 FF |
174 | * Makefile.in: Add elfread.c and dwarfread.c to SFILES_MAINDIR. |
175 | Add elfread.o and dwarfread.o to OBS. | |
176 | ||
177 | * symfile.h: Add "elf" to list of supported formats in comment. | |
178 | ||
e2aab031 FF |
179 | * c-exp.y, defs.h, symtab.h, valprint.c: Add three new builtin |
180 | types to gdb, builtin_type_long_double, builtin_type_complex, and | |
181 | builtin_type_double_complex. Add and use new TARGET_SHORT_BIT, | |
182 | TARGET_INT_BIT, TARGET_LONG_BIT, TARGET_FLOAT_BIT, | |
183 | TARGET_DOUBLE_BIT, TARGET_LONG_DOUBLE_BIT, TARGET_COMPLEX_BIT, and | |
184 | TARGET_DOUBLE_COMPLEX_BIT, as the sizes in bits of the indicated | |
185 | types on the target machine (ala the existing TARGET_LONG_LONG_BIT). | |
186 | ||
02070680 FF |
187 | * infrun.c: When using SVR4 /proc interface instead of ptrace(), |
188 | call proc_set_exec_trap() to setup child to stop at first instruction. | |
189 | ||
190 | * inftarg.c: When using SVR4 /proc interface, call proc_wait() | |
191 | rather than wait(). | |
192 | ||
193 | * m68k-tdep.c: Add new routines supply_gregset(), fill_gregset(), | |
194 | supply_fpregset(), and fill_fpregset(), which are machine | |
195 | dependent support routines for SVR4 /proc interface. | |
196 | ||
2bc2e684 FF |
197 | * utils.c: Add warning_setup() and warning(). Warning() behaves |
198 | the same as error() except that it returns normally rather than | |
199 | jumping back to command level. Modules that don't want to call | |
200 | warning() for some reason, but want to produce their own warnings, | |
201 | can call warning_setup() to ensure compatibility with the way | |
202 | warning() and error() deal with the terminal. | |
203 | ||
eaa1ef1d FF |
204 | * symtab.c: Make internal errors produce more useful messages. |
205 | ||
dcd15e5e FF |
206 | * tm-68k.h: Move code that is duplicated in almost every single |
207 | m68k based machine's configuration files to this common file. | |
208 | Duplications in the configuration files still need to be removed | |
209 | (FIXME). | |
210 | ||
150f5436 FF |
211 | * infrun.c (child_create_inferior): System V versions must call |
212 | setpgrp() with no arguments, to comply with prototyping typically | |
213 | in <unistd.h>. | |
214 | ||
cb17dfb1 FF |
215 | * munch: Add support for SVR4 style nm output. |
216 | ||
4a35d6e9 FF |
217 | * dbxread.c, mipsread.c symmisc.c, symtab.c: Remove the object |
218 | file specific fields from the partial symbol table structure and | |
219 | replace them with a pointer to private data for each different | |
220 | flavor of object file reader to initialize appropriately. | |
221 | ||
b0077123 JG |
222 | Wed Oct 23 09:38:20 1991 John Gilmore (gnu at cygnus.com) |
223 | ||
224 | * xconfig/sun[34]os4: Add note about strstr botch on sunos4.0.3c | |
225 | and previous. | |
226 | ||
227 | * mipsread.c (fixup_undef_type): New function. If a struct / | |
228 | union / enum is defined in a header file but nowhere else used, | |
229 | (by typedefing, pointer referencing or declaration) the mipsread code | |
230 | builds the complete tree for the structure but leaves its code as | |
231 | TYPE_CODE_UNDEF as it doesn't know what kind of aggregate it is. | |
232 | Guess its type based on the details of the members. | |
233 | ||
0d3e7f60 SG |
234 | Tue Oct 22 18:04:32 1991 Stu Grossman (grossman at cygnus.com) |
235 | ||
236 | * infrun.c (wait_for_inferior): Check return value from | |
237 | find_pc_line. | |
238 | ||
bc6c937d SG |
239 | Mon Oct 21 17:47:03 1991 Stu Grossman (grossman at cygnus.com) |
240 | ||
241 | * infrun.c (wait_for_inferior): fix stepi/nexti that was broken | |
242 | by my last edit to this routine. | |
243 | ||
b0077123 JG |
244 | Mon Oct 21 14:27:43 1991 John Gilmore (gnu at cygnus.com) |
245 | ||
246 | * tm-sun3.h (FIX_CALL_DUMMY): problem with cross debugging. | |
247 | FIX_CALL_DUMMY does unaligned accesses and/or forgets to byte swap | |
248 | the values before putting them into the dummy code. (From Peter | |
249 | Schauer) | |
250 | ||
44e4e473 SC |
251 | Mon Oct 21 10:04:39 1991 Steve Chamberlain (steve at rtl.cygnus.com) |
252 | ||
253 | * configure.in: added ebmon target. | |
254 | ||
785ce19c | 255 | Wed Oct 16 22:49:58 1991 John Gilmore (gnu at cygnus.com) |
a1b8c5d6 JG |
256 | |
257 | GDB-4.2 release! | |
258 | ||
259 | * Makefile.in: Roll VERSION to 4.2. | |
44e4e473 | 260 | * README, TODO, WHATS.NEW: Update. |
a1b8c5d6 JG |
261 | |
262 | * core.c (core_open): Improve error message for bad file. | |
263 | Pass .reg virtual memory address to fetch_core_registers to help | |
264 | it find the registers in the core-file header. | |
265 | * coredep.c (fetch_core_registers): Take new argument, use it, | |
266 | and pass it to register_addr to locate the block of registers. | |
785ce19c | 267 | * xm-mips.h: Update KERNEL_U_ADDR for new scheme. Cleanup a bit. |
a1b8c5d6 JG |
268 | |
269 | * dbxread.c (read_dbx_symtab, process_one_symbol): Handle | |
270 | Sequent N_FN_SEQ like everybody else's N_FN. | |
271 | ||
272 | * main.c: Circumvent SCO cc bug with #if !!defined(USG). | |
273 | * tm-i386v.h: #endif guck. | |
274 | * xconfig/i386*: Remove -Dgetpagesize()=4096 kludge. | |
785ce19c JG |
275 | * xconfig/i386sco: Add HAVE_STRSTR to avoid ANSI bdeath. |
276 | * xconfig/tahoe: Add REGEX, which seems to be missing. | |
277 | ||
278 | * coredep.c: Add <sys/types.h> for SCOnix. | |
279 | * dbxread.c (read_dbx_symntab): Avoid coredump on malformed file. | |
280 | * printcmd.c (print_formatted): Flush output before disassembly. | |
a1b8c5d6 | 281 | |
93ae2e88 RP |
282 | Tue Oct 15 20:12:32 1991 Roland H. Pesch (pesch at fowanton.cygnus.com) |
283 | ||
9e0906a6 RP |
284 | * doc/refcard.tex (sec "Working Files"): consistent metavars and |