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