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