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