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