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