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