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