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