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