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