* Rename files for 14-character limits:
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
c033ec17
JK
1Fri Aug 27 09:30:40 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
2
13bd9622
JK
3 * symmisc.c (dump_symtab): Use catch_errors around print_symbol.
4 Change calling sequence of print_symbol to fit catch_errors.
5
427fec5d
JK
6 * mips-tdep.c: Call reinit_frame_cache every time the user does
7 "set heuristic-fence-post".
8
20bee06d
JK
9 * gdbserver/low-sun3.c: New file.
10 * gdbserver/Makefile.in, config/m68k/sun3.mh: Change accordingly.
11
c033ec17
JK
12 * Rename files for 14-character limits:
13 gdbserver/remote-gutils.c -> gdbserver/utils.c
14 gdbserver/remote-inflow.c -> gdbserver/low-lynx.c
15 gdbserver/remote-inflow-sparc.c -> gdbserver/low-sparc.c
16 gdbserver/remote-server.c -> gdbserver/server.c
17 remote-monitor.c -> remote-mon.c
f1538274
JK
18 * Makefile.in, gdbserver/Makefile.in, gdbserver/configure.in,
19 config/m68k/monitor.mt, config/i386/i386lynx.mh,
20 config/sparc/sun4os4.mh: Change accordingly.
c033ec17
JK
21 * gdbserver/Makefile.in: Remove more junk inherited from gdb Makefile.
22
eb03abe8
JK
23Thu Aug 26 14:32:51 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24
860a1754
JK
25 * infcmd.c, inferior.h (run_stack_dummy): If we stop somewhere
26 besides the dummy, return 1 rather than calling error().
27 Let caller print the error message. Remove name argument.
28 * valops.c (call_function_by_hand): Deal with changes to calling
29 sequence of run_stack_dummy. Discard restore_inferior_status cleanup
30 if run_stack_dummy returns 1.
31
32 * Version 4.10.2.
33
34 * config/mips/tm-mips.h (EXTRACT_STRUCT_VALUE_ADDRESS):
35 Get struct return address from v0, not a0.
36
eb03abe8
JK
37 * infrun.c (restore_inferior_status): Use catch_errors when
38 restoring selected frame.
39
40Wed Aug 25 21:52:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
41
42 * infrun.c (save_inferior_status, restore_inferior_status):
43 Save and restore the registers too.
44 * inferior.h (struct inferior_status): Add "registers".
45
41a6194d
JK
46Tue Aug 24 00:36:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
47
fb2fc3b6
JK
48 * dbxread.c (end_psymtab): Clean up comment.
49
50 * frame.h, symtab.h, findvar.c (read_var_value): Change basereg
51 support to use LOC_BASEREG rather than SYMBOL_BASEREG_VALID.
a1c8d76e 52 * dwarfread.c: Use LOC_BASEREG where appropriate.
fb2fc3b6
JK
53 * Various: Support LOC_BASEREG and LOC_BASEREG_ARG.
54
9c75ce9f
JK
55 * coffread.c (init_lineno, init_stringtab): Don't check whether
56 xmalloc returned NULL.
57
0e646bd5
JK
58 * config/vax/xm-vaxult.h: Define NO_PTRACE_H.
59
41a6194d
JK
60 * target.c, target.h: Add "set remotedebug" command.
61 * remote-bug.c, remote.c, remote-mips.c: Remove "set remotedebug" and
62 "set m88ksnoop" options and use generic "set remotedebug" instead.
63 * NEWS: Describe this change.
64
2731625a
JK
65Mon Aug 23 20:26:22 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
66
67 * buildsym.h: Remove declaration of dbxread.c functions.
68 * stabsread.h: Group together dbxread.c functions.
69 Move elfstab_build_psymtabs here from symfile.h.
70 Declare pastab_build_psymtabs.
71 * elfread.c, paread.c: Include stabsread.h (for stabsread_new_init
72 declaration, etc).
73
e0508fdc
RP
74Mon Aug 23 17:16:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
75
16f6ab6b
RP
76 * remote-bug.c: rename quiet to bug88k_snoop.
77 (double_scan, multi_scan): generalize double_scan into a scan
78 for multiple patterns. Rename to multi_scan.
79 (bug_wait, bug_write_inferior_memory): adapt to use the new
80 multi_scan in order to catch and represent target bus errors.
81 (bug_scan): currently unused, so comment out.
82 (bug_quiet): removed. Replaced with a standard user settable boolean.
83
e0508fdc
RP
84 * m88k-tdep.c: remove include of sys/dir.h. Appears unnecessary
85 and isn't available on solaris.
86
304977ab
JK
87Mon Aug 23 14:56:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
88
89 * config/m88k/{delta88v4.mt,delta88v4.mh}: New files
90 * config/m88k/delta88.mh: Fix comment.
91 * config/m88k/tm-delta88.h: Remove unused BCS define.
92 * config/m88k/{tm-delta88v4.h,xm-delta88v4.h,nm-delta88v4.h}:
93 New files.
94 * configure.in: Recognize m88*-motorola-sysv4*.
95 * m88k-nat.c: Always include sys/types.h; don't depend on USG.
96
f5d6b0c5
PS
97Mon Aug 23 12:57:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
98
304977ab
JK
99 * mipsread.c (parse_symbol, parse_type, cross_ref): Pass name of
100 symbol as an argument and use it in complaints.
f5d6b0c5
PS
101 * symmisc.c (dump_psymtab): Dump filenames of dependencies.
102
a6565079
JK
103Mon Aug 23 1993 Sean Fagan (sef@cygnus.com)
104 and Jim Kingdon (kingdon@cygnus.com)
105
106 Add NetBSD support:
107 * configure.in: Recognize netbsd.
108
313dd520
JK
109Fri Aug 20 14:01:39 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
110
6ecb870e
JK
111 * remote-nindy.c: Remove unused include of sys/ioctl.h.
112
313dd520
JK
113 * frame.h, symtab.h: Revise comments regarding baseregs.
114
018ab14f
PS
115Fri Aug 20 15:07:05 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
116
117 * mipsread.c (parse_partial_symbols, psymtab_to_symtab_1):
118 Set language for psymtab and symtab.
119 * mipsread.c (new_symbol): Set language and initialize demangled
120 name for symbol.
121 * symmisc.c (print_symbol): Use SYMBOL_SOURCE_NAME when printing
122 the symbol type.
123 * symtab.c (decode_line_1): Inhibit coredumps with cfront executables.
124
8af0de91
JK
125Fri Aug 20 14:01:39 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
126
0ca9bd12
JK
127 * Move KERNEL_U_ADDR from xm-hp300bsd.h to nm-hp300bsd.h and make
128 it conditionalized on 4.3 vs. 4.4.
129 * config/m68k/nm-hp300bsd.h: Move REGISTER_U_ADDR out of 4.3 and
130 4.4 sections; it was identical and now works for 4.4.
131
b33e0e0b
JK
132 * mips-tdep.c (is_delayed): Use INSN*BRANCH* not ANY_DELAY.
133
8af0de91
JK
134 * printcmd.c (MAKEVA_END): Update this version to use "aligner".
135
6ac14d25
PS
136Thu Aug 19 22:08:09 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
137
138 * config/vax/tm-vax.h (BELIEVE_PCC_PROMOTION): Define.
139 * mipsread.c (parse_symbol, parse_type, cross_ref): Handle corrupt
140 file indirect entries with complaints instead of core dumps. Remove
141 complaint for stTypedef within aggregates.
142
522b9962
JK
143Thu Aug 19 17:58:39 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
144
e09c5e26
JK
145 * coffread.c (process_coff_symbol): Ignore tagnames like .0fake.
146
147 * coffread.c (coff_read_enum_type): #if 0 out code which changes
148 enum {FALSE, TRUE} into boolean.
149
522b9962
JK
150 * config/m68k/delta68.m{t,h}: Use nm-delta68.h, etc. not
151 non-existent files nm-delta.h, etc.
152 * config/m68k/tm-delta68.h: Define CANNOT_STORE_REGISTER.
153 * delta68-nat.c: Add "[0]" in offsetof argument.
154 * delta68-nat.c (_initialize_kernel_u_addr): Don't try to set up
155 nl with initializer, just assign to it. Check n_scnum field on
156 return.
157
e56ac0ba
JK
158Wed Aug 18 12:03:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
159
b2ccb6a4
JK
160 * printcmd.c (print_address), values.c (value_as_pointer): Don't
161 use ADDR_BITS_REMOVE.
d3fa810c 162 * defs.h: Try to clarify comment about ADDR_BITS_REMOVE.
b2ccb6a4 163
479fdd26
JK
164 * blockframe.c (block_innermost_frame): Uncomment.
165 Return NULL if passed NULL.
166 * frame.h: Declare it.
167 * expression.h (union exp_element): Add field block.
168 * parse.c (write_exp_elt_block): New function.
169 * expression.h (OP_VAR_VALUE): Now takes additional struct block *.
170 * *-exp.y: Write block for OP_VAR_VALUE.
171 * eval.c, expprint.c, parse.c: Deal with block for OP_VAR_VALUE.
172 * valops.c, value.h (value_of_variable), callers:
173 Add second argument, for block.
174
e56ac0ba
JK
175 * main.c (gdb_readline): If we read some characters followed by EOF,
176 return them rather than returning NULL.
177
48be4c35
JK
178Tue Aug 17 11:14:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
179
180 * mips-tdep.c: Remove unused #ifndef NUMERIC_REG_NAMES and add comment.
181
2f03f9a6
RP
182Tue Aug 17 15:10:04 1993 K. Richard Pixley (rich@sendai.cygnus.com)
183
637603f9
RP
184 * config/m88k/tm-m88k.h: Fix typo in comment.
185 (FP_REGNUM): define in terms of SP_REGNUM
186 rather than by absolute number. Also clearly comment that this
187 is a convenient lie in order to decrease future confusion.
188 (ACTUAL_FP_REGNUM): new macro for FP.
189 (FRAME_CHAIN_VALID): removed. Standard default works fine.
190 * m88k-tdep.c (frame_chain_valid): redundant, so removed.
191 (NEXT_PROLOGUE_INSN): removed unused fourth arg, fixed all
192 callers.
193 (read_next_frame_reg): declare static.
194 (examine_prologue): removed unused variabel insn2, rename insn1
195 to insn, rewrote comment about finding fp, sp, etc. set frame_fp
196 based on ACTUAL_FP_REGNUM rather than FP_REGNUM which is
197 actually a scammed alias for SP_REGNUM on m88k.
198
2f03f9a6
RP
199 * frame.h: fixed typo in comment.
200
4f1afa16
JK
201Tue Aug 17 11:14:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
202
b80bd1e0
JK
203 * 29k-share/udi/udiphcfg.h: Always include udiphunix.h not udiphdos.h.
204
4f1afa16
JK
205 * complaints.c (complain): fflush (stdout) after output.
206
d541211d
PS
207Tue Aug 17 01:43:55 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
208
209 * blockframe.c, frame.h (sigtramp_saved_pc): New routine to fetch
210 the saved pc from sigcontext on the stack for BSD signal handling.
211 * config/i386/tm-i386bsd.h (SIGTRAMP_START, SIGTRAMP_END, FRAME_CHAIN,
212 FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, SIGCONTEXT_PC_OFFSET):
213 Define to make backtracing through sigtramp work.
214 * config/vax/tm-vax.h (SIGTRAMP_START, SIGTRAMP_END, TARGET_UPAGES,
215 FRAME_SAVED_PC, SIGCONTEXT_PC_OFFSET): Ditto.
216
1109373a
JK
217Mon Aug 16 13:52:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
218
4f1afa16
JK
219 * main.c (cd_command): If current_directory on entry is "/", then
220 don't append an extra slash.
c307bb11 221 Don't assume that /../.. means /.
4f1afa16 222
d541211d
PS
223 * target.c (target_xfer_memory): Clear errno before calling
224 to_xfer_memory.
225
1109373a
JK
226 * stack.c (frame_info, print_frame_info): Add comment about using
227 the starting source line number on a line boundary if backtracing
228 through sigtramp.
229
4fd0b84e
PS
230Mon Aug 16 02:56:01 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
231
232 * blockframe.c (create_new_frame, get_prev_frame_info):
233 Use the function name when calling IN_SIGTRAMP.
234 * config/m68k/tm-m68k.h (SIG_PC_FP_OFFSET, SIG_SP_FP_OFFSET):
235 Define for correct handling of bachtraces through _sigtramp.
236 * m68k-tdep.c (m68k_find_saved_regs): Adjust saved sp for fake
237 sigtramp frames.
238 * mipsread.c (parse_type): Handle corrupt TIR info with complaint
239 instead of core dump.
240 * mipsread.c (parse_partial_symbols): Put static symbols into the
241 mimimal symbol table, use proper mst_types for all minimal symbols.
242 * stack.c (frame_info, print_frame_info): Use the starting source
243 line number on a line boundary if backtracing through sigtramp.
244
f2f848b8
RP
245Fri Aug 13 14:37:05 1993 K. Richard Pixley (rich@sendai.cygnus.com)
246
4fd0b84e
PS
247 * remote-bug.c: include gdbcmd.h.
248 (sleep, remque, insque): forward decls added.
249 (bug_fetch_registers, bug_store_registers): forward decls
250 removed.
251 (bug_read_inferior_memory, bug_write_inferior_memory): forward
252 decls added.
253 (srec_frame, srec_max_retries, srec_bytes, srec_echo_pace,
254 srec_sleep, srec_noise): new static variables for user settable
255 options. Mostly these are for debugging and tuning. I don't
256 expect them to stay user settable options for long.
257 (timeout): change default to 4 seconds.
258 (check_open): declare funtion static, force return value.
259 (readchar_nofail): if timeout, then say so if not being quiet.
260 (pollchar, double_scan, bug_scan, bug_srec_write_cr,
261 start_load): new functions.
262 (bug_wait): rewritten to use double scan.
263 (expect): while (1) -> for (;;)
264 (get_hex_digit): rewrite if condition to avoid gcc complaints.
265 (bug_load, bug_create_inferior, bug_open, bug_store_register):
266 removed unused variables.
267 (bug_load): replaced DELTA macro with user settable srec_frame
268 variable. Other minor lint.
269 (find_end_of_word, is_baudrate_right, set_rate, not_bug_wait,
270 gethex, timed_read, translate_addr, bug_before_main_loop):
271 unsused and removed.
272 (bug_resume): add missing first arg, pid.
273 (get_reg_name): use ip rather than cr04.
274 (bug_write, bug_write_cr, but_clear_breakpoints, bug_quiet):
275 declare type, args, and explicitly return.
276 (bug_store_register): straighten out the ip vs cr04 confusion.
277 (bug_write_inferior_memory): rewrite to cope with errors while
278 downloading s-records.
279 (bug_read_inferior_memory): declare static.
280 (bug_clear_breakpoints): expect nobr before prompt.
281 (_initialize_remote_bug): add initializations for srec-bytes,
282 srec-max-retries, srec-frame, srec-noise, srec-sleep,
283 srec-echo-pace.
284
4f4649a7
RP
285 * Makefile.in (remote-bug.o): new rule.
286 (ALLDEPFILES): added remote-bug.c
287
e93790f0
RP
288 * remote-hms.c (hms_wait): use -1 for timeout's which means block
289 forever rather than 99999.
290
057c2f47
RP
291 * ser-unix.c (get_tty_state): if a descriptor is not a tty, then
292 simply save encode this fact as the process group and return
293 success rather than an error.
294 (set_tty_state): if process group is -1, do not reset the
295 process group.
296 (hardwire_reachar): comment change.
297
0e5f1b37
RP
298 * serial.h: comment change.
299
f2f848b8
RP
300 * config/m88k/tm-m88k.h: comment change to remove embedded
301 comment.
302 (SKIP_PROLOGUE): skip_prologue returns a value which is expected
303 to reset the pc argument. So reset it.
304
5069d770
FF
305Fri Aug 13 10:15:24 1993 Fred Fish (fnf@deneb.cygnus.com)
306
307 * Makefile.in (VERSION): Bump to 4.10.1 after release and cvs
308 tagging.
309
ff1cdb40
JK
310Thu Aug 12 20:40:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
311
312 * gdbserver/Makefile.in: Use GDBSERVER_LIBS and
313 GDBSERVER_DEPFILES. Also remove much (but not all that could be
314 removed) crud inherited from gdb Makefile.in.
315 * config/i386/i386lynx.mh, config/sparc/sun4os4.mh: Define GDBSERVER_*.
316 * gdbserver/README: Say it works on Sun and change configuration
317 instructions slightly.
318
319Wed Aug 11 18:56:59 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
320
321 * config/i386/i386v4.mh: use -lsocket and -lnsl, for remote
322 targets that use BSD style network connections
323
ae87844d
JK
324Wed Aug 11 17:54:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
325
326 * remote-{monitor,bug}.c: Make bug_ops not static (forward declaration
327 of statics doesn't work with SunOS4 /bin/cc).
328 Rename the occurrence in remote-monitor.c to monitor_bug_ops.
329
523ef121
JK
330Tue Aug 10 13:07:14 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
331
332 * blockframe.c (find_pc_partial_function),
333 mips-tdep.c (find_proc_desc): Deal with "pathological" case.
334
0f1b1bcc
JK
335Tue Aug 10 14:50:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
336
523ef121
JK
337 * utils.c (wrap_here): Allow indent to be NULL.
338 (fputs_filtered): Don't check for null wrap_indent (wrap_here now
339 guarantees that it isn't, and anyway we were only checking one out
340 of the two places we dereferenced it).
341
0f1b1bcc
JK
342 * objfiles.h (struct objfile): Clean up comments for
343 {obj,sym}_private to clarify what they are private to.
344
48f075eb
SS
345Mon Aug 9 16:45:00 1993 Stan Shebs (shebs@rtl.cygnus.com)
346
347 * stabsread.c, buildsym.c (hashname): Moved function to
348 buildsym.c, as suggested in the sources.
349
0685d95f
JK
350Mon Aug 9 09:53:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
351
525390a2
JK
352 * remote-udi.c: Make udi_ops extern rather than trying forward
353 declaration of a static variable.
354
8a99c712
JK
355 * hppab-nat.c: Define ptrace to call_ptrace and pass the 5th arg
356 there, rather than using an ANSI C specific macro.
357
a2fbd4c8
JK
358 * 29k-share/udi/udr.c: Include fcntl.h not sys/fcntl.h. Also put
359 sys/types.h near the top (just on general principles).
360
b992d16b
JK
361 * environ.c (set_in_environ): Remove G960BASE and G960BIN; they are
362 no longer used.
363
0685d95f
JK
364 * gdbcore.h: New variable gnutarget.
365 * core.c: Add commands to set and show it.
366 * Callers to bfd_*open*: Pass gnutarget instead of NULL as target.
367 * environ.c (set_in_environ): For GNUTARGET, use set_gnutarget not
368 putenv.
369
370 * symtab.c (decode_line_1): Give error on unmatched single quote.
371
3da5198c
JK
372Sun Aug 8 13:59:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
373
95a98b5e
JK
374 * ser-unix.c (hardwire_send_break) [HAVE_SGTTY]: Use select not usleep.
375
3da5198c
JK
376 * remote.c: Add comments about 'd', 'r', and unrecognized requests.
377
378 * inflow.c (terminal_init_inferior): Don't muck with tty state if
379 gdb_has_a_terminal() is false.
380
f645e835
FF
381Sun Aug 8 10:07:47 1993 Fred Fish (fnf@cygnus.com)
382
383 * dwarfread.c (record_minimal_symbol): Remove prototype and
384 function.
385 * dwarfread.c (add_partial_symbol): Remove code to add minimal
386 symbols and remove comment about limitations. Experiments show
387 that now that gdb handles the ELF symtab better for creating
388 minimal symbols, that no additional information is added by
389 examining the DWARF information, and in fact, given the
390 limitations, the DWARF code was actually making things worse.
391
379dd965
FF
392Sat Aug 7 10:59:03 1993 Fred Fish (fnf@deneb.cygnus.com)
393
394 * elfread.c (elf_symtab_read): Properly sort out the bss symbols
395 from the data symbols and give them the correct minimal_symbol_type.
396 Add file static symbols to the minimal symbol table, not just
6c8f91a1
FF
397 global symbols. Add absolute symbols as well (like _edata, _end).
398 Redo stabs-in-elf special symbol handling now that file static
399 symbols are entered into the into the minimal symbol table.
379dd965
FF
400 * dwarfread.c (add_partial_symbol): Add comment about limitations
401 of DWARF symbols for distinquishing data from bss when adding
402 minimal symbols. Add file local symbols to minimal symbols.
403
8d9ec7b6
JK
404Thu Aug 5 08:58:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
405
80b4aa1c 406 * ser-go32.c: Define job_control variable.
e917bef3 407
80b4aa1c
JK
408Thu Aug 5 15:56:13 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
409
410 * configure.in: z8k-coff is the same as z8k-sim
411
412Thu Aug 5 08:58:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
80b4aa1c 413
038de493
JK
414 * 29k-share/udi/udip2soc.c: Include sys/types.h before sys/file.h.
415
a824e46e
JK
416 * config/i386/tm-i386bsd.h (NUM_REGS): There are only 10, not 11.
417
d625b398
JK
418 * inflow.c: Put all uses of F_GETFL and F_SETFL in #ifdef F_GETFL.
419
8d9ec7b6
JK
420 * 29k-share/udi/udip2soc.c: Include fcntl.h not sys/fcntl.h.
421
a88797b5
FF
422Wed Aug 4 18:32:12 1993 Fred Fish (fnf@cygnus.com)
423
424 * inflow.c (pass_signal): Signal handlers take one int arg;
425 supply an unused one to make it type compatible as an arg to
426 signal().
427
05e9e188
ILT
428Tue Aug 3 18:34:14 1993 Ian Lance Taylor (ian@cygnus.com)
429
430 * config/mips/tm-mips.h: Include bfd.h before coff/sym.h.
431
8e92ade7
FF
432Tue Aug 3 15:34:57 1993 Fred Fish (fnf@cygnus.com)
433
434 * Makefile.in (ALLCONFIG): Add config/i386/i386nw.mt,
435 config/m68k/delta68.mh, config/m68k/delta68.mt,
436 config/m68k/dpx2.mh, config/m68k/dpx2.mt, config/mips/riscos.mh,
437 config/mips/news-mips.mh.
438 * Makefile.in (ALLPARAM): Add config/i386/nm-symmetry.h,
439 config/i386/tm-i386nw.h, config/m68k/nm-delta68.h,
440 config/m68k/tm-delta68.h, config/m68k/xm-delta68.h,
441 config/m68k/nm-dpx2.h, config/m68k/tm-dpx2.h,
442 config/m68k/xm-dpx2.h, config/mips/xm-makeva.h.
443 * Makefile.in (ALLDEPFILES): Add dpx2-nat.c.
444
e906e7fa
ILT
445Tue Aug 3 12:02:09 1993 Ian Lance Taylor (ian@cygnus.com)
446
447 * mipsread.c: Updated for BFD ECOFF changes. Now gets the
448 swapping routines and external structure sizes via the
449 ecoff_backend information. No longer includes coff/mips.h.
450
511e0322
FF
451Tue Aug 3 10:58:04 1993 Fred Fish (fnf@cygnus.com)
452
453 * Makefile.in (SFILES): Add thread.c
454
6eb0b283
DE
455start-sanitize-v9
456Tue Aug 3 10:21:58 1993 Doug Evans (dje@canuck.cygnus.com)
457
458 * remote-sp64sim.c (simif_create_inferior): Add FIXME regarding
459 sim_set_args return code.
460end-sanitize-v9
461
90fcdfbf
RP
462Mon Aug 2 16:35:31 1993 K. Richard Pixley (rich@sendai.cygnus.com)
463
464 * Makefile.in (VERSION): bumped to 4.9.4.
465
466 * remote-monitor.c: updated copyright.
467 (bug_ops, monitor_desc): now static.
468 (monitor_desc): in several places, check and/or set to NULL.
469
470 * remote-hms.c (hms_files_info): Add the appropriate items where
471 missing in the printf call.
472
473 * remote-bug.c: new file for m88k bug support.
474
475 * config/m88k/m88k.mt (TDEPFILES): added remote-bug.o.
476
a3059251
SC
477Mon Aug 2 14:22:09 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
478
479 * h8300-tdep.c: Use new variable h8300hmode.
480
ac88287f
JK
481Mon Aug 2 12:06:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
482
802d6308
JK
483 * valops.c (typecmp): If we are passing a non-reference to a function
484 which takes a reference, pass the address.
485 (value_arg_coerce): Don't use COERCE_ENUM; we don't want to dereference
486 references here.
487
3082244d
JK
488 * thread.c (thread_switch): Define as static.
489 (add_thread): Cast return value from xmalloc.
490
ac88287f
JK
491 * gdbtypes.c (fill_in_vptr_fieldno): Call check_stub_type.
492 * gdbtypes.{c,h}: Improve comments on vptr_fieldno.
493
c178776d
FF
494Mon Aug 2 11:58:52 1993 Fred Fish (fnf@deneb.cygnus.com)
495
496 * README: Elaborate on gdb C++ support and cfront support.
497
da0baf42
SG
498Mon Aug 2 11:30:57 1993 Stu Grossman (grossman at cygnus.com)
499
500 * i386lynx-nat.c, thread.c, thread.h: Update copyrights.
501
afa2499d
JK
502Mon Aug 2 12:06:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
503
504 * Makefile.in (ALLDEPFILES): Add i386lynx-nat.c.
505
db691e4b
SG
506Mon Aug 2 08:42:50 1993 Stu Grossman (grossman at cygnus.com)
507
508 * gdbserver/remote-inflow.c (create_inferior): Fix comments, and
509 error msg. Setup seperate process group for child.
510 * (write_inferior_memory): Sleep for 1 second and retry on ptrace
511 failure.
512
25286543
SG
513Sun Aug 1 22:58:18 1993 Stu Grossman (grossman at cygnus.com)
514
884914bf
SG
515 * config/i386/i386lynx.mh (NATDEPFILES): Drop coredep (for now).
516 * config/i386/nm-i386bsd.h: Protect from multiple inclusion.
517 * config/i386/nm-i386lynx.h: Lotsa new host porting stuff.
518 * config/i386/tm-i386lynx.h: Define SAVED_PC_AFTER_CALL and
519 target_pid_to_str.
520
25286543
SG
521 * Makefile.in (CLIBS): Reorder to make Lynx ld happy.
522 * (HFILES): New file thread.h.
523 * (OBS): New file thread.c.
524 * configure.in: Host config for Lynx/386.
525 * fork-child.c (fork_inferior): Call init_thread_list().
526 * infrun.c (resume): Add pid to invocation of target_resume().
527 * (wait_for_inferior): Pay attention to pid from target_wait().
528 Multi-threading code now uses this to determine what to do.
529 * inftarg.c (child_wait): Conditionalize based on CHILD_WAIT macro.
530 Use target_pid_to_str() macro throughout when printing pid.
531 * inferior.h (child_resume): Add pid to prototype.
532 * hppab-nat.c hppah-nat.c infptrace.c (child_resume): Pass in pid as
533 argument, instead of using inferior_pid.
534 * procfs.c (procfs_resume): Pass in pid as argument. Ignored for
535 now. Use target_pid_to_str() macro throughout for printing process id.
536 * remote-adapt.c (adapt_resume): Pass in pid as argument.
537 * remote-eb.c (eb_resume): Pass in pid as argument.
538 * remote-es.c (es1800_resume): Pass in pid as argument.
539 * remote-hms.c (hms_resume): Pass in pid as argument.
540 * remote-mips.c (mips_resume): Pass in pid as argument.
541 * remote-mm.c (mm_resume): Pass in pid as argument.
542 * remote-monitor.c (monitor_resume): Pass in pid as argument.
543 * remote-nindy.c (nindy_resume): Pass in pid as argument.
544 * remote-sa.sparc.c (remote_resume): Pass in pid as argument.
545 * remote-sim.c (rem_resume): Pass in pid as argument.
38867a45 546 start-sanitize-v9
25286543 547 * remote-sp64sim.c (simif_resume): Pass in pid as argument.
38867a45 548 end-sanitize-v9
25286543
SG
549 * remote-st.c (st2000_resume): Pass in pid as argument.
550 * remote-udi.c (udi_resume): Pass in pid as argument.
551 * remote-vx.c (vx_resume): Pass in pid as argument.
552 * remote-z8k.c (rem_resume): Pass in pid as argument.
553 * remote.c (remote_resume): Pass in pid as argument.
554 * solib.c (solid_create_inferior_hook): Pass inferior_pid to
555 target_resume().
556 * target.c (normal_pid_to_str): New routine to print out process
557 ID normally.
558 * target.h (struct target_ops): Add pid to prototype at
559 to_resume(). (target_resume): Add pid argument.
560 * (target_pid_to_str): Default definition for normal type pids.
38867a45 561 * thread.h, thread.c: New modules for multi thread/process control.
25286543 562
804d23f3
JG
563Sun Aug 1 13:02:42 1993 John Gilmore (gnu@cygnus.com)
564
565 * README: Say that bug-gdb is also the place to send requests
566 for help with GDB.
567
d1445327
FF
568Sun Aug 1 09:42:13 1993 Fred Fish (fnf@cygnus.com)
569
84b5df32 570 * Makefile.in (make-proto-gdb-1): Use -f opt on rm of Makefile.
d1445327
FF
571 * h8500-tdep.c: Add parens around a few macro args.
572
eec03ebb
JK
573Fri Jul 30 15:43:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
574
77eb2e8f
JK
575 * TODO: Remove items about unix-to-unix/rapp debugging (now we
576 have gdbserver), moving xm files to subdirectory, ptype yylval,
577 and file-local symbols.
578
eec03ebb
JK
579 * gdbtypes.h: Improve comments about C++ methods.
580
bcca9a08
FF
581Fri Jul 30 14:16:32 1993 Fred Fish (fnf@deneb.cygnus.com)
582
583 * c-exp.y: Add missing 5th arg for one call to lookup_symbol, cast
584 NULL in all other calls to correct pointer types.
585
6cfec929
JK
586Fri Jul 30 15:43:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
587
588 From Jeffrey Law:
589 * tm-hppa.h (TARGET_WRITE_PC): Define.
590 * hppa-tdep.c (hppa_fix_call_dummy): If in a syscall,
591 then return the address of the dummy itself rather than
592 the address of $$dyncall.
593 (target_write_pc): New function to store a new PC.
594
f5a197a2
PS
595Fri Jul 30 12:51:27 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
596 and Jim Kingdon (kingdon@cygnus.com)
597
598 * breakpoint.c (breakpoint_re_set_one): Always reparse breakpoint
599 conditions, they might contain symbol table references.
600
601Fri Jul 30 12:51:27 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
602
603 * mipsread.c (parse_symbol): Handle opaque struct definitions and
604 type naming for stTypedef symbols.
605
96c68efa
JK
606Fri Jul 30 14:44:21 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
607
608 * c-exp.y (yylex): Detect C++ nested types.
609
38cbb25c
DE
610start-sanitize-v9
611Fri Jul 30 11:07:37 1993 Doug Evans (dje@canuck.cygnus.com)
612
613 * sp64-tdep.c (sparc64_frame_chain, sparc64_frame_saved_pc): Deleted.
614 (dump_ccreg, sparc_print_register_hook): New fns.
615 * remote-sim.h: New file.
616 * remote-sp64sim.h (sim_*): External fns. (simif_*): Internal fns.
617
618 * config/sparc/sp64.mt: New file.
619 * config/sparc/tm-sp64.h (FRAME_CHAIN, FRAME_SAVED_PC): Deleted.
620 (PRINT_REGISTER_HOOK): Call new fn sparc_print_register_hook.
621end-sanitize-v9
622
6879f0db
FF
623Fri Jul 30 10:15:01 1993 Fred Fish (fnf@deneb.cygnus.com)
624
625 * Makefile.in (ALLCONFIG): Add config/i386/ptx.mh
626
ca33fca1
JK
627Fri Jul 30 08:58:01 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
628
d3862cae
JK
629 From J. Law:
630 * infcmd.c (read_pc): Remove PA specific code.
631 * tm-hppa.h (TARGET_READ_PC): Define.
632 * hppa-tdep.c (target_read_pc): New function.
633
ca33fca1
JK
634 * symtab.c (gdb_mangle_name): Deal with it if type lacks a name.
635
598db9ee
FF
636Fri Jul 30 07:36:53 1993 Fred Fish (fnf@deneb.cygnus.com)
637
ebb962cd 638 * NEWS: Add note that DEC alpha support is host only, not native.
598db9ee
FF
639 * README: Emphasize that C++ support works best with GNU C++ and
640 stabs debugging format.
641 * delta68-nat.c: Add missing FSF copyright.
642
f1a67de8
JK
643Fri Jul 30 08:58:01 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
644
645 * paread.c (pa_symtab_read): Put file-local symbols in minimal symbols.
247145e6
JK
646 * hppa-tdep.c (frame_chain_valid): Check that our function has the
647 same address as _start, not that it must be the same symbol.
f1a67de8 648
68f49dae
FF
649Fri Jul 30 00:18:40 1993 Fred Fish (fnf@deneb.cygnus.com)
650
651 * Makefile.in (ALLDEPFILES): Add delta68-nat.c
652 * Makefile.in (delta68-nat.o): Add dependency.
653
54a11a1d
JK
654Thu Jul 29 12:09:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
655
5d38a0a8
JK
656 * value.h (COERCE_ENUM): Use COERCE_REF to coerce refs; value_ind
657 was adequate in gdb 3.5 but not now.
658
659 * valops.c (typecmp): An array in t2 matches a pointer in t1.
660
661 * valops.c (typecmp): When comparing type1& to type2, compare
662 type1 and type2 as leniently as if we were comparing type1 to
663 type2.
664
1410f5f1
JK
665 * cp-valprint.c (cplus_print_value): Don't dump core if the
666 baseclass doesn't have a name.
667 * values.c (vb_match): New function, which finds the virtual
668 base class pointer even if the types are nameless.
669 (baseclass_{addr,offset}): Use it.
670
63757ecd
JK
671 * hppa-tdep.c: Make "maintenance print unwind" command from old
672 "unwind" command.
673
54a11a1d
JK
674 * remote-udi.c: Remove udi_timer, call to siginterrupt, and associated
675 obsolete junk which apparently had been copied from the
676 pre-serial.h remote.c, but which is no longer used.
677
9b311b22
FF
678Thu Jul 29 12:36:20 1993 Fred Fish (fnf@deneb.cygnus.com)
679
680 * Makefile.in (NONSRC): Need 29k-share/README, not
681 29k-share/udi/README.
682
6e35b037
JK
683Thu Jul 29 12:09:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
684
93af329a
JK
685 * paread.c (pa_symfile_init): If error reading string table, don't
686 use errno in cases where it hasn't been set.
687
d4c22c52
JK
688 * ser-unix.c (gdb_setpgid): Pass our pid, not 0, to setpgid.
689
60a60032
JK
690 * remote-monitor.c (_initialize_monitor): Comment out use of
691 connect_command, since connect_command itself is commented out.
692
693 * remote-monitor.c (generic_open): Parse arguments the same way
694 as remote.c.
695
6e35b037
JK
696 * hppa-tdep.c (pc_in_linker_stub): Fix unclosed comments.
697
c4ed7353
JK
698Wed Jul 28 13:19:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
699
6e35b037
JK
700 * config/mips/xm-mips.h: Define HAVE_TERMIOS.
701
c4ed7353
JK
702 * dbxread.c (record_minimal_symbol): Don't put gcc_compiled or
703 __gnu_compiled* symbols into the minimal symbols.
704
0907dc09
ILT
705Wed Jul 28 08:26:58 1993 Ian Lance Taylor (ian@cygnus.com)
706
707 * remote-mips.c (_initialize_remote_mips): Added "timeout" and
708 "retransmit-timeout" variables to set mips_receive_wait and
709 mips_retransmit_wait, respectively.
710
ffff16b3
PS
711Wed Jul 28 03:58:58 1993 (pes@regent.e-technik.tu-muenchen.de)
712
713 * symmisc.c (dump_msymbols): Handle new mst_file_* types.
714
7706616f
JK
715Tue Jul 27 12:07:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
716
157ea89d
JK
717 * remote-udi.c: Remove old comment about download not implemented.
718
704deef2
JK
719 * serial.h, ser-{unix,go32,tcp}.c: Add flush_input and send_break.
720 * nindy-share/*, remote-nindy.c: Extensive hacking to make it
721 conform to GDB conventions like using memcpy not bcopy, serial.h,
722 etc. This is to make it host on Solaris, AIX, etc.
723 * Makefile.in: Reflect removed nindy-share files.
8805c1ee 724 * config/i960/nindy960.mt (TDEPFILES): Remove ttybreak.o.
157ea89d 725
efdd6b64
JK
726 * stack.c (print_frame_info): Revise comment about `pathological'
727 case (there was a wrong FIXME about text labels; also asm() can
728 trigger this as well as versions of ar which truncate .o names).
729
56ad756a
JK
730 * buildsym.c (start_subfile): If a .c file includes a .C file, set
731 the language of both of them to C++.
732
7706616f
JK
733 * config/sparc/xm-sun4os4.h: Define MEM_FNS_DECLARED and include
734 <memory.h>.
735 Include <malloc.h> rather than declaring malloc functions ourself.
736
737 * ser-unix.c (set_tty_state): Don't ignore errors setting process
738 group.
739 * inflow.c (terminal_inferior): If attach_flag set, ignore errors
740 from set_tty_state.
741
742 * fork-child.c (fork_inferior): Only quote exec file if needed.
743
744 * mipsread.c (parse_symbol): Remove 21 Jul 93 change with
745 stTypedef inside an stBlock.
746
0eb22669
PS
747Tue Jul 27 12:36:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
748
749 * breakpoint.c (breakpoint_1): Walk the breakpoint chain to decide if
750 we have breakpoints or watchpoints as we might have to ignore internal
751 breakpoints.
752
753 Fix gdb core dumps after `file newfile' commands.
754 * symtab.h, symfile.c (clear_symtab_users): New routine which
755 unconditionally clears symtab users. clear_symtab_users_once
756 commented out as it was a noop anyway.
757 * objfiles.c (free_objfile): Don't call clear_symtab_users_once.
758 * objfiles.c (free_all_objfiles), symfile.c (new_symfile_objfile),
759 xcoffexec.c (exec_close): Call clear_symtab_users if necessary.
760 * symfile.c (syms_from_objfile): Install cleanups for errors during
761 symbol reading.
762 * coffread.c, dbxread.c, mipsread.c, xcoffread.c (*_symfile_read):
763 Lint cleanup code, call do_cleanups explicitly.
764 * symfile.c (symbol_file_add): Call new_symfile_objfile and
765 reinit_frame_cache _after_ the new symbols are read in.
766
b31ca3de
PS
767Tue Jul 27 01:57:01 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
768
769 * mipsread.c (parse_type): Do not set tag name for compiler
770 generated fake tag names.
771
333355f3
RP
772Mon Jul 26 17:31:49 1993 K. Richard Pixley (rich@rtl.cygnus.com)
773
774 * config/m88k/m88k.mt (TDEPFILES): add exec.o.
775
91ab5674
JK
776Mon Jul 26 13:17:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
777
b8ec9a79
JK
778 * hppa-tdep.c: Remove all uses of use_unwind and `set use_unwind'
779 command. Now we use unwind info by default if we can find it.
780
781 * config/sparc: Move VARIABLES_INSIDE_BLOCK and SUN_FIXED_LBRAC_BUG
782 to tm-sparc.h so they are shared between Solaris and SunOS4.
783 * dbxread.c (process_one_symbol): Deal with SunOS4 acc N_STSYM and
784 N_GSYM functions.
785
41c86b69
JK
786 * config/pa/tm-hppa.h (REGISTER_NAMES): Use "fr" rather than "fp"
787 for floating point registers.
788
1c8961dd
JK
789 * mipsread.c (parse_symbol): Put stStaticProc symbols in minimal
790 symbols as mst_file_text.
791
08ecd8f3
JK
792 * hppa-tdep.c (pc_in_linker_stub): Return 0 if can't read memory.
793
230a3ab0
JK
794 * stabsread.c (rs6000_builtin_type): Make logical types be
795 TYPE_CODE_BOOL.
91ab5674 796
d889f6b7
JK
797Sun Jul 25 23:41:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
798
799 * breakpoint.{c,h} (struct breakpoint): Replace symtab field with
800 source_file field.
801
9aa3aa8c
JK
802Fri Jul 23 09:57:25 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
803
d889f6b7
JK
804 * remote.c: Don't error() on errors xferring memory.
805 * target.h: Clean up comments about *xfer_memory.
806
f47e56c9
JK
807 * exec.c, corelow.c (target_ops struct): Don't allow
808 {insert,remove}_breakpoints to be defaulted to
809 memory_{insert_remove}_breakpoint.
810
9aa3aa8c
JK
811 * demangle.c: Make it so `help set dem' tells you how to get the
812 list of demangling styles.
813
f261333b
JK
814Thu Jul 22 15:41:09 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
815
816 * Makefile.in: Use REMOTE_O macro not remote.o.
817 * config/i960/{nindy960,vxworks960}: Don't use remote.o.
818
073c6b2b
ILT
819Thu Jul 22 12:43:25 1993 Ian Lance Taylor (ian@cygnus.com)
820
821 * coredep.c: If NEED_SYS_CORE_H defined, include <sys/core.h>
822 (can't include it in nm-*.h file because it causes conflicts with
823 a.out symbol definitions).
824 * hp300ux-nat.c (fetch_core_registers): Commented out; obsolete.
825 * config/m68k/hp300hpux.mh (NATDEPFILES): Added coredep.o and
826 corelow.o.
827 * config/m68k/nm-hp300hpux.h (NEED_SYS_CORE_H): Defined.
828 (REGISTER_U_ADDR): Defined.
829 * config/m68k/xm-hp300hpux.h (HAVE_TERMIOS): Define instead of
830 HAVE_TERMIO.
831 * config/pa/xm-hppah.h: Likewise.
832
22b4b223
JK
833Wed Jul 21 11:37:30 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
834
70c7ec2e
JK
835 * mipsread.c (parse_symbol): when stTypedef and friends occur within
836 an stBlock, skip over the fields of the inner one.
837
838 * mips-tdep.c (init_extra_frame_info): If in lenient prologue, call
839 heuristic_proc_desc rather than just assuming registers not saved.
840
51b4195f
JK
841 * Makefile.in (regex.o): Add dependency.
842
72943ad0
JK
843 * hppa{b,h}-nat.c: Warning, not error, if can't access registers.
844
22b4b223
JK
845 * config/pa/hppa{b,h}.h: Define ATTACH_DETACH.
846
66fe7416
PS
847Wed Jul 21 03:07:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
848
849 * config/mips/xm-makeva.h: New file implements va_list alignment
850 restrictions for mips hosts.
851 * config/mips/{xm-irix3.h, xm-mips.h, xm-news-mips.h, xm-riscos.h}:
852 Use it.
853
579f0258
PS
854Wed Jul 21 00:11:05 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
855
66fe7416
PS
856 * mips-tdep.c (init_extra_frame_info): Do not check for
857 mips_in_lenient_prologue if it is a dummy frame.
579f0258
PS
858 * mipsread.c (fixup_sigtramp): Initialize pdr.adr, it is used by
859 mips_in_lenient_prologue.
860
f29b5686
JK
861Tue Jul 20 12:53:47 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
862
23d35572
JK
863 * mips-tdep.c (heuristic_proc_start): First time we print the
864 warning, elaborate.
865 (_initialize_mips_tdep): Improve docstring for `set heur'.
866
726d33a4
JK
867 * config/rs6000/tm-rs6000.h: Remove call to insert_step_breakpoint.
868
f29b5686
JK
869 * symtab.c (find_line_symtab): New function, to deal with multiple
870 symtabs with the same name.
871 (find_line_pc{,_range}): Use it.
872 (find_pc_symtab): Add comment about overlapping symtabs.
873
db85f523
FF
874Mon Jul 19 21:29:14 1993 Fred Fish (fnf@deneb.cygnus.com)
875
876 * Makefile.in (SFILES): Add nlmread.c.
877 * Makefile.in (OBS): Add nlmread.o.
878 * Makefile.in (nlmread.o): Add new target.
879 * configure.in (i[34]86-*-netware): New configuration.
880 * nlmread.c, config/i386/{i386nw.mt, tm-i386nw.h}: New files
881 for NLM/NetWare support.
882
dc34b11d
JK
883Mon Jul 19 11:48:57 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
884
164207ca
JK
885 * symtab.h (enum minimal_symbol_type): Add mst_file_*.
886 * partial-stab.h [DBXREAD_ONLY]: Record statics in miminal symbols.
887 * dbxread.c (record_minimal_symbol): Deal with statics.
888 * minsyms.c (lookup_minimal_symbol): Prefer externals to statics.
889
3d7d2980
JK
890 * config/i386/xm-i386sco.h: Define HAVE_TERMIOS.
891
1cd080b5
JK
892 * printcmd.c, config/pa/xm-pa.h, config/alpha/xm-alpha.h: Make it so
893 arg_bytes field of makeva_list is always aligned.
894 * config/pa/xm-pa.h: Make arglist_address a char *.
895
dc34b11d
JK
896 * ser-unix.c: Don't try to use job control with termio.
897
6f87ec4a
PS
898Sun Jul 18 23:11:28 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
899 and Jim Kingdon (kingdon@cygnus.com)
900
901 Make breakpoint_re_set_one work with overloaded member functions,
902 `b 123' and `b foo' if foo is a static function.
903 * symtab.c (decode_line_1, decode_line_2): New argument `canonical'
904 to return canonical line specs if requested by the caller.
905 * breakpoint.c, source.c, symtab.c, symtab.h: Change prototypes and
906 callers accordingly.
907 * symtab.c (build_canonical_line_spec): New helper function which
908 constructs the canonical line spec.
909 * breakpoint.c (break_command_1): Use canonical line spec instead
910 of command string as addr_string if necessary.
911 * source.c (line_info): Fix storage leak.
912
fc39be58
JK
913Sun Jul 18 15:22:45 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
914
56eec3c7
JK
915 * infptrace.c: Split out define of PT_KILL; Sequent defines PT_KILL
916 but not the others.
917 * symm-tdep.c: Remove exec_file_command.
918 [_SEQUENT_] (ptx_coff_regno_to_gdb, register_addr): New functions.
919 A few miscellaneous cleanups.
920 * symm-nat.c: Renamed from symm-xdep.c.
29b8ed0a 921 * All symmetry dependent files: Many changes.
56eec3c7 922
ee5fb959
JK
923 * mips-tdep.c (mips_skip_prologue): New argument lenient.
924 Use read_memory_nobpt.
925 (is_delayed, mips_in_lenient_prologue): New functions.
926 (init_extra_frame_info): If in the prologue, don't use saved registers.
927 * config/mips/tm-mips.h: Declare mips_skip_prologue.
928
fc39be58
JK
929 * partial-stab.h (N_SO): Add the text offset to valu before, not after,
930 passing it to END_PSYMTAB.
931
ac82e9a5
JK
932Fri Jul 16 18:48:52 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
933
934 * symtab.c (find_pc_symtab): Call warning, not printf directly.
935
936 * solib.c (solib_add): Use x{re,m}alloc, not {re,m}alloc.
937
2e9e6869
ILT
938Fri Jul 16 09:56:42 1993 Ian Lance Taylor (ian@cygnus.com)
939
940 * mipsread.c: No longer need to undefine ZMAGIC.
941
f75906eb
ILT
942Thu Jul 15 18:03:37 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
943
944 * m88k-pinsn.c: Moved code into opcodes/m88k-dis.c.
945 (print_insn): Now just calls print_insn_m88k.
946
ccdc578f
DE
947Thu Jul 15 14:54:05 1993 Doug Evans (dje@canuck.cygnus.com)
948
949 * h8300-tdep.c (examine_prologue): Make prototype match definition.
950
f09aae84
JK
951Thu Jul 15 08:34:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
952
5b336d29
JK
953 * NEWS: Mention that remote.c now has a `load' operation.
954
5ac7f56e
JK
955 * hppa-tdep.c (pc_in_linker_stub): New function.
956 (find_proc_framesize): Return 0 for linker stubs.
957 (rp_saved): Tell the caller where rp is saved.
958 (frame_chain_valid): Return 1 for linker stubs.
959 (frame_saved_pc): Use return value from rp_saved.
960
f09aae84
JK
961 * stack.c (print_frame_info): When checking PC_IN_CALL_DUMMY,
962 pass the sp relative to the frame in question, not the sp in the
963 innermost frame.
964
1ab786f4
JK
965Wed Jul 14 17:37:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
966
b5d4d6d7
JK
967 * mipsread.c (parse_procedure): Take as argument the symtab to look
968 the name up in. Look it up with mylookup_symbol, not lookup_symbol.
969 (psymtab_to_symtab_1): For stabs, pass the symtab to parse_procedure.
9adb88b7
JK
970
971 * mipsread.c (mylookup_symbol): Use strcmp, not STREQ, as we have
972 already checked the first characters.
973
1ab786f4
JK
974 Changes from Jeffrey Law:
975 * printcmd.c (makeva_list): Use MAKEVA_EXTRA_INFO to define
976 machine dependent fields in the makeva_list structure.
977 (makeva_size): Allocate extra space to handle gaps made by
978 alignment restrictions.
19318471 979 * config/pa/xm-pa.h (MAKEVA_EXTRA_INFO): Define.
1ab786f4
JK
980 (MAKEVA_START): Initialize arglist_address field.
981 (MAKEVA_ARG): Always store arguments on natural alignment
982 boundaries. Set arglist_address to the address right after
983 the args.
984 (MAKEVA_END): Simply return the value stored in arglist_address.
985
968dca8d
JK
986Wed Jul 14 13:51:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
987
bf5b632d
JK
988 * ch-valprint.c (chill_val_print, case TYPE_CODE_STRING): Print
989 address, not addr.
990
991 * hppah-nat.c (store_inferior_registers): Don't print i in cases
992 where we aren't using it.
993
968dca8d
JK
994 * a29k-tdep.c (get_saved_register): Fix typo.
995
bd96254f
DE
996Wed Jul 14 09:45:52 1993 Doug Evans (dje@canuck.cygnus.com)
997
998 * configure.in: Recognize h8300h (variant of h8300).
999
1000start-sanitize-v9
1001Wed Jul 14 09:45:52 1993 Doug Evans (dje@canuck.cygnus.com)
1002
1003 * configure.in: Recognize sparc64-*-*.
1004end-sanitize-v9
1005
5af4f5f6
JK
1006Tue Jul 13 14:03:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1007
1008 * stabsread.c (define_symbol): Make the caddr_t hack apply to `function
1009 returning foo' as well as `pointer to foo'.
1010
1011 * remote.c [REMOTE_BREAKPOINT]: Use for breakpoint insn if defined.
1012 * config/m68k/tm-m68k.h: Define it.
1013 * mem-break.c, breakpoint.c: Improve comments.
1014
1015Tue Jul 13 13:35:31 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
1016
1017 * config/m68k/tm-dpx2.h: Replace "tm-68k.h" with "m68k/tm-m68k.h".
1018 * config/m68k/xm-dpx2.h: Define HAVE_TERMIOS not HAVE_TERMIO.
1019
524895ab
DE
1020Tue Jul 13 11:50:38 1993 Doug Evans (dje@canuck.cygnus.com)
1021
1022 * gdbcore.h (read_memory_integer, read_memory_unsigned_integer):
1023 Make prototype match definition.
1024
98d82489
FF
1025Tue Jul 13 11:15:15 1993 Fred Fish (fnf@cygnus.com)
1026
8bdc1fd0
FF
1027 * elfread.c: Remove notice about file still being under
1028 construction.
98d82489
FF
1029 * Makefile.in (ultra3-xdep.o, umax-xdep.o): Add missing ')'.
1030
85494909
JK
1031Mon Jul 12 17:46:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1032
1033 * a29k-tdep.c (read_register_stack): Make val static.
1034
e1f63216
DE
1035Mon Jul 12 14:10:48 1993 Doug Evans (dje@canuck.cygnus.com)
1036
1037 * config/h8300/tm-h8300.h (REGISTER_CONVERTIBLE): Change value to 0.
1038 (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Move def'n to
1039 usual spot.
1040
eabbe766
JK
1041Mon Jul 12 11:29:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1042
1326dace
JK
1043 * c-valprint.c (c_val_print): Fix thinko with unspecified length
1044 arrays.
1045
eabbe766
JK
1046 * hppa-tdep.c (find_proc_framesize): If there is a frame pointer,
1047 use it.
1048
f6365bd6
JK
1049Sun Jul 11 19:35:05 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1050
f1ed4330
JK
1051 * symtab.c (decode_line_1): Use end of block to figure out whether
1052 val.end is in the same function, not minimal symbols.
1053
1054 * source.c (line_info): Add a few more wrap_here's.
1055
1056 * i386-tdep.c (i386_follow_jump): Do byteswapping where needed and
1057 don't make assumptions about sizes of host data types.
1058
1059 * blockframe.c, symtab.h (find_pc_partial_function): New arg endaddr.
1060 * infrun.c, breakpoint.c, printcmd.c: Change callers.
1061 * printcmd.c (containing_function_bounds): Remove.
1062 * printcmd.c (disassemble_command): Use find_pc_partial_function,
1063 not containing_function_bounds.
1064 * infcmd.c (step_1): Use find_pc_partial_function rather than
1065 trying to roll our own. Move check for a pc between SIGTRAMP_START and
1066 SIGTRAMP_END in find_pc_partial_function, not step_1.
1067
f6365bd6
JK
1068 * sparc-tdep.c (sparc_frame_chain, frame_saved_pc):
1069 Keep unswapped value in array of char, not REGISTER_TYPE.
1070 Use REGISTER_RAW_SIZE not sizeof (REGISTER_TYPE).
1071 (sparc_extract_struct_value_address): Use TARGET_PTR_BIT not
1072 sizeof (CORE_ADDR).
1073
0a8f1742
JK
1074Thu Jul 1 15:50:05 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
1075
1076 * configure.in (m68*-bull-sysv*): added support for Bull dpx2.
1077 * config/m68k/{t,x,n}m-dpx2.h, dpx2-nat.c: New files.
1078 * config/m68k/dpx2.m{h,t}: New files.
1079
53adb297
DE
1080Sun Jul 11 12:32:08 1993 Doug Evans (dje@canuck.cygnus.com)
1081
1082 * config/sparc/tm-sparc.h (PRINT_REGISTER_HOOK): Fix typo, add
1083 more parens around macro arg.
1084
fee44494
JK
1085Sat Jul 10 09:54:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1086
fe675038
JK
1087 * infrun.c: Remove step_resume_{duplicate,shadow}. Replace
1088 step_resume_break_address with step_resume_breakpoint (now local
1089 to wait_for_inferior).
1090 ({insert,remove}_step_breakpoint): Remove.
1091 (wait_for_inferior): Set step resume break with
1092 set_momentary_breakpoint. Test hitting it with bpstat_stop_status
1093 and bpstat_what (stop_step_resume_break removed).
1094 * breakpoint.{h,c}, infrun.c: Return value from bpstat_what now struct
1095 which includes previous return value as main_action, and a step_resume
1096 bit.
1097 * breakpoint.c (delete_breakpoint): If breakpoint was inserted, and
1098 there is another breakpoint there, insert it.
1099 * infrun.c (wait_for_inferior): Rearrange the spaghetti a bit. Use
1100 a few more gotos.
1101 Various: Clean up and add comments.
1102
fee44494
JK
1103 * infrun.c [TDESC]: Remove remaining tdesc code (see ChangeLog
1104 for Wed Nov 13 16:45:13 1991).
1105
4d50f90a
JK
1106Fri Jul 9 12:36:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1107
58e49e21
JK
1108 * values.c, value.h (modify_field), callers: Make fieldval a LONGEST.
1109
1110 * h8300-tdep.c (NEXT_PROLOGUE_INSN): Make pword1 an INSN_WORD *
1111 not short *.
1112
34df79fc
JK
1113 * findvar.c, defs.h
1114 ({extract,store}_{signed_integer,unsigned_integer,address}):
1115 New routines to replace SWAP_TARGET_AND_HOST.
1116 All over: All uses of SWAP_TARGET_AND_HOST on integers replaced.
1117
271d7387
JK
1118 * config/sparc/tm-sparc.h: Add comment suggesting that removing
1119 ins and locals from the registers array might clean things up.
1120
19bdd57f
JK
1121 * utils.c: Clean up comments about wrap buffer and wrap_here.
1122 * printcmd.c (printf_command): Call wrap_here before vprintf.
1123
28d14fd8
JK
1124 * mipsread.c (cross_ref): Set the name to unknown for "struct *" case.
1125 Patch from ptf@delcam.co.uk (Paul Flinders).
1126
4d50f90a
JK
1127 * a29k-tdep.c, findvar.c (get_saved_register): Fix byteswapping sins.
1128
2fcdae93
PS
1129Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1130
1131 * defs.h, remote-eb.c (TM_FILE_OVERRIDE): Remove it.
1132 * mips-tdep.c (init_extra_frame_info): Set proper fci->frame if pc
1133 is at the start of the dummy code.
1134
47976ba7
JK
1135Thu Jul 8 14:48:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1136
dd99f8e4
JK
1137 * sparc-tdep.c (sparc_push_dummy_frame): Skip all the do_save_insn
1138 stuff, just write the sp and fp.
1139 (sparc_pop_frame): Skip the do_restore_insn; we already restore
1140 the sp with the other out registers.
1141
558f4183
JK
1142 * hppa-tdep.c (hppa_push_arguments): Allocate enough space for
1143 arguments.
1144
47976ba7
JK
1145 * hppa-tdep.c: Change _initialize_hppab_tdep to _initialize_hppa_tdep.
1146
9fc8002c
DE
1147start-sanitize-v9
1148Thu Jul 8 14:47:00 1993 Doug Evans (dje@canuck.cygnus.com)
1149
1150 * sparc-tdep.c (sparc_frame_chain): Handle sizeof (CORE_ADDR)
1151 != sizeof (REGISTER_TYPE).
1152 (frame_saved_pc): Ditto.
1153end-sanitize-v9
1154
be474657
DE
1155Thu Jul 8 08:22:05 1993 Doug Evans (dje@canuck.cygnus.com)
1156
6de931d2 1157 * config/h8300/tm-h8300.h: (REGISTER_TYPES): Adjust for h8/300h.
bc4937f3
DE
1158 (REGISTER_RAW_SIZE): Ditto.
1159 (REGISTER_VIRTUAL_TYPE): Use builtin_type_unsigned_long for regs
1160 on the h8/300h (ints may still be 16 bits).
1161 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE,
1162 EXTRACT_STRUCT_VALUE_ADDRESS): Add FIXME's for h8/300h. Some
1163 thought needed here.
1164
d0414a11
DE
1165 * h8300-tdep.c (print_insn): Call print_insn_h8300h if h8/300h.
1166 (examine_prologue): reg_save_depth is 4 if h8/300h.
1167
be474657
DE
1168 * findvar.c (read_register): Provide some support for 64 bit regs.
1169 (write_register): Ditto.
1170
23a8e291
JK
1171Wed Jul 7 14:30:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1172
3206db62
JK
1173 * config/mips/nm-riscos.h: machine/machparam.h is always the right
1174 place to look for BSD43_NBPG, not machine/vmparam.h
1175
54023465
JK
1176 * infcmd.c (run_stack_dummy): New argument name.
1177 Change error message in (another) attempt to make it comprehensible.
1178 * valops.c (call_function_by_hand): Pass name to run_stack_dummy.
1179 * symtab.h: Declare demangle and asm_demangle since macros use them.
1180
e860d210
JK
1181 * eval.c (evaluate_subexp): Add comment about calling a member
1182 function of a variable in a register.
1183
d3dd6800
JK
1184 * expression.h: Clean up comment about string in STRUCT_STRUCT etc.
1185
23a8e291
JK
1186 * config/{rs6000/tm-rs6000.h,sparc/tm-sparc.h,pyr/tm-pyr.h},
1187 inferior.h (PC_IN_CALL_DUMMY) [ON_STACK]: Add comments about stack
1188 frame tops and bottoms.
1189
1190 * frame.h, blockframe.c, stack.c, a29k-tdep.c,
1191 config/gould/tmp-{pn,np1}.h,
1192 config/{sparc/tm-sparc.h,pyr/tm-pyr.h,vax/tm-vax.h}: Remove field
1193 next_frame from struct frame_info. It has no purpose beyond
1194 ->next->frame and is an artifact from GDB 2.8.
1195
de6a2704
JK
1196Tue Jul 6 11:51:18 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1197
c2153bf2
JK
1198 * Makefile.in: Remove gdb before creating a new one.
1199 Update init.c atomically.
1200
de6a2704
JK
1201 * Makefile.in (ALLPARAM): Add config/{alpha/xm-alpha.h,pa/xm-pa.h}.
1202 (ALLCONFIG): Add config/alpha/alpha-osf1.mh.
1203
1204 * infcmd.c (_initialize_infcmd): In docstring for "continue",
1205 describe argument as setting ignore count.
1206
b1d0b161
DE
1207Sun Jul 4 15:04:47 1993 Doug Evans (dje@cygnus.com)
1208
1209 * h8300-tdep.c (examine_prologue): Fix call to
1210 read_memory_unsigned_integer.
1211
fdf138bb
JK
1212Fri Jul 2 18:22:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1213
0c5af733
JK
1214 * config/mips/{x,n}m-irix{3,4}.h: Make some definitions here
1215 rather than including xm-bigmips.h.
1216
1500864f
JK
1217 * eval.c (evaluate_subexp): Improve error messages for OP_TYPE and
1218 default cases.
1219
fdf138bb
JK
1220 * Makefile.in (distclean): Remove y.tab.h.
1221
fdf138bb
JK
1222Fri Jul 2 14:55:48 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1223
1224 * exec.c (exec_file_command): Remove Mar 28 hack as BFD handles
1225 file updates properly now.
1226 * mipsread.c (mips_coff_new_init): Force reevaluation of sigtramp
1227 addresses if switching to a new symbol file.
1228 * dbxread.c (process_one_symbol): Avoid dereferencing NULL
1229 symbols that might be returned from define_symbol.
1230
85e07872
SC
1231Fri Jul 2 13:33:12 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1232
1233 New target macros for getting at the pc, sp and fp.
1234 * infcmd.c (read_pc, write_pc): Modify to use new macros.
1235 (read_sp, write_sp, read_fp, write_fp): New functions.
1500864f
JK
1236 * blockframe.c (reinit_frame_cache, get_prev_frame_info):
1237 Use new functions.
85e07872
SC
1238 * breakpoint.c (bpstat_alloc): ditto.
1239 * infrun.c (wait_for_inferior): ditto.
1240 * stack.c (print_frame_info): ditto.
1241 * valops (call_function_by_hand): ditto.
1242 * corelow.c (core_open): ditto.
1243 * h8500-tdep.c: (target_read_sp, target_write_sp, target_read_pc,
1244 target_write_pc, target_read_fp, target_write_fp): New functions.
1245 * inferior.h (read_sp, write_sp, read_fp, write_fp): Prototypes.
1246
1247 * config/alpha/xm-alpha.h: Add MAKEVA_END.
1248 * config/h8500/tm-h8500.h: Define new macros.
1249
d8a80e6d
ILT
1250Fri Jul 2 13:51:04 1993 Ian Lance Taylor (ian@cygnus.com)
1251
1252 * configure.in (mipos-*-riscos*): New host and target; use riscos.
1253 * config/mips/nm-riscos.h: If BSD43_NBPG is not defined by
1254 vmparam.h, include machparam.h.
1255 (KERNEL_U_ADDR): Define to be BSD43_UADDR.
1256
75fa3e0f
JK
1257Fri Jul 2 13:39:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1258
c0bca41c
JK
1259 * c-exp.y (yylex): Give error if unmatched single quote.
1260
1261 * configure.in, config/m68k/*delta68*, delta68-nat.c: New port.
1262
75fa3e0f
JK
1263 * Remove unused STACK_END_ADDR in the following files (in other
1264 files it is used for something): tm-mips.h, tm-sun2.h, tm-news.h,
1265 tm-a29k, tm-i386v.h, tm-hppa.h, tm-nindy960.h, tm-amix.h,
1266 tm-hp300hpux.h, tm-isi.h.
1267
a77a5278
JK
1268Thu Jul 1 09:51:27 1993 Jim Kingdon (kingdon@cygnus.com)
1269
75fa3e0f
JK
1270 * config/mips/nm-riscos.h: Define NBPG and UPAGES.
1271 config/mips/xm-riscos.h: Include <sys/types.h>.
1272
1273 * ser-unix.c (hardwire_noflush_set_tty_state): Use an assignment,
1274 not an initializer, to copy the structure.
1275
1276 * gdbtypes.h (struct type): Add field tag_name.
1277 * gdbtypes.c (type_name_no_tag), c-typeprint.c (c_type_print_base):
1278 Use it.
1279 * {coff,dwarf,mips,stabs}read.c: Set it.
1280
1f72a94a
JK
1281 * xm-sysv4.h: Undefine HAVE_TERMIO.
1282
0abbc771
JK
1283 * config/mips/nm-riscos.h: Remove unmatched #endif.
1284 Define FETCH_INFERIOR_REGISTERS.
1285 * config/mips/riscos.mh: Don't include coredep.o; mips-nat.o is enough.
1286 Fix misspelling of NAT_FILE.
3762d624
JK
1287 * mips-nat.c (fetch_core_registers): If KERNEL_U_ADDR is not defined,
1288 we can still process "modern" core files.
0abbc771 1289
a77a5278
JK
1290 * ser-unix.c (hardwire_print_tty_state) [HAVE_TERMIOS]: Don't
1291 print c_line.
1292 (_initialize_ser_hardwire): Just check whether _POSIX_JOB_CONTROL
1293 is defined; don't care what it is defined to.
1294
95f2d253
JK
1295Wed Jun 30 20:06:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1296
1297 * config/vax/xm-vaxult2.h: Define FD_SET and FD_ZERO.
1298
c2e247c4
JK
1299Tue Jun 29 11:02:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1300
1301 * inftarg.c: Remove unused include of terminal.h.
1302 * signals.h: Don't undefine signals anymore.
1303 * main.c: Use job_control from serial.h.
1304 * fork-child.c (fork_inferior): Use gdb_setpgid.
1305 * serial.h, ser-unix.c, ser-go32.c: Provide gdb_setpgid.
1306 * utils.c (quit): Use current_target->to_terminal_ours to figure
1307 out whether we care about lack of job control, rather than __GO32__.
1308 * utils.c: Include serial.h not terminal.h
1309 (quit): Use job_control not TIOCGPGRP.
1310 * terminal.h: Don't undefine TIOCGPGRP.
1311 * serial.h, ser-unix.c, ser-go32.c, ser-tcp.c: Add SERIAL_FLUSH_OUTPUT.
1312 * utils.c (quit): Use it.
1313 * serial.h: Add SERIAL_UN_FDOPEN.
1314 * utils.c (quit): Use it.
1315 * ser-unix.c: Add process group to ttystate.
1316 [HAVE_SGTTY]: Add tchars, ltchars, and lmode to ttystate.
1317 * inflow.c: Include serial.h not terminal.h.
1318 Use serial.h stuff to replace most of the maze of #ifdef's.
1319 * inflow.c, main.c, inferior.h: make gdb_has_a_terminal a function.
1320 * serial.h: Document SERIAL_SET_TTY_STATE as being immediate.
1321 * ser-unix.c: Use TIOCSETN not TIOCSETP so it is true.
1322 * serial.h, ser-unix.c, ser-go32.c, ser-tcp.c:
1323 Add SERIAL_PRINT_TTY_STATE, SERIAL_NOFLUSH_SET_TTY_STATE, and
1324 SERIAL_SET_PROCESS_GROUP.
1325 * inflow.c: Use them.
1326 * config/xm-svr4.h, config/rs6000/xm-rs6000.h, config/sparc/sun4os4.h:
1327 Define HAVE_TERMIOS.
1328 * Various: Remove all use of TIOC*_BROKEN.
1329
eed6de01
PS
1330Wed Jun 30 12:20:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1331
1332 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define.
1333
1334Tue Jun 29 13:44:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1335
1336 * target.h (target_detach): Turn macro into function.
1337 * target.c (target_detach): Define it, do deferred register stores
1338 before calling the real target function.
1339
76a1bd4c
PS
1340Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1341 and Jim Kingdon (kingdon@cygnus.com)
1342
1343 * symtab.h (BLOCK_SHOULD_SORT): Do not sort blocks corresponding to
1344 a function to avoid printing of function arguments in wrong order
1345 due to sorting.
1346 * symfile.c (compare_symbols): Remove code for sorting arguments
1347 as blocks containing arguments are no longer sorted.
1348 * symtab.c (lookup_block_symbol): Update comment accordingly.
1349
a8c25621
JK
1350Tue Jun 29 11:02:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1351
64b09778
JK
1352 * config/pa/tm-hppa.h: Remove unused ARGS_GROW_DOC.
1353 (REG_STRUCT_HAS_ADDR): Add comment.
1354
a8c25621
JK
1355 * infrun.c (wait_for_inferior): Use find_pc_line not find_pc_symtab
1356 to check whether there is line number information.
1357
77641260
DZ
1358Tue Jun 29 08:29:17 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1359
fe76016a
DZ
1360 * remote-udi.c: Fix docstring so that it compiles.
1361
a8c25621
JK
1362 * remote-mips.c, remote-nindy.c: move bfd.h before symfile.h
1363 (for file_ptr).
77641260 1364
d63aae7f
JK
1365Tue Jun 29 09:11:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1366
fd09c963
JK
1367 * dbxread.c (process_one_symbol): If we find a LOC_BLOCK where we
1368 don't expect it, change it to LOC_STATIC so at least we don't coredump.
1369
1370 * c-typeprint.c (c_type_print_base): Don't error() on invalid type.
1371
a8c25621 1372 * symtab.h: Add comments about line numbers.
d63aae7f
JK
1373 * source.c (identify_source_line): Fix off by one bug with line.
1374
6b9561a4
JK
1375Mon Jun 28 10:09:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1376
c702007b
JK
1377 * printcmd.c (makeva*): New interface, for making a va_list.
1378 (printf_command): Use it.
1379 * config/m88k/xm-delta88.h: Remove VPRINTF define, not needed.
1380 * config/pa/xm-pa.h: New file.
1381 * config/pa/xm-hppa{b,h}.h: Include it.
1382
6b9561a4
JK
1383 * xcoffread.c: Remove obsolete NO_TYPEDEFS comment.
1384
be2860fb
PS
1385Sun Jun 27 08:54:55 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1386
1387 * valprint.c (val_print_type_code_int): Fix off by one error with
1388 eliminating leading zeroes for large little endian integers.
1389
ee0d1b65
JK
1390Sun Jun 27 08:58:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1391
42280556
JK
1392 * config/mips/riscos.mh (CC): Use -systype sysv.
1393
68d2db62
JK
1394 * ser-unix.c: Move #include of <sys/time.h> to HAVE_SGTTY section.
1395
ee0d1b65
JK
1396 * Makefile.in (ALLPARAM): Add config/mips/{x,n}-{news-mips,riscos}.h.
1397
751b4006
JK
1398Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1399
1400 * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
1401 CALL_DUMMY between different 68k machines.
1402
ea7f0a9f
SG
1403Fri Jun 25 17:02:45 1993 Stu Grossman (grossman at cygnus.com)
1404
1405 * gdbserver/Makefile.in: Add dependancies on server.h.
1406 * gdbserver/remote-gutils.c: Remove lots of unused functions and
1407 variables.
1408 * gdbserver/remote-inflow.c: Remove lots of unused variables and
1409 #includes. Also, use PTRACE_* symbols instead of constants.
1410 (mywait): Surround calls to wait() with enable/disable_async_io()
1411 so that we can be interrupted from GDB while waiting for the
1412 child. Also, handle child exit more gracefully.
1413 * gdbserver/remote-server.c: Remove lots of unused variables.
1414 Move all extern defs into server.h. Redo main loop so that
1415 failure from getpkt() causes communications to be re-established.
1416 Fix 'k' command so that it restarts the child.
1417 * gdbserver/remote-utils.c: Remove lots of unloved vars and
1418 subrs. Move many extern decls into server.h. (remote_open): For
1419 tcp, seperate usage of proto fd from connected fd. Close proto
1420 fd after getting connection. (putpkt/getpkt): Pay attention to
1421 errors when reading/writing. Report these to the caller. New
1422 routines input_interrupt/enable_async_io/disable_async_io to make
1423 it possible to get an I/O interrupt when data arrives from the
1424 comm link.
1425 * serial.h: New file to contain common defs for all remote files.
1426
a037b21e
SG
1427Fri Jun 25 17:02:45 1993 Stu Grossman (grossman at cygnus.com)
1428
1429 * remote.c: Add arg names to prototypes, in a modest effort at
1430 clarification. Also add prototypes for some new functions.
1431 * (remote_wait): Better error reporting for 'T' responses.
1432 * ser-go32.c (strncasecmp): Make str1 & str2 be const.
1433 * (dos_async_init): Make usage message reflect requested port #.
1434 * ser-tcp.c (tcp_open): Terminate hostname properly to prevent
1435 random hostname lookup failures. Add nicer message for unknown
1436 host error. (wait_for): Wake up in case of exceptions. Also,
1437 restart select() if we got EINTR.
1438 * ser-unix.c (wait_for): Restart select() if we got EINTR.
1439 * serial.c: (serial_close): Clean up code.
1440
ea7f0a9f
SG
1441Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1442
1443 * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
1444 CALL_DUMMY between different 68k machines.
1445
a38b1233
JK
1446Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1447
f3fe62b1
JK
1448 * Makefile.in (*.tab.c): Use ./c-exp.tab.c not just c-exp.tab.c.
1449 Make comment explaining this comprehensible.
1450 (TAGFILES): Include ALLDEPFILES.
1451 (ALLDEPFILES): udi2soc.c and udr.c are in 29k-share/udi, not
1452 29k-share/udi/udi.
1453 (update-alldeps): Remove; obsolete.
1454
e50ebec8
JK
1455 * remote.c: Move comments regarding packets to top of file with the
1456 rest of the protocol comments.
1457 Fix incorrect description of 'T' response.
1458
3576a412
JK
1459 * README (Reporting Bugs): Refer people to the GDB manual.
1460
7e71985c
JK
1461 * c-valprint.c (c_val_print): Handle TYPE_CODE_BOOLEAN.
1462 * stabsread.c: Type -16 is 4 bytes.
1463
a38b1233
JK
1464 * remote-udi.c: Improve docstring.
1465
872dd3fe
FF
1466Fri Jun 25 11:16:31 1993 Fred Fish (fnf@cygnus.com)
1467
a38b1233
JK
1468 * elfread.c (elf_symfile_read): Call bfd_elf_find_section, not
1469 bfd_elf32_find_section, to track bfd changes.
872dd3fe 1470
f75ad5da
JK
1471Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1472
1473 * config/mips/riscos.mh (REGEX{,1}, MUNCH_DEFINE, MH_CFLAGS): Define.
ef3986bb 1474 * config/mips/xm-riscos.h: Define USG.
f75ad5da 1475
a32ebcfd
JK
1476Thu Jun 24 14:52:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1477
1478 * main.c (filename_completer): Don't complete to files ending in ~.
1479
1480 * NEWS: Mention filename completion and "info line" enhancements.
1481
1482 * main.c (symbol_completion_function): On "info t foo", return NULL,
1483 don't error().
1484
1485 * main.c (symbol_completion_function): Don't use readline word
1486 breaking. Use new calling convention for c->completer and
1487 complete_on_cmdlist.
1488 * command.h (struct command): Change arguments; now the text passed
1489 to completer does not have any word breaking done. New arg word.
1490 * symtab.{c,h} (make_symbol_completion_list): Do word breaking. Take
1491 word argument.
1492 * {main.c,gdbcmd.h} ({filename,noop}_completer): Take word argument.
1493 * command.{c,h} (complete_on_cmdlist): Take word argument.
1494
1495 * command.c (lookup_cmd_1): Doc fix.
1496
b8774958
RP
1497Thu Jun 24 13:26:04 1993 K. Richard Pixley (rich@sendai.cygnus.com)
1498
1499 * Makefile.in (OP_INCLUDE): define.
1500 (OPCODE_CFLAGS): use OP_INCLUDE.
1501
1502 * config/i386/ncr3000.mh, config/i386/i386v4.mh,
1503 config/i386/i386sol2.mh, config/m68k/hp300hpux.mh,
1504 config/m68k/amix.mh, config/mips/irix[34].mh,
1505 config/m88k/delta88.mh, config/sparc/sun4sol2.mh (ALLOCA,
1506 ALLOCA1): macros removed.
1507
1508 * config/mips/decstation.mh, config/rs6000/rs6000.mh
1509 (MMALLOC_LIB): renamed to MMALLOC.
1510
4ae030b9
JK
1511Wed Jun 23 00:25:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1512
1513 * partial-stab.h: Consolidate case statements for N_LSYM and N_FUN.
1514 * dbxread.c: Change comment regarding acc.
1515
c2df19bd
RP
1516Wed Jun 23 15:04:54 1993 K. Richard Pixley (rich@sendai.cygnus.com)
1517
7ae7b919
RP
1518 Makefile overhaul dropping autodepend features.
1519 * Makefile.in: many comment changes. forced consistent use of $()
1520 for makefile variables references. dropped leading ./ in file
1521 references. Drop $(srcdir)/ prefix on all dependencies.
1522 Inserted contents of alldeps.mak and depend.
b8774958 1523 (INCLUDE_CFLAGS): defined as new macro for getting libiberty's
7ae7b919
RP
1524 include directory into the compilation line.
1525 (GDB_CFLAGS): new macro to take up the semantic previously held
1526 by INCLUDE_CFLAGS.
1527 (LIBIBERTY): dropped ancient subdir macro. I last removed this
1528 macro in feb of '92. How does it keep coming back?
1529 (MMALLOC_LIB): renamed to MMALLOC.
1530 (BFD_SRC_DIR): renamed to BFD_SRC.
1531 (BFD_OBJ_DIR): renamed to BFD_DIR.
1532 (BFD_LIB): renamed to BFD.
1533 (BFD_INCLUDES): renamed to BFD_CFLAGS.
1534 (READLINE_DIR): now represents object directory.
1535 (RL_LIB): renamed to READLINE.
1536 (READLINE_SRC, READLINE_CFLAGS, OPCODES, OPCODES_CFLAGS): new
1537 macros.
1538 (INTERNAL_CFLAGS): added GDB_CFLAGS, OPCODES_CFLAGS,
1539 READLINE_CFLAGS, BFD_CFLAGS. Dropped USER_CFLAGS.
1540 (LDFLAGS): removed default assignment.
1541 (TEXIDIR, INCLUDE_DEP, MMALLOC_DIR, MMALLOC_DEP, BFD_DEP,
1542 READLINE_DEP, LIBIBERTY_DIR, TESTS, depend, STAGESTUFF): unused, so removed.
1543 (ALLOCA1, ALLOCA): removed all references. alloca is now in
1544 libiberty.
1545 (VERSION): unilaterally and arbitrarily bumped to 4.9.3.
1546 (SFILES, NONSRC, HFILES, ALLDEPFILES, ALLPARAM, ALLCONFIG):
1547 removed all $(srcdir) prefixes.
1548 (getopt_h, ieee-float_h, bfd_h, wait_h, dis-asm_h): new macros
1549 for potential dependencies. commented out by default.
1550 (readline_headers, udiheaders): convenient abbreviations.
1551 (gdbcore_h, frame_h, symtab_h, gdbtypes_h, expression_h,
1552 value_h, breakpoint_h, command_h, gdbcmd_h, defs_h, inferior_h):
1553 new macros used for header file dependencies.
1554 (install-info, clean-info): collapse into the info rule.
1555 (install): now depends on all.
1556 (install-only): new target for installing without depending on
1557 all.
1558 (uninstall): new target.
1559 (config-check, config-check-hosts, config-check-targets): added
1560 fixme comments.
1561 (ch-exp.tab.c, m2-exp.tab.c): added artificial dependencies in
1562 order to force parallel makes into keeping these rules separate.
1563 * configure.in: omit cat'ing depend file onto generated Makefile.
1564 * alldeps.mak, depend: removed.
1565
baa38372
RP
1566 * inferior.h: remove redundant include of symtab.h which is
1567 included in value.h via breakpoint.h.
1568
fbca7519
RP
1569 * alloca.c: removed. alloca is now in libiberty.
1570
88607839
RP
1571 * config/m88k/delta88.mh, config/ns32k/merlin.mh (M_UNINSTALL):
1572 new macro to undo what M_INSTALL does.
c2df19bd 1573
29f3879c
JK
1574Wed Jun 23 00:25:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1575
4ae030b9
JK
1576 * config/ns32k/{merlin.mh,xm-merlin.h}: Be consistent about name
1577 of gdb-sh.
6ffbfcc2 1578
ec06a3cb
JK
1579 * dbxread.c (copy_pending): Change name and function of begi argument
1580 to endi, since that is what the caller needs.
1581
853a233b
JK
1582 * Makefile.in (TAGFILES): Don't include YYFILES.
1583
1584 * Makefile.in (HFILES): Include monitor.h.
1585
1586 * Makefile.in: Include text that used to be in alldeps.mak.
1587 Remove config/mips/{bigmips.mh,xm-bigmips} from it.
1588 * Makefile.in, configure.in: Remove all traces of alldeps.mak.
1589
29f3879c
JK
1590 * main.c (main): Print help message on stdout not stderr
1591 per standards.texi.
1592 New option --version per standards.texi.
1593 In help message, show long options with "--" not "-".
1594 Don't try to print help message or version until after we have
1595 called initialize_all_files.
1596
9ddfb9eb
JK
1597Tue Jun 22 03:15:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1598
15d4eb21
JK
1599 * solib.c (solib_add_common_symbols): Don't call lookup_minimal_symbol.
1600 (solib_add): Call special_symbol_handling once, not once per library.
1601
59ba57da
JK
1602 * procfs.c (procfs_resume): Don't pass a SIGTSTP whose action
1603 is SIG_DFL.
1604
1605 * procfs.c (procfs_resume): Skip the unnecessary PRSVADDR on all
1606 systems, not just Solaris.
1607
9ddfb9eb
JK
1608 * stabsread.c: Include <ctype.h>.
1609
3768398d
JK
1610Mon Jun 21 16:09:46 1993 Jim Kingdon (kingdon@cygnus.com)
1611
1612 * fork-child.c (fork_inferior): Quote exec_file so it can contain
1613 funky characters.
1614
68eabdd3
FF
1615Mon Jun 21 16:56:47 1993 Fred Fish (fnf@cygnus.com)
1616
1617 * Makefile.in (INCLUDE_CFLAGS): Add BFD_INCLUDES for now, since
1618 bfd.h is included by target.h, which most of gdb includes.
1619 * depend: Hand remove BFD_INCLUDES from ${CC} lines, now that
1620 it's in INCLUDE_CFLAGS.
1621
c96d68c2
JK
1622Mon Jun 21 16:09:46 1993 Jim Kingdon (kingdon@cygnus.com)
1623
2c7ab4ca
JK
1624 * config/i386/*aix*, i386aix-nat.c: New files.
1625 * configure.in: Use them.
c96d68c2 1626 * alldeps.mak: List them.
2c7ab4ca
JK
1627 * coffread.c (decode_base_type): Deal with anonymous enum type.
1628 * i387-tdep.c (print_387_status_word): Add comment re "top".
1629 * i386-tdep.c [I386_AIX_TARGET] (i386_extract_return_value): New func.
1630 * dbxread.c: Use SEEK_SET and SEEK_CUR, not L_*. Define them if and
1631 only if not defined by a header file.
1632 * mipsread.c: Don't define L_SET or L_INCR.
c96d68c2 1633
200a3470
FF
1634Mon Jun 21 15:10:07 1993 Fred Fish (fnf@cygnus.com)
1635
1636 * Makefile.in (BFD_INCLUDES): Bfd.h is now back in bfd build dir.
1637 * depend: Hand updated to match.
1638
089dc220
JK
1639Sun Jun 20 13:11:11 1993 Jim Kingdon (kingdon@cygnus.com)
1640
1641 * stabsread.c (read_struct_fields): Don't call read_cpp_abbrev on $_.
1642 (read_cpp_abbrev): Don't complain specially for $_. Also return 0 if
1643 we don't recognize the abbrev.
1644
2a4e8cc3
JK
1645Sun Jun 20 00:24:41 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1646
1647 * solib.c (solib_add_common_symbols): Add comment about performance.
1648
e64ec645
JK
1649Fri Jun 18 12:37:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1650
ee06f230
JK
1651 * config/mips/{{x,n}m-riscos.h,riscos.mh}: New files.
1652 * configure.in (mips-*-sysv*): Use riscos for host, bigmips for target.
1653
b487ba2e
JK
1654 * config/mips/{{x,n}m-news-mips.h,news-mips.mh}: New files.
1655 * config/mips/{bigmips.mh,xm-bigmips.h}: Remove.
1656 * configure.in (mips-sony-*): Use news-mips for host.
1657
e64ec645
JK
1658 * buildsym.h: Doc fix for processing_acc_compilation.
1659
8715a9f3
JK
1660Thu Jun 17 19:57:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1661
1662 * printcmd.c (print_formatted): Don't use tab in wrap_here arg.
1663
fc61e9ee
JK
1664Thu Jun 17 17:29:30 1993 Jim Kingdon (kingdon@lisa.cygnus.com)
1665
1666 * Makefile.in (INTERNAL_CFLAGS): Include ../include as well as
1667 ${srcdir}/../include.
1668
1669 * config/m88k/xm-delta88.h: Comment out unused defines which conflict
1670 with system headers.
1671 * printcmd.c (printf_command): Cast second arg to vprintf to PTR.
1672 Use VPRINTF macro if defined.
1673 * config/m88k/xm-delta88.h: Define VPRINTF. Include <sys/siginfo.h>.
1674 Define TIOC{GETC,GLTC}_BROKEN.
1675 * m88k-nat.c: Uncomment include of <sys/ptrace.h>.
1676 * main.c: Rename initialize_{main,cmd_lists,history} to init_* to
1677 make things easier on munch (apparently this matters on
1678 the delta88 with svr3).
1679
c8fee4a5
DZ
1680Thu Jun 17 16:53:56 1993 david d `zoo' zuhn (zoo@cygnus.com)
1681
1682 * Makefile.in: canonicalize install.sh; for use within
1683 this directory (and subdirs)
1684
1685Tue Jun 15 17:01:23 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1686
1687 * Makefile.in: remove parentdir support; use INSTALL_XFORM
1688
7ccb1e44
SC
1689Thu Jun 17 15:08:35 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1690
1691 * configure.in (alpha-*-osf*), config/alpha/alpha-osf.mh: New
1692 host.
1693 * sh-tdep.c (frame_find_saved_regs): Use NUM_REGS rather than hard
1694 wired (and wrong) constant.
1695 * values.c (unpack_long): Add case to unpack when target object is
1696 sizeof(int).
1697 * config/sh/tm-sh.h (REGISTER_NAMES): Know about the news ones the
1698 simulator defines.
1699
1c5d6049
RP
1700Wed Jun 16 16:08:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
1701
21cc14d8
RP
1702 * NEWS: tracking user visible changes starting with
1703 vxworks-timeout.
1704
1c5d6049
RP
1705 * remote-vx.c (_initialize_vx): rename user settable option from
1706 rpcTimeout to vxworks-timeout.
1707
3ef6f604
FF
1708Wed Jun 16 12:21:49 1993 Fred Fish (fnf@cygnus.com)
1709
53f0969b
FF
1710 * Makefile.in (depend): More makefile diddling.
1711 * alldeps.mak, depend: Update to latest automatically built
1712 versions.
1713
3ef6f604
FF
1714 * Makefile.in (depend): Bfd.h keeps moving, keep up with it.
1715 * alldeps.mak, depend: Update to latest automatically built
1716 versions.
1717
56894788
RP
1718Tue Jun 15 12:26:05 1993 K. Richard Pixley (rich@sendai.cygnus.com)
1719
1720 * remote-vx.c: include gdbcmd.h for setlist.
1721 (_initialize_vx): make rpcTimeout user settable.
1722
3a6249b1
JK
1723Mon Jun 14 09:23:51 1993 Jim Kingdon (kingdon@cygnus.com)
1724
bd50d1b0 1725 * main.c, gdbcmd.h: Add function filename_completer.
df0f0dcc
JK
1726 * main.c, symfile.c, source.c, exec.c, core.c: Use it for
1727 "directory", "source", "cd", "symbol-file" "add-symbol-file",
1728 "load", "file", "exec-file", "core-file" commands.
1729 (But '/' is a word break, limiting usefulness; see comments).
bd50d1b0
JK
1730
1731 * source.c (mod_path): Warning not error if can't find directory.
1732
3a6249b1
JK
1733 * isi-xdep.c: New file.
1734 * config/m68k/isi.mh (XDEPFILES): Add isi-xdep.o
1735
9748446f
JK
1736Sun Jun 13 09:17:48 1993 Jim Kingdon (kingdon@cygnus.com)
1737
f92d5249
JK
1738 * config/m68k/xm-news.h: Include <sys/param.h>.
1739
dbbf9508
JK
1740 * m88k-tdep.c (IEEE_isNAN): Remove.
1741 config/m88k/tm-m88k.h (INVALID_FLOAT): Return 0. This was the same
1742 broken isNAN as on the mips.
1743
198133b9
JK
1744 * valprint.c (_initialize_valprint): Use c->function.sfunc not just
1745 c->function.
1746
a5e6391b
JK
1747 * dbxread.c (process_one_symbol): If SUN_FIXED_LBRAC_BUG is not
1748 defined, don't worry about Sun's silly LBRAC bug.
1749 * config/m68k/tm-sun3.h: Define SUN_FIXED_LBRAC_BUG to 0.
1750
1751 * dbxread.c (process_one_symbol): If there's a symbol before an
1752 N_SO, don't error().
1753 (case N_BCOMM): complain () not error ().
1754
9748446f
JK
1755 * defs.h, main.c (catch_errors): Add return_mask arg.
1756 stack.c (print_frame_info): Pass RETURN_MASK_ERROR.
1757 other callers: Pass RETURN_MASK_ALL.
1758 (return_to_top_level), callers: Add return_reason arg.
1759 * utils.c (quit):
1760 Use return_to_top_level (RETURN_QUIT) instead of error ().
1761 * main.c (main), tm-nindy960.h (ADDITIONAL_OPTION_HANDLER):
1762 Use SET_TOP_LEVEL not setjmp (to_top_level).
1763 * remote-nindy.c: Use catch_errors not setjmp (to_top_level).
1764
6e6656cc
JK
1765Sat Jun 12 14:40:54 1993 Jim Kingdon (kingdon@cygnus.com)
1766
ff56144e
JK
1767 * solib.c (solib_create_inferior_hook) [SVR4_SHARED_LIBS]:
1768 Don't try to get the debug base yet.
1769
8357834f
JK
1770 * dbxread.c (process_one_symbol): Set n_opt_found based on whether
1771 a non-gcc N_OPT symbol is found. Make SUN_FIXED_LBRAC_BUG a macro
1772 which returns 0 or 1 to say whether to do it.
1773 * config/sparc/sun4{sol2,os4}.h
1774 (SUN_FIXED_LBRAC_BUG,VARIABLES_INSIDE_BLOCK): Use n_opt_found so
1775 the right thing happens for both acc and SunOS4 /bin/cc.
1776
1777 * valprint.c (print_hex_chars): Use local_hex_format_{pre,suf}fix.
1778 * printcmd.c (print_scalar_formatted): Use val_print_type_code_int.
1779
6e6656cc
JK
1780 * mips-tdep.c: Remove isa_NAN; it assumed sizeof(host int) == 4 and
1781 probably contained byte-order sins too.
1782 config/mips/tm-mips.h (INVALID_FLOAT): Define to 0 like most machines.
1783 The IEEE_FLOAT code in print_floating takes care of it.
1784
ce13daa7
FF
1785Sat Jun 12 14:47:04 1993 Fred Fish (fnf@cygnus.com)
1786
1787 * Makefile.in (VERSION): Bump to 4.9.2.
1788 * c-valprint.c (c_val_print): For array of chars printed with
1789 string syntax, don't print the address of the array. From
1790 bothner@cygnus.com.
1791 * c-exp.y (yylex): Recognize '.' as indicating a floating point
1792 number regardless of the radix. From wilson@cygnus.com.
1793 * valprint.c (set_input_radix_1, set_output_radix_1): New
1794 prototypes and functions that do the actual radix setting work.
1795 * valprint.c (set_radix, set_output_radix, set_input_radix):
1796 Rewrite to use set_input_radix_1 and set_output_radix_1.
1797 * valprint.c (initialize_valprint): Enable commands to
1798 independently set and show input and output radices.
1799 * valprint.c (show_radix): New prototype and function that
1800 handles separate input and output radices.
1801
112087ed
KR
1802Fri Jun 11 18:39:38 1993 Ken Raeburn (raeburn@cygnus.com)
1803
1804 Patches from Jeff Law, law@cs.utah.edu:
1805 * hppa-pinsn.c: Now uses disassembler from opcode library,
1806 this contains only the stub function print_insn.
1807
57cb418a
RP
1808Fri Jun 11 15:19:59 1993 K. Richard Pixley (rich@cygnus.com)
1809
1810 * main.c (main): back to two periods for elipse.
1811 (print_gdb_version): revised format for configuration info.
1812
ce13daa7
FF
1813Fri Jun 11 10:24:35 1993 Fred Fish (fnf@cygnus.com)
1814
1815 * defs.h (INT_MAX): Cast unsigned shift result to int.
1816
574dac8e
JK
1817Fri Jun 11 10:17:41 1993 Jim Kingdon (kingdon@cygnus.com)
1818
1819 * dbxread.c (process_one_symbol): Rather than having
1820 BLOCK_ADDRESS_FUNCTION_RELATIVE a macro, make it a variable which
1821 is true if we are doing stabs-in-elf, false otherwise.
1822 config/sparc/tm-sun4sol2.h: Don't define it.
1823
f63f30e2
ILT
1824Fri Jun 11 13:33:40 1993 Ian Lance Taylor (ian@cygnus.com)
1825
1826 * remote-mips.c (mips_send_packet): Don't print garbage character
1827 in debugging info.
1828 (mips_request): Don't check that remote pid is 0, because
1829 sometimes it isn't.
83909c43
ILT
1830 (mips_fetch_registers): Pass a pointer to SWAP_TARGET_AND_HOST,
1831 not an integer.
f63f30e2 1832
91c87211
JK
1833Fri Jun 11 10:17:41 1993 Jim Kingdon (kingdon@cygnus.com)
1834
c94e7e75
JK
1835 * stack.c (print_frame_info): Use catch_errors around print_frame_args.
1836
702c0ff7
JK
1837 * Makefile.in (install): Don't depend on gdb.
1838
91c87211
JK
1839 * Rename remote-es1800.c to remote-es.c
1840 and remote-st2000.c to remote-st.c for 14-char filenames.
1841 config/m68k/{es1800,st2000}: Use the new names.
1842
1843 * mips-tdep.c (isa_NAN): Don't return true on -0.
1844
dd577ca5
FF
1845Fri Jun 11 10:24:35 1993 Fred Fish (fnf@cygnus.com)
1846
1847 * defs.h (INT_MAX): Cast unsigned shift result to int.
1848
a608f919
FF
1849Thu Jun 10 13:26:41 1993 Fred Fish (fnf@cygnus.com)
1850
1851 * elfread.c (elf_symtab_read): Add bfd section address to bfd
1852 symbols, now that they are section relative.
1853 * solib.c (bfd_lookup_symbol): Ditto.
1854
1855Thu Jun 10 10:56:56 1993 Jim Kingdon (kingdon@cygnus.com)
1856
1857 * Makefile.in (depend): Add bfd -I's for paread.c and xcoffexec.c
1858 depend: Updated accordingly.
1859
39d4639b
JK
1860Wed Jun 9 16:08:44 1993 Jim Kingdon (kingdon@cygnus.com)
1861
1862 * Makefile.in (*.tab.c): Use mv for atomic update.
1863
1864 * Makefile.in ({dist,real}clean): Also remove nm.h.
1865 (realclean): Also remove ${TESTS}, y.output, yacc.{acts,tmp}.
1866 (distclean): Don't rebuild *.tab.c or TAGS.
1867
fa48972a
RP
1868Wed Jun 9 12:56:58 1993 K. Richard Pixley (rich@cygnus.com)
1869
90494078
RP
1870 * Makefile.in (version.c): add host and target names to version.c.
1871 * main.c (main): print three periods for the elipse.
1872 (print_gdb_version): also print configuration.
1873
a29be236
RP
1874 * udi/udiids.h, udi/udip2soc.c, udi/udiphcfg.h, udi/udiphunix.h,
1875 udi/udiproc.h, udi/udipt29k.h, udi/udiptcfg.h, udi/udisoc.h,
1876 udi/udr.c: Change AMD copyrights to FSF copyleft '93.
1877
1878 * remote-eb.c (get_hex_regs, eb_fetch_registers), remote-adapt.c
1879 (get_hex_regs, adapt_fetch_registers): cast args to
1880 supply_register to avoid gcc warning.
1881
0b3556fe
RP
1882 * config/a29k/a29k.mt (TDEPFILES): drop minimon support. It
1883 doesn't compile on solaris and is now obsolete.
1884
fa48972a
RP
1885 * config/sparc/sun4os4.mh (XM_CLIBS): remove -lresolv. This
1886 breaks stock sunos installations.
1887
b01c21d0
JK
1888Wed Jun 9 06:14:33 1993 Jim Kingdon (kingdon@cygnus.com)
1889
4640902b
JK
1890 * m68k-stub.c: Add comment about frame cache.
1891
b01c21d0
JK
1892 * target.h (target_store_registers): Doc fix re error handling.
1893
1894 * findvar.c (write_register): Call SWAP_TARGET_AND_HOST regardless
1895 of register_valid[regno].
1896
9745ba07
JK
1897Tue Jun 8 14:42:10 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
1898
1899 * symtab.h, dwarfread.c: Doc fix re dependencies.
1900
f7630ec9
RS
1901Tue Jun 8 17:54:09 1993 Rob Savoye (rob@rtl.cygnus.com)
1902
1903 * serial.c (serial_close): If scb is NULL, don't try to close
1904 it.
1f72a94a 1905 * configure.in: Add support for rom68k and bug boot monitors.
f7630ec9 1906
df14b38b
SC
1907Tue Jun 8 17:39:12 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1908
1909 * coffread.c (init_stringtab): Fix bug where sizeof(long) != 4.
1910 * gdbcore.h, core.c (read_memory_unsigned_integer): New function.
1911 * findvar.c (read_register, write_register): Fix thinko where
1912 sizeof(host long) != sizeof(target int).
1913 * h8300-tdep.c: Use new read_memory_unsigned_integer call.
1914 * sh-tdep.c (_initialize_sh_tdep): Add memory_size command.
1915
e7ac0161
JK
1916Tue Jun 8 14:42:10 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
1917
1918 * Move config/m68k/tm-m68k.h (FRAME_FIND_SAVED_REGS) to
1919 m68k-tdep.c (m68k_find_saved_regs). Don't duplicate code between
1920 68881 and non-68881 cases. Check for a pair of movel instructions.
d9e5694c 1921
75c319ff
RP
1922Tue Jun 8 14:52:55 1993 K. Richard Pixley (rich@sendai.cygnus.com)
1923
54d44c8c
RP
1924 First cut at sparc-vxworks targetting.
1925 * config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt: new files.
1926 * configure.in: sparc-vxworks gdb_target now vxsparc.
1927
45d8db87 1928 * remote-eb.c, remote.c: symfile.h requires bfd.h so include it.
75c319ff 1929
683bf9b5
JK
1930Tue Jun 8 14:42:10 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
1931
1932 * config/m68k/xm-news.h: add "extern int errno".
1933
35799202
RP
1934Tue Jun 8 13:45:07 1993 K. Richard Pixley (rich@sendai.cygnus.com)
1935
1936 * remove-vx.c (vx_read_register, vx_write_register): collapse
1937 ifdef I80960 else (assumes) m68k into parameterizable macros
1938 VX_NUM_REGS and VX_SIZE_FPREGS.
1939 * config/m68k/tm-vx68.h, config/i960/tm-vx960.h (VX_NUM_REGS,
1940 VX_SIZE_FPREGS): new definitions.
1941
6b27ebe8
JK
1942Tue Jun 8 11:08:29 1993 Jim Kingdon (kingdon@cygnus.com)
1943
1944 * symfile.{c,h} (generic_load): New function.
1945 remote{,-nindy,-eb,-mips}.c: Use it.
1946
a5d61570
SG
1947Mon Jun 7 20:07:30 1993 Stu Grossman (grossman@cygnus.com)
1948
1949 * Makefile.in (depend): More sed gubbish to deal with
1950 ../bfd/bfd.h being generated during the build.
1951 * depend: Re-done with corrected makefile.
1952
6f4a4fbb
FF
1953Mon Jun 7 16:32:05 1993 Fred Fish (fnf@cygnus.com)
1954
1955 * Makefile.in (BFD_SRC_DIR): Renamed def and usages from BFD_DIR.
1956 * Makefile.in (BFD_OBJ_DIR): New definition for the bfd build
1957 directory to find automatically generated header files and library.
1958 * Makefile.in (BFD_LIB): Use BFD_OBJ_DIR.
1959 * Makefile.in (LINTFLAGS): Include BFD_OBJ_DIR.
1960 * Makefile.in (saber_gdb): Include BFD_OBJ_DIR.
1961 * Makefile.in (depend): Include BFD_OBJ_DIR in gcc args.
1962 * Makefile.in (paread.o, xcoffexec.o): Remove, now in depend.
1963 * depend, alldeps.mak: Rebuild after Makefile.in changes.
1964
1965Fri Jun 4 10:18:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1966
1967 * configure.in: change lynx support to CPU-*-lynxos*
1968
1969 * Makefile.in (subdir_do): change test from existence of directory
1970 to existence of Makefile (the directory may exist but not be configured)
1971
1972Thu Jun 3 01:18:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1973
1974 * config/sparc/xm-sun4sol2.h: define MEM_FNS_DECLARED
1975
761d5a4b
ILT
1976Fri Jun 4 10:43:33 1993 Ian Lance Taylor (ian@cygnus.com)
1977
1978 * configure.in (mips-idt-ecoffl*): New target; use idtl.
1979 (mips-idt-ecoff*): Added trailing '*'.
1980 * config/mips/idtl.mt: New file; like idt.mt, but little endian.
1981
452b4b00
SG
1982Thu Jun 3 17:36:56 1993 Stu Grossman (grossman@cygnus.com)
1983
1984 * ser-go32.c: Clean up lots of compilation nits.
1985
e835b5e7
SG
1986Thu Jun 3 14:44:57 1993 Stu Grossman (grossman@cygnus.com)
1987
1988 * Patches from Jeffrey Law <law@cs.utah.edu>.
1989 * hppab-nat.c: Eliminate unnecessary ifdefs for
1990 FETCH_INFERIOR_REGISTERS, CANNOT_FETCH_REGISTER, and
1991 CANNOT_STORE_REGISTER.
1992 (fetch_register): Delete code to handle CANNOT_FETCH_REGISTER.
1993 * hppa-pinsn.c: Support 'I', 'J', and 'K' in output
1994 templates for 1.1 FP computational instructions.
1995
3af7fb94
SG
1996Thu Jun 3 03:34:49 1993 Stu Grossman (grossman@cygnus.com)
1997
bd91ddd1
SG
1998 * Makefile.in: Remove ser-tcp.[co]. (Use XDEPFILES instead.)
1999 * alldeps.mak, depend: Rebuild to account for ser-tcp.
2000 * config/sparc/sun4os4.mh: Add ser-tcp to XDEPFILES.
2001 * gdbserver/Makefile.in (gdbserver): Use -lbsd.
2002 * gdbserver/remote-inflow{-sparc}.c (create_inferior): Don't use a
2003 shell when running the child, as args have been expanded by the
2004 time we get here. Simplify calling convention.
2005 * gdbserver/remote-server.c (main): Use new calling convention
2006 for create_inferior, remove defunct code for coalescing argv.
2007 Remove extra calls to mywait(), as we no longer have to wade
2008 through a shell.
2009
3af7fb94
SG
2010 * target.c (target_read_memory_partial): Don't deref errnoptr
2011 when checking for null pointer.
2012
2b577349
JG
2013Wed Jun 2 19:58:46 1993 John Gilmore (gnu@cygnus.com)
2014
2015 * remote-es1800.c: Fix typo.
2016
68feeeed
FF
2017Tue Jun 1 21:22:39 1993 Fred Fish (fnf@cygnus.com)
2018
2019 * target.c (target_read_memory_partial): Like target_read_memory,
2020 but does partial reads, such as reads that bump into the end of
2021 the address space.
2022 * target.h (target_read_memory_partial): Add prototype.
2023 * valprint.c (PRINT_MAX_DEFAULT): New define, initial value 200.
2024 * valprint.c (val_print_string): Complete rewrite to fix bug with
2025 bumping into end of memory, avoiding unnecessarily long reads, and
2026 fixing bug when print_max is set to 0 (unlimited print length).
2027 * valprint.c (_initialize_valprint): Use PRINT_MAX_DEFAULT to
2028 initialize print_max.
2029
c1128340
RS
2030Tue Jun 1 18:11:35 1993 Rob Savoye (rob at darkstar.cygnus.com)
2031
2032 * configure.in: Add support for rom68k and bug boot monitors.
2033
574a2a49
JK
2034Mon May 31 10:37:04 1993 Jim Kingdon (kingdon@cygnus.com)
2035
6119aeeb
JK
2036 * printcmd.c (print_scalar_formatted): Print integers bigger than
2037 LONGEST in hex no matter how big, and no matter what the format
2038 and size.
2039
2040 * stabsread.c (read_type): Skip type attributes if present.
36bcda79 2041
574a2a49
JK
2042 * stabsread.c (read_huge_number): Don't accept '0' + radix as part
2043 of number, just through '0' + radix - 1.
2044
2707b48a
FF
2045Sun May 30 15:35:21 1993 Fred Fish (fnf@cygnus.com)
2046
8f1cc6c6
FF
2047 * Makefile.in (SER_HARDWIRE): Temporarily comment out ser-tcp.o.
2048
c701c14c
FF
2049 * {dbxread.c, dwarfread.c} (read_ofile_symtab): Rewrite to take
2050 single parameter, the pointer to the partial symtab, rather than
2051 a bunch of args that are derived from the partial symtab. Change
2052 prototypes and callers to match.
2053
2707b48a
FF
2054 * dbxread.c (read_ofile_symtab): Remove "#if 1" around code to
2055 set demangling style automatically.
2056 * defs.h (CPLUS_MARKER): Clarify comment that this is only for
2057 GNU C++, not C++ in general.
2058 * symtab.h (general_symbol_info): Simplify by eliminating one
2059 structure level for the language dependent info.
2060
86e3a5e4
FF
2061Sat May 29 15:59:29 1993 Fred Fish (fnf@cygnus.com)
2062
2063 * c-typeprint.c (c_type_print_base): Avoid dereferencing NULL
2064 names for TYPE_CODE_STRUCT and TYPE_CODE_UNION types.
2065 TYPE_CODE_ENUM was already testing for this.
2066
38dc5e12
SG
2067Fri May 28 17:18:05 1993 Stu Grossman (grossman@cygnus.com)
2068
2069 * Makefile.in: Add new file ser-tcp.c.
2070 * defs.h (memcmp): Add decl for memcmp to #ifndef MEM_FNS_DECLARED.
2071 * findvar.c (write_register): See if we are writing back the same
2072 value that's already in the register. If so, don't bother.
2073 * remote.c (putpkt, getpkt): Improve handling of communication
2074 problems.
2075 * ser-go32.c: Prototype it to death. Update serial_ops and add
2076 dummy routines where appropriate.
2077 * ser-tcp.c: New module to implement serial I/O via TCP
2078 connections.
2079 * ser-unix.c: Clean up getting/setting of tty state. Get rid of
2080 SERIAL_RESTORE, add SERIAL_{GET|SET}_TTY_STATE interfaces.
2081 * serial.c: Add start of support for connect command.
2082 (serial_open): Distinguish between tcp and local devices.
2083 * serial.h (struct serial_ops): Get rid of restore, add
2084 get_tty_state and set_tty_state. Define protoypes and macros for
2085 this mess.
2086 * gdbserver/remote-utils.c: Add tcp support. (readchar): Do
2087 some real buffering. Handle error conditions gracefully.
2088 * gdbserver/remote-inflow-sparc.c: Update to remote-inflow.c
2089 (Lynx), remove lots of cruft.
2090
633c8b0a
DZ
2091Fri May 28 17:24:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2092
2093 * printcmd.c (print_address_symbolic): turn this into an assigment
2094 instead of an initialization (many compilers don't accept
2095 structure initialization).
2096
860b4da3
JK
2097Thu May 27 16:56:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2098
2099 * xcoffread.c (read_xcoff_symtab): If several program csects in one
2100 source file, give them all the name of the source file, rather than
2101 the 2nd and subsequent ones having NULL names.
2102
b7ccd8e0
PS
2103Thu May 27 06:16:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2104
2105 * printcmd.c (print_address_symbolic): Append source filename and
2106 linenumber of the symbol if print symbol-filename is on.
2107 (initialize_printcmd): `set print symbol-filename'.
2108
185a1705
SG
2109Wed May 26 13:46:16 1993 Stu Grossman (grossman@cygnus.com)
2110
5fa46c42
SG
2111 * configure.in: Add config for Lynx target. Configure gdbserver
2112 only for Lynx. Re-do selective configuration of sparclite.
2113
185a1705
SG
2114 * gdbserver/{remote-gutils.c remote-server.c Makefile.in
2115 configure.in remote-inflow.c remote-utils.c}: New files to
2116 support GDB remote server. Currently only works for Lynx.
2117
3a594d72
JK
2118Wed May 26 10:28:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2119
59d69506
JK
2120 * stabsread.c (define_symbol, case 't'): Only set the name if it
2121 is not a pointer type.
2122
2123 * stabsread.c (define_symbol): Clean up logic; move the read_type
2124 calls to inside the switch statement (this improves the error
2125 handling).
2126
3a594d72
JK
2127 * mipsread.c (parse_symbol, parse_partial_symbols): Deal with Fortran
2128 common blocks.
2129
b9298844
JK
2130Tue May 25 20:44:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2131
43795ece
JK
2132 * printcmd.c (print_formatted, case 'i'): Pass a tab to wrap_here.
2133
2134 * source.c (line_info): Change "pc" to "address" in messages and
2135 use print_address for addresses.
2136
2f2a70e5
JK
2137 * source.c (line_info): If we don't find a symtab, print more useful
2138 output, including the symbolic address.
2139
b9298844
JK
2140 * source.c (line_info): If --fullname, display the source.
2141 (identify_source_line), callers: Take pc as argument, rather than
2142 assuming innermost frame (emacs doesn't use this, so no one ever
2143 noticed).
2144 * symtab.h: Declare frame_file_full_name.
2145 * main.c: Don't.
2146
aea2312b
BK
2147Tue May 25 15:30:43 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
2148
2149 * breakpoint.c (catch_command_1): Fix typo in error msg.
2150
6b346f51
KR
2151Tue May 25 16:05:55 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
2152
2153 * elfread.c (elf_symfile_read): Update ELF structure and routine
2154 names to specify 32-bit versions.
2155 (elf_symtab_read): Retrieve size field directly from symbol,
2156 instead of using old kludge.
2157
2158 * mips-pinsn.c (print_insn): Cast address to bfd_vma before
2159 calling opcodes library.
2160 * z8k-tdep.c (print_insn): Likewise.
2161
ea753d03
JK
2162Tue May 25 13:06:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2163
2164 * stabsread.c: Remove all uses of error(). Make error_type and
2165 read_type_number static.
2166 (define_symbol): Don't try to deal with a missing symbol
2167 descriptor which isn't followed by digit, '(', or '-'.
2168 * stabsread.h: Don't declare read_type_number here.
2169 * gdbtypes.h: Don't declare error_type here.
2170 * xcoffread.c: Remove NO_TYPEDEFS code.
2171
619ccb24
ILT
2172Tue May 25 09:33:16 1993 Ian Lance Taylor (ian@cygnus.com)
2173
2174 * mips-tdep.c: Removed #include of many header files, and #define
2175 of MIPSMAGIC; no longer used.
2176
30ffb593
JK
2177Tue May 25 09:36:13 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2178
6fe90fc8
JK
2179 * Many places: replace "the inferior" in messages with "the program"
2180 or "the program being debugged".
ea753d03 2181 * inflow.c (try_writing_regs): Remove; it's been #if 0'd forever
6fe90fc8
JK
2182 and I'm getting sick of maintaining it.
2183
30ffb593
JK
2184 * config/i386/linux.mh: Don't use \ newline; the awk scripts don't
2185 support it.
2186
2187 * config/i386/go32.mh: Define SER_HARDWIRE.
2188 * Makefile.in: Define SER_HARDWIRE.
2189 (DEPFILES): Use it.
2190 (alldeps.mak): Add SER_HARDWIRE.
2191 Remove all references to ser-hardwire.{c,o}.
2192 * configure.in: Remove all ser_hardwire and gdb_serial_driver stuff.
2193
1b71de8e
PS
2194Mon May 24 23:50:05 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2195
2196 * sparc-nat.c (store_inferior_registers): Fill in all members of
2197 inferior_fp_registers by reading them from the inferior before
2198 modifying and writing them back.
2199 Fixes unexplainable inferior FP exceptions after calls to the inferior
2200 or setting of floating point registers.
2201 * mips-tdep.c (mips_skip_prologue): Skip move of argument register
2202 to register which is generated by gcc-2.4.
2203
3b17ee1b
KR
2204Tue May 25 00:42:39 1993 Ken Raeburn (raeburn@cygnus.com)
2205
2206 * hppa-pinsn.c: Define OLD_TABLE before including opcode/hppa.h.
2207
2208Mon May 24 13:55:14 1993 Stu Grossman (grossman@cygnus.com)
2209
2210 * config/i386/{i386lynx.mh i386lynx.mt nm-i386lynx.h tm-i386lynx.h
2211 xm-i386lynx.h}: New configuration for Lynx.
2212
8789d972
JK
2213Mon May 24 10:01:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2214
87c942a8
JK
2215 * mipsread.c (parse_symbol): Deal with scVar and scVarRegister.
2216 * symtab.h: Comment that LOC_REGPARM_ADDR can be call by reference.
2217
8789d972
JK
2218 * c-typeprint.c (c_type_print_base): Don't print typedef'd names
2219 as struct, union, or enum tags.
2220
8537c754
PS
2221Mon May 24 01:10:01 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2222
2223 * symmisc.c (dump_msymbols): Avoid gdb coredump with stripped
2224 executable.
2225
f52bde21
JK
2226Sat May 22 10:03:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2227
2632d6df
JK
2228 * infrun.c (wait_for_inferior),
2229 infcmd.c (program_info, signal_command): Use symbolic signal names.
2230
6b82a761
JK
2231 * inftarg.c (child_wait): Deal with EINTR and include message from
2232 strerror if printing an error message.
2233
2234 * main.c (command_line_input): Use STOP_SIGNAL not SIGTSTP.
2235
f52bde21
JK
2236 * stabsread.c: Remove most uses of lookup_fundamental_type.
2237 (define_symbol): Use read_type for type of enum constant,
2238 not just read_type_number. Also don't call error().
2239 (define_symbol): For unrecognized constant type, one complaint (the
2240 one from error_type) is enough. Don't make our own in addition.
2241 (define_symbol): Don't treat an N_FUN 'R' as a prototype.
2242 * gdbtypes.h: Doc fixes.
2243
7cf92dd2
PS
2244Sat May 22 03:33:07 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2245
2246 Fix stack unwinding through _sigtramp on Irix. These patches are from
2247 Paul Flinders <ptf@delcam.co.uk>.
2248 * mipsread.c (fixup_sigtramp): Find _sigtramp on Irix even when the
2249 executable uses sigvec.
2250 * mips-tdep.c (read_next_frame_reg): Allow tm-file to override
2251 sigcontext offsets.
2252 * config/mips/tm-irix3.h: Add sigcontext offsets for Irix.
2253
101b7f9c
PS
2254Sat May 22 00:39:01 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2255
2256 * infrun.c (wait_for_inferior): Clear stop_signal if it should not
2257 be passed to the inferior to make "handle <signal> nopass nostop" work.
2258
ac8cf67d
PS
2259Sat May 22 00:21:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2260
2261 * config/mips/tm-irix3.h: Clean up, use tm-bigmips.h and redefine
2262 the necessary bits.
2263 * findvar.c (value_from_register): Fix uninitialized first_addr
2264 which caused problems with assignment of doubles to register variables
2265 on some targets.
2266 * mipsread.c: Remove TM_FILE_OVERRIDE, include tm.h and provide the
2267 missing mips definitions if necessary.
2268
2269 Fix handling of double register variables for mips targets and big
2270 endian hosts. These patches are from Paul Flinders <ptf@delcam.co.uk>.
2271 * config/mips/tm-mips.h: Increase MAX_REGISTER_{RAW,VIRTUAL}_SIZE to
2272 8 bytes for doubles.
2273 * config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): New macro for
2274 conversion of type held in multiple registers to host format.
2275 * config/mips/tm-mips.h (REGISTER_CONVERT_FROM_TYPE): New macro,
2276 companion to REGISTER_CONVERT_TO_TYPE.
2277 * config/mips/tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE):
2278 Convert to function calls.
2279 * config/mips/tm-mips.h (FIX_CALL_DUMMY): New code for big endian
2280 mips targets.
2281 * mips-tdep.c (mips_print_register): Raw buffer now needs just
2282 MAX_REGISTER_RAW_SIZE bytes.
2283 * mips-tdep.c (mips_print_register): Use REGISTER_CONVERT_TO_TYPE
2284 (if defined) for doubles.
2285 * mips-tdep.c: (mips_extract_return_value, mips_store_return_value):
2286 New functions, take care of REGISTER_CONVERT_TO/FROM_TYPE.
2287 * valops.c (value_assign): Use REGISTER_CONVERT_TO_TYPE if
2288 defined.
2289 * findvar.c (value_from_register): Use REGISTER_CONVERT_TO_TYPE if
2290 defined.
2291
73262420
JK
2292Fri May 21 09:04:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2293
e23a6896
JK
2294 * configure.in: Add i[34]86-*-isc*.
2295
5e27c054 2296 * stabsread.c: Make sure all complain() pass the address of the struct.
b646b438
JK
2297
2298 * xcoffread.c: Make sure all struct complaints are static not auto.
2299
2300 * Makefile.in: Add rule for xcoffexec.o like that for paread.o.
2301
73262420
JK
2302 * xcoffread.c (process_xcoff_symbol, case C_LSYM): Use define_symbol.
2303
2c6af8c0
JK
2304Wed May 19 12:33:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2305
2306 * config/i386/linux.mh: Re-enable coredumps now that they should work.
2307
ee3d350d
RP
2308Wed May 19 15:44:20 1993 K. Richard Pixley (rich@cygnus.com)
2309
2310 * config/m68k/tm-m68k.h (FRAME_CHAIN): add missing close paren.
2311
f3fe87c7
SG
2312Wed May 19 15:33:57 1993 Stu Grossman (grossman@cygnus.com)
2313
2314 * config/pa/nm-hppab.h: Comment PTRACE_ARG3_TYPE.
2315
5b40415c
JK
2316Wed May 19 12:33:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2317
2318 * Makefile.in (INSTALLED_LIBS): New variable.
2319
31d16514
JK
2320Tue May 18 14:08:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2321
94d50340
JK
2322 * main.c (quit_command): In the "quit anyway?" message, tell the user
2323 whether we are planning to detach or kill the program.
2324
cdaa7905
JK
2325 * config/vax/vaxbsd.mh: Add "NAT_FILE= nm-vax.h".
2326 * config/vax/xm-vaxbsd.h: Use <sys/param.h> not <machine/limits.h>
2327
15f78602
JK
2328 * infcmd.c (read_pc): Doc fix.
2329
511933e7
JK
2330 * printcmd.c (print_address_symbolic): Use %u not %d for offset.
2331
993583e5
JK
2332 * blockframe.c (get_prev_frame_info): If pc in sigtramp, set
2333 signal_handler_caller.
2334 * tm-68k.h (FRAME_{CHAIN,SAVED_PC}): Deal with sigtramp.
2335 * tm-hp300bsd.h: Define SIGTRAMP_{START,END} not IN_SIGTRAMP.
2336 * inferior.h (IN_SIGTRAMP): Definition moved from infrun.c.
2337 Use SIGTRAMP_START if defined.
2338 * infcmd.c (step_1): Use SIGTRAMP_{START,END} if needed.
2339 * infrun.c (wait_for_inferior): Check IN_SIGTRAMP before SKIP_PROLOGUE.
2340
7f8253c7
JK
2341 * infptrace.c: Remove unused KERNEL_U_ADDR_HPUX code.
2342
b1b4a89e
JK
2343 * infcmd.c (step_1): Fix poorly worded error message.
2344
865e574b
JK
2345 * config/{i386/linux.mh,m68k/isi.mh} (NATDEPFILES):
2346 Comment out corelow.c because core dumps are broken on these machines.
2347
31d16514
JK
2348 * Makefile.in (depend): Put "${srcdir}" in generated dependencies
2349 if srcdir is not ".".
2350 Also put in -I${BFD_DIR} or -I${READLINE_DIR} for files which need it.
2351 (INCLUDE_CFLAGS): Remove BFD_DIR and READLINE_DIR.
2352 * depend: Update to latest automatically built version.
2353
6e50aeb4
FF
2354Tue May 18 08:10:45 1993 Fred Fish (fnf@cygnus.com)
2355
2356 * ChangeLog, ChangeLog-92: Split ChangeLog at 1993.
2357 * Makefile.in (NONSRC): Add ChangeLog-92
2358
2359Tue May 18 08:03:37 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
f49cf589
JK
2360
2361 * findvar.c ({read,write}_register): Use REGISTER_RAW_SIZE
2362 not typo RAW_REGISTER_SIZE.
2363
2364 * frame.h, inferior.h: Doc fixes.
2365
35247ccd
SG
2366Mon May 17 15:43:03 1993 Stu Grossman (grossman@cygnus.com)
2367
2368 * findvar.c (write_register): Add sanity check for register size.
2369 (read_register): Fixup sanity check for register size to be
2370 consistent with write_register().
2371
2372Mon May 17 07:36:20 1993 Ian Lance Taylor (ian@cygnus.com)
2373
2374 * sparclite/Makefile.in: Add dummy info, install and install-info
2375 targets.
2376
d968d5b4
RP
2377Thu May 13 07:30:22 1993 Ian Lance Taylor (ian@cygnus.com)
2378
2379 * remote-nindy.c: Removed declaration of coffstrip.
2380 * nindy-share/nindy.c: #if 0 coffstrip routine; no longer used.
2381
377f53d2
FF
2382Wed May 12 00:35:19 1993 Fred Fish (fnf@cygnus.com)
2383
2384 * Makefile.in (VERSION): Bump to 4.9.1 after release and cvs
2385 tagging.
2386
2387 * Makefile.in (VERSION): GDB 4.9 release.
2388
965a33af
FF
2389Tue May 11 08:04:41 1993 Fred Fish (fnf@cygnus.com)
2390
2391 * README: Update known bugs to include the Solaris bug that
2392 leaves core dumps in the current directory when restarting the
2393 inferior with "run". Expand on the testsuite information.
2394
2395 * Makefile.in (VERSION): Bump to 4.8.96 for what should hopefully
2396 be the last 4.9 prerelease test archive.
2397
d2712f02
JK
2398Mon May 10 22:13:23 1993 Jim Kingdon (kingdon@cygnus.com)
2399
2400 * config/m68k/xm-hp300bsd.h: Include <sys/param.h> to avoid INT_MAX
2401 redefined warnings.
2402
0a4a0f09
FF
2403Mon May 10 20:00:43 1993 Fred Fish (fnf@cygnus.com)
2404
2405 * README, NEWS: Update for gdb 4.9 release.
2406
57ffffe3
JG
2407Mon May 10 19:38:34 1993 John Gilmore (gnu@cygnus.com)
2408
2409 * ch-exp.y (MAX, MIN): Rename to MAX_TOKEN, MIN_TOKEN.
2410 * target.c (MIN): #undef before defining.
2411
4a2383c1
JK
2412Mon May 10 16:03:03 1993 Jim Kingdon (kingdon@cygnus.com)
2413
2414 Patch from Jeffrey Law:
2415 * gdb/config/pa/nm-hppab.h (PTRACE_ARG3_TYPE): Define as caddr_t.
2416
1edc5cd2
ILT
2417Mon May 10 15:28:27 1993 Ian Lance Taylor (ian@cygnus.com)
2418
2419 * hppa-tdep.c (hppa_push_arguments): Allocate correct amount of
2420 memory.
2421
f39a2631
FF
2422Mon May 10 13:14:46 1993 Fred Fish (fnf@cygnus.com)
2423
2424 * ch-exp.y (start): Apply work-around to avoid bison warning.
2425
67d2bd1a
FF
2426Sun May 9 07:25:02 1993 Fred Fish (fnf@cygnus.com)
2427
0b81fc43
FF
2428 * Makefile.in (BISON): Remove double quotes around BISON
2429 definition when bison is used.
2430
8f59e92b
FF
2431 * configure.in (hppa*-hp-bsd): Change to hppa*-hp-bsd*
2432 * configure.in (hppa*-hp-hpux): Change to hppa*-hp-hpux*
2433 * configure.in (m68*-hp-bsd): Change to m68*-hp-bsd*
2434 * configure.in (m68*-hp-hpux): Change to m68*-hp-hpux*
2435 * configure.in (hppa*-*-bsd): Change to hppa*-*-bsd*
2436 * configure.in (hppa*-*-hpux): Change to hppa*-*-hpux*
2437 * configure.in (m68*-hp-bsd): Change to m68*-hp-bsd*
2438 * configure.in (m68*-hp-hpux): Change to m68*-hp-hpux*
2439
67d2bd1a
FF
2440 * Makefile.in (VERSION): Bump to 4.8.6.
2441
64c5ac4f
FF
2442Sat May 8 12:36:03 1993 Fred Fish (fnf@cygnus.com)
2443
2444 * config/pa/xm-hppah.h (MALLOC_INCOMPATIBLE): Define it, and
2445 include declarations for malloc/realloc/free. Both malloc and
2446 realloc return 'void *' for non-ANSI compilations.
2447
1adf2ba9
PS
2448Sat May 8 01:39:30 1993 (pes@regent.e-technik.tu-muenchen.de)
2449
2450 * coffread.c (read_coff_symtab): Don't fclose stream as it is no
2451 longer opened twice.
2452
7a758f71
JK
2453Thu May 6 21:08:55 1993 Jim Kingdon (kingdon@cygnus.com)
2454
2455 * solib.c (clear_solib): Don't close bfd if it is NULL.
2456
34b70237
FF
2457Thu May 6 20:55:35 1993 Fred Fish (fnf@cygnus.com)
2458
2459 * core.c (dis_asm_read_memory): Cast second arg of
2460 target_read_memory to "char *".
2461 * breakpoint.c (watchpoint_check): Change arg type from PTR to
2462 "char *", to match other functions called by catch_errors().
2463
2c298c09
SG
2464Thu May 6 15:47:45 1993 Stu Grossman (grossman@cygnus.com)
2465
2466 * More patches from Jeffrey Law (law@cs.utah.edu).
35247ccd 2467 * gdb/config/nm-hppab.h (PTRACE_ARG3_TYPE): Define as caddr_t.
2c298c09
SG
2468 * gdb/config/pa/tm-hppah.h (millicode_start, millicode_end):
2469 Delete unnecessary declarations.
2470
9e15da4a
SG
2471Thu May 6 15:15:46 1993 Stu Grossman (grossman@cygnus.com)
2472
2473 * ser-unix.c (wait_for): Use VTIME to do timeouts instead of
2474 poll() for termio{s}.
2475
dfa592fb
JK
2476Thu May 6 10:03:41 1993 Jim Kingdon (kingdon@cygnus.com)
2477
2478 * i386-tdep.c (i386_frame_num_args): Always return -1.
2479
d83a6710
SG
2480Wed May 5 15:16:33 1993 Stu Grossman (grossman@cygnus.com)
2481
a34d4bc1 2482 * Patches from Jeffrey Law <law@cs.utah.edu>.
8fa74880
SG
2483 * gdb/hppa-tdep.c: Declare frame_saved_pc.
2484 (frameless_function_invocation): New function.
2485 (frame_saved_pc, init_extra_frame_info): Use
2486 frameless_function_invocation.
f45e781f 2487 * gdb/config/pa/tm-hppa.h (SAVED_PC_AFTER_CALL): Use saved_pc_after
8fa74880
SG
2488 call instead of just grabbing the value currently in %r2.
2489 (FRAMELESS_FUNCTION_INVOCATION): Use frameless_function_invocation.
f45e781f 2490 * gdb/config/pa/tm-hppah.h (SAVED_PC_AFTER_CALL): Delete private
8fa74880 2491 definition and use the common one in tm-hppa.h.
4b01383b
SG
2492 * gdb/hppa-tdep.c (frame_chain_valid): If "use_unwind" is true, then
2493 use unwind descriptors to determine if the frame chain is valid.
b227992a
SG
2494 * gdb/hppa-tdep.c (find_dummy_frame_regs): Rework so that
2495 it does not assume %r4 is the frame pointer.
68c8d698
SG
2496 * gdb/hppa-pinsn.c (print_insn): Handle 'r' and 'R' for break, rsm,
2497 and ssm instructions.
2498 * gdb/hppa-tdep.c (extract_5r_store, extract_5R_store): New
2499 helper functions for print_insn.
a34d4bc1 2500 * gdb/hppa-tdep.c (gcc_p, hpux_cc_p): Delete unused functions.
d83a6710 2501 * gdb/config/pa/tm-hppa.h (ABOUT_TO_RETURN): Handle a return
a34d4bc1 2502 which nullifies the following instruction.
d83a6710 2503
a7edcb25
JK
2504Tue May 4 12:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
2505
d83a6710
SG
2506 * infptrace.c [FIVE_ARG_PTRACE]: Define ptrace to call_ptrace and
2507 pass the 5th arg there, rather than using an ANSI C-specific macro.
2508
a7edcb25
JK
2509 * Makefile.in (depend): Don't include ${CC} command for *.tab.c.
2510
d39fbfe3
FF
2511Tue May 4 19:33:12 1993 Fred Fish (fnf@cygnus.com)
2512
2513 * Makefile.in (VERSION): Bump to 4.8.5
2514 * Makefile.in (INCLUDE_CFLAGS): Add BFD_DIR and READLINE_DIR
2515 directories to include search path.
2516 * Makefile.in (CLIBS, CDEPS, ADD_FILES, ADD_DEPS): Clean up
2517 whitespace.
2518 * Makefile.in (depend): For gcc -MM line, use INTERNAL_CFLAGS
2519 * Makefile.in (main.o, dbxread.o, coffread.o, mipsread.o,
2520 elfread.o, dwarfread.o, stabsread.o, xcoffread.o, xcoffexec.o,
2521 xdr_ld.o, xdr_rdb.o, nindy.o, Onindy.o, ttybreak.o, ttyflush.o,
2522 udr.o, udip2soc.o): Remove explicit rules, use the ones that
2523 are automatically generated in "depend".
2524 * Makefile.in (paread.o): Document why a dependency doesn't get
2525 automatically generated in "depend" and leave this explicit rule
2526 in for now (FIXME).
2527 * depend: Update to latest automatically generated version.
2528
5b8462fa
JK
2529Tue May 4 12:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
2530
67240bb8
JK
2531 * xcoffread.c: Doc fix.
2532
5b8462fa
JK
2533 * Makefile.in (depend): Include $(CC) command in generated output.
2534
5287eacd
FF
2535Mon May 3 22:51:05 1993 Fred Fish (fnf@cygnus.com)
2536
2537 * Makefile.in (NONSRC): Remove ${srcdir}/putenv.c.
2538 * Makefile.in (SFILES): Add ${srcdir}/putenv.c.
2539 * depend: Update to latest automatically built version.
2540
9775789d
SG
2541Mon May 3 19:20:20 1993 Stu Grossman (grossman@cygnus.com)
2542
f202f778
SG
2543 * sparclite/Makefile.in: Create default target that does nothing
2544 in order to force user to build by hand.
2545
1e8005d0
SG
2546 * sparclite/Makefile: Remove. It's not necessary anymore.
2547
9775789d
SG
2548 * ser-unix.c (wait_for): New routine to handle read timeouts,
2549 etc. Uses poll() if HAVE_TERMIO[S] is defined, select() otherwise.
2550
588cca90
ILT
2551Mon May 3 13:52:08 1993 Ian Lance Taylor (ian@cygnus.com)
2552
2553 * mips-pinsn.c (print_insn): Return value.
2554
ebd99d54
FF
2555Sun May 2 11:43:57 1993 Fred Fish (fnf@cygnus.com)
2556
588cca90
ILT
2557 * Makefile.in (SFILES): Remove ser-hardwire.c; it is a link made
2558 at configuration time and doesn't belong in the distribution archive.
2559
d8aaff82
FF
2560 * Makefile.in (NONSRC): Add 29k-share/README.
2561 * Makefile.in (HFILES): Add 29k-share/udi/udiids.h.
2562
ebd99d54
FF
2563 * defs.h (UINT_MAX, LONG_MAX, INT_MAX, INT_MIN): Replace hex
2564 constants with slightly more portable definitions (still depends
2565 on 2's complement arithmetic though).
2566 * config/i386/nm-linux.h: Define NO_SYS_REG_H for no <sys/reg.h>.
2567 * i386v-nat.c (sys/reg.h): Conditionalize include on
2568 NO_SYS_REG_H. Linux doesn't have <sys/reg.h>.
2569 * ser-unix.c (termio.h): Include <termio.h> like other files that
2570 include termio.h, not <sys/termio.h> which may not exist (on
2571 linux for example).
2572
9b25bb09
FF
2573Sat May 1 16:05:24 1993 Fred Fish (fnf@cygnus.com)
2574
2575 * valprint.c (print_longest): Change format parameter from a
2576 'char' to an 'int'. We can't have 'char' parameters with the
2577 current coding style, where we mix prototypes with pre-ANSI
2578 style declarations.
2579 * value.h (print_longest): Change format parameter in prototype
2580 from a 'char' to an 'int'.
2581
dea149ce
PS
2582Sat May 1 02:47:20 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2583
23654371 2584 * config/mips/tm-mips.h (STAB_REG_TO_REGNUM): Match it with the gcc
dea149ce 2585 definition.
23654371 2586 * config/mips/tm-irix3.h (STAB_REG_TO_REGNUM): Add.
dea149ce
PS
2587 * irix4-nat.c (fill_fpregset): Fix bug with indexing into fpregsetp.
2588
2f1c04d1
SG
2589Fri Apr 30 17:45:32 1993 Stu Grossman (grossman@cygnus.com)
2590
2591 * The following patches are from Jeffrey Law <law@cs.utah.edu>.
2592 * config/pa/hppabsd.mh: Add more files to NATDEPFILES.
2593 * config/pa/xm-hppa[bh].h: Define FIVE_ARG_PTRACE.
2594 * hppab-nat.c: Delete WANT_NATIVE_TARGET ifdefs.
2595 ptrace needs 5 arguments, #define ptrace to always
2596 pass zero as the 5th argument.
2597
c7cb9064
SC
2598Fri Apr 30 15:54:13 1993 Steve Chamberlain (sac@thepub.cygnus.com)
2599
2600 * configure.in: Match z8k-*-sim for z8000.
2601 * config/h8500/tm-h8500.h, h8500-tdep.c: Lint.
2602 * remote-hms.c: Update to use new serial protocol.
2603
5385e525
RP
2604Fri Apr 30 16:50:38 1993 K. Richard Pixley (rich@rtl.cygnus.com)
2605
5084717f
RP
2606 * mips-tdep.c: remove include of sys/dir.h. Doesn't seem
2607 necessary and Solaris doesn't have it.
2608
0139c441
RP
2609 * Makefile.in (clean-info, install, install-info, info, dvi,
2610 check, all): do not echo recursion lines.
2611
5084717f 2612 * 29k-share/udip2soc.c (UDIConnect): replace union wait with int.
8317b39f 2613
13b464b2
RP
2614 * config/sparc/sun4sol2.mh (XM_CLIBS): add -lsocket which is
2615 required target ports which use sockets (like a29k-udi).
2616
2f1c04d1 2617 * remote-udi.c (udi_wait): Use SIGURG, as Solaris doesn't have SIGLOST.
5385e525 2618
8d57a263
JK
2619Fri Apr 30 11:05:42 1993 Jim Kingdon (kingdon@cygnus.com)
2620
eca29634
JK
2621 * ser-unix.c [USE_{TERMIO,ALARM}_TIMEOUT]: New code to deal with
2622 systems lacking select().
2623
db7c818b 2624 * Makefile.in (TAGS): Doc fix. Deal with empty DEPFILES.
8d57a263 2625
496ca67c
FF
2626Fri Apr 30 10:06:46 1993 Fred Fish (fnf@cygnus.com)
2627
2628 * alldeps.mak, depend: Update with latest automatically built
2629 versions.
2630
3717e95b
FF
2631Thu Apr 29 12:03:23 1993 Fred Fish (fnf@cygnus.com)
2632
d5f608a4
FF
2633 * Makefile.in (SFILES): Add ser-unix.c and ser-go32.c.
2634
97e72c06
FF
2635 * Makefile.in (make-proto-testsuite.dir): New target to make
2636 prototype testsuite tree.
97e72c06 2637
3717e95b
FF
2638 * Makefile.in (VERSION): Bump to 4.8.4.
2639
ff580c7b
JK
2640Thu Apr 29 08:46:22 1993 Jim Kingdon (kingdon@cygnus.com)
2641
2642 * stabsread.c (define_symbol): If unrecognized constant type,
2643 complain() not error().
2644
7efb57c3
FF
2645Thu Apr 29 00:03:59 1993 Fred Fish (fnf@cygnus.com)
2646
f43aec2e
FF
2647 * infptrace.c: Add missing close paren to test for
2648 FIVE_ARG_PTRACE defined.
2649
7efb57c3
FF
2650 * defs.h (CC_HAS_LONG_LONG): Set up to define CC_HAS_LONG_LONG
2651 when compiling with gcc, but disable it for now. See comment.
2652 * defs.h (LONGEST): Define as either "long" or "long long"
2653 based on CC_HAS_LONG_LONG.
2654 * defs.h (longest_to_int): Use CC_HAS_LONG_LONG to control
2655 how longest_to_int is defined.
2656 * c-valprint.c (c_val_print): Call print_longest.
2657 * expprint.c (dump_expression): Use PRINTF_HAS_LONG_LONG
2658 instead of LONG_LONG.
2659 * {printcmd.c, gdbtypes.h} (LONG_LONG): Replace usages with
2660 CC_HAS_LONG_LONG.
2661 * printcmd.c (print_scalar_formatted): Call print_longest
2662 and let it figure out what to do for PRINTF_HAS_LONG_LONG.
2663 * typeprint.c (print_type_scalar): Call print_longest and let
2664 it figure out what to do for PRINTF_HAS_LONG_LONG.
2665 * valprint.c (val_print_type_code_int): Call print_longest
2666 and let it figure out what to do for PRINTF_HAS_LONG_LONG.
2667 * stabsread.c (LONG_LONG): Replace usages with CC_HAS_LONG_LONG.
2668 * value.h (struct value): Replace usage of LONG_LONG with
2669 CC_HAS_LONG_LONG.
2670 * value.h (print_longest): Add prototype.
2671 * values.c (LONG_LONG): Replace usages with CC_HAS_LONG_LONG.
2672 * values.c (unpack_double): Collapse code that was unnecessarily
2673 dependent on CC_HAS_LONG_LONG. Use LONGEST instead of direct types.
2674 * values.c (value_from_longest): Remove dependency on
2675 CC_HAS_LONG_LONG and just use LONGEST.
2676 * solib.c (solib_map_sections): Use bfd_get_filename
2677 to access filename field.
2678 * solib.c (clear_solib): Save filename and free it later, after
2679 bfd_close, since bfd_close may reference it. Use bfd_get_filename
2680 to access the field.
2681 * config/convex/xm-convex.h (LONG_LONG): Replace with
2682 CC_HAS_LONG_LONG. Add define for PRINTF_HAS_LONG_LONG.
2683 * doc/gdbint.texinfo (LONG_LONG): Replace with CC_HAS_LONG_LONG.
2684 Add PRINTF_HAS_LONG_LONG references.
2685
0626f40d
JK
2686Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
2687
31b56726
JK
2688 * inflow.c (kill_command), infcmd.c (attach_command),
2689 remote.c (remote_interrupt_twice): In messages for the user, call it
2690 "the program" or "the program being debugged" not "the inferior".
2691
0626f40d
JK
2692 * hp300ux-nat.c: Cast second arg to supply_register calls.
2693 (_initialize_kernel_u_addr, getpagesize): New functions.
2694 (store_inferior_register_1): Change arg name from value to val.
2695 (fetch_core_registers): Make arg core_reg_size unsigned.
2696 Pass 5 args to ptrace.
2697 * config/m68k/xm-hp300hpux.h: Define FIVE_ARG_PTRACE.
2698 Remove KERNEL_U_ADDR stuff.
2699 * infptrace.c [FIVE_ARG_PTRACE]: Pass 5th arg to ptrace.
2700 * config/m68k/hp300hpux.m{t,h}:
2701 Move exec.o from NATDEPFILES to TDEPFILES
2702 * config/m68k/hp300hpux.mt: Mention GAS requirement. Remove
2703 hp-include stuff. Add m68k-tdep.o to TDEPFILES.
2704
d8f23320
PS
2705Wed Apr 28 13:27:54 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2706
2707 * ch-exp.y (yylex): Don't STREQ with simplename if it is NULL.
2708
08bb2617
JK
2709Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
2710
2711 * config/sparc/xm-sun4os4.h [__STDC__]: Don't use MALLOC_INCOMPATIBLE.
2712
caa53d6d
RP
2713Wed Apr 28 11:39:18 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
2714
2715 * doc/gdb.texinfo: make node "Shell Commands" unconditional;
2716 describe `set demangle-style arm' (not cfront);
2717 mention can type `q' to discard output, when gdb pages
2718
212e10cf
PS
2719Wed Apr 28 11:32:39 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2720
2721 * valops.c (search_struct_field): Fix gdb core dump with incomplete
2722 stabs info.
2723
ebdb9ade
JK
2724Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
2725
2726 * remote.c: Change timeout to 2.
2727 (remote_open): Use unpush_target not remote_close.
2728 (remote_resume): If siggnal != 0, give warning not error().
2729 (remote_wait, remote_interrupt, remote_interrupt_twice):
2730 If we get two interrupts, let the user get out if they want.
2731 (remote_{kill,mourn}): New functions.
2732 i386-stub.c (handle_exception, case 'k'): Don't BREAKPOINT.
2733
c0f2f39c
ILT
2734Wed Apr 28 09:20:55 1993 Ian Lance Taylor (ian@rtl.cygnus.com)
2735
2736 * config/sparc/sun4sol2.mh (XM_CLIBS): Define to be -lnsl.
2737
609e1c57
JK
2738Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
2739
71607f9d
JK
2740 * Remote targets (mourn): Call unpush_target.
2741
e82980e4
JK
2742 * config/sparc/xm-sun4os4.h: Declare free() to return int.
2743 Remove twisted use of PARAMS.
2744
609e1c57
JK
2745 * config/rs6000/xm-rs6000.h: Don't define MALLOC_INCOMPATIBLE now
2746 that ansidecl.h assumes ANSI on AIX.
2747
ab425a9b
JK
2748Tue Apr 27 10:01:33 1993 Jim Kingdon (kingdon@cygnus.com)
2749
2750 * README: Move most stuff about hacking GDB to doc/gdbint.texinfo.
2751 (Known bugs): Remove AIX bugs, revise SPARC struct bug description.
2752
f661c4ca
PS
2753Tue Apr 27 13:44:19 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2754
2755 * expprint.c (print_subexp): Fix bug with OP_SCOPE operator output.
2756
ebe8362f
JK
2757Tue Apr 27 10:01:33 1993 Jim Kingdon (kingdon@cygnus.com)
2758
2759 * remote-vx.c (net_connect): Allow numeric IP address for host.
2760
9faacb92
SC
2761Mon Apr 26 17:59:38 1993 Steve Chamberlain (sac@thepub.cygnus.com)
2762
2763 * config/sh/sh.mt, config/sh/tm-sh.h, sh-tdep.c: New files.
2764
9aa31e91
JK
2765Mon Apr 26 07:13:32 1993 Jim Kingdon (kingdon@cygnus.com)
2766
2767 * rs6000-tdep.c (branch_dest): Deal with stepping through system call.
2768
2769 * symtab.h, xcoffread.c: Revise linetable sorting comments.
2770
24d45a63
PS
2771Sun Apr 25 02:32:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2772
2773 * valops.c (value_cast): A cast might also change the object
2774 representation in C++.
2775 * dbxread.c (end_psymtab): Copy subpst read_symtab function from pst
2776 to get the proper read_symtab function when called from mipsread.c.
2777 * mipsread.c (mipscoff_psymtab_to_symtab, psymtab_to_symtab_1):
2778 Set cur_bfd in psymtab_to_symtab_1 as CURBFD(pst) is invalid
2779 for dummy psymtabs, inhibit processing of dummy psymtabs.
2780
8cba9703
JK
2781Sat Apr 24 19:59:54 1993 Jim Kingdon (kingdon@cygnus.com)
2782
87237c52
JK
2783 * Changes from (or inspired by) AMD:
2784 * remote-udi.c (udi_attach): Assignments to Space and Offset were
2785 switched, fix it.
2786 (udi_wait): Make error message (UDIGetStdout) match error.
2787 (udi_wait): Handle UDIStdinNeeded.
2788 * command.c [CANT_FORK]: Use system().
2789 * utils.c (prompt_for_continue): Allow quit with 'q'.
2790
8cba9703
JK
2791 * solib.c (solib_add): Don't call special_symbol_handling if there
2792 were errors in symbol_add_stub. Also set so->from_tty before
2793 calling symbol_add_stub.
2794
66a1aa07
SG
2795Fri Apr 23 16:17:00 1993 Stu Grossman (grossman@cygnus.com)
2796
2797 * Merge in HPPA/BSD patches from Utah:
2798 * defs.h: Add const to 2nd arg of psignal prototype.
2799 * hppah-tdep.c: Renamed to hppa-tdep.c 'cuz it's common code with
2800 BSD now.
2801 * hppab-core.c: Deleted. No longer useful.
2802 * hppab-nat.c: #include more files. Use PT_WUREGS, not
2803 PT_WRITE_U.
2804 * hppab-tdep.c: Deleted. Supplanted by hppa-tdep.c.
2805 * config/pa/hppabsd.mh (NATDEPFILES): Remove hppab-core.o.
2806 * config/pa/hppabsd.mt (TDEPFILES): hppab-tdep.o => hppa-tdep.o
2807 * config/pa/hppahpux.mt (TDEPFILES): hppab-tdep.o => hppa-tdep.o
2808 * config/pa/xm-hppab.h: #define SET_STACK_LIMIT_HUGE.
2809
b5728692
SG
2810Fri Apr 23 10:34:02 1993 Stu Grossman (grossman@cygnus.com)
2811
2812 * Fix two bugs found by deja-gnu. One is the incorrect reporting
2813 of the PC being in a stack dummy when looking at a core file
2814 without symbols. The other is the incorrect passing of char
2815 arguments during expression evaluation (ie: p foo('a','b') would
2816 mess up the passing of it's args because it wasn't coercing the
2817 char's to ints).
2818 * hppah-tdep.c: Rename global functions to have consistent hppa_
2819 prefix. Make more functions static. Drop hp_ prefix from static
2820 functions. (hppa_push_arguments): Call value_arg_coerce to cast
2821 char to int args if necessary. (hppa_fix_call_dummy): Create
2822 this routine from FIX_CALL_DUMMY macro in tm-hppa.h.
2823 * inferior.h (PC_IN_CALL_DUMMY): Check for frame_address being
2824 valid (ie: != 0) before doing comparison against PC.
2825 * valops.c (call_function_by_hand): Adjust call to FIX_CALL_DUMMY
2826 to reflect new arguments.
2827 * config/pa/tm-hppa.h (POP_FRAME, PUSH_ARGUMENTS): Use new hppa_
2828 prefix for func name. (FIX_CALL_DUMMY): Move code into
2829 hppah-tdep.c.
2830
2831 * testsuite/gdb.t16/gdbme.c, testsuite/gdb.t17/gdbme.c: Add calls
2832 to malloc() so that we can test GDB eval of dynamically created
2833 arrays (like char strings in `print "foo"').
2834
7586127f
PS
2835Fri Apr 23 01:28:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2836
2837 * printcmd.c (print_address_symbolic): Search symtabs as well as the
2838 minimal symbols for a nearby symbol.
2839
158a0711
JG
2840Thu Apr 22 19:44:21 1993 John Gilmore (gnu@cacophony.cygnus.com)
2841
2842 * coffread.c: Comment changes around minimal symbol recording.
2843
3127785a
RP
2844Thu Apr 22 16:24:36 1993 K. Richard Pixley (rich@rtl.cygnus.com)
2845
158a0711 2846 * command.c: comment changes only.
f936e20d 2847
3127785a
RP
2848 * mips-tdep.c (heuristic_fence_post): new static variable.
2849 (heuristic_proc_start): use heuristic_fence_post, print better
2850 warnings, but only if not stop_soon_quietly.
2851 (_initialize_mips_tdep): add_set_cmd for heuristic-fence-post.
2852
5afa2040
JK
2853Thu Apr 22 14:50:05 1993 Jim Kingdon (kingdon@cygnus.com)
2854
2855 * symtab.h: Fix LOC_REF_ARG comment.
2856
2857Wed Apr 22 20:21:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2858 and Jim Kingdon (kingdon@cygnus.com)
2859
2860 * stabsread.c (define_symbol): Combine a 'p', 'r' arg pair to a
2861 LOC_REGPARM symbol.
2862 * config/sparc/tm-sparc.h (REG_STRUCT_HAS_ADDR): Revise comments.
2863 symfile.c (compare_symbols): Don't check first character; STRCMP
2864 does that.
2865
2866 * stabsread.c (define_symbol): Generate a LOC_REGPARM_ADDR for
2867 structures that are passed by address in a register.
2868 * symtab.h (enum address_class): Add LOC_REGPARM_ADDR.
2869 * findvar.c (read_var_value),
2870 printcmd.c (address_info, print_frame_args),
2871 stack.c (print_frame_arg_vars), symmisc.c (print_{,partial_}symbol),
2872 * symtab.c (lookup_block_symbol): Deal with it.
2873
fce30fa1
JK
2874Thu Apr 22 09:07:24 1993 Jim Kingdon (kingdon@cygnus.com)
2875
4365c36c
JK
2876 * objfiles.h (obj_section), objfiles.c (build_objfile_section_table):
2877 Add objfile field.
2878 * objfiles.c (find_pc_section): Return a struct obj_section *.
2879 * sparc-tdep.c (in_solib_trampoline): Deal with find_pc_section return.
2880 * symfile.c (syms_from_objfile) [IBM6000_TARGET]:
2881 Don't use obj_section hack.
2882 * xcoffexec (vmap_symtab): Relocate obj_sections.
2883 * printcmd.c (containing_function_bounds): Use find_pc_section.
2884
fce30fa1
JK
2885 * symtab.h: Clean up SYMBOL_VALUE comments.
2886
f2c365f5
JK
2887Wed Apr 21 14:29:57 1993 Jim Kingdon (kingdon@cygnus.com)
2888
31258e4f
JK
2889 * stack.c (print_frame_arg_vars), printcmd.c (print_frame_args):
2890 Expand comments about LOC_ARG/LOC_LOCAL pairs.
2891
f2c365f5
JK
2892 * coffread.c (read_coff_symtab): Use rewind before fseek.
2893
32d8a6d3
PB
2894Wed Apr 21 14:24:19 1993 Per Bothner (bothner@cygnus.com)
2895
2896 * ch-exp.y: Removed unused structure_primitive_value and FIXME_23.
2897 * Makefile.in: Add $(YFLAGS) when using $(YACC).
2898 * Makefile.in: Remove message to expect conflicts and unused
2899 rules in ch-exp.y, since there no longer are any such.
2900
1b5c6c05
DZ
2901Wed Apr 21 13:27:50 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2902
2903 * stabs.texinfo: fixed bad xrefs (un-initialized statics)
2904
cee86be3
JK
2905Tue Apr 20 08:55:11 1993 Jim Kingdon (kingdon@cygnus.com)
2906
4cdcf3b9
JK
2907 * xcoffexec.c (xcoff_relocate_core): If no exec file, error()
2908 rather than dumping core.
2909
24c2857c 2910 * Makefile.in: Add ${srcdir}/ to all source files.
4cdcf3b9 2911 (alldeps.mak): Add "${srcdir}/" to files when generating alldeps.mak.
24c2857c
JK
2912 (TAGS): Deal with srcdir and new config directory scheme.
2913 createtags: Remove.
2914 Makefile.in (NONSRC): Remove createtags.
2915 alldeps.mak: Updated.
2916
cee86be3
JK
2917 * rs6000-tdep.c: Delete unused function print_frame.
2918
2919 * frame.h (struct frame_info): Doc fix for next_frame.
2920 New field signal_handler_caller.
2921 blockframe.c (create_new_frame, get_prev_frame_info),
2922 config/rs6000/tm-rs6000.h (INIT_EXTRA_FRAME_INFO): Set it (needs
2923 INIT_FRAME_PC_FIRST).
2924 stack.c (print_frame_info), rs6000-tdep.c (rs6000_frame_chain):
2925 Check it.
2926
9583b295
SG
2927Mon Apr 19 22:52:33 1993 Stu Grossman (grossman@cygnus.com)
2928
2929 * irix4-nat.c (fetch_core_registers): Special version of this for
2930 Irix 4.x, which stores regs a bit differently from other /proc
2931 based systems.
2932 * procfs.c, core-svr4.c: Move fetch_core_registers from procfs.c
2933 to new file core-svr4.c.
2934 * config/i386/i386sol2.mh, config/i386/i386v4.mh, config/m68k/amix.mh,
2935 config/i386/ncr3000.mh, config/sparc/sun4sol2.mh: Add core-svr4.o
2936 to NATDEPFILES.
2937 * config/mips/irix4.mh: Add corelow.o to NATDEPFILES.
2938
3f06498a
JK
2939Mon Apr 19 11:13:34 1993 Jim Kingdon (kingdon@cygnus.com)
2940
2941 * i387-tdep.c: Remove unused #includes.
2942
2943 * configure.in: Match i[34]86-*-sysv3.2 not i[34]86-*-sysv32.
2944
2945 * config/i386/nm-i386v.h: Define NO_PTRACE_H.
2946
058eb766
JK
2947Sun Apr 18 10:39:35 1993 Jim Kingdon (kingdon@cygnus.com)
2948
2949 * xcoffread.c: Nuke NO_DEFINE_SYMBOL code. There is no going back.
2950
2951 * stabsread.c (define_symbol): 'R' is synonym for 'P', not 'r'.
2952 xcoffread.c (process_xcoff_symbol, case C_RPSYM):
2953 Don't muck with SYMBOL_CLASS.
2954
04c6a64f
SG
2955Fri Apr 16 17:38:33 1993 Stu Grossman (grossman@cygnus.com)
2956
2957 * munch: Don't use head command. It doesn't exist everywhere.
2958
9c225659
FF
2959Fri Apr 16 15:07:57 1993 Fred Fish (fnf@cygnus.com)
2960
2961 * inflow.c (new_tty): Remove spurious 'o' character at end
2962 of #endif line.
2963
e157305c
PS
2964Fri Apr 16 12:27:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2965
2966 * mips-tdep.c (mips_skip_prologue): Always skip the typical prologue
2967 instructions and nothing more.
2968 * mipsread.c (add_line): Add comment why we have to combine line number
2969 entries for the same line number.
2970
0b28c260
JK
2971Fri Apr 16 09:42:03 1993 Jim Kingdon (kingdon@cygnus.com)
2972
2973 * symtab.{c,h}: Doc fixes (remove symseg references, last relevant
2974 in gdb 2.8!).
2975
dd052d9a
FF
2976Thu Apr 15 21:16:58 1993 Fred Fish (fnf@cygnus.com)
2977
2978 * depend, alldeps.mak: Update, now that gcc -MM bug is fixed.
2979
9fa59efd
JK
2980Thu Apr 15 12:38:39 1993 Jim Kingdon (kingdon@cygnus.com)
2981
2982 * source.c (select_source_symtab): Clean up comment. Also, if
2983 we have a current_source_symtab, and s is NULL, return without
2984 doing anything.
2985 xcoffread.c (xcoff_symfile_read): Don't call select_source_symtab.
2986 breakpoint.c (breakpoint_re_set): Don't call select_source_symtab.
2987
65ce5df4
JG
2988Thu Apr 15 02:37:48 1993 John Gilmore (gnu@cacophony.cygnus.com)
2989
2990 * dbxread.c (unknown_symchar_complaint): Add new complaint.
6f49b01e 2991 * stabsread.h: Declare it.
65ce5df4
JG
2992 * partial-stab.h: Use it.
2993
2994 * utils.c (malloc_botch): Don't forward-declare if NO_MMALLOC.
2995
486b440e
JK
2996Wed Apr 14 17:12:51 1993 Jim Kingdon (kingdon@cygnus.com)
2997
df2a1bd7
JK
2998 * stack.c (print_frame_info): Print specially if dummy frame.
2999
fa99ebe1
JK
3000 * breakpoint.c: Add comments regarding within_scope future direction.
3001
ee7e82fe
JK
3002 * Version 4.8.3.
3003
486b440e
JK
3004 * xcoffread.c (record_include_{begin,end}): Change fatal to complain.
3005
3006Wed Apr 14 14:03:18 1993 Per Bothner (bothner@cygnus.com)
3007
3008 * ch-exp.y: Fix thinko that broke parsing of FALSE.
3009
39cb3d04
PS
3010Wed Apr 14 12:49:29 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3011
3012 * stabsread.c (read_member_functions): Initialize domain for stubbed
3013 member functions to avoid gdb core dumps when printing pointers
3014 to member functions.
3015 * cp-valprint.c (cp_print_class_method): Check for stubbed member
3016 functions.
3017
ccd87bf2
JK
3018Tue Apr 13 08:28:26 1993 Jim Kingdon (kingdon@cygnus.com)
3019
e2ff731b
JK
3020 * expprint.c (print_subexp): If opcode not found in op_print_tab,
3021 stop with an error().
3022 eval.c (evaluate_subexp): Change error message.
3023
ccd87bf2
JK
3024 * objfiles.c (build_objfile_section_table): Cast return value
3025 from obstack_finish.
3026
0a62ff36
JK
3027Mon Apr 12 10:53:50 1993 Jim Kingdon (kingdon@cygnus.com)
3028
f3649227
JK
3029 * config/rs6000/tm-rs6000.h, rs6000-tdep.c: Move FRAME_CHAIN
3030 to rs6000_frame_chain and deal with it if we're in a signal handler.
3031 (FRAME_SAVED_PC): Use rs6000_frame_chain.
3032
0a819c04
JK
3033 * breakpoint.c (within_scope): New function.
3034 (enable_breakpoint, watchpoint_check): Use it.
3035
affc9686
JK
3036 * source.c (openp): Handle "exec-file ./ls" correctly.
3037
0a62ff36
JK
3038 * breakpoint.c (breakpoint_1): Use wrap_here before "at".
3039
5a7c9cce
PB
3040Sat Apr 10 01:32:43 1993 Per Bothner (bothner@rtl.cygnus.com)
3041
3042 * ch-exp.y: Clean up lexing of identifiers and
3043 reserved words. (E.g. don't recognize FALSEXXX as the
3044 keyword FALSE followed by the identifier XXX.)
3045 Also, convert identifiers to lower case.
3046
1724c671
SG
3047Fri Apr 9 15:53:19 1993 Stu Grossman (grossman@cygnus.com)
3048
3049 * remote-mips.c, remote-monitor.c, remote-st2000.c: Convert to
3050 new serial interface.
3051
4febd102
SG
3052Fri Apr 9 15:01:12 1993 Stu Grossman (grossman@cygnus.com)
3053
3054 * remote.c (remote_open): Use SERIAL_OPEN instead of serial_open.
3055 (putpkt, getpkt): Use new return codes for SERIAL_READCHAR.
3056 * ser-go32.c: Return -1 on most failures, 0 on most successes,
3057 and use new return codes for go32_readchar().
3058 * ser-unix.c: Ditto. Also, move error handling up to caller for
3059 SERIAL_SETBAUDRATE().
3060 * serial.c (serial_open): Internal call, not SERIAL_OPEN to get
3061 to specific routine.
3062 (serial_close): New routine to wrap around device close routine.
3063 serial.h: Clean & document return values more clearly.
3064
a80c7bf6
JK
3065Fri Apr 9 10:20:55 1993 Jim Kingdon (kingdon@cygnus.com)
3066
944c1c2f
JK
3067 * rs6000-pinsn.c (print_operand): Deal with no operand instructions.
3068
3069 * rs6000-pinsn.c (print_operand, case LI): Print condition register
3070 operand in decimal rather than wrong textual versions.
3071
21486670
JK
3072 * printcmd.c (_initialize_printcmd): Clean up docstring for "x"
3073 (mention 't', remove false thing about 'g' only good with 'f').
3074
ddc6e6f7
JK
3075 * breakpoint.h: move "struct breakpoint" and friends to top of
3076 file so that bpstat_find_breakpoint prototype works.
3077
a80c7bf6
JK
3078 * solib.c (struct so_list): Add bfd field.
3079 (solib_map_sections): Leave bfd open and scratch_pathname allocated.
3080 Put the bfd in bfd field of the so_list.
3081 (clear_solib): Free bfd name and close_bfd on the bfd.
3082
47f366bc
PB
3083Fri Apr 9 00:45:41 1993 Per Bothner (bothner@rtl.cygnus.com)
3084
3085 * valarith.c (value_subscript): Add COERCE_REF.
3086 * ch-exp.y (operand_5): We can generalize the 2nd operand
3087 of a string repetition ot 'literal' without ambiguity.
3088
cabd4da6
JK
3089Thu Apr 8 10:15:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3090
3091 * breakpoint.h (struct bpstat): Remove momentary field.
3092 Remove bpstat_momentary_breakpoint. This was always kludgy
3093 and is no longer used.
3094
3095 * breakpoint.h: Add enum bpstat_what.
3096 breakpoint.h (struct bpstat), breakpoint.c (bpstat_stop_status):
3097 stop and print fields of bpstat now per-breakpoint, not just
3098 one for the whole chain.
3099 breakpoint.{c,h} (bpstat_what): New function.
3100 breakpoint.h: Remove bpstat_stop and bpstat_should_print.
3101 infrun.c: Replace switch (stop_bpstat->breakpoint_at->type)
3102 with call to bpstat_what.
3103 README: Remove watchpoint/breakpoint bug from known bugs.
3104
3105 * breakpoint.h: Prototype bpstat_find_breakpoint.
3106
dfbfbd96
FF
3107Thu Apr 8 16:01:21 1993 Fred Fish (fnf@cygnus.com)
3108
3109 * symtab.c (find_methods, gdb_mangle_name): Note that functions
3110 are g++ specific.
3111 * symtab.h (VTBL_FNADDR_OFFSET, OPNAME_PREFIX_P, VTBL_PREFIX_P,
3112 DESTRUCTOR_PREFIX_P): Note that macros are g++ specific.
3113
3114Thu Apr 8 12:45:32 1993 Ian Lance Taylor (ian@cygnus.com)
3115
3116 * i960-pinsn.c (tabent): Copied struct definition from
3117 opcodes/i960-dis.c.
3118
ca6a826d
PS
3119Thu Apr 8 10:34:37 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3120
3121 * symtab.h (DESTRUCTOR_PREFIX_P): New macro to check if physname
3122 is a C++ destructor.
3123 * symtab.c (gdb_mangle_name): Use it.
3124 * symtab.c (find_methods): Do not add destructors to choice list
3125 for constructors.
3126 * symtab.c (decode_line_1): Make breakpoints on destructors work
3127 for gcc-2.x again.
3128
40b56283
SG
3129Wed Apr 7 18:43:09 1993 Stu Grossman (grossman@cygnus.com)
3130
b83bf6b3
SG
3131 * ser-go32.c: Make it use serial port name.
3132 * go32-xdep.c: Put in def for strlwr, needed by dir.o in go32 libc.
3133
40b56283
SG
3134 * infcmd.c (read_pc): Make sure that we read PC_REGNUM when not
3135 in a system call!
3136
41faa775
SG
3137Wed Apr 7 15:52:11 1993 Stu Grossman (grossman@cygnus.com)
3138
3139 * configure.in: Only configure sparclite subdir when target_cpu
3140 is sparclite.
3141
f635bd47
JK
3142Wed Apr 7 10:11:22 1993 Jim Kingdon (kingdon@cygnus.com)
3143
ef5b809c
JK
3144 * xcoffread.c (struct coff_symbol): Change c_sclass to unsigned char.
3145 Remove FIXME comment regarding this.
3146
47045b36
JK
3147 * symfile.h: Change NULL->'\0' in comment (that wasn't a typo).
3148
f635bd47
JK
3149 * xcoffread.c (read_xcoff_symtab): Use E_SYMNMLEN.
3150
73d0fc78
RP
3151Tue Apr 6 22:30:58 1993 K. Richard Pixley (rich@cygnus.com)
3152
3153 Add section table to objfile struct. Use it for find_pc_section.
3154 * objfiles.c (add_to_objfile_sections,
3155 build_objfile_section_table, find_pc_section): new functions.
3156 (allocate_objfile): build section table.
3157 * objfiles.h (struct obj_section): new structure.
3158 (struct objfile): add section table.
3159 (find_pc_section): new prototype.
3160 * solib.[ch] (find_pc_section_from_so_list): removed.
3161 * sparc-tdep.c: include objfiles.h for find_pc_section. include
3162 symfile.h for objfiles.h.
3163 (in_solib_trampoline): adjusted for new find_pc_section
3164 prototype. Removed BAD_RICH_HACK ifdefs.
3165 * symfile.c (syms_from_objfile): offset objfile sections.
3166 (find_pc_section): removed. Also removed BAD_RICH_HACK ifdefs.
3167 * symfile.h (find_pc_section): prototype removed. Also fixed
3168 comment typo NUL -> NULL.
3169 * target.[ch] (find_pc_section_from_targets): removed.
3170 * config/sparc/tm-sun4sol2.h (BAD_RICHH_HACK): removed.
3171
07861607
SG
3172Tue Apr 6 21:41:13 1993 Stu Grossman (grossman@cygnus.com)
3173
3174 * ser-go32.c: Format. (go32_open): Use proper return value.
3175
3176 * configure.in: Undo conditional configdirs hack for sparclite.
3177
118ec55a
JW
3178Tue Apr 6 17:07:37 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
3179
3180 * symtab.c (list_symbols): When call break_command, pass both
3181 filename and function name not just function name.
3182
3183Tue Apr 6 15:00:09 1993 Fred Fish (fnf@cygnus.com)
3184
3185 (Changes and new files to make "none" a full fledged configuration)
3186 * config/none/{nm-none.h, tm-none.h, xm-none.h}: New files.
3187 Currently only tm-none.h has any meaningful contents.
3188 * config/none/none.mh (NAT_FILE): Use nm-none.h
3189 * config/none/none.mh (XM_FILE): Use xm-none.h
3190 * config/none/none.mt (TM_FILE): Use tm-none.h
3191 * Makefile.in (depend): Remove comment about parse errors in
3192 valops.c, it now parses correctly and generates a correct depend
3193 line. Remove line that touches xm.h, tm.h, and nm.h; they are
3194 now linked to config/none/{xm-none.h, tm-none.h, nm-none.h}.
3195
786757a9
JK
3196Tue Apr 6 09:54:29 1993 Jim Kingdon (kingdon@cygnus.com)
3197
9925b928
JK
3198 * values.c (USE_STRUCT_RETURN): Only use gcc wierdness for gcc1.
3199
786757a9
JK
3200 * xcoffread.c (read_xcoff_symtab): Deal correctly with symbols of
3201 exactly 8 characters.
3202
0c101d49
SG
3203Tue Apr 6 10:31:26 1993 Stu Grossman (grossman@cygnus.com)
3204
3205 * configure.in: Sparclite uses sparc config dir. Also has it's
3206 own tm- & .mt files now. Also add sparclite to configdirs.
3207 * go32-xdep.c: Dummy routines for sigsetmask & strlwr.
3208 * config/i386/go32.mh: Nullify def of TERMCAP.
3209 * config/i386/xm-go32.h: Get rid of redef of EIO.
3210 * config/sparc/{sparclite.mh tm-sparclite.h}: New sparclite
3211 specific configs. Very similar to sun4os4, but without solib.
3212 * sparclite/{Makefile.in configure.in}: First cut at making this
3213 dir configgable.
3214
5d2b030a
SG
3215Tue Apr 6 03:10:44 1993 Stu Grossman (grossman@cygnus.com)
3216
3217 * ser-go32.c: First cut at adapting to new serial interface.
3218
4e772f44
SG
3219Mon Apr 5 22:29:43 1993 Stu Grossman (grossman@cygnus.com)
3220
3221 * Makefile.in (SFILES OBS): Add serial.[co] & ser-hardwire.[co].
3222 These implement a new serial line interface for talking to remote
3223 targets.
3224 * configure.in: Link ser-hardwire.c to ser-unix.c for all hosts,
3225 EXCEPT go32, which gets ser-go32.c.
3226 * remote.c: Use new serial interface. More remote-xxx's to be
3227 converted later.
3228 * ser-bsd.c, ser-termios.c: Removed.
3229 * serial.c: New. Implements common operations for all serial
3230 types.
3231 * ser-unix.c: New. Unix specific serial operations for various
3232 flavors of Unix (Posix, SysV, BSD).
3233 * serial.h: Generic serial interface defs.
3234 * config/i386/go32.mh, config/i386/i386bsd.h,
3235 config/m68k/apollo68b.mh, config/sparc/sun4os4.mh: Remove
3236 ser-bsd.o from XDEPFILES. All the magic is now handled in
3237 configure.in.
3238
9acdb2dc
SG
3239Mon Apr 5 20:48:54 1993 Stu Grossman (grossman@cygnus.com)
3240
3241 * config/h8500/tm-h8500.h: Clean up brain damage found by GCC.
3242
0848ad1c
JK
3243Fri Apr 2 08:23:14 1993 Jim Kingdon (kingdon@cygnus.com)
3244
1d7e34e1
JK
3245 * xcoffread.c (xcoff_symfile_offsets): Use 0 not addr for offsets.
3246
b0e932ad 3247 * rs6000-tdep.c (frameless_function_invocation): Don't even think
1d7e34e1 3248 about framelessness except on the innermost frame.
b0e932ad 3249
0848ad1c
JK
3250 * xcoffexec.c: Call fatal() not abort().
3251
3252 * stabsread.c (patch_block_stabs): If stab & no symbol, make
3253 a LOC_OPTIMIZED_OUT symbol.
3254 symtab.h (enum address_class): Add LOC_OPTIMIZED_OUT.
3255 findvar.c (read_var_value), printcmd.c (address_info),
3256 symmisc.c (print_{,partial_}symbol), c-exp.y (variable),
3257 m2-exp.y (yylex): Deal with it.
0848ad1c 3258 ch-exp.y (yylex): Deal with it.
0848ad1c
JK
3259
3260Thu Apr 1 18:43:02 1993 Stu Grossman (grossman@cygnus.com)
3261
3262 * findvar.c (value_from_register): H8500 specific, check to see
3263 if we are looking at short pointer. If so, skip crock.
3264 * h8500-tdep.c (h8500_frame_chain): Mask down value from
3265 read_memory_integer() to avoid getting messed up by sign extension.
3266
0e184833
RP
3267Thu Apr 1 16:44:41 1993 K. Richard Pixley (rich@rtl.cygnus.com)
3268
3269 * sparc-tdep.c (in_solib_trampoline), symfile.c (find_pc_section):
3270 ifdef protect using BAD_RICH_HACK. This should be removed soon.
3271 * config/sparc/tm-sun4sol2.h (BAD_RICH_HACK): define.
3272
a6cead71
JK
3273Thu Apr 1 09:01:38 1993 Jim Kingdon (kingdon@cygnus.com)
3274
720b3aed
JK
3275 * i960-pinsn.c, a29k-pinsn.c: Much abridged, just use libopcodes.a.
3276
3277 * core.c (dis_asm_print_address): New function.
3278
a6cead71
JK
3279 * core.c (dis_asm_read_memory): Reinstate 4th arg. The prototype
3280 has been fixed.
3281
494503c7
PS
3282Thu Apr 1 09:34:43 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3283
3284 * breakpoint.c (bpstat_print, bpstat_stop_status): Change to walk the
3285 entire breakpoint chain and print only the first entry that needs to
3286 be printed and needs to be stopped for. Fixes problems with printing
3287 of multiple breakpoints with different conditions.
3288 * breakpoint.c (print_it_done): Renamed from print_it_noop as it
3289 effectively stops printing of the breakpoint chain.
3290 * breakpoint.c (print_it_noop): New routine to print nothing
3291 for this breakpoint entry and dont stop printing.
3292 * breakpoint.c (breakpoint_re_set_one): mention the reevaluated
3293 watchpoint only if it is enabled.
3294 * mipsread.c (parse_procedure): Correct incorrect setjmp procedure
3295 descriptor from the library to make backtraces through setjmp work.
3296 * mipsread.c (fixup_sigtramp): Correct pcreg and fregoffset for
3297 sigtramp.
3298 * mips-tdep.c (read_next_frame_reg): Provide correct values for
3299 all registers saved within sigtramp, cleanup.
3300
f7ed13c7
JK
3301Wed Mar 31 12:52:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3302
3303 * sparc-pinsn.c: Much abridged, just calls version in libopcodes.a.
3304
bf097a0b
RP
3305Wed Mar 31 21:23:41 1993 K. Richard Pixley (rich@rtl.cygnus.com)
3306
3307 * core.c (dis_asm_read_memory): drop fourth arg which conflicts
3308 with prototype in ../include/dis-asm.h.
3309
5d0734a7
JK
3310Wed Mar 31 12:52:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3311
3312 * core.c (dis_asm_{read_memory,memory_error}): New functions.
3313 m68k-pinsn.c, h8500-tdep.c, i386-pinsn.c, mips-pinsn.c, z8k-tdep.c:
3314 Use read_memory_func interface to disassembler.
3315
2093fe68
RP
3316Tue Mar 30 15:46:14 1993 K. Richard Pixley (rich@rtl.cygnus.com)
3317
3318 Teach sparc solaris to next over shared library functions.
3319 * solib.[hc] (find_pc_section_from_so_list): new function and
3320 prototype.
3321 * sparc-tdep.c (in_solib_trampoline): new function.
3322 * symfile.[hc] (find_pc_section): new function and prototypes.
3323 * target.[hc] (find_pc_section_from_targets): new function and
3324 prototypes.
3325 * config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): redefine to
3326 in_solib_trampoline.
3327
b27be792
JK
3328Tue Mar 30 08:06:24 1993 Jim Kingdon (kingdon@cygnus.com)
3329
deae7611
JK
3330 * infrun.c (wait_for_inferior): Revise comment.
3331
359a097f
JK
3332 * command.c (do_setshow_command): Use %u with var_{u,z}integer.
3333
3334 * command.{c,h}: New var_type var_integer.
3335 main.c: Use it for history_size.
3336
3337 * rs6000-tdep.c, xcoffexec.c, config/rs6000/xm-rs6000.h, breakpoint.c:
3338 Lint and byte-order fixups.
3339
3f031adf
JK
3340 * breakpoint.c (print_it_normal): Return 0 after hitting watchpoint.
3341
8af68e4e
JK
3342 * breakpoint.h (bpstat): New field print_it.
3343 breakpoint.c (bpstat_print): Use it.
3344 (print_it_normal): New function (from old bpstat_print code).
3345 (bpstat_{alloc,stop_status}): Set print_it field.
3346
3347 * breakpoint.c (bpstat_stop_status): Use catch_errors when
3348 evaluating watchpoint condition, via new function watchpoint_check.
3349 Also stop if watchpoint disabled due to leaving its block.
3350
b27be792
JK
3351 * findvar.c [REG_STRUCT_HAS_ADDR]: Add comment.
3352
aa66fddd
PS
3353Tue Mar 30 00:14:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3354
3355 * mips-pinsn.c: Add missing include of dis-asm.h.
3356
d7d35f00
FF
3357Mon Mar 29 15:03:25 1993 Fred Fish (fnf@cygnus.com)
3358
239121e2
FF
3359 * Makefile.in (clean, distclean, realclean): Recursively apply
3360 to subdirs first, rather than last. This avoids, for example,
3361 Makefile being removed in a parent directory before the recursive
3362 make is run.
3363
141ccc03
FF
3364 * alldeps.mak, depend: Update for below changes.
3365
2225eb85
FF
3366 * config/m68k/tm-m68k.h: Renamed from config/m68k/tm-68k.h.
3367 * m68k/{tm-3b1.h, tm-altos.h, tm-amix.h, tm-es1800.h,
3368 tm-hp300bsd.h, tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-os68k.h,
3369 tm-st2000.h, tm-sun2.h, tm-sun3.h, tm-vx68.h}: Include tm-m68k.h
3370 instead of tm-68k.h.
3371 * Makefile.in (HFILES): tm-68k.h renamed to tm-m68k.h.
3372 * README, a29k-pinsn.c, m68k-pinsn.c, m68k-stub.c, remote-vx.c,
3373 m68k/{altos.mh, altos.mt, apollo68b.mh, nm-apollo68b.h,
3374 nm-hp300bsd.h, config/m68k/xm-apollo68b.h}: Map '68k' to 'm68k'.
3375 * a29k/tm-a29k.h, doc/gdbint.texinfo: Account for renaming of
3376 tm-68k.h to tm-m68k.h.
3377 * m68k/m68k-fp.mt (TM_FILE): tm-68k-fp.h renamed to tm-m68k-fp.h.
3378 * m68k/m68k-nofp.mt (TM_FILE): tm-68k-nofp.h renamed to
3379 tm-m68k-nofp.h.
3380
d7d35f00
FF
3381 * config/a29k/tm-a29k.h: Renamed from config/a29k/tm-29k.h.
3382 * a29k-pinsn.c: Renamed from am29k-pinsn.c.
3383 * a29k-tdep.c: Renamed from am29k-tdep.c.
3384 * remote-eb.c, config/a29k/tm-ultra3.h: Include renamed tm-a29k.h.
3385 * remote-monitor.c, remote-st2000.c, config/a29k/{nm-ultra3.h,
3386 tm-a29k.h, xm-ultra3.h}, config/romp/rtbsd.mh, doc/gdbinv-s.texi,
3387 testsuite/gdb.t15/funcargs.exp, testsuite/gdb.t17/callfuncs.exp:
3388 Map '29k' to 'a29k'.
3389 * config/a29k/{a29k-kern.mt, a29k-udi.mt, a29k.mt, ultra3.mt}
3390 (TDEPFILES): Use renamed a29k-pinsn.o and a29k-tdep.o.
3391 * config/a29k/{a29k-udi.mt, a29k.mt} (TM_FILE): Use renamed
3392 tm-a29k.h.
3393 * config/a29k/a29k-udi.mt (MT_CFLAGS): Remove TARGET_AM29K
3394 define that does not appear anywhere else in the gdb source tree.
3395 * doc/gdbinit.texinfo: Document renaming of tm-29k.h to tm-a29k.h.
3396
ad376893
JK
3397Mon Mar 29 13:55:29 1993 Jim Kingdon (kingdon@cygnus.com)
3398
2225eb85
FF
3399 * breakpoint.c: Add comments regarding breakpoint_re_set.
3400
e5c00760
JK
3401 * xcoffread.c (sort_syms, compare_symbols): Remove.
3402 (xcoff_symfile_read): Use sort_all_symtab_syms from symfile.c
3403 not our own sort_syms (it is identical).
3404
ad376893
JK
3405 * xcoffread.c: Nuke NAMES_HAVE_DOT define (not used).
3406
0b0d6c3f
PS
3407Sun Mar 28 11:24:37 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3408
3409 * breakpoint.c (breakpoint_re_set_one): Fix storage leak.
3410 * breakpoint.c (enable_breakpoint): Don't enable watchpoint if it
3411 went out of scope.
3412 * exec.c (exec_close): Fix storage leak.
3413 * exec.c (exec_file_command): Make sure that bfd doesn't realign the
3414 output sections when patching an executable.
3415 * mips-nat.c (store_inferior_registers): Use REGISTER_PTRACE_ADDR
3416 when writing all registers.
3417 * mips-tdep.c (mips_push_dummy_frame): Save floating point registers
3418 at the right offset in the dummy frame.
3419 * mipsread.c (psymtab_to_symtab_1): Do not complain for stProc,
3420 stStaticProc and stEnd symbols as they are generated by gcc-2.x.
3421 * mipsread.c (mipscoff_new_init): Initialize stabsread and buildsym.
3422
0f0834c5
JG
3423Fri Mar 26 15:25:05 1993 John Gilmore (gnu@cygnus.com)
3424
3425 * Makefile.in (TARFILES): Avoid trailing backslash.
3426
2d313932
JK
3427Fri Mar 26 11:29:30 1993 Jim Kingdon (kingdon@cygnus.com)
3428
d7d35f00
FF
3429 * breakpoint.{c,h}: Add exp_string to struct breakpoint and use
3430 it in breakpoint_re_set.
2d313932
JK
3431 * breakpoint.c (watch_command, enable_breakpoint): Fetch lazy values.
3432
3433 * rs6000-tdep.c (single_step): Misc cleanups (CORE_ADDR not int,
3434 don't use sizeof(int) for target stuff, etc).
3435
53f6119f 3436Thu Mar 25 15:03:53 1993 Fred Fish (fnf@cygnus.com)
3c02636b 3437
53f6119f
FF
3438 * alldeps.mak, configure.in, i860-break.h, i860-opcode.h,
3439 i860-pinsn.c, i860-tdep.c, config/i860/*: Remove incomplete i860
3440 support that can't be integrated anyway due to lack of clear
3441 authorship.
3c02636b 3442
ccf1e898
SG
3443Thu Mar 25 12:26:50 1993 Stu Grossman (grossman@cygnus.com)
3444
3445 * findvar.c (read_register, write_register): Make these capable
3446 of reading/writing registers that are shorter than REGISTER_TYPE.
3447 * (value_from_register): Install H8500 specific code to return
3448 proper value when register is being used as a pointer.
3449 * h8500-tdep.c: Remove extra defines of NUM_REGS.
3450 (h8500_skip_prologue): Use correct lengths for LINK instructions.
3451 (FRAME_CHAIN): Change name to h8500_frame_chain. Rewrite code to
3452 chain frames properly by combining frame pointer with T reg.
3453 (init_extra_frame_info): Delete. It's now a macro.
3454 (frame_args_address): Don't add PTR_SIZE. Stack args are already
3455 offset by the correct amount off of the frame pointer.
3456 (register_byte): Delete. It's now a macro.
3457 (register_raw_size, register_virtual_size): Delete. Replaced by
3458 common routine h8500_register_size, cuz there's no difference
3459 between the raw & virtual sizes on this machine.
3460 (register_convert_to_raw, register_convert_to_virtual): Delete,
3461 cuz there's no difference between the raw & virtual forms.
3462 Replaced by memcpy in tm file.
3463 (register_virtual_type): Rename to h8500_register_virtual_type.
3464 Get rid of pointer pseudo-regs, use _REGNUM with all reg names.
3465 (_initialize_h8500_tdep): Get rid of crock to ensure that GDB &
3466 emulator have same reg offsets. This is all handled in the
3467 simulator code now.
3468 (h8500_trapped_internalvar): New routine to detect references to
3469 convenience vars acting as pointer pseudo-regs.
3470 (h8500_value_trapped_internalvar): Conjure up value of pointer
3471 pseudo-regs.
3472 (h8500_set_trapped_internalvar): Convert set value in real
3473 register references.
3474 infcmd.c (read_pc, write_pc): Add h8500 specific code to handle
3475 code segment register.
3476 infrun.c (proceed): Simplify. Call write_pc instead of doing it
3477 by hand.
3478 (wait_for_inferior): Add h8500 specific code to add stack segment
3479 when reading SP register.
3480 remote-sim.c (fetch_register): Spacing.
3481 tm-h8500.h: #define GDB_TARGET_IS_H8500 to make it easier to
3482 detect cruft. Redo all register manipulation stuff. Get rid of
3483 pointer pseudo-regs. (INIT_EXTRA_FRAME_INFO): Adds stack segment
3484 to frame pointer. (IS_TRAPPED_INTERNALVAL,
3485 VALUE_OF_TRAPPED_INTERNALVAR, SET_TRAPPED_INTERNALVAR): Use these
3486 to create internal vars for pointer pseudo-regs.
3487
2531303c
FF
3488Thu Mar 25 10:10:28 1993 Fred Fish (fnf@cygnus.com)
3489
3490 * Makefile.in: Numerous small changes to macro definitions
3491 and rules for building gdb distribution tree. Many macros
3492 eliminated or merged, and rules simplified.
3493 * alldeps.mak: Update.
3494 * depend: Update.
3495
b396a969
DZ
3496Wed Mar 24 13:52:29 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
3497
3498 * Makefile.in: recurse through SUBDIRS for dvi target too
3499
53f6119f
FF
3500Wed Mar 24 08:48:30 1993 Jim Kingdon (kingdon@cygnus.com)
3501
3502 * Clean up xcoff relocation.
3503 objfiles.h (struct objfiles): Add section_offsets, num_sections.
3504 symfile.c (syms_from_objfile), xcoffread.c (xcoff_symfile_offsets):
3505 Set them.
3506 symtab.h (struct general_symbol_info): Add section field.
3507 minsyms.c (prim_record_minimal_symbol{,_and_info}): Set it.
3508 xcoffread.c: Set section for symbols and msymbols.
3509 (struct symtab): Add block_line_section field.
3510 buildsym.c (end_symtab): Set it.
3511 (end_symtab and callers): Add section parameter.
3512 objfiles.c (objfile_relocate): New funciton.
3513 xcoffexec.c (vmap_symtab): Use it.
3514 xcoffsolib.h (struct vmap): Remove unused fields.
3515 config/rs6000/tm-rs6000.h, stack.c, xcoffexec.c: Remove
3516 CORE_NEEDS_RELOCATION, symtab_relocated.
3517 config/rs6000/tm-rs6000.h: Remove use of loadinfotext.
3518 rs6000-tdep.c: Make loadinfotext static.
3519 breakpoint.c (fixup_breakpoints): Doc fix.
3520 symtab.h (struct symtab), config/rs6000/tm-rs6000.h, buildsym.c
3521 (end_symtab): primary field replaces nonreloc.
3522
ece2e98a
JG
3523Tue Mar 23 00:10:53 1993 John Gilmore (gnu@cygnus.com)
3524
3525 * symtab.h (struct linetable_entry): Remove confusing comment.
3526
80c8fd72
DZ
3527Tue Mar 23 00:01:23 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
3528
3529 * Makefile.in: add installcheck target
3530
1a0edbc7
FF
3531Mon Mar 22 16:17:58 1993 Fred Fish (fnf@cygnus.com)
3532
3533 * config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
3534 m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
3535 z8k}: New directories to hold cpu specific configuration files.
3536 Naming follows gcc convention.
3537 * config/{*.mt, *.mh}: All target and host makefile fragment
3538 config files moved to an appropriate config/<cpu> subdirectory.
3539 * nm-*, xm-*, tm-*: All native, host, and target files, which
3540 get linked to nm.h, xm.h, and tm.h respectively by configure,
3541 moved to appropriate config/<cpu> subdirectory.
3542 * nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
3543 Native, host, and target files that are common across more than
3544 one cpu architecture and included by one of the configured
3545 native, host, or target files, get moved to config directory.
3546 * Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to
3547 pick up native, host, or target include files moved to one of
3548 the config subdirectories, and that are included by other files.
3549 * Makefile.in (alldeps.mak): Modify to account for new config
3550 directory structure.
3551 * alldeps.mak, depend: Update for new config directory structure.
3552 * config/*/[ntx]m-*.h: Modify all files that include other
3553 [ntx]m-*.h files to use path relative to gdb/config. I.E.
3554 "a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
3555 "tm-29k.h".
3556 * remote-eb.c (tm-29k.h): Include a29k/tm-29k.h.
3557 * mipsread.c (tm-mips.h): Include mips/tm-mips.h.
3558 * i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h.
3559 * configure.in: Default gdb_host_cpu to host_cpu, and remap
3560 the ones where the default is not unique or different than the
3561 config subdirectory name. Similarly, handle gdb_target_cpu.
3562 Modify configure.in as appropriate to make use of gdb_host_cpu
3563 and gdb_target_cpu to find makefile fragments and make links.
3564
5f5341a7
ILT
3565Mon Mar 22 12:36:24 1993 Ian Lance Taylor (ian@cygnus.com)
3566
3567 * mipsread.c (compare_blocks): Sort blocks with the same start
3568 address by decreasing ending address.
3569
1a3579df
PS
3570Mon Mar 22 20:36:04 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3571
3572 * mipsread.c (parse_procedure): Save cur_fdr accross call to
3573 lookup_symbol as it might get clobbered by the call.
3574
3575 * mipsread.c (parse_partial_symbols): Use ADD_PSYMBOL_ADDR_TO_LIST.
3576 The previous code did not initialize the language field for the psymtab
3577 entry.
3578
f24c159f
JG
3579Sat Mar 20 00:33:39 1993 John Gilmore (gnu@cygnus.com)
3580
3581 * c-exp.y (parse_number): Avoid shift warning.
3582 * serial.h (struct ttystate): Declare empty one on DOS.
3583
bc0d4cb9
SG
3584Fri Mar 19 12:59:50 1993 Stu Grossman (grossman@cygnus.com)
3585
733a9015
SG
3586 * xm-sun4os4.h: Return type of free() should be void, not int.
3587
bc0d4cb9
SG
3588 * vx-share/vxWorks.h: Remove #def of NULL.
3589
deb3f296
JK
3590Fri Mar 19 11:28:18 1993 Jim Kingdon (kingdon@cygnus.com)
3591
3592 * tm-rs6000.h: Nuke no-op STAB_REG_TO_REGNUM.
3593
52f8e6a0
SC
3594Fri Mar 19 07:40:09 1993 Steve Chamberlain (sac@cygnus.com)
3595
3596 * z8k-tdep.c (print_insn): Include the new dis-asm header file.
3597
00cea52f
PB
3598Thu Mar 18 14:26:57 1993 Per Bothner (bothner@rtl.cygnus.com)
3599
3600 * ieee-float.c: Moved to ../libiberty.
3601 * ieee-float.h: Moved to ../include.
3602 * Makefile.in: Update accordingly.
3603 * i386-pinsn.c (print_insn), m68k-pinsn.c (print_insn):
3604 Convert to stubs that call disassemblers in ../opcodes/*-dis.c.
3605 * m68k-tdep.c: Removed definition of ext_format ext_format_68881;
3606 it is now in ../opcodes/m68881-ext.c.
3607 * mips-tdep.c (mips_skip_prologue): Try to skip more of the
3608 prologue (some callers _do_ care).
3609 * mips-pinsn.c (print_insn), z8k-tdep.c (print_insn): Convert to
3610 new interface of ../opcodes/*-dis.c.
3611 * ch-exp.y: Add #include <ctype.h>.
3612
b60b2e3e
JK
3613Thu Mar 18 11:57:49 1993 Jim Kingdon (kingdon@cygnus.com)
3614
c161de74
JK
3615 * xcoffexec.c (exec_close): Don't close exec_bfd twice.
3616
b60b2e3e
JK
3617 * xcoffread.c (enter_line_range): endaddr is exclusive, not inclusive.
3618
ecfd2b60
JK
3619Wed Mar 17 09:46:31 1993 Jim Kingdon (kingdon@cygnus.com)
3620
3621 * xcoffread.c (arrange_linetable): Use x{m,re}alloc not {m,re}alloc.
3622
2d8d693a
SC
3623Wed Mar 17 11:28:11 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3624
3625 * z8k-tdep.c (extract_return_value, write_return_value,
3626 store_struct_return): New functions from macros in tm-z8k.h.
3627
898e13c8
FF
3628Wed Mar 17 11:23:06 1993 Fred Fish (fnf@cygnus.com)
3629
3630 * valops.c (value_arg_coerce): Apply temporary patch to
3631 fix problem with coercion of array and function types when
3632 passed as arguments to C functions, pending a more complete
3633 review of when and how coercion should be done, depending
3634 upon context and language.
3635
9d61147e
JK
3636Wed Mar 17 09:46:31 1993 Jim Kingdon (kingdon@cygnus.com)
3637
3e57da38
JK
3638 * xcoffread.c (MIN_TBTABSIZ): Change to 12.
3639
9d61147e
JK
3640 * xcoffread.c (xcoff_symfile_read): Only read stringtab and
3641 debugsec if there are a non-zero number of symbols.
3642
3021c40d
JG
3643Tue Mar 16 18:08:45 1993 John Gilmore (gnu@cygnus.com)
3644
3645 * command.c (show_user): Avoid fprintf_filtered botch (AGAIN!).
3646
8112a711
JK
3647Tue Mar 16 15:18:17 1993 Jim Kingdon (kingdon@cygnus.com)
3648
3649 * xcoffexec.c (add_vmap): Wrap symbol read in catch_errors.
3650
3651 * xcoffread.c (read_symbol_lineno): Look to end of symbols for .bf,
3652 not just 50 symbols.
3653 (symtbl_num_syms): New variable.
3654 (read_xcoff_symtab): Set it.
3655 (read_symbol_nvalue): Check for bad symno.
3656 (read_symbol_{lineno,nvalue}, callers): Don't pass symtable; it's
3657 always symtbl.
3658
e829d983
SG
3659Tue Mar 16 10:09:05 1993 Stu Grossman (grossman@cygnus.com)
3660
3661 * config/rs6000.mh: Get rid of -Dfd_set=int crock.
3662 This is defined in defs.h if necessary.
3663 * vx-share/vxWorks.h: Remove #defs of min and max.
3664 * vx-share/xdr_ld.c, vx-share/xdr_ptrace.c,
3665 vx-share/xdr_rdb.c: include defs.h.
3666
c8ade719
JK
3667Fri Mar 12 09:33:23 1993 Jim Kingdon (kingdon@cygnus.com)
3668
3669 * xcoffread.c (retrieve_tracebackinfo): Move assignment out
3670 of while condition.
3671
3672 * xcoffread.c (enter_line_range): complain() on bad endoffset.
3673 xcoffread.c: Doc fixes.
3674
3675Tue Mar 9 09:56:12 1993 Jim Kingdon (kingdon@cygnus.com)
3676
3677 * tm-rs6000.h (CORE_NEEDS_RELOCATION): Just call xcoff_relocate_core.
3678 xcoffexec.c (xcoff_relocate_core): New function.
3679 (text_adjustment): Removed.
3680 (add_vmap): Return the vmap.
3681 rs6000-tdep.c (add_text_to_loadinfo): No longer static.
3682
3683Fri Mar 5 05:22:46 1993 Jim Kingdon (kingdon@cygnus.com)
3684
3685 * xcoffsolib.h: Add objfile member to struct vmap.
3686 xcoff{exec,solib}.c: Use it, not lookup_objfile_bfd.
3687 xcoffexec.c (add_vmap): Allocate objfiles here.
3688
48a522d9
JG
3689Sun Mar 14 02:54:15 1993 John Gilmore (gnu@cygnus.com)
3690
01deac12
JG
3691 Support 68000 series without floating point.
3692
3693 * configure.in (m68000-*-{aout,elf,coff}): New configs.
48a522d9
JG
3694 * tm-68k-nofp.h: New file, lacks 68881 support.
3695 * config/m68k-nofp.mt: New file.
3696
84a05e52
JG
3697Sun Mar 14 02:30:08 1993 John Gilmore (gnu@cygnus.com)
3698
3699 Remove a few remaining underscore/no-underscore remnants from
3700 config files.
3701
3702 * config/{m68k-un.mt, sparc-un.mt}: Remove.
3703 * config/m68k-noun.mt: Rename to m68k-fp.mt.
3704 * config/sparc-noun.mt: Rename to sparc-em.mt.
3705 * tm-68k-noun.h, tm-spc-noun.h: Remove.
3706 * tm-68k-un.h: Rename to tm-68k-fp.h.
3707 * tm-spc-un.h: Rename to tm-spc-em.h.
3708 * tm-sun4sol2.h: Cleanup.
3709 * configure.in (m68k-*, sparc-* targets): Corresponding changes.
3710
961ee88e
JG
3711Sat Mar 13 14:58:22 1993 John Gilmore (gnu@cygnus.com)
3712
3713 * symmisc.c (std_in, std_out, std_err): Move initializations
3714 to runtime code, in case they aren't constant.
3715
a8172eea
RP
3716Fri Mar 12 16:23:54 1993 K. Richard Pixley (rich@cygnus.com)
3717
aa8f3210
RP
3718 * symtab.c (find_pc_symtab): some object file formats, notably
3719 mips, have holes in the address ranges of symtabs. Change
0a4a0f09 3720 this algorithm from first hit to tightest fit.
aa8f3210 3721
a8172eea
RP
3722 * mips-tdep.c (heuristic_proc_start): if we walk the pc into the
3723 fence post without finding the enclosing function, then print a
3724 warning.
3725
bd5d07d9
FF
3726Thu Mar 11 09:33:01 1993 Fred Fish (fnf@cygnus.com)
3727
5e81259d
FF
3728 * utils.c (fputs_demangled, fprint_symbol): Remove.
3729 * utils.c (fprintf_symbol_filtered): New function which combines
3730 the functionality of fputs_demangled and fprint_symbol. Uses a
3731 caller provided language parameter to select the appropriate
3732 demangler, and caller provided args to pass to the demangler.
bd5d07d9
FF
3733 * defs.h (enum language): Move further up in file so enum can
3734 be used in prototypes.
5e81259d
FF
3735 * defs.h (fputs_demangled, fprint_symbol): Remove prototypes.
3736 * defs.h (fprintf_symbol_filtered): Add prototype.
3737 * c-typeprint.c (cp_type_print_method_args): Replace calls to
3738 fputs_demangled with call to fprintf_symbol_filtered.
3739 * cp-valprint.c (demangle.h): Include
3740 * cp-valprint.c (cp_print_value_fields): Replace calls to
3741 fprint_symbol with calls to fprintf_symbol_filtered.
3742 * printcmd.c (print_frame_args): Replace call to fprint_symbol
3743 with call to fprintf_symbol_filtered.
bd5d07d9
FF
3744 * stack.c (print_frame_info): Remove obsolete code so we don't
3745 have to update fputs_demangled usage in it.
3746 * stack.c (print_frame_info, frame_info): Add language variable
5e81259d
FF
3747 to pass to fprintf_symbol_demangled and initialize it from the
3748 symbol's language. Replace calls to fputs_demangled with calls
3749 to fprintf_symbol_filtered.
3750 * symtab.c (find_methods): Replace call to fputs_demangled with
3751 call to fprintf_symbol_filtered.
5e81259d
FF
3752 * ch-valprint.c (demangle.h): Include.
3753 * ch-valprint.c (chill_print_value_fields): Replace call to
3754 fprint_symbol with call to new fprintf_symbol_filtered.
bd5d07d9 3755
f77ad505
FF
3756Wed Mar 10 17:37:11 1993 Fred Fish (fnf@cygnus.com)
3757
0b96ed06
FF
3758 * Makefile.in (VERSION): Bump version to 4.8.2.
3759
f77ad505
FF
3760 * main.c (source_command): Require an explicit pathname of file
3761 to source, since previous behavior of defaulting to gdb init file
3762 was troublesome and undocumented.
3763 * printcmd.c (disassemble_command): Add missing '{}' pair to
3764 else with two statements. Bug reported by Stephane Tsacas
3765 <slt@isoft.fr>.
3766 * symtab.c (find_pc_line): Don't complain about zero length or
3767 negative length line numbers for the moment, since we may not own
3768 the terminal when called, such as when single stepping. (FIXME)
3769 * language.h (CAST_IS_CONVERSION): True if current language is
3770 C++ as well as C. Fix from Peter Schauer.
3771 * environ.c (get_in_environ, set_in_environ, unset_in_environ):
3772 Use STREQN macro rather than bare '!strncmp()'.
3773 * environ.c (unset_in_environ): Avoid use of memcpy on
3774 overlapping memory regions, as suggested by Paul Eggert
3775 <eggert@twinsun.com>.
3776 * c-exp.y (%union struct): Remove unused ulval as suggested
3777 by Paul Eggert <eggert@twinsun.com>.
3778
3779Mon Mar 8 19:03:06 1993 Fred Fish (fnf@cygnus.com)
3780
3781 * main.c (gdbinit): Make static.
3782 * main.c (inhibit_gdbinit): Move to file scope.
3783 * main.c (main): Remove local inhibit_gdbinit.
3784 * main.c (source_command): Don't source '.gdbinit' file by
3785 default if gdb has been told to ignore it.
3786
aecc5459
ILT
3787Sun Mar 7 21:58:53 1993 Ian Lance Taylor (ian@cygnus.com)
3788
3789 * Makefile.in (MAKEOVERRIDES): Define to be empty for GNU Make
3790 3.63.
3791
19327ea5
JG
3792Fri Mar 5 17:39:45 1993 John Gilmore (gnu@cacophony.cygnus.com)
3793
aecc5459
ILT
3794 * printcmd.c (print_address_symbolic): Only print if offset
3795 is shorter than max_symbolic_offset.
3796 (initialize_printcmd): `set print max-symbolic-offset'.
3797
946f014b
JG
3798 * am29k-tdep.c (TAGWORD_ZERO_MASK): New #define.
3799 (examine_tag): Use it.
3800 (read_register_stack): Only look in the local registers for a
3801 memory address if it's between rfb and rsp; go to memory otherwise.
3802 (initialize_29k): Fix call_scratch_address doc. Remove reginv_com.
19327ea5
JG
3803 (reginv_com): Remove ancient kludge command.
3804
81029114
RP
3805Fri Mar 5 17:16:26 1993 K. Richard Pixley (rich@rtl.cygnus.com)
3806
24365af9
RP
3807 * tm-irix3.h (ZERO_REGNUM): copy this macro from tm-mips.h so that
3808 irix4 will again compile.
3809
5870d848
RP
3810 * tm-mips.h (GDB_TARGET_IS_MIPS): no longer used, now removed.
3811
81029114
RP
3812 * configure.in: accept mips-sgi-irix4* for irix4.
3813
3814Fri Mar 5 07:49:48 1993 Steve Chamberlain (sac@lisa.cygnus.com)
3815
3816 * z8k-tdep.c (print_register_hook): Lint.
3817
4966c17c
JG
3818Thu Mar 4 17:42:03 1993 John Gilmore (gnu@cygnus.com)
3819
3820 Lint fixes from Paul Eggert (eggert@twinsun.com):
3821
3822 * command.c (do_setshow_command): var_uintegers are unsigned.
3823 * sparc-tdep.c (save_insn_opcodes, restore_insn_opcodes):
3824 unsigned, since they use hex values with the high bit set.
3825
83386662
FF
3826Thu Mar 4 08:22:55 1993 Fred Fish (fnf@cygnus.com)
3827
2456bacb
FF
3828 Fixes submitted by Karl Berry (karl@nermal.hq.ileaf.com):
3829 * m88k-pinsn.c (sprint_address): Use SYMBOL_NAME macro to
3830 access symbol name.
e5bb7e61 3831 * m88k-nat-c (SXIP_OFFSET, SNIP_OFFSET, SFIP_OFFSET): Enclose
2456bacb 3832 macro definitions in parenthesis.
e5bb7e61 3833
83386662
FF
3834 * dbxread.c (dbx_symfile_init): Catch the case where there is
3835 no string table, but the only way we find out is by reading zero
3836 bytes from EOF.
3837
69a272c4
FF
3838Wed Mar 3 15:51:28 1993 Fred Fish (fnf@cygnus.com)
3839
3840 * dbxread.c (dbx_symfile_init): Make size of the string table
3841 size field a define (DBX_STRINGTAB_SIZE_SIZE). Ensure that the
3842 offset to the string table is nonzero and handle the nonexistant
3843 string table case, should it occur. Ensure that the string table
3844 size read from the file is reasonable, with a minimum lower bound
3845 of DBX_STRINGTAB_SIZE_SIZE instead of zero.
3846
b010e283
ILT
3847Wed Mar 3 07:23:03 1993 Ian Lance Taylor (ian@cygnus.com)
3848
3849 * Makefile.in: Changes to build testsuite correctly.
3850 (FLAGS_TO_PASS): Added CXX and CXXFLAGS.
3851 (CC_FOR_TARGET, CXX, CXX_FOR_TARGET): New variables.
3852 (TARGET_FLAGS_TO_PASS): New variable.
3853 (SUBDIRS): Added testsuite.
3854 (all): Build testsuite using TARGET_FLAGS_TO_PASS, so that
3855 testsuite is compiled with CC_FOR_TARGET rather than CC.
3856
45364c8a
FF
3857Tue Mar 2 17:57:56 1993 Fred Fish (fnf@cygnus.com)
3858
6985bc54
FF
3859 * dbxread.c (dbx_symfile_init): Fix for nonexistant string table,
3860 reported by mycroft@gnu.ai.mit.edu.
3861
3862 (Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)
3863 * configure.in (vax-*-ultrix2*): New triplet.
3864 * config/vaxult2.mh: New file.
3865 * xm-vaxult2.h: New file.
3866
45364c8a
FF
3867 * c-exp.y (parse_number): Change high_bit to unsigned.
3868 * demangle.c: Change all references to cfront to ARM, since the
3869 actual algorithm is the one specified in the Annotated Reference
3870 Manual. This was confusing users into thinking that full cfront
3871 support was implemented.
3872 * dwarfread.c (CFRONT_PRODUCER): Remove, was never really used.
3873 * eval.c (evaluate_subexp): For STRUCTOP_PTR pass the arg type
3874 directly to lookup_struct_elt_type, which will do the
3875 dereferencing itself.
3876 * gdbtypes.c (lookup_struct_elt_type): Expand comments. Fix
3877 NULL dereferencing bug for unnamed structs, comment out
3878 questionable code.
3879
fefe2ed9
JG
3880Mon Mar 1 17:54:41 1993 John Gilmore (gnu@cygnus.com)
3881
1d9449ab
JG
3882 * coffread.c (process_coff_symbol): Change PCC argument correction
3883 so that it only happens on big-endian targets; so that it only
3884 happens if the short or char argument is aligned on an int
3885 boundary; and so that it changes the location, rather than the
3886 type, of the argument. These changes tend to parallel similar
3887 (old) changes in stabsread.c.
3888
3889 * coffread.c (coff_read_enum_type): Use the specified size for
3890 enums, don't assume that they are int-sized.
3891
3892 * c-valprint.c (c_val_print): Don't assume enums are the same as
3893 ints.
3894
fefe2ed9
JG
3895 * coredep.c: Handle NO_PTRACE_H in coredep.c. Fix by Michael
3896 Rendell, <michael@mercury.cs.mun.ca>.
3897
58a66e24
FF
3898Mon Mar 1 09:25:57 1993 Fred Fish (fnf@cygnus.com)
3899
3900 * language.h (local_decimal_format_custom): Add prototype.
3901 * language.c (local_decimal_format_custom): Add function, bug
3902 reported by Robert R. Henry (rrh@tera.com).
3903
9116f7c7
JG
3904Fri Feb 26 18:33:18 1993 John Gilmore (gnu@cacophony.cygnus.com)
3905
3906 * xcoffexec.c (vmap_ldinfo): Fix "/" for '/' typo, reported
3907 by Josef Leherbauer, joe@takeFive.co.at.
3908
3909Wed Feb 24 19:17:11 1993 John Gilmore (gnu@cacophony.cygnus.com)
3910
3911 * symfile.c (syms_from_objfile), tm-29k.h, tm-3b1.h, tm-68k-un.h,
3912 tm-altos.h, tm-arm.h, tm-convex.h, tm-es1800.h, tm-h8300.h,
3913 tm-hp300bsd.h, tm-hp300hpux.h, tm-hppa.h, tm-i386bsd.h,
3914 tm-i386v.h, tm-i960.h, tm-irix3.h, tm-isi.h, tm-linux.h,
3915 tm-m88k.h, tm-merlin.h, tm-mips.h, tm-news.h, tm-np1.h, tm-pn.h,
3916 tm-pyr.h, tm-rs6000.h, tm-spc-un.h, tm-sun386.h, tm-sunos.h,
3917 tm-symmetry.h, tm-sysv4.h, tm-tahoe.h, tm-umax.h, tm-vax.h,
3918 tm-vx68.h, tm-z8k.h: Remove remnants of NAMES_HAVE_UNDERSCORE.
3919
8fbdca53
FF
3920Wed Feb 24 07:41:15 1993 Fred Fish (fnf@cygnus.com)
3921
f31e2e7a
FF
3922 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Initialize contents
3923 of demangled name fields to NULL if no demangling exists for
3924 a symbol. SYMBOL_INIT_LANGUAGE_SPECIFIC does this for new
3925 symbols if their language is known at the time they are created,
3926 but sometimes the language is not known until later.
3927
8fbdca53
FF
3928 * ch-typeprint.c (chill_print_type_base): Name changed to
3929 chill_type_print_base to match pattern for C and C++ names.
3930 * ch-typeprint.c (chill_print_type): Change "char" to "CHAR"
3931 to be consistent with other usages.
3932 * ch-typeprint.c (chill_type_print_base): Add support for
3933 printing Chill STRUCT types.
3934 * ch-valprint.c: Include values.h.
3935 * ch-valprint.c (chill_print_value_fields): New function and
3936 prototype for printing Chill STRUCT values.
3937 * ch-valprint.c (chill_val_print): Fix call to val_print_string
3938 that was being called with two args instead of three.
3939 * ch-valprint.c (chill_val_print): Call chill_print_value_fields
3940 to print Chill STRUCT values.
8fbdca53 3941
b12529c1
MW
3942Tue Feb 23 18:58:11 1993 Mike Werner (mtw@poseidon.cygnus.com)
3943
3944 * configure.in: added testsuite to configdirs.
3945
c2dc518b
MS
3946Tue Feb 23 11:46:11 1993 Mike Stump (mrs@cygnus.com)
3947
3948 * doc/stabs.texi: The `this' pointer is now known by the name
3949 `this' instead of `$t'.
3950
b6236d6e
FF
3951Tue Feb 23 11:21:33 1993 Fred Fish (fnf@cygnus.com)
3952
bb6e8fe6
FF
3953 * dwarfread.c (read_tag_string_type): Rewrite to allow forward
3954 references of TAG_string_type DIEs in user defined types.
b6236d6e
FF
3955 * ch-lang.c (chill_create_fundamental_type): Track compiler
3956 change that now emits debugging info with the type long for Chill
3957 longs.
b6236d6e 3958
c2a0f1cb
ILT
3959Mon Feb 22 15:21:54 1993 Ian Lance Taylor (ian@cygnus.com)
3960
3961 * remote-mips.c: New file; implements MIPS remote debugging
3962 protocol.
3963 * config/idt.mt: New file; uses remote-mips.c
3964 * configure.in (mips-idt-ecoff): New target; uses idt.mt.
3965
3966 * mips-tdep.c (mips_fpu): New variable; controls use of MIPS
3967 floating point coprocessor.
3968 (mips_push_dummy_frame): If not mips_fpu, don't save floating
3969 point registers.
3970 (mips_pop_frame): If not mips_fpu, don't restore floating point
3971 registers.
3972 (_initialize_mips_tdep): New function; let the user reset mips_fpu
3973 variable.
3974 * tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): If not
3975 mips_fpu, don't use fp0 as floating point return register.
3976 (FIX_CALL_DUMMY): If not mips_fpu, don't save floating point
3977 registers.
3978
bf3d2b75
MW
3979Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
3980
3981 * gdb/testsuite: made modifications to testcases, etc., to allow
3982 them to work properly given the reorganization of deja-gnu and the
3983 relocation of the testcases from deja-gnu to a "tool" subdirectory.
3984
19fa4a0a
MW
3985Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
3986
3987 * gdb/testsuite: Initial creation of gdb/testsuite.
3988 Migrated dejagnu testcases and support files for testing nm to
3989 gdb/testsuite from deja-gnu. These files were moved "as is"
3990 with no modifications. This migration is part of a major overhaul
3991 of dejagnu. The modifications to these testcases, etc., which
3992 will allow them to work with the new version of dejagnu will be
3993 made in a future update.
3994
cb46c402
JG
3995Fri Feb 19 18:36:55 1993 John Gilmore (gnu@cygnus.com)
3996
3997 * NEWS: Add reminders for next release.
3998
254dec35
ILT
3999Fri Feb 19 10:01:39 1993 Ian Lance Taylor (ian@cygnus.com)
4000
4001 * mipsread.c (parse_lines): Correct check for files compiled with
4002 -g1.
4003
dba02c60
JG
4004Fri Feb 19 05:56:15 1993 John Gilmore (gnu@cygnus.com)
4005
4006 * Makefile.in (VERSION): 4.8.1 to distinguish local versions.
4007
c7cb1025 4008Fri Feb 19 01:32:58 1993 John Gilmore (gnu@cygnus.com)
ead97959
JG
4009
4010 * Makefile.in (VERSION): GDB-4.8 release!
dba02c60 4011 * README, NEWS: Update for release.
ead97959 4012
b9163d1a
SG
4013Thu Feb 18 22:44:40 1993 Stu Grossman (grossman@cygnus.com)
4014
4015 * am29k-pinsn.c (print_insn): Minor nits with const.
4016 * am29k-tdep.c: More minor nits with arg types for
4017 supply_register, NULL vs. 0, read_register_gen, & reginv_com.
4018
5e3d0ab0
JG
4019Thu Feb 18 22:38:03 1993 John Gilmore (gnu@cygnus.com)
4020
4021 * gcc.patch: Update for a different GCC (G++) bug.
4022 * main.c (print_gdb_version): Update copyright year to 1993.
4023 * nm-hp300bsd.h: Decide whether this is BSD 4.3 or 4.4,
4024 conditionalize this file on it. FIXME, right way is to split
4025 these into two config files.
4026 (ATTACH_DETACH): Define for BSD 4.4
4027 (PTRACE_ARG_TYPE): caddr_t for BSD 4.4, unset for 4.3.
4028 (U_REGS_OFFSET): Revise for 4.4.
4029 (REGISTER_U_ADDR): Separate for 4.4, but it doesn't work yet.
4030 * xm-hp300bsd.h: Move definitions of UINT_MAX, INT_MAX, INT_MIN,
4031 LONG_MAX into this file to avoid cpp "redefinition" warnings.
4032
add04f8b
RP
4033Thu Feb 18 16:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4034
4035 * nm-hp300bsd.h (PTRACE_ARG3_TYPE): FSF's hp300's have int* not
4036 caddr_t.
4037
c5c00171
JG
4038Thu Feb 18 04:10:06 1993 John Gilmore (gnu@cygnus.com)
4039
961ccde6
JG
4040 * c-lang.c (c_printstr): Bugfix for length==0 case.
4041
c5c00171
JG
4042 * c-lang.c (c_printstr): If a C string ends in a null, don't
4043 print the null.
4044
eece984d
SG
4045Thu Feb 18 02:39:21 1993 Stu Grossman (grossman at cygnus.com)
4046
4047 * defs.h (STRCMP): Make it work for unsigned chars.
4048
ec4bf6a0
JG
4049Thu Feb 18 01:56:06 1993 John Gilmore (gnu@cygnus.com)
4050
4051 * nm-hp300bsd.h (ATTACH_DETACH, PTRACE_ATTACH, PTRACE_DETACH): define.
4052 * config/hp300bsd.mh (REGEX, REGEX1): Define.
4053 * m68k-pinsn.c (BREAK_UP_BIG_DECL, AND_OTHER_PART): #if __GNUC__,
4054 define to kludge the large opcode table into two smaller tables,
4055 since GCC take exponential space to build the table. Lint.
4056 (NOPCODES): Remove, use "numopcodes" from opcode/m68k.h instead.
4057
0ae975ea
JG
4058Wed Feb 17 19:24:40 1993 John Gilmore (gnu@cygnus.com)
4059
be220da1
JG
4060 * Makefile.in (VERSION): Roll to 4.7.9.
4061 * xm-hp300bsd.h: Define PSIGNAL_IN_SIGNAL_H and put a compatible
4062 definition here, to handle both BSD 4.3 and 4.4 systems.
5824e607
JG
4063 * mipsread.c (ZMAGIC): #undef to avoid duplicate define.
4064 * remote.c (alarm): Move declaration to global level, before
4065 first reference to it.
4066 * tm-i386bsd.h (NUM_REGS): There are only eleven, not twelve.
0ae975ea
JG
4067 * dbxread.c (process_one_symbol): Cast to unsigned char, not int.
4068
8631194d
RP
4069Wed Feb 17 13:40:29 1993 K. Richard Pixley (rich@cygnus.com)
4070
fce7f2d9
RP
4071 * remote.c (readchar): forward declare alarm which otherwise looks
4072 like an undeclared variable to gcc.
4073
040b9597
RP
4074 * dbxread.c (process_one_symbol): cast enum value N_SO into int
4075 when comparing against an int. Avoids superfluous warning from
4076 vax ultrix 4.2 cc.
4077
9549404e
RP
4078 * inflow.c (set_sigint_trap): add cast to assignment from signal.
4079 Avoids superfluous warnings from some systems and/or compilers
4080 (like vax ultrix 4.2.)
4081
8631194d
RP
4082 * language.c (struct op_print unk_op_print_tab): use the enum
4083 values rather naked zeros as initializers. Avoids warnings from
4084 ultrix type compilers.
4085
f4ed8840
JG
4086Tue Feb 16 00:53:20 1993 John Gilmore (gnu@cygnus.com)
4087
4088 * Makefile.in (VERSION): Roll to 4.7.6.
4089 (SFILES_SUBDIR): Add 29k-share/udi_soc.
4090 (SFILES_SUBSUBDIR): Move 29k-share/udi files to this macro.
62e859f0
JG
4091 (alldeps.mak): Make ALLDEPFILES_SUBSUBDIR for files in sub sub dirs.
4092 (ALLDEPFILES_SUBSUBDIR): Depend on this for deeper dep files.
f4ed8840
JG
4093 (HFILES): Remove all nm-* except nm-trash.h. Add ns32k-opcode.h.
4094 (depend): Fix bug where nm-files in config files weren't noticed.
4095 (make-proto-gdb-1): Avoid changing directories while building new
4096 prototype. Build SFILES_SUBSUBDIR with longer symlinks.
4097
7c622b41
JG
4098Mon Feb 15 20:48:09 1993 John Gilmore (gnu@cygnus.com)
4099
4100 * remote.c: Improve error recovery. Allow user to break out
4101 of initial connection attempt with INTERRUPT. Treat a timeout
4102 while waiting for remote packet like a retry, unless the remote
4103 side is actively running user code. Fix a few long printf_filtered's.
4104
4105 * xcoffread.c (read_xcoff_symtab): Don't use null symbol name for
4106 trampoline symbols.
4107
4108 * buildsym.c (start_subfile): Allow null file name.
4109
e9916390
RP
4110Fri Feb 12 15:46:49 1993 K. Richard Pixley (rich@cygnus.com)
4111
4112 * xcoffread.c (process_xcoff_symbol, read_symbol_lineno): complain
4113 expects a pointer to complaint rather than a complaint
4114 structure.
6d4ea3a5
RP
4115 (process_linenos): free the previously allocated subfile name,
4116 then allocate the new one from the heap.
e9916390 4117
256b4f37
SC
4118Fri Feb 12 08:06:05 1993 Steve Chamberlain (sac@thepub.cygnus.com)
4119
4120 * h8300-tdep.c, tm-h8300.h: turn off some experimental features
4121
e5eeaaf8
JG
4122Thu Feb 11 00:59:07 1993 John Gilmore (gnu@cygnus.com)
4123
256b4f37
SC
4124 * stabsread.c (dbx_lookup_type): Handle negative type numbers.
4125 Previously, would bogusly index off the bottom of type_vector.
4126 (rs6000_builtin_type): Accept type number as argument.
4127 (read_type, case '-'): Handle negatives like any other type number.
4128
4129 * symfile.c (deduce_language_from_filename): Handle null name.
4130
015605c5
JG
4131 * mips-tdep.c (isa_NAN): Fix byte order dependency.
4132 Reported by Nobuyuki Hikichi <hikichi@sra.co.jp>,
4133 fixed by sato@sm.sony.co.jp.
4134
e5eeaaf8
JG
4135 * xcoffread.c (parmsym): Don't use an initializer to set up
4136 this struct symbol. Set it up in initialize_xcoffread.
4137 (read_xcoff_symtab, xcoff_symfile_read): Surround code that only
4138 works on real rs/6000 target with #ifndef FAKING_RS6000.
4139
dd469789
JG
4140Wed Feb 10 23:42:37 1993 John Gilmore (gnu@cygnus.com)
4141
4142 * stabsread.c (rs6000_builtin_type): Move function from
4143 xcoffread.c:builtin_type.
4144 * xcoffread.c (builtin_type): Move to stabsread. Remove
4145 IBM6000_HOST dependency. Move misplaced comments.
4146 (various): Change printf's to complaints.
4147 (patch_block_stabs, process_xcoff_symbol case C_DECL): Add
4148 objfile argument to read_type calls under #if 0.
4149 (process_xcoff_symbol case C_RSYM): Fix typo in #ifdef.
4150 * xcoffexec.c (map_vmap): Don't allocate an objfile for the exec_file.
4151 * Makefile.in: xcoffread.o is not built by default.
364c1151 4152 * xm-rs6000.h (IBM6000_HOST): Remove.
dd469789
JG
4153 * config/rs6000.mh (NATDEPFILES): xcoffread.o is native only.
4154 * doc/gdbint.texinfo: Eliminate IBM6000_HOST, document
4155 IBM6000_TARGET.
4156
733a94e8
SG
4157Wed Feb 10 18:31:20 1993 Stu Grossman (grossman at cygnus.com)
4158
4159 * findvar.c (read_var_value): If REG_STRUCT_HAS_ADDR, then set
4160 VALUE_LVAL to be lval_memory so that we don't try to modify wild
4161 register numbers when user tries to modify elements in structs
4162 passed as arguments.
4163 * inflow.c (child_terminal_info): Move banner outside of system
4164 specific #ifdefs.
4165 * tm-hppa.h (REG_STRUCT_HAS_ADDR): Define this for HPPA, which
4166 passes struct/union arguments by address.
4167
4168Wed Feb 10 15:34:46 1993 Ian Lance Taylor (ian@cygnus.com)
4169
14b1f0d9 4170 * Based on patch from Kean Johnston <maw@netcom.com>:
733a94e8
SG
4171 * nm-i386sco4.h: New file. Like nm-i386sco.h, but define
4172 ATTACH_DETACH, PTRACE_ATTACH and PTRACE_DETACH.
4173 * config/i386sco4.mh (NAT_FILE): Use nm-i386sco4.h.
4174
79533adf
JG
4175Tue Feb 9 20:07:18 1993 John Gilmore (gnu@cygnus.com)
4176
4177 * remote-udi.c (FREEZE_MODE): Fix && for & typo. Found and
4178 fixed by Lynn D. Shumaker, shumaker@saifr00.cfsat.honeywell.com.
4179
2368ffb6
ILT
4180Tue Feb 9 08:18:07 1993 Ian Lance Taylor (ian@cygnus.com)
4181
4182 * config/i386sco4.mh (MUNCH_DEFINE): Pass -p to nm to avoid bug in
4183 cc debugging output.
4184
2a021f21
JG
4185Tue Feb 9 00:19:28 1993 John Gilmore (gnu@cygnus.com)
4186
4187 * stabsread.c (define_symbol): Complain about unrecognized names
4188 that begin with CPLUS_MARKER (often '$'), but don't die. Fix
4189 suggested by gb@cs.purdue.edu (Gerald Baumgartner).
4190 (read_cpp_abbrev): Don't use the class name as part of the
4191 vtable pointer member name (_vptr$) in $vf abbrevs or unrecognized
4192 abbrevs. Inspired by Mike Tiemann.
4193 (read_tilde_fields): Comment. Remove ancient dead code.
4194 Remove erroneous but non-dead code. Simplify. Add complaints.
4195 (in general): Remove extraneous (parentheses) in return
4196 statements.
4197
c653bc6d
JG
4198Fri Feb 5 14:01:22 1993 John Gilmore (gnu@cygnus.com)
4199
931bf12a
JG
4200 * coffread.c (coff_lookup_type): Fix fencepost error reported
4201 by Art Berggreen, <arg@opal.acc.com>.
4202
c653bc6d 4203 Fix long file name bug reported on SCO Open Desktop 2.0 by Ulf Lunde
931bf12a 4204 <Ulf.Lunde@kvatro.no> and Dag H. Wanvik <Dag.H.Wanvik@kvatro.no>:
c653bc6d
JG
4205
4206 * coffread.c (getfilename): Eliminate COFF_NO_LONG_FILE_NAMES
4207 test, which is apparently left over from when we used native
4208 include files and couldn't depend on the member names being there.
4209 * tm-3b1.h, tm-altos.h, tm-i386v.h: Don't set it.
4210
4211Thu Feb 4 12:23:15 1993 Ian Lance Taylor (ian@cygnus.com)
4212
4213 * mipsread.c: Major overhaul to use new BFD symbol table reading
4214 routines. Now swaps information as it is needed, rather than
4215 swapping everything when the file is read.
4216
b076f024
JG
4217Thu Feb 4 01:52:36 1993 John Gilmore (gnu@cygnus.com)
4218
4219 * Makefile.in (TARDIRS): Add sparclite demo dir.
4220 (*.tab.c): Change dependency on Makefile to depend on
4221 Makefile.in, otherwise it always rebuilds after configuring.
4222 Force output *.tab.c file into current directory even in "make"
4223 versions that rewrite dependent file names used in command lines.
4224
4225 * TODO: Remove some things we did.
4226 * am29k-opcode.h, convx-opcode: Remove; now in ../include/opcode.
4227 * os68k-xdep.c: Remove; useless file (os68k is a target only).
4228 * convex-pinsn.c: Use ../include/opcode/convex.h. Add CONST.
4229 * symtab.h: Eliminate unnamed unions and structs.
4230
ad89bdfd
JG
4231Wed Feb 3 14:48:08 1993 John Gilmore (gnu@cygnus.com)
4232
4233 * Makefile.in (VERSION): Roll to 4.7.5.
ad89bdfd 4234
ca5a72cd
JG
4235Tue Feb 2 20:47:42 1993 John Gilmore (gnu@cygnus.com)
4236
4237 * breakpoint.c (breakpoint_re_set_one): Handle watchpoints when
4238 re-evaluating symbol pointers.
4239
9da75ad3
FF
4240Tue Feb 2 16:10:31 1993 Fred Fish (fnf@cygnus.com)
4241
4242 * c-exp.y (lcurly, rcurly): New nonterminals.
4243 * c-exp.y (exp): Use lcurly and rcurly for arrays and UNOP_MEMVAL
4244 constructs.
4245 * parse.c (free_funcalls): Moved prototype from parser-defs.h,
4246 made function static.
4247 * parse.c (struct funcall): Moved struct def from parser-defs.h.
4248 * parse.c (funcall_chain): Moved from parser-defs.h, made static.
4249 * parse.c (start_arglist):
4250 * parser-defs.h (free_funcalls): Moved prototype to parse.c.
4251 * parser-defs.h (struct funcall): Moved struct def to parse.c.
4252 * parser-defs.h (funcall_chain): Moved to parse.c.
4253 * printcmd.c (print_frame_nameless_args): Fix prototype.
4254 * tm-mips.h (setup_arbitrary_frame): Fix prototype.
4255 * tm-sparc.h (setup_arbitrary_frame): Fix prototype.
4256 * valops.c (typecmp): Moved prototype from values.h.
4257 * value.h (typecmp): Moved prototype to valops.c, made static.
9da75ad3 4258 * ch-exp.y (yylex): Change way control sequences are disabled.
9da75ad3 4259
58bcc08c
JG
4260Tue Feb 2 16:11:43 1993 John Gilmore (gnu@cygnus.com)
4261
4262 * tm-mips.h, tm-sparc.h: Fix thinko in SETUP_ARBITRARY_FRAME.
4263
fee754c9
ILT
4264Tue Feb 2 15:30:33 1993 Ian Lance Taylor (ian@cygnus.com)
4265
4266 * mipsread.c (upgrade_type): Build array types correctly, using
4267 create_range_type and create_array_type.
4268
7dc15bb7
JG
4269Tue Feb 2 00:19:08 1993 John Gilmore (gnu@cygnus.com)
4270
58bcc08c
JG
4271 * remote-nindy.c: Cleanup.
4272
1b6a2087
JG
4273 * infrun.c (wait_for_inferior): When rolling back the PC after
4274 a breakpoint, call write_pc so that NPC gets rolled back as well
4275 (for the 29K).
4276
d122f257
JG
4277 * blockframe.c (inside_entry_file, inside_main_func,
4278 inside_entry_func): PC of zero is always "bottom of stack".
4279
7dc15bb7
JG
4280 * printcmd.c (print_frame_args, print_frame_nameless_args):
4281 Let print_frame_nameless_args decide whether there are any,
4282 laying groundwork for possibly later printing 29K args for
4283 functions where we have tag words but no symbols.
4284
2b21d8aa
RP
4285Mon Feb 1 18:09:58 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
4286
4287 * Makefile.in: fix GDB doc targets for new doc subdir structure
4288
07c2fa3e
JG
4289Mon Feb 1 17:56:47 1993 John Gilmore (gnu@cygnus.com)
4290
4291 * stack.c (parse_frame_specification): Parse as many arguments
4292 as there are (up to MAXARGS). Pass all of them in argc, argv
4293 format to SETUP_ARBITRARY_FRAME. Put the burden of checking how
4294 many there were, onto SETUP_ARBITRARY_FRAME.
4295 * tm-mips.h, tm-sparc.h: Corresponding changes.
4296 * mips-tdep.c, sparc-tdep.c: Ditto.
4297
6edd74ae
JG
4298Mon Feb 1 17:19:37 1993 John Gilmore (gnu@cygnus.com)
4299
4300 * hp300ux-nat.c: Update copyrights.
4301 * mipsread.c (parse_partial_symbols): Complain about block
4302 indexes that go backwards. Fix from Peter Schauer.
4303 * symfile.c (syms_from_objfile, symbol_file_add): Allow a
4304 symbol-file that has no linkage symbols to be read.
4305 * tm-rs6000.h, xm-rs6000.h: (SIGWINCH_HANDLER and friends): Move
4306 from tm- file to xm-file, since they're host dependent.
4307 * valarith.c (value_binop): Typo.
797bc12b 4308
6edd74ae 4309Mon Feb 1 16:16:59 1993 Stu Grossman (grossman at cygnus.com)
797bc12b
SG
4310
4311 * sparclite/aload.c: Add copyleft.
4312 * sparclite/crt0.s: Add comment at beginning.
4313
2431d063
SC
4314Mon Feb 1 14:36:11 1993 Steve Chamberlain (sac@thepub.cygnus.com)
4315
4316 * remote-z8k.c, z8k-tdep.c: support for the Z8001 and Z8002.
4317 * parse.c (std_regs): Only declare if NO_STD_REGS is defined.
4318
d112a0c6
MT
4319Sun Jan 31 04:32:48 1993 Michael Tiemann (tiemann@rtl.cygnus.com)
4320
7cb0f870
MT
4321 * values.c (value_headof): Fix typo in which VTBL and ARG were
4322 being confused for one another.
4323
a163ddec
MT
4324 * valops.c (typecmp): Now static.
4325
edf67bd1
MT
4326 * gdbtypes.c (fill_in_vptr_fieldno): Don't ignore the first
4327 baseclass--we don't always inherit its virtual function table
4328 pointer.
4329
271e5030
MT
4330 * eval.c (evaluate_subexp): In OP_FUNCALL case, adjust `this'
4331 pointer correctly in case value_struct_elt moves it around.
4332
4333 * valops.c (typecmp): Now static. Also, now groks references
4334 better.
4335
d112a0c6 4336 * gdbtypes.c (lookup_struct_elt_type): Pass NOERR instead of
271e5030 4337 zero on recursive call. If NAME is the name of TYPE, return TYPE.
d112a0c6 4338
3d9b9577
JG
4339Sat Jan 30 19:55:52 1993 John Gilmore (gnu@cygnus.com)
4340
ec68a93f
JG
4341 * hppah-nat.c: Eliminate <sys/user.h> and other unnecessary stuff,
4342 to avoid "too much defining" error from native C compiler (!).
4343
3d9b9577
JG
4344 * Makefile.in (HFILES): Add typeprint.h.
4345 * typeprint.[ch]: Update copyrights.
4346
926d7800
JG
4347Thu Jan 28 19:09:02 1993 John Gilmore (gnu@cygnus.com)
4348
bdec39b3
JG
4349 * Makefile.in: Update to match doc/ subdir changes.
4350
92063c3e 4351 * config/hp300hpux.mh: No cross-host file needed, just native.
71e60679
JG
4352 * config/go32.mh: Remove nonexistent "native" support.
4353
2a770cac
JG
4354 M88K fixes reported by Carl Greco, <cgreco@Creighton.Edu>:
4355 * tm-m88k.h (REGISTER_CONVERT_TO_RAW): Fix typo.
4356 * m88k-tdep.c (next_insn): Lint, cleanup.
4357 (store_parm_word): Lint.
4358
926d7800
JG
4359 * README: Fix typo (reported by karl@hq.ileaf.com).
4360
2fcc38b8
FF
4361Wed Jan 27 21:34:21 1993 Fred Fish (fnf@cygnus.com)
4362
4363 * expression.h (BINOP_CONCAT): Document use for self concatenation
4364 an integral number of times.
4365 * language.c (binop_type_check): Extend BINOP_CONCAT for self
4366 concatenation case.
4367 * valarith.c (value_concat): Rewrite to support self
4368 concatenation an integral number of times.
2fcc38b8
FF
4369 * Makefile.in (ch-exp.tab.c): Change "expect" message.
4370 * ch-exp.y (FIXME's): Make all FIXME tokens distinct, to
4371 eliminate hundreds of spurious shift/reduce and reduce/reduce
4372 conflicts that mask the 5 real ones.
4373 * ch-exp.y (STRING, CONSTANT, SC): Remove unused tokens.
4374 * ch-exp.y (integer_literal_expression): Remove production,
4375 no longer used.
2fcc38b8
FF
4376
4377Thu Jan 21 09:58:36 1993 Fred Fish (fnf@cygnus.com)
4378
4379 * eval.c (evaluate_subexp): Fix OP_ARRAY, remove code that
4380 implied that "no side effects" was nonfunctional.
4381 * eval.c (evaluate_subexp): Add BINOP_CONCAT case to deal with
4382 character string and bitstring concatenation.
4383 * expprint.c (dump_expression): Add case for BINOP_CONCAT.
4384 * expression.h (exp_opcode): Add BINOP_CONCAT.
4385 * gdbtypes.h (type_code): Add TYPE_CODE_BITSTRING.
4386 * language.c (string_type): Add function to determine if a type
4387 is a string type.
4388 * language.c (binop_type_check): Add case for BINOP_CONCAT.
4389 * valarith.c (value_concat): New function to concatenate two
4390 values, such as character strings or bitstrings.
4391 * valops.c (value_string): Remove error stub and implement
4392 function body.
4393 * value.h (value_concat): Add prototype.
2fcc38b8
FF
4394 * ch-exp.y (operand_3): Add actions for SLASH_SLASH (//).
4395 * ch-exp.y (yylex): Recognize SLASH_SLASH.
4396 * ch-lang.c (chill_op_print_tab): Add SLASH_SLASH (//) as
4397 BINOP_CONCAT.
2fcc38b8
FF
4398
4399Tue Jan 19 14:26:15 1993 Fred Fish (fnf@cygnus.com)
4400
4401 * c-exp.y (exp): Add production to support direct creation
4402 of array constants using the obvious syntax.
4403 * c-valprint.c (c_val_print): Set printed string length.
4404 * dwarfread.c (read_tag_string_type): New prototype and
4405 function that handles TAG_string_type DIEs.
4406 * dwarfread.c (process_dies): Add case for TAG_string_type
4407 that calls new read_tag_string_type function.
4408 * expprint.c (print_subexp): Add support for OP_ARRAY.
4409 * gdbtypes.c (create_range_type, create_array_type): Inherit
4410 objfile from the index type.
2fcc38b8
FF
4411 * ch-typeprint.c (chill_print_type): Add case for
4412 TYPE_CODE_STRING.
4413 * ch-valprint.c (chill_val_print): Fix case for
4414 TYPE_CODE_STRING.
2fcc38b8 4415
201c1243
ILT
4416Mon Jan 18 11:58:45 1993 Ian Lance Taylor (ian@cygnus.com)
4417
4418 * mipsread.c (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB,
4419 MIPS_UNMARK_STAB, STABS_SYMBOLS): Removed; now in
4420 include/coff/mips.h.
4421
c4413e2c
FF
4422Fri Jan 15 20:26:50 1993 Fred Fish (fnf@cygnus.com)
4423
4424 * c-exp.y (exp:STRING): Convert C strings into array-of-char
4425 constants with an explicit null byte terminator. OP_STRING is
4426 now used for real string types.
4427 * c-lang.c (builtin_type_*): Move declarations to lang.c since
4428 they are used by all languages.
4429 * c-lang.c (_initialize_c_language): Move initializations of
4430 builtin_type_* to lang.c.
4431 * c-typeprint.c (c_type_print_varspec_prefix,
4432 c_type_print_varspec_suffix): TYPE_CODE_PASCAL_ARRAY renamed
4433 to TYPE_CODE_STRING.
4434 * c-valprint.c (c_val_print): Change the way character arrays
4435 are printed as strings to be consistent with the way strings
4436 are printed when pointer-to-char types are dereferenced.
4437 Remove test of print_max before calling val_print_string, which
4438 now does it's own test.
4439 * eval.c (evaluate_subexp): Add case for OP_ARRAY.
4440 * expprint.c (print_subexp, dump_expression): Add case for OP_ARRAY.
4441 * expression.h (enum exp_opcode): Add OP_ARRAY and document.
4442 * gdbtypes.c (builtin_type_*): Add declarations moved from
4443 c-lang.c.
4444 * gdbtypes.c (create_string_type): New function to create real
4445 string types.
4446 * gdbtypes.c (recursive_dump_type): TYPE_CODE_PASCAL_ARRAY
4447 renamed to TYPE_CODE_STRING.
4448 * gdbtypes.c (_initialize_gdbtypes): Add initializations of
4449 builtin_type_* types moved from c-lang.c.
4450 * gdbtypes.h (enum type_code): TYPE_CODE_PASCAL_ARRAY renamed
4451 to TYPE_CODE_STRING.
4452 * gdbtypes.h (builtin_type_string): Add extern declaration.
4453 * gdbtypes.h (create_string_type): Add prototype.
4454 * m2-lang.c (m2_create_fundamental_type): TYPE_CODE_PASCAL_ARRAY
4455 renamed to TYPE_CODE_STRING.
4456 * m88k-tdep.c (pushed_size): TYPE_CODE_PASCAL_ARRAY renamed to
4457 TYPE_CODE_STRING.
4458 * mipsread.c (_initialize_mipsread): TYPE_CODE_PASCAL_ARRAY
4459 renamed to TYPE_CODE_STRING.
4460 * parse.c (length_of_subexp, prefixify_subexp): Add case for
4461 OP_ARRAY.
4462 * printcmd.c (print_formatted): Recognize TYPE_CODE_STRING.
4463 * typeprint.c (print_type_scalar): TYPE_CODE_PASCAL_ARRAY renamed
4464 to TYPE_CODE_STRING.
4465 * valops.c (allocate_space_in_inferior): New function and
4466 prototype, using code ripped out of value_string.
4467 * valops.c (value_string): Rewritten to use new function
4468 allocate_space_in_inferior, but temporarily disabled until some
4469 other support is in place.
4470 * valops.c (value_array): New function to create array constants.
4471 * valprint.c (val_print_string): Add comment to document use,
4472 complete rewrite to fix several small buglets.
4473 * value.h (value_array): Add prototype.
4474 * value.h (val_print_string): Change prototype to match rewrite.
c4413e2c
FF
4475 * ch-valprint.c (chill_val_print): Add case for TYPE_CODE_STRING.
4476 * ch-exp.y (match_character_literal): Disable recognition of
4477 control sequence form of character literals and document why.
c4413e2c 4478
6d1e8f54
SG
4479Thu Jan 14 15:48:12 1993 Stu Grossman (grossman at cygnus.com)
4480
4481 * nindy-share/nindy.c: Add comments to #endif's to clarify
4482 grouping.
4483
4484 * hppa-pinsn.c (print_insn): Use read_memory_integer, instead of
4485 read_memory to get byte order right.
4486 * hppah-tdep.c (find_unwind_info): Don't read in unwind info
4487 anymore. This is done in paread.c now. We expect unwind info
4488 to hang off of objfiles, and search all of the objfiles when until
4489 we find a match.
4490 * (skip_trampoline_code): Cast arg to target_read_memory.
4491 * objfiles.h (struct objfile): Add new field obj_private to hold
4492 per object file private data (unwind info in this case).
4493 * paread.c (read_unwind_info): New routine to read unwind info
4494 for the objfile. This data is hung off of obj_private.
4495 * tm-hppa.h: Define struct obj_unwind_info, to hold pointers to
4496 the unwind info for this objfile. Also define OBJ_UNWIND_INFO to
4497 make this easier to access.
4498
c7da3ed3
FF
4499Wed Jan 13 20:49:59 1993 Fred Fish (fnf@cygnus.com)
4500
4501 * c-valprint.c (cp_print_class_member): Add extern decl.
4502 * c-valprint.c (c_val_print): Extract code for printing methods
4503 and move it to cp_print_class_method in cp-valprint.c.
4504 * c-valprint.c (c_val_print): Extract code to print strings and
4505 move it to val_print_string in valprint.c.
4506 * cp-valprint.c (cp_print_class_method): New function using
4507 code extracted from c_val_print.
4508 * valprint.c (val_print_string): New function using code
4509 extracted from c_val_print.
4510 * value.h (val_print_string): Add prototype.
c7da3ed3
FF
4511 * ch-exp.y (CHARACTER_STRING_LITERAL): Set correct token type.
4512 * ch-exp.y (literal): Add action for CHARACTER_STRING_LITERAL.
4513 * ch-exp.y (tempbuf, tempbufsize, tempbufindex, GROWBY_MIN_SIZE,
4514 CHECKBUF, growbuf_by_size): New variables, macros, and support
4515 functions for implementing a dynamically expandable temp buffer.
4516 * ch-exp.y (match_string_literal): New lexer function.
4517 * ch-exp.y (match_bitstring_literal): Dynamic buffer code
4518 removed and replaced with new CHECKBUF macro.
4519 * ch-exp.y (yylex): Call match_string_literal when appropriate.
4520 * ch-valprint.c (ch_val_print): Add code for TYPE_CODE_PTR.
c7da3ed3 4521
0213d96f
SG
4522Sat Jan 9 19:59:33 1993 Stu Grossman (grossman at cygnus.com)
4523
78205fb6
SG
4524 * Makefile.in: Add info for paread.o.
4525 * config/hppahpux.mh: Add paread.o to NATDEPFILES.
4526
0213d96f
SG
4527 * blockframe.c (frameless_look_for_prologue): Correct the
4528 comment.
4529 * gdbtypes.h, gdbtypes.c: Use const in decl of
4530 cplus_struct_default, now that pa-gas assembler has been fixed.
4531 * hppah-nat.c: Formatting.
4532 * hppah-tdep.c: Remove lots of useless externs for variables we
4533 don't use.
4534 * (find_unwind_entry): Speed up by using binary search, and a one
4535 entry cache.
4536 * (rp_saved): New routine to see what unwind info says about RP
4537 being saved on the stack frame.
4538 * (frame_saved_pc): Look for prologue to see if we need to
4539 examine the stack for the saved RP or not.
4540 * (init_extra_frame_info): Check for prologue, instead of
4541 framesize to determine if we are frameless or not.
4542 * (frame_chain_valid): Stop backtraces when we run into _start.
4543 * (push_dummy_frame): Reformat to make more readable.
4544 * (find_dummy_frame_regs): ditto.
4545 * (hp_pop_frame): ditto.
4546 * (hp_restore_pc_queue): small cleanup.
4547 * (hp_push_arguments): ditto.
4548 * (pa_do_registers_info): ditto.
4549 * (skip_prologue): New routine created from SKIP_PROLOGUE macro.
4550 * tm-hppa.h: Move contents of SKIP_PROLOGUE into hppah-tdep.c.
4551 * Define FRAME_CHAIN_VALID.
4552 * Turn on BELIEVE_PCC_PROMOTION so that we can access char args
4553 passed to functions.
4554
4555 * paread.c (pa_symtab_read): Use new bfd conventions for
4556 accessing linker symbol table.
4557 * (pa_symfile_init): Access embedded STAB info via BFD section
4558 mechanism and related macros.
4559
4560
bfc55a5d
SG
4561Sat Jan 9 19:31:43 1993 Stu Grossman (grossman at cygnus.com)
4562
4563 * sparc-stub.c: Use a seperate stack for our traps.
4564 * Handle recursive traps.
4565 * Remove all trap init code. This needs to be done by the
4566 environment.
4567 * (set_mem_fault_trap): Call exceptionHandler() to setup this
4568 trap.
4569 * (handle_exception): See if we are at breakinst, if so, then
4570 advance PC sp that users can just step out of breakpoint().
4571 * (case 'G'): Don't let GDB hack CWP. Also, copy saved regs to
4572 new place if SP has changed.
4573 * (case 's'): Get rid of this, we can't do it yet.
4574 * (case 't'): New command to test any old random feature.
4575 * (case 'r'): New command to reset the system.
4576 * (breakpoint): Add label to breakpoint trap instruction so that
4577 handle_exception() can detect where we are and get past the
4578 breakpoint trivially.
4579
f92743ae
ILT
4580Thu Jan 7 13:33:06 1993 Ian Lance Taylor (ian@cygnus.com)
4581
4582 * mips-pinsn.c: Actual work now done by opcodes/mips-dis.c.
4583
bfc55a5d
SG
4584Thu Jan 7 09:21:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
4585
4586 * configure.in: recognise all sparclite variants
4587
f92743ae
ILT
4588Wed Jan 6 10:14:51 1993 Steve Chamberlain (sac@thepub.cygnus.com)
4589
4590 * symfile.c: If O_BINARY isn't defined, set it to 0, call openp for
4591 binary files oring in the right bit.
4592
4593 * main.c, source.c, state.c, symmisc.c: use macros defined in
4594 fopen-{bin|both} when fopening files.
4595
81028ab0
FF
4596Wed Jan 6 08:19:11 1993 Fred Fish (fnf@cygnus.com)
4597
4598 * defs.h (HOST_CHAR_BIT): New macro, defaults to either CHAR_BIT
4599 from a configuration file (typically including <limits.h>), or to
4600 TARGET_CHAR_BIT if CHAR_BIT is not defined.
4601 * eval.c (evaluate_subexp): Use new BYTES_TO_EXP_ELEM macro.
4602 * eval.c (evaluate_subexp): Add case for OP_BITSTRING.
4603 * expprint.c (print_subexp): Use new BYTES_TO_EXP_ELEM macro.
4604 * exppritn.c (print_subexp, dump_expression): Add case for
4605 OP_BITSTRING.
4606 * expression.h (OP_BITSTRING): New expression element type for
4607 packed bitstrings.
4608 * expression.h (EXP_ELEM_TO_BYTES, BYTES_TO_EXP_ELEM): New
4609 macros to convert between number of expression elements and bytes
4610 to store that many elements.
4611 * i960-tdep.c (leafproc_return): Use new macros to access
4612 minimal symbol name and address fields.
4613 * m88k-pinsn.c (sprint_address): Use new macros to access
4614 minimal symbol name and address fields.
4615 * nindy-tdep.c (nindy_frame_chain_valid): Use new macro to access
4616 minimal symbol address field.
4617 * parse.c (write_exp_elt, write_exp_string, prefixify_expression,
4618 parse_exp_1): Use new EXP_ELEM_TO_BYTES macro.
4619 * parse.c (write_exp_string, length_of_subexp, prefixify_expression):
4620 Use new BYTES_TO_EXP_ELEM macro.
4621 * parse.c (write_exp_bitstring): New function to write packed
4622 bitstrings into the expression element vector.
4623 * parse.c (length_of_subexp, prefixify_subexp): Add case for
4624 OP_BITSTRING.
4625 * parser-defs.h (struct stoken): Document that it is used for
4626 OP_BITSTRING as well as OP_STRING.
4627 * parser-defs.h (write_exp_bitstring): Add prototype.
81028ab0
FF
4628 * ch-exp.y (BIT_STRING_LITERAL): Change token type to sval.
4629 * ch-exp.y (NUM, PRED, SUCC, ABS, CARD, MAX, MIN, SIZE, UPPER,
4630 LOWER, LENGTH): New tokens for keywords.
4631 * ch-exp.y (chill_value_built_in_routine_call, mode_argument,
4632 upper_lower_argument, length_argument, array_mode_name,
4633 string_mode_name, variant_structure_mode_name): New non-terminals
4634 and productions.
4635 * ch-exp.y (literal): Useful production for BIT_STRING_LITERAL.
4636 * ch-exp.y (match_bitstring_literal): New lexer support function
4637 to recognize bitstring literals.
4638 * ch-exp.y (tokentab6): New token table for 6 character keywords.
4639 * ch-exp.y (tokentab5): Add LOWER, UPPER.
4640 * ch-exp.y (tokentab4): Add PRED, SUCC, CARD, SIZE.
4641 * ch-exp.y (tokentab3): Add NUM, ABS, MIN, MAX.
4642 * ch-exp.y (yylex): Check tokentab6.
4643 * ch-exp.y (yylex): Call match_bitstring_literal.
81028ab0 4644
76a0ffb4
FF
4645Mon Jan 4 16:54:18 1993 Fred Fish (fnf@cygnus.com)
4646
2eda1cdf
FF
4647 * xcoffexec.c (vmap_symtab): Use new macros to access minimal
4648 symbol name and value fields.
4649
533d1dc7
FF
4650 * c-exp.y (yylex): Make static, to match prototype and other
4651 <lang>-exp.y files.
4652
76a0ffb4
FF
4653 * expression.h (exp_opcode): Add BINOP_MOD.
4654 * eval.c (evaluate_subexp): Handle new BINOP_MOD.
4655 * expprint.c (dump_expression): Handle new BINOP_MOD.
4656 * language.c (binop_type_check): Handle new BINOP_MOD.
4657 * main.c (float_handler): Re-enable float handler when hit.
4658 * valarith.c (language.h): Include, need current_language.
4659 * valarith.c (TRUNCATION_TOWARDS_ZERO): Define default macro
4660 for integer divide truncates towards zero for negative results.
4661 * valarith.c (value_x_binop): Handle BINOP_MOD if seen.
4662 * valarith.c (value_binop): Allow arithmetic operations on
4663 TYPE_CODE_CHAR variables. Add case to handle new BINOP_MOD.
76a0ffb4
FF
4664 * ch-exp.y (operand_4): Add useful actions for MOD and REM.
4665 * ch-exp.y (tokentab3): Add MOD and REM.
4666 * ch-exp.y (yylex): Set innermost_block for symbols found
4667 in local scopes. Return LOCATION_NAME for local symbols.
4668 * ch-lang.c (chill_op_print_tab): Fix MOD entry to use
4669 BINOP_MOD instead of BINOP_REM. Add REM entry, using BINOP_REM.
76a0ffb4 4670
f92743ae
ILT
4671Mon Jan 4 07:35:31 1993 Steve Chamberlain (sac@wahini.cygnus.com)
4672
4673 * command.c (shell_escape, make_command, _initialize_command):
4674 don't create or use fork if CANT_FORK is defined.
4675 * serial.h, ser-go32.c: now compiles, but "the obvious problems of
4676 code written for the IBM PC" remain.
4677 * xm-go32.h: define CANT_FORK
4678
ec25d19b
SC
4679Sun Jan 3 14:24:56 1993 Steve Chamberlain (sac@thepub.cygnus.com)
4680
4681 * remote-sim.c: first attempt at general simulator interface
4682 * remote-hms.c: whitespace
4683 * h8300-tdep.c: (h8300_skip_prologue, examine_prologue):
4684 understand new stack layout. (print_register_hook): print ccr
4685 register in a fancy way.
4686
fb6e675f
FF
4687Sun Jan 3 14:16:10 1993 Fred Fish (fnf@cygnus.com)
4688
4689 * eval.c (language.h): Include.
4690 * eval.c (evaluate_subexp_with_coercion): Only coerce arrays
4691 to pointer types when the current language is C. It loses for
4692 other languages when the lower index bound is nonzero.
4693 * valarith.c (value_subscript): Take array lower bounds into
4694 account when performing subscripting operations.
4695 * valops.c (value_coerce_array): Add comment describing why
4696 arrays with nonzero lower bounds are dealt with in value_subscript,
4697 rather than in value_coerce_array.
4698
54bbbfb4
FF
4699Sat Jan 2 12:16:41 1993 Fred Fish (fnf@cygnus.com)
4700
1188fbbf
FF
4701 * ch-exp.y (FLOAT_LITERAL): Add token.
4702 * ch-exp.y (literal): Add FLOAT_LITERAL.
4703 * ch-exp.y (match_float_literal): New lexer routine.
4704 * ch-exp.y (convert_float): Remove.
4705 * ch-exp.y (yylex): Call match_float_literal.
4706 * ch-exp.y (yylex): Match single '.' after trying
4707 to match floating point literals.
1188fbbf 4708
54bbbfb4
FF
4709 * eval.c (evaluate_subexp): Add case MULTI_SUBSCRIPT.
4710 * expprint.c (print_subexp): Rename BINOP_MULTI_SUBSCRIPT to
4711 MULTI_SUBSCRIPT.
4712 * expprint.c (dump_expression): New function for dumping
4713 expression vectors during gdb debugging.
4714 * expression.h (BINOP_MULTI_SUBSCRIPT): Name changed to
4715 MULTI_SUBSCRIPT and moved out of BINOP range.
4716 * expression.h (DUMP_EXPRESSION): New macro that calls
4717 dump_expression if DEBUG_EXPRESSIONS is defined.
4718 * m2-exp.y (BINOP_MULTI_SUBSCRIPT): Changed to MULTI_SUBSCRIPT.
4719 * parse.c (length_of_subexp, prefixify_subexp): Change
4720 BINOP_MULTI_SUBSCRIPT to MULTI_SUBSCRIPT.
4721 * parse.c (parse_exp_1): Call DUMP_EXPRESSION before and after
4722 prefixify'ing the expression.
4723 * printcmd.c (print_command_1): Add comment.
54bbbfb4
FF
4724 * ch-exp.y (expression_list): Add useful actions.
4725 * ch-exp.y (value_array_element): Add useful actions.
4726 * ch-exp.y (array_primitive_value): Add production.
4727 * ch-exp.y (yylex): Recognize ',' as a token.
54bbbfb4 4728
ea81b10d
DZ
4729Fri Jan 1 18:22:02 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
4730
4731 * Makefile.in: pass prefix and exec_prefix via FLAGS_TO_PASS,
4732 POSIXize the recursive makes (make [variable assignments] target{s})
4733
7532cf10
FF
4734Fri Jan 1 11:56:23 1993 Fred Fish (fnf@cygnus.com)
4735
4736 * tm-sun4sol2.h (CPLUS_MARKER): Remove, now set in tm-sysv4.h.
4737 * tm-sysv4.h (CPLUS_MARKER): By default, g++ uses '.' as the
4738 CPLUS_MARKER for all SVR4 systems, so follow suit.
4739 * defs.h (strdup_demangled): Remove prototype.
4740 * dwarfread.c (enum_type, synthesize_typedef): Use new macro
4741 SYMBOL_INIT_LANGUAGE_SPECIFIC.
4742 * dwarfread.c (new_symbol): Use SYMBOL_INIT_DEMANGLED_NAME.
4743 * minsyms.c (install_minimal_symbols, prim_record_minimal_symbol,
4744 prim_record_minimal_symbol_and_info): Use new macro
4745 SYMBOL_INIT_LANGUAGE_SPECIFIC.
4746 * minsyms.c (install_minimal_symbols): Use new macro
4747 SYMBOL_INIT_DEMANGLED_NAME.
4748 * stabsread.c (define_symbol): Use new macro
4749 SYMBOL_INIT_DEMANGLED_NAME.
4750 * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
4751 Use new macro SYMBOL_INIT_DEMANGLED_NAME.
4752 * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Use new macro
4753 SYMBOL_INIT_DEMANGLED_NAME.
4754 * symmisc.c (dump_msymbols, dump_symtab, print_partial_symbol):
4755 SYMBOL_DEMANGLED_NAME now tests language itself.
4756 * symtab.c (COMPLETION_LIST_ADD_SYMBOL): SYMBOL_DEMANGLED_NAME
4757 now tests language itself.
4758 * symtab.h (SYMBOL_CPLUS_DEMANGLED_NAME): New macro that does
4759 what SYMBOL_DEMANGLED_NAME used to do, directly access the C++
4760 mangled name member in the language dependent portion of a symbol.
4761 * symtab.h (SYMBOL_DEMANGLED_NAME): New macro that returns the
4762 mangled name member appropriate for a symbol's language.
4763 * symtab.h (SYMBOL_SOURCE_NAME, SYMBOL_LINKAGE_NAME,
4764 SYMBOL_MATCHES_NAME, SYMBOL_MATCHES_REGEXP):
4765 SYMBOL_DEMANGLED_NAME now tests language itself.
4766 * symtab.h (SYMBOL_INIT_LANGUAGE_SPECIFIC): New macro that
4767 initializes language dependent portion of symbol.
4768 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): New macro that
4769 demangles and caches the demangled form of symbol names.
4770 * utils.c (fputs_demangled, fprint_symbol): Use current language
4771 to select an appropriate demangling algorithm.
4772 * utils.c (strdup_demangled): Remove, no longer used.
7532cf10
FF
4773 * symtab.h (SYMBOL_CHILL_DEMANGLED_NAME): New macro that directly
4774 access the Chill mangled name member in the language dependent
4775 portion of a symbol.
4776 * ch-lang.c (chill_demangle): New function, simple demangler.
4777 * defs.h (chill_demangle): Add prototype.
4778 * symtab.h (language_dependent_info): Add struct for Chill.
7532cf10 4779
6e50aeb4 4780For older changes see ChangeLog-92
bd5635a1
RP
4781\f
4782Local Variables:
4783mode: indented-text
4784left-margin: 8
4785fill-column: 74
4786version-control: never
4787End:
This page took 0.407584 seconds and 4 git commands to generate.