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