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