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