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