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