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