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