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