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