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