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