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