1 Mon Jul 26 17:31:49 1993 K. Richard Pixley (rich@rtl.cygnus.com)
3 * config/m88k/m88k.mt (TDEPFILES): add exec.o.
5 Mon Jul 26 13:17:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7 * hppa-tdep.c: Remove all uses of use_unwind and `set use_unwind'
8 command. Now we use unwind info by default if we can find it.
10 * config/sparc: Move VARIABLES_INSIDE_BLOCK and SUN_FIXED_LBRAC_BUG
11 to tm-sparc.h so they are shared between Solaris and SunOS4.
12 * dbxread.c (process_one_symbol): Deal with SunOS4 acc N_STSYM and
15 * config/pa/tm-hppa.h (REGISTER_NAMES): Use "fr" rather than "fp"
16 for floating point registers.
18 * mipsread.c (parse_symbol): Put stStaticProc symbols in minimal
19 symbols as mst_file_text.
21 * hppa-tdep.c (pc_in_linker_stub): Return 0 if can't read memory.
23 * stabsread.c (rs6000_builtin_type): Make logical types be
26 Sun Jul 25 23:41:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28 * breakpoint.{c,h} (struct breakpoint): Replace symtab field with
31 Fri Jul 23 09:57:25 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
33 * remote.c: Don't error() on errors xferring memory.
34 * target.h: Clean up comments about *xfer_memory.
36 * exec.c, corelow.c (target_ops struct): Don't allow
37 {insert,remove}_breakpoints to be defaulted to
38 memory_{insert_remove}_breakpoint.
40 * demangle.c: Make it so `help set dem' tells you how to get the
41 list of demangling styles.
43 Thu Jul 22 15:41:09 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
45 * Makefile.in: Use REMOTE_O macro not remote.o.
46 * config/i960/{nindy960,vxworks960}: Don't use remote.o.
48 Thu Jul 22 12:43:25 1993 Ian Lance Taylor (ian@cygnus.com)
50 * coredep.c: If NEED_SYS_CORE_H defined, include <sys/core.h>
51 (can't include it in nm-*.h file because it causes conflicts with
52 a.out symbol definitions).
53 * hp300ux-nat.c (fetch_core_registers): Commented out; obsolete.
54 * config/m68k/hp300hpux.mh (NATDEPFILES): Added coredep.o and
56 * config/m68k/nm-hp300hpux.h (NEED_SYS_CORE_H): Defined.
57 (REGISTER_U_ADDR): Defined.
58 * config/m68k/xm-hp300hpux.h (HAVE_TERMIOS): Define instead of
60 * config/pa/xm-hppah.h: Likewise.
62 Wed Jul 21 11:37:30 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
64 * mipsread.c (parse_symbol): when stTypedef and friends occur within
65 an stBlock, skip over the fields of the inner one.
67 * mips-tdep.c (init_extra_frame_info): If in lenient prologue, call
68 heuristic_proc_desc rather than just assuming registers not saved.
70 * Makefile.in (regex.o): Add dependency.
72 * hppa{b,h}-nat.c: Warning, not error, if can't access registers.
74 * config/pa/hppa{b,h}.h: Define ATTACH_DETACH.
76 Wed Jul 21 03:07:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
78 * config/mips/xm-makeva.h: New file implements va_list alignment
79 restrictions for mips hosts.
80 * config/mips/{xm-irix3.h, xm-mips.h, xm-news-mips.h, xm-riscos.h}:
83 Wed Jul 21 00:11:05 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
85 * mips-tdep.c (init_extra_frame_info): Do not check for
86 mips_in_lenient_prologue if it is a dummy frame.
87 * mipsread.c (fixup_sigtramp): Initialize pdr.adr, it is used by
88 mips_in_lenient_prologue.
90 Tue Jul 20 12:53:47 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
92 * mips-tdep.c (heuristic_proc_start): First time we print the
94 (_initialize_mips_tdep): Improve docstring for `set heur'.
96 * config/rs6000/tm-rs6000.h: Remove call to insert_step_breakpoint.
98 * symtab.c (find_line_symtab): New function, to deal with multiple
99 symtabs with the same name.
100 (find_line_pc{,_range}): Use it.
101 (find_pc_symtab): Add comment about overlapping symtabs.
103 Mon Jul 19 21:29:14 1993 Fred Fish (fnf@deneb.cygnus.com)
105 * Makefile.in (SFILES): Add nlmread.c.
106 * Makefile.in (OBS): Add nlmread.o.
107 * Makefile.in (nlmread.o): Add new target.
108 * configure.in (i[34]86-*-netware): New configuration.
109 * nlmread.c, config/i386/{i386nw.mt, tm-i386nw.h}: New files
110 for NLM/NetWare support.
112 Mon Jul 19 11:48:57 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
114 * symtab.h (enum minimal_symbol_type): Add mst_file_*.
115 * partial-stab.h [DBXREAD_ONLY]: Record statics in miminal symbols.
116 * dbxread.c (record_minimal_symbol): Deal with statics.
117 * minsyms.c (lookup_minimal_symbol): Prefer externals to statics.
119 * config/i386/xm-i386sco.h: Define HAVE_TERMIOS.
121 * printcmd.c, config/pa/xm-pa.h, config/alpha/xm-alpha.h: Make it so
122 arg_bytes field of makeva_list is always aligned.
123 * config/pa/xm-pa.h: Make arglist_address a char *.
125 * ser-unix.c: Don't try to use job control with termio.
127 Sun Jul 18 23:11:28 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
128 and Jim Kingdon (kingdon@cygnus.com)
130 Make breakpoint_re_set_one work with overloaded member functions,
131 `b 123' and `b foo' if foo is a static function.
132 * symtab.c (decode_line_1, decode_line_2): New argument `canonical'
133 to return canonical line specs if requested by the caller.
134 * breakpoint.c, source.c, symtab.c, symtab.h: Change prototypes and
136 * symtab.c (build_canonical_line_spec): New helper function which
137 constructs the canonical line spec.
138 * breakpoint.c (break_command_1): Use canonical line spec instead
139 of command string as addr_string if necessary.
140 * source.c (line_info): Fix storage leak.
142 Sun Jul 18 15:22:45 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
144 * infptrace.c: Split out define of PT_KILL; Sequent defines PT_KILL
146 * symm-tdep.c: Remove exec_file_command.
147 [_SEQUENT_] (ptx_coff_regno_to_gdb, register_addr): New functions.
148 A few miscellaneous cleanups.
149 * symm-nat.c: Renamed from symm-xdep.c.
150 * All symmetry dependent files: Many changes.
152 * mips-tdep.c (mips_skip_prologue): New argument lenient.
153 Use read_memory_nobpt.
154 (is_delayed, mips_in_lenient_prologue): New functions.
155 (init_extra_frame_info): If in the prologue, don't use saved registers.
156 * config/mips/tm-mips.h: Declare mips_skip_prologue.
158 * partial-stab.h (N_SO): Add the text offset to valu before, not after,
159 passing it to END_PSYMTAB.
161 Fri Jul 16 18:48:52 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
163 * symtab.c (find_pc_symtab): Call warning, not printf directly.
165 * solib.c (solib_add): Use x{re,m}alloc, not {re,m}alloc.
167 Fri Jul 16 09:56:42 1993 Ian Lance Taylor (ian@cygnus.com)
169 * mipsread.c: No longer need to undefine ZMAGIC.
171 Thu Jul 15 18:03:37 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
173 * m88k-pinsn.c: Moved code into opcodes/m88k-dis.c.
174 (print_insn): Now just calls print_insn_m88k.
176 Thu Jul 15 14:54:05 1993 Doug Evans (dje@canuck.cygnus.com)
178 * h8300-tdep.c (examine_prologue): Make prototype match definition.
180 Thu Jul 15 08:34:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
182 * NEWS: Mention that remote.c now has a `load' operation.
184 * hppa-tdep.c (pc_in_linker_stub): New function.
185 (find_proc_framesize): Return 0 for linker stubs.
186 (rp_saved): Tell the caller where rp is saved.
187 (frame_chain_valid): Return 1 for linker stubs.
188 (frame_saved_pc): Use return value from rp_saved.
190 * stack.c (print_frame_info): When checking PC_IN_CALL_DUMMY,
191 pass the sp relative to the frame in question, not the sp in the
194 Wed Jul 14 17:37:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
196 * mipsread.c (parse_procedure): Take as argument the symtab to look
197 the name up in. Look it up with mylookup_symbol, not lookup_symbol.
198 (psymtab_to_symtab_1): For stabs, pass the symtab to parse_procedure.
200 * mipsread.c (mylookup_symbol): Use strcmp, not STREQ, as we have
201 already checked the first characters.
203 Changes from Jeffrey Law:
204 * printcmd.c (makeva_list): Use MAKEVA_EXTRA_INFO to define
205 machine dependent fields in the makeva_list structure.
206 (makeva_size): Allocate extra space to handle gaps made by
207 alignment restrictions.
208 * config/pa/xm-pa.h (MAKEVA_EXTRA_INFO): Define.
209 (MAKEVA_START): Initialize arglist_address field.
210 (MAKEVA_ARG): Always store arguments on natural alignment
211 boundaries. Set arglist_address to the address right after
213 (MAKEVA_END): Simply return the value stored in arglist_address.
215 Wed Jul 14 13:51:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
217 * ch-valprint.c (chill_val_print, case TYPE_CODE_STRING): Print
220 * hppah-nat.c (store_inferior_registers): Don't print i in cases
221 where we aren't using it.
223 * a29k-tdep.c (get_saved_register): Fix typo.
225 Wed Jul 14 09:45:52 1993 Doug Evans (dje@canuck.cygnus.com)
227 * configure.in: Recognize h8300h (variant of h8300).
230 Wed Jul 14 09:45:52 1993 Doug Evans (dje@canuck.cygnus.com)
232 * configure.in: Recognize sparc64-*-*.
235 Tue Jul 13 14:03:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
237 * stabsread.c (define_symbol): Make the caddr_t hack apply to `function
238 returning foo' as well as `pointer to foo'.
240 * remote.c [REMOTE_BREAKPOINT]: Use for breakpoint insn if defined.
241 * config/m68k/tm-m68k.h: Define it.
242 * mem-break.c, breakpoint.c: Improve comments.
244 Tue Jul 13 13:35:31 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
246 * config/m68k/tm-dpx2.h: Replace "tm-68k.h" with "m68k/tm-m68k.h".
247 * config/m68k/xm-dpx2.h: Define HAVE_TERMIOS not HAVE_TERMIO.
249 Tue Jul 13 11:50:38 1993 Doug Evans (dje@canuck.cygnus.com)
251 * gdbcore.h (read_memory_integer, read_memory_unsigned_integer):
252 Make prototype match definition.
254 Tue Jul 13 11:15:15 1993 Fred Fish (fnf@cygnus.com)
256 * elfread.c: Remove notice about file still being under
258 * Makefile.in (ultra3-xdep.o, umax-xdep.o): Add missing ')'.
260 Mon Jul 12 17:46:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
262 * a29k-tdep.c (read_register_stack): Make val static.
264 Mon Jul 12 14:10:48 1993 Doug Evans (dje@canuck.cygnus.com)
266 * config/h8300/tm-h8300.h (REGISTER_CONVERTIBLE): Change value to 0.
267 (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Move def'n to
270 Mon Jul 12 11:29:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
272 * c-valprint.c (c_val_print): Fix thinko with unspecified length
275 * hppa-tdep.c (find_proc_framesize): If there is a frame pointer,
278 Sun Jul 11 19:35:05 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
280 * symtab.c (decode_line_1): Use end of block to figure out whether
281 val.end is in the same function, not minimal symbols.
283 * source.c (line_info): Add a few more wrap_here's.
285 * i386-tdep.c (i386_follow_jump): Do byteswapping where needed and
286 don't make assumptions about sizes of host data types.
288 * blockframe.c, symtab.h (find_pc_partial_function): New arg endaddr.
289 * infrun.c, breakpoint.c, printcmd.c: Change callers.
290 * printcmd.c (containing_function_bounds): Remove.
291 * printcmd.c (disassemble_command): Use find_pc_partial_function,
292 not containing_function_bounds.
293 * infcmd.c (step_1): Use find_pc_partial_function rather than
294 trying to roll our own. Move check for a pc between SIGTRAMP_START and
295 SIGTRAMP_END in find_pc_partial_function, not step_1.
297 * sparc-tdep.c (sparc_frame_chain, frame_saved_pc):
298 Keep unswapped value in array of char, not REGISTER_TYPE.
299 Use REGISTER_RAW_SIZE not sizeof (REGISTER_TYPE).
300 (sparc_extract_struct_value_address): Use TARGET_PTR_BIT not
303 Thu Jul 1 15:50:05 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
305 * configure.in (m68*-bull-sysv*): added support for Bull dpx2.
306 * config/m68k/{t,x,n}m-dpx2.h, dpx2-nat.c: New files.
307 * config/m68k/dpx2.m{h,t}: New files.
309 Sun Jul 11 12:32:08 1993 Doug Evans (dje@canuck.cygnus.com)
311 * config/sparc/tm-sparc.h (PRINT_REGISTER_HOOK): Fix typo, add
312 more parens around macro arg.
314 Sat Jul 10 09:54:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
316 * infrun.c: Remove step_resume_{duplicate,shadow}. Replace
317 step_resume_break_address with step_resume_breakpoint (now local
318 to wait_for_inferior).
319 ({insert,remove}_step_breakpoint): Remove.
320 (wait_for_inferior): Set step resume break with
321 set_momentary_breakpoint. Test hitting it with bpstat_stop_status
322 and bpstat_what (stop_step_resume_break removed).
323 * breakpoint.{h,c}, infrun.c: Return value from bpstat_what now struct
324 which includes previous return value as main_action, and a step_resume
326 * breakpoint.c (delete_breakpoint): If breakpoint was inserted, and
327 there is another breakpoint there, insert it.
328 * infrun.c (wait_for_inferior): Rearrange the spaghetti a bit. Use
330 Various: Clean up and add comments.
332 * infrun.c [TDESC]: Remove remaining tdesc code (see ChangeLog
333 for Wed Nov 13 16:45:13 1991).
335 Fri Jul 9 12:36:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
337 * values.c, value.h (modify_field), callers: Make fieldval a LONGEST.
339 * h8300-tdep.c (NEXT_PROLOGUE_INSN): Make pword1 an INSN_WORD *
343 ({extract,store}_{signed_integer,unsigned_integer,address}):
344 New routines to replace SWAP_TARGET_AND_HOST.
345 All over: All uses of SWAP_TARGET_AND_HOST on integers replaced.
347 * config/sparc/tm-sparc.h: Add comment suggesting that removing
348 ins and locals from the registers array might clean things up.
350 * utils.c: Clean up comments about wrap buffer and wrap_here.
351 * printcmd.c (printf_command): Call wrap_here before vprintf.
353 * mipsread.c (cross_ref): Set the name to unknown for "struct *" case.
354 Patch from ptf@delcam.co.uk (Paul Flinders).
356 * a29k-tdep.c, findvar.c (get_saved_register): Fix byteswapping sins.
358 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
360 * defs.h, remote-eb.c (TM_FILE_OVERRIDE): Remove it.
361 * mips-tdep.c (init_extra_frame_info): Set proper fci->frame if pc
362 is at the start of the dummy code.
364 Thu Jul 8 14:48:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
366 * sparc-tdep.c (sparc_push_dummy_frame): Skip all the do_save_insn
367 stuff, just write the sp and fp.
368 (sparc_pop_frame): Skip the do_restore_insn; we already restore
369 the sp with the other out registers.
371 * hppa-tdep.c (hppa_push_arguments): Allocate enough space for
374 * hppa-tdep.c: Change _initialize_hppab_tdep to _initialize_hppa_tdep.
377 Thu Jul 8 14:47:00 1993 Doug Evans (dje@canuck.cygnus.com)
379 * sparc-tdep.c (sparc_frame_chain): Handle sizeof (CORE_ADDR)
380 != sizeof (REGISTER_TYPE).
381 (frame_saved_pc): Ditto.
384 Thu Jul 8 08:22:05 1993 Doug Evans (dje@canuck.cygnus.com)
386 * config/h8300/tm-h8300.h: (REGISTER_TYPES): Adjust for h8/300h.
387 (REGISTER_RAW_SIZE): Ditto.
388 (REGISTER_VIRTUAL_TYPE): Use builtin_type_unsigned_long for regs
389 on the h8/300h (ints may still be 16 bits).
390 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE,
391 EXTRACT_STRUCT_VALUE_ADDRESS): Add FIXME's for h8/300h. Some
394 * h8300-tdep.c (print_insn): Call print_insn_h8300h if h8/300h.
395 (examine_prologue): reg_save_depth is 4 if h8/300h.
397 * findvar.c (read_register): Provide some support for 64 bit regs.
398 (write_register): Ditto.
400 Wed Jul 7 14:30:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
402 * config/mips/nm-riscos.h: machine/machparam.h is always the right
403 place to look for BSD43_NBPG, not machine/vmparam.h
405 * infcmd.c (run_stack_dummy): New argument name.
406 Change error message in (another) attempt to make it comprehensible.
407 * valops.c (call_function_by_hand): Pass name to run_stack_dummy.
408 * symtab.h: Declare demangle and asm_demangle since macros use them.
410 * eval.c (evaluate_subexp): Add comment about calling a member
411 function of a variable in a register.
413 * expression.h: Clean up comment about string in STRUCT_STRUCT etc.
415 * config/{rs6000/tm-rs6000.h,sparc/tm-sparc.h,pyr/tm-pyr.h},
416 inferior.h (PC_IN_CALL_DUMMY) [ON_STACK]: Add comments about stack
417 frame tops and bottoms.
419 * frame.h, blockframe.c, stack.c, a29k-tdep.c,
420 config/gould/tmp-{pn,np1}.h,
421 config/{sparc/tm-sparc.h,pyr/tm-pyr.h,vax/tm-vax.h}: Remove field
422 next_frame from struct frame_info. It has no purpose beyond
423 ->next->frame and is an artifact from GDB 2.8.
425 Tue Jul 6 11:51:18 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
427 * Makefile.in: Remove gdb before creating a new one.
428 Update init.c atomically.
430 * Makefile.in (ALLPARAM): Add config/{alpha/xm-alpha.h,pa/xm-pa.h}.
431 (ALLCONFIG): Add config/alpha/alpha-osf1.mh.
433 * infcmd.c (_initialize_infcmd): In docstring for "continue",
434 describe argument as setting ignore count.
436 Sun Jul 4 15:04:47 1993 Doug Evans (dje@cygnus.com)
438 * h8300-tdep.c (examine_prologue): Fix call to
439 read_memory_unsigned_integer.
441 Fri Jul 2 18:22:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
443 * config/mips/{x,n}m-irix{3,4}.h: Make some definitions here
444 rather than including xm-bigmips.h.
446 * eval.c (evaluate_subexp): Improve error messages for OP_TYPE and
449 * Makefile.in (distclean): Remove y.tab.h.
451 Fri Jul 2 14:55:48 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
453 * exec.c (exec_file_command): Remove Mar 28 hack as BFD handles
454 file updates properly now.
455 * mipsread.c (mips_coff_new_init): Force reevaluation of sigtramp
456 addresses if switching to a new symbol file.
457 * dbxread.c (process_one_symbol): Avoid dereferencing NULL
458 symbols that might be returned from define_symbol.
460 Fri Jul 2 13:33:12 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
462 New target macros for getting at the pc, sp and fp.
463 * infcmd.c (read_pc, write_pc): Modify to use new macros.
464 (read_sp, write_sp, read_fp, write_fp): New functions.
465 * blockframe.c (reinit_frame_cache, get_prev_frame_info):
467 * breakpoint.c (bpstat_alloc): ditto.
468 * infrun.c (wait_for_inferior): ditto.
469 * stack.c (print_frame_info): ditto.
470 * valops (call_function_by_hand): ditto.
471 * corelow.c (core_open): ditto.
472 * h8500-tdep.c: (target_read_sp, target_write_sp, target_read_pc,
473 target_write_pc, target_read_fp, target_write_fp): New functions.
474 * inferior.h (read_sp, write_sp, read_fp, write_fp): Prototypes.
476 * config/alpha/xm-alpha.h: Add MAKEVA_END.
477 * config/h8500/tm-h8500.h: Define new macros.
479 Fri Jul 2 13:51:04 1993 Ian Lance Taylor (ian@cygnus.com)
481 * configure.in (mipos-*-riscos*): New host and target; use riscos.
482 * config/mips/nm-riscos.h: If BSD43_NBPG is not defined by
483 vmparam.h, include machparam.h.
484 (KERNEL_U_ADDR): Define to be BSD43_UADDR.
486 Fri Jul 2 13:39:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
488 * c-exp.y (yylex): Give error if unmatched single quote.
490 * configure.in, config/m68k/*delta68*, delta68-nat.c: New port.
492 * Remove unused STACK_END_ADDR in the following files (in other
493 files it is used for something): tm-mips.h, tm-sun2.h, tm-news.h,
494 tm-a29k, tm-i386v.h, tm-hppa.h, tm-nindy960.h, tm-amix.h,
495 tm-hp300hpux.h, tm-isi.h.
497 Thu Jul 1 09:51:27 1993 Jim Kingdon (kingdon@cygnus.com)
499 * config/mips/nm-riscos.h: Define NBPG and UPAGES.
500 config/mips/xm-riscos.h: Include <sys/types.h>.
502 * ser-unix.c (hardwire_noflush_set_tty_state): Use an assignment,
503 not an initializer, to copy the structure.
505 * gdbtypes.h (struct type): Add field tag_name.
506 * gdbtypes.c (type_name_no_tag), c-typeprint.c (c_type_print_base):
508 * {coff,dwarf,mips,stabs}read.c: Set it.
510 * xm-sysv4.h: Undefine HAVE_TERMIO.
512 * config/mips/nm-riscos.h: Remove unmatched #endif.
513 Define FETCH_INFERIOR_REGISTERS.
514 * config/mips/riscos.mh: Don't include coredep.o; mips-nat.o is enough.
515 Fix misspelling of NAT_FILE.
516 * mips-nat.c (fetch_core_registers): If KERNEL_U_ADDR is not defined,
517 we can still process "modern" core files.
519 * ser-unix.c (hardwire_print_tty_state) [HAVE_TERMIOS]: Don't
521 (_initialize_ser_hardwire): Just check whether _POSIX_JOB_CONTROL
522 is defined; don't care what it is defined to.
524 Wed Jun 30 20:06:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
526 * config/vax/xm-vaxult2.h: Define FD_SET and FD_ZERO.
528 Tue Jun 29 11:02:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
530 * inftarg.c: Remove unused include of terminal.h.
531 * signals.h: Don't undefine signals anymore.
532 * main.c: Use job_control from serial.h.
533 * fork-child.c (fork_inferior): Use gdb_setpgid.
534 * serial.h, ser-unix.c, ser-go32.c: Provide gdb_setpgid.
535 * utils.c (quit): Use current_target->to_terminal_ours to figure
536 out whether we care about lack of job control, rather than __GO32__.
537 * utils.c: Include serial.h not terminal.h
538 (quit): Use job_control not TIOCGPGRP.
539 * terminal.h: Don't undefine TIOCGPGRP.
540 * serial.h, ser-unix.c, ser-go32.c, ser-tcp.c: Add SERIAL_FLUSH_OUTPUT.
541 * utils.c (quit): Use it.
542 * serial.h: Add SERIAL_UN_FDOPEN.
543 * utils.c (quit): Use it.
544 * ser-unix.c: Add process group to ttystate.
545 [HAVE_SGTTY]: Add tchars, ltchars, and lmode to ttystate.
546 * inflow.c: Include serial.h not terminal.h.
547 Use serial.h stuff to replace most of the maze of #ifdef's.
548 * inflow.c, main.c, inferior.h: make gdb_has_a_terminal a function.
549 * serial.h: Document SERIAL_SET_TTY_STATE as being immediate.
550 * ser-unix.c: Use TIOCSETN not TIOCSETP so it is true.
551 * serial.h, ser-unix.c, ser-go32.c, ser-tcp.c:
552 Add SERIAL_PRINT_TTY_STATE, SERIAL_NOFLUSH_SET_TTY_STATE, and
553 SERIAL_SET_PROCESS_GROUP.
554 * inflow.c: Use them.
555 * config/xm-svr4.h, config/rs6000/xm-rs6000.h, config/sparc/sun4os4.h:
557 * Various: Remove all use of TIOC*_BROKEN.
559 Wed Jun 30 12:20:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
561 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define.
563 Tue Jun 29 13:44:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
565 * target.h (target_detach): Turn macro into function.
566 * target.c (target_detach): Define it, do deferred register stores
567 before calling the real target function.
569 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
570 and Jim Kingdon (kingdon@cygnus.com)
572 * symtab.h (BLOCK_SHOULD_SORT): Do not sort blocks corresponding to
573 a function to avoid printing of function arguments in wrong order
575 * symfile.c (compare_symbols): Remove code for sorting arguments
576 as blocks containing arguments are no longer sorted.
577 * symtab.c (lookup_block_symbol): Update comment accordingly.
579 Tue Jun 29 11:02:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
581 * config/pa/tm-hppa.h: Remove unused ARGS_GROW_DOC.
582 (REG_STRUCT_HAS_ADDR): Add comment.
584 * infrun.c (wait_for_inferior): Use find_pc_line not find_pc_symtab
585 to check whether there is line number information.
587 Tue Jun 29 08:29:17 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
589 * remote-udi.c: Fix docstring so that it compiles.
591 * remote-mips.c, remote-nindy.c: move bfd.h before symfile.h
594 Tue Jun 29 09:11:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
596 * dbxread.c (process_one_symbol): If we find a LOC_BLOCK where we
597 don't expect it, change it to LOC_STATIC so at least we don't coredump.
599 * c-typeprint.c (c_type_print_base): Don't error() on invalid type.
601 * symtab.h: Add comments about line numbers.
602 * source.c (identify_source_line): Fix off by one bug with line.
604 Mon Jun 28 10:09:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
606 * printcmd.c (makeva*): New interface, for making a va_list.
607 (printf_command): Use it.
608 * config/m88k/xm-delta88.h: Remove VPRINTF define, not needed.
609 * config/pa/xm-pa.h: New file.
610 * config/pa/xm-hppa{b,h}.h: Include it.
612 * xcoffread.c: Remove obsolete NO_TYPEDEFS comment.
614 Sun Jun 27 08:54:55 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
616 * valprint.c (val_print_type_code_int): Fix off by one error with
617 eliminating leading zeroes for large little endian integers.
619 Sun Jun 27 08:58:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
621 * config/mips/riscos.mh (CC): Use -systype sysv.
623 * ser-unix.c: Move #include of <sys/time.h> to HAVE_SGTTY section.
625 * Makefile.in (ALLPARAM): Add config/mips/{x,n}-{news-mips,riscos}.h.
627 Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
629 * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
630 CALL_DUMMY between different 68k machines.
632 Fri Jun 25 17:02:45 1993 Stu Grossman (grossman at cygnus.com)
634 * gdbserver/Makefile.in: Add dependancies on server.h.
635 * gdbserver/remote-gutils.c: Remove lots of unused functions and
637 * gdbserver/remote-inflow.c: Remove lots of unused variables and
638 #includes. Also, use PTRACE_* symbols instead of constants.
639 (mywait): Surround calls to wait() with enable/disable_async_io()
640 so that we can be interrupted from GDB while waiting for the
641 child. Also, handle child exit more gracefully.
642 * gdbserver/remote-server.c: Remove lots of unused variables.
643 Move all extern defs into server.h. Redo main loop so that
644 failure from getpkt() causes communications to be re-established.
645 Fix 'k' command so that it restarts the child.
646 * gdbserver/remote-utils.c: Remove lots of unloved vars and
647 subrs. Move many extern decls into server.h. (remote_open): For
648 tcp, seperate usage of proto fd from connected fd. Close proto
649 fd after getting connection. (putpkt/getpkt): Pay attention to
650 errors when reading/writing. Report these to the caller. New
651 routines input_interrupt/enable_async_io/disable_async_io to make
652 it possible to get an I/O interrupt when data arrives from the
654 * serial.h: New file to contain common defs for all remote files.
656 Fri Jun 25 17:02:45 1993 Stu Grossman (grossman at cygnus.com)
658 * remote.c: Add arg names to prototypes, in a modest effort at
659 clarification. Also add prototypes for some new functions.
660 * (remote_wait): Better error reporting for 'T' responses.
661 * ser-go32.c (strncasecmp): Make str1 & str2 be const.
662 * (dos_async_init): Make usage message reflect requested port #.
663 * ser-tcp.c (tcp_open): Terminate hostname properly to prevent
664 random hostname lookup failures. Add nicer message for unknown
665 host error. (wait_for): Wake up in case of exceptions. Also,
666 restart select() if we got EINTR.
667 * ser-unix.c (wait_for): Restart select() if we got EINTR.
668 * serial.c: (serial_close): Clean up code.
670 Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
672 * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
673 CALL_DUMMY between different 68k machines.
675 Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
677 * Makefile.in (*.tab.c): Use ./c-exp.tab.c not just c-exp.tab.c.
678 Make comment explaining this comprehensible.
679 (TAGFILES): Include ALLDEPFILES.
680 (ALLDEPFILES): udi2soc.c and udr.c are in 29k-share/udi, not
682 (update-alldeps): Remove; obsolete.
684 * remote.c: Move comments regarding packets to top of file with the
685 rest of the protocol comments.
686 Fix incorrect description of 'T' response.
688 * README (Reporting Bugs): Refer people to the GDB manual.
690 * c-valprint.c (c_val_print): Handle TYPE_CODE_BOOLEAN.
691 * stabsread.c: Type -16 is 4 bytes.
693 * remote-udi.c: Improve docstring.
695 Fri Jun 25 11:16:31 1993 Fred Fish (fnf@cygnus.com)
697 * elfread.c (elf_symfile_read): Call bfd_elf_find_section, not
698 bfd_elf32_find_section, to track bfd changes.
700 Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
702 * config/mips/riscos.mh (REGEX{,1}, MUNCH_DEFINE, MH_CFLAGS): Define.
703 * config/mips/xm-riscos.h: Define USG.
705 Thu Jun 24 14:52:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
707 * main.c (filename_completer): Don't complete to files ending in ~.
709 * NEWS: Mention filename completion and "info line" enhancements.
711 * main.c (symbol_completion_function): On "info t foo", return NULL,
714 * main.c (symbol_completion_function): Don't use readline word
715 breaking. Use new calling convention for c->completer and
717 * command.h (struct command): Change arguments; now the text passed
718 to completer does not have any word breaking done. New arg word.
719 * symtab.{c,h} (make_symbol_completion_list): Do word breaking. Take
721 * {main.c,gdbcmd.h} ({filename,noop}_completer): Take word argument.
722 * command.{c,h} (complete_on_cmdlist): Take word argument.
724 * command.c (lookup_cmd_1): Doc fix.
726 Thu Jun 24 13:26:04 1993 K. Richard Pixley (rich@sendai.cygnus.com)
728 * Makefile.in (OP_INCLUDE): define.
729 (OPCODE_CFLAGS): use OP_INCLUDE.
731 * config/i386/ncr3000.mh, config/i386/i386v4.mh,
732 config/i386/i386sol2.mh, config/m68k/hp300hpux.mh,
733 config/m68k/amix.mh, config/mips/irix[34].mh,
734 config/m88k/delta88.mh, config/sparc/sun4sol2.mh (ALLOCA,
735 ALLOCA1): macros removed.
737 * config/mips/decstation.mh, config/rs6000/rs6000.mh
738 (MMALLOC_LIB): renamed to MMALLOC.
740 Wed Jun 23 00:25:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
742 * partial-stab.h: Consolidate case statements for N_LSYM and N_FUN.
743 * dbxread.c: Change comment regarding acc.
745 Wed Jun 23 15:04:54 1993 K. Richard Pixley (rich@sendai.cygnus.com)
747 Makefile overhaul dropping autodepend features.
748 * Makefile.in: many comment changes. forced consistent use of $()
749 for makefile variables references. dropped leading ./ in file
750 references. Drop $(srcdir)/ prefix on all dependencies.
751 Inserted contents of alldeps.mak and depend.
752 (INCLUDE_CFLAGS): defined as new macro for getting libiberty's
753 include directory into the compilation line.
754 (GDB_CFLAGS): new macro to take up the semantic previously held
756 (LIBIBERTY): dropped ancient subdir macro. I last removed this
757 macro in feb of '92. How does it keep coming back?
758 (MMALLOC_LIB): renamed to MMALLOC.
759 (BFD_SRC_DIR): renamed to BFD_SRC.
760 (BFD_OBJ_DIR): renamed to BFD_DIR.
761 (BFD_LIB): renamed to BFD.
762 (BFD_INCLUDES): renamed to BFD_CFLAGS.
763 (READLINE_DIR): now represents object directory.
764 (RL_LIB): renamed to READLINE.
765 (READLINE_SRC, READLINE_CFLAGS, OPCODES, OPCODES_CFLAGS): new
767 (INTERNAL_CFLAGS): added GDB_CFLAGS, OPCODES_CFLAGS,
768 READLINE_CFLAGS, BFD_CFLAGS. Dropped USER_CFLAGS.
769 (LDFLAGS): removed default assignment.
770 (TEXIDIR, INCLUDE_DEP, MMALLOC_DIR, MMALLOC_DEP, BFD_DEP,
771 READLINE_DEP, LIBIBERTY_DIR, TESTS, depend, STAGESTUFF): unused, so removed.
772 (ALLOCA1, ALLOCA): removed all references. alloca is now in
774 (VERSION): unilaterally and arbitrarily bumped to 4.9.3.
775 (SFILES, NONSRC, HFILES, ALLDEPFILES, ALLPARAM, ALLCONFIG):
776 removed all $(srcdir) prefixes.
777 (getopt_h, ieee-float_h, bfd_h, wait_h, dis-asm_h): new macros
778 for potential dependencies. commented out by default.
779 (readline_headers, udiheaders): convenient abbreviations.
780 (gdbcore_h, frame_h, symtab_h, gdbtypes_h, expression_h,
781 value_h, breakpoint_h, command_h, gdbcmd_h, defs_h, inferior_h):
782 new macros used for header file dependencies.
783 (install-info, clean-info): collapse into the info rule.
784 (install): now depends on all.
785 (install-only): new target for installing without depending on
787 (uninstall): new target.
788 (config-check, config-check-hosts, config-check-targets): added
790 (ch-exp.tab.c, m2-exp.tab.c): added artificial dependencies in
791 order to force parallel makes into keeping these rules separate.
792 * configure.in: omit cat'ing depend file onto generated Makefile.
793 * alldeps.mak, depend: removed.
795 * inferior.h: remove redundant include of symtab.h which is
796 included in value.h via breakpoint.h.
798 * alloca.c: removed. alloca is now in libiberty.
800 * config/m88k/delta88.mh, config/ns32k/merlin.mh (M_UNINSTALL):
801 new macro to undo what M_INSTALL does.
803 Wed Jun 23 00:25:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
805 * config/ns32k/{merlin.mh,xm-merlin.h}: Be consistent about name
808 * dbxread.c (copy_pending): Change name and function of begi argument
809 to endi, since that is what the caller needs.
811 * Makefile.in (TAGFILES): Don't include YYFILES.
813 * Makefile.in (HFILES): Include monitor.h.
815 * Makefile.in: Include text that used to be in alldeps.mak.
816 Remove config/mips/{bigmips.mh,xm-bigmips} from it.
817 * Makefile.in, configure.in: Remove all traces of alldeps.mak.
819 * main.c (main): Print help message on stdout not stderr
821 New option --version per standards.texi.
822 In help message, show long options with "--" not "-".
823 Don't try to print help message or version until after we have
824 called initialize_all_files.
826 Tue Jun 22 03:15:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
828 * solib.c (solib_add_common_symbols): Don't call lookup_minimal_symbol.
829 (solib_add): Call special_symbol_handling once, not once per library.
831 * procfs.c (procfs_resume): Don't pass a SIGTSTP whose action
834 * procfs.c (procfs_resume): Skip the unnecessary PRSVADDR on all
835 systems, not just Solaris.
837 * stabsread.c: Include <ctype.h>.
839 Mon Jun 21 16:09:46 1993 Jim Kingdon (kingdon@cygnus.com)
841 * fork-child.c (fork_inferior): Quote exec_file so it can contain
844 Mon Jun 21 16:56:47 1993 Fred Fish (fnf@cygnus.com)
846 * Makefile.in (INCLUDE_CFLAGS): Add BFD_INCLUDES for now, since
847 bfd.h is included by target.h, which most of gdb includes.
848 * depend: Hand remove BFD_INCLUDES from ${CC} lines, now that
849 it's in INCLUDE_CFLAGS.
851 Mon Jun 21 16:09:46 1993 Jim Kingdon (kingdon@cygnus.com)
853 * config/i386/*aix*, i386aix-nat.c: New files.
854 * configure.in: Use them.
855 * alldeps.mak: List them.
856 * coffread.c (decode_base_type): Deal with anonymous enum type.
857 * i387-tdep.c (print_387_status_word): Add comment re "top".
858 * i386-tdep.c [I386_AIX_TARGET] (i386_extract_return_value): New func.
859 * dbxread.c: Use SEEK_SET and SEEK_CUR, not L_*. Define them if and
860 only if not defined by a header file.
861 * mipsread.c: Don't define L_SET or L_INCR.
863 Mon Jun 21 15:10:07 1993 Fred Fish (fnf@cygnus.com)
865 * Makefile.in (BFD_INCLUDES): Bfd.h is now back in bfd build dir.
866 * depend: Hand updated to match.
868 Sun Jun 20 13:11:11 1993 Jim Kingdon (kingdon@cygnus.com)
870 * stabsread.c (read_struct_fields): Don't call read_cpp_abbrev on $_.
871 (read_cpp_abbrev): Don't complain specially for $_. Also return 0 if
872 we don't recognize the abbrev.
874 Sun Jun 20 00:24:41 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
876 * solib.c (solib_add_common_symbols): Add comment about performance.
878 Fri Jun 18 12:37:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
880 * config/mips/{{x,n}m-riscos.h,riscos.mh}: New files.
881 * configure.in (mips-*-sysv*): Use riscos for host, bigmips for target.
883 * config/mips/{{x,n}m-news-mips.h,news-mips.mh}: New files.
884 * config/mips/{bigmips.mh,xm-bigmips.h}: Remove.
885 * configure.in (mips-sony-*): Use news-mips for host.
887 * buildsym.h: Doc fix for processing_acc_compilation.
889 Thu Jun 17 19:57:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
891 * printcmd.c (print_formatted): Don't use tab in wrap_here arg.
893 Thu Jun 17 17:29:30 1993 Jim Kingdon (kingdon@lisa.cygnus.com)
895 * Makefile.in (INTERNAL_CFLAGS): Include ../include as well as
896 ${srcdir}/../include.
898 * config/m88k/xm-delta88.h: Comment out unused defines which conflict
900 * printcmd.c (printf_command): Cast second arg to vprintf to PTR.
901 Use VPRINTF macro if defined.
902 * config/m88k/xm-delta88.h: Define VPRINTF. Include <sys/siginfo.h>.
903 Define TIOC{GETC,GLTC}_BROKEN.
904 * m88k-nat.c: Uncomment include of <sys/ptrace.h>.
905 * main.c: Rename initialize_{main,cmd_lists,history} to init_* to
906 make things easier on munch (apparently this matters on
907 the delta88 with svr3).
909 Thu Jun 17 16:53:56 1993 david d `zoo' zuhn (zoo@cygnus.com)
911 * Makefile.in: canonicalize install.sh; for use within
912 this directory (and subdirs)
914 Tue Jun 15 17:01:23 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
916 * Makefile.in: remove parentdir support; use INSTALL_XFORM
918 Thu Jun 17 15:08:35 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
920 * configure.in (alpha-*-osf*), config/alpha/alpha-osf.mh: New
922 * sh-tdep.c (frame_find_saved_regs): Use NUM_REGS rather than hard
923 wired (and wrong) constant.
924 * values.c (unpack_long): Add case to unpack when target object is
926 * config/sh/tm-sh.h (REGISTER_NAMES): Know about the news ones the
929 Wed Jun 16 16:08:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
931 * NEWS: tracking user visible changes starting with
934 * remote-vx.c (_initialize_vx): rename user settable option from
935 rpcTimeout to vxworks-timeout.
937 Wed Jun 16 12:21:49 1993 Fred Fish (fnf@cygnus.com)
939 * Makefile.in (depend): More makefile diddling.
940 * alldeps.mak, depend: Update to latest automatically built
943 * Makefile.in (depend): Bfd.h keeps moving, keep up with it.
944 * alldeps.mak, depend: Update to latest automatically built
947 Tue Jun 15 12:26:05 1993 K. Richard Pixley (rich@sendai.cygnus.com)
949 * remote-vx.c: include gdbcmd.h for setlist.
950 (_initialize_vx): make rpcTimeout user settable.
952 Mon Jun 14 09:23:51 1993 Jim Kingdon (kingdon@cygnus.com)
954 * main.c, gdbcmd.h: Add function filename_completer.
955 * main.c, symfile.c, source.c, exec.c, core.c: Use it for
956 "directory", "source", "cd", "symbol-file" "add-symbol-file",
957 "load", "file", "exec-file", "core-file" commands.
958 (But '/' is a word break, limiting usefulness; see comments).
960 * source.c (mod_path): Warning not error if can't find directory.
962 * isi-xdep.c: New file.
963 * config/m68k/isi.mh (XDEPFILES): Add isi-xdep.o
965 Sun Jun 13 09:17:48 1993 Jim Kingdon (kingdon@cygnus.com)
967 * config/m68k/xm-news.h: Include <sys/param.h>.
969 * m88k-tdep.c (IEEE_isNAN): Remove.
970 config/m88k/tm-m88k.h (INVALID_FLOAT): Return 0. This was the same
971 broken isNAN as on the mips.
973 * valprint.c (_initialize_valprint): Use c->function.sfunc not just
976 * dbxread.c (process_one_symbol): If SUN_FIXED_LBRAC_BUG is not
977 defined, don't worry about Sun's silly LBRAC bug.
978 * config/m68k/tm-sun3.h: Define SUN_FIXED_LBRAC_BUG to 0.
980 * dbxread.c (process_one_symbol): If there's a symbol before an
982 (case N_BCOMM): complain () not error ().
984 * defs.h, main.c (catch_errors): Add return_mask arg.
985 stack.c (print_frame_info): Pass RETURN_MASK_ERROR.
986 other callers: Pass RETURN_MASK_ALL.
987 (return_to_top_level), callers: Add return_reason arg.
989 Use return_to_top_level (RETURN_QUIT) instead of error ().
990 * main.c (main), tm-nindy960.h (ADDITIONAL_OPTION_HANDLER):
991 Use SET_TOP_LEVEL not setjmp (to_top_level).
992 * remote-nindy.c: Use catch_errors not setjmp (to_top_level).
994 Sat Jun 12 14:40:54 1993 Jim Kingdon (kingdon@cygnus.com)
996 * solib.c (solib_create_inferior_hook) [SVR4_SHARED_LIBS]:
997 Don't try to get the debug base yet.
999 * dbxread.c (process_one_symbol): Set n_opt_found based on whether
1000 a non-gcc N_OPT symbol is found. Make SUN_FIXED_LBRAC_BUG a macro
1001 which returns 0 or 1 to say whether to do it.
1002 * config/sparc/sun4{sol2,os4}.h
1003 (SUN_FIXED_LBRAC_BUG,VARIABLES_INSIDE_BLOCK): Use n_opt_found so
1004 the right thing happens for both acc and SunOS4 /bin/cc.
1006 * valprint.c (print_hex_chars): Use local_hex_format_{pre,suf}fix.
1007 * printcmd.c (print_scalar_formatted): Use val_print_type_code_int.
1009 * mips-tdep.c: Remove isa_NAN; it assumed sizeof(host int) == 4 and
1010 probably contained byte-order sins too.
1011 config/mips/tm-mips.h (INVALID_FLOAT): Define to 0 like most machines.
1012 The IEEE_FLOAT code in print_floating takes care of it.
1014 Sat Jun 12 14:47:04 1993 Fred Fish (fnf@cygnus.com)
1016 * Makefile.in (VERSION): Bump to 4.9.2.
1017 * c-valprint.c (c_val_print): For array of chars printed with
1018 string syntax, don't print the address of the array. From
1020 * c-exp.y (yylex): Recognize '.' as indicating a floating point
1021 number regardless of the radix. From wilson@cygnus.com.
1022 * valprint.c (set_input_radix_1, set_output_radix_1): New
1023 prototypes and functions that do the actual radix setting work.
1024 * valprint.c (set_radix, set_output_radix, set_input_radix):
1025 Rewrite to use set_input_radix_1 and set_output_radix_1.
1026 * valprint.c (initialize_valprint): Enable commands to
1027 independently set and show input and output radices.
1028 * valprint.c (show_radix): New prototype and function that
1029 handles separate input and output radices.
1031 Fri Jun 11 18:39:38 1993 Ken Raeburn (raeburn@cygnus.com)
1033 Patches from Jeff Law, law@cs.utah.edu:
1034 * hppa-pinsn.c: Now uses disassembler from opcode library,
1035 this contains only the stub function print_insn.
1037 Fri Jun 11 15:19:59 1993 K. Richard Pixley (rich@cygnus.com)
1039 * main.c (main): back to two periods for elipse.
1040 (print_gdb_version): revised format for configuration info.
1042 Fri Jun 11 10:24:35 1993 Fred Fish (fnf@cygnus.com)
1044 * defs.h (INT_MAX): Cast unsigned shift result to int.
1046 Fri Jun 11 10:17:41 1993 Jim Kingdon (kingdon@cygnus.com)
1048 * dbxread.c (process_one_symbol): Rather than having
1049 BLOCK_ADDRESS_FUNCTION_RELATIVE a macro, make it a variable which
1050 is true if we are doing stabs-in-elf, false otherwise.
1051 config/sparc/tm-sun4sol2.h: Don't define it.
1053 Fri Jun 11 13:33:40 1993 Ian Lance Taylor (ian@cygnus.com)
1055 * remote-mips.c (mips_send_packet): Don't print garbage character
1057 (mips_request): Don't check that remote pid is 0, because
1059 (mips_fetch_registers): Pass a pointer to SWAP_TARGET_AND_HOST,
1062 Fri Jun 11 10:17:41 1993 Jim Kingdon (kingdon@cygnus.com)
1064 * stack.c (print_frame_info): Use catch_errors around print_frame_args.
1066 * Makefile.in (install): Don't depend on gdb.
1068 * Rename remote-es1800.c to remote-es.c
1069 and remote-st2000.c to remote-st.c for 14-char filenames.
1070 config/m68k/{es1800,st2000}: Use the new names.
1072 * mips-tdep.c (isa_NAN): Don't return true on -0.
1074 Fri Jun 11 10:24:35 1993 Fred Fish (fnf@cygnus.com)
1076 * defs.h (INT_MAX): Cast unsigned shift result to int.
1078 Thu Jun 10 13:26:41 1993 Fred Fish (fnf@cygnus.com)
1080 * elfread.c (elf_symtab_read): Add bfd section address to bfd
1081 symbols, now that they are section relative.
1082 * solib.c (bfd_lookup_symbol): Ditto.
1084 Thu Jun 10 10:56:56 1993 Jim Kingdon (kingdon@cygnus.com)
1086 * Makefile.in (depend): Add bfd -I's for paread.c and xcoffexec.c
1087 depend: Updated accordingly.
1089 Wed Jun 9 16:08:44 1993 Jim Kingdon (kingdon@cygnus.com)
1091 * Makefile.in (*.tab.c): Use mv for atomic update.
1093 * Makefile.in ({dist,real}clean): Also remove nm.h.
1094 (realclean): Also remove ${TESTS}, y.output, yacc.{acts,tmp}.
1095 (distclean): Don't rebuild *.tab.c or TAGS.
1097 Wed Jun 9 12:56:58 1993 K. Richard Pixley (rich@cygnus.com)
1099 * Makefile.in (version.c): add host and target names to version.c.
1100 * main.c (main): print three periods for the elipse.
1101 (print_gdb_version): also print configuration.
1103 * udi/udiids.h, udi/udip2soc.c, udi/udiphcfg.h, udi/udiphunix.h,
1104 udi/udiproc.h, udi/udipt29k.h, udi/udiptcfg.h, udi/udisoc.h,
1105 udi/udr.c: Change AMD copyrights to FSF copyleft '93.
1107 * remote-eb.c (get_hex_regs, eb_fetch_registers), remote-adapt.c
1108 (get_hex_regs, adapt_fetch_registers): cast args to
1109 supply_register to avoid gcc warning.
1111 * config/a29k/a29k.mt (TDEPFILES): drop minimon support. It
1112 doesn't compile on solaris and is now obsolete.
1114 * config/sparc/sun4os4.mh (XM_CLIBS): remove -lresolv. This
1115 breaks stock sunos installations.
1117 Wed Jun 9 06:14:33 1993 Jim Kingdon (kingdon@cygnus.com)
1119 * m68k-stub.c: Add comment about frame cache.
1121 * target.h (target_store_registers): Doc fix re error handling.
1123 * findvar.c (write_register): Call SWAP_TARGET_AND_HOST regardless
1124 of register_valid[regno].
1126 Tue Jun 8 14:42:10 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
1128 * symtab.h, dwarfread.c: Doc fix re dependencies.
1130 Tue Jun 8 17:54:09 1993 Rob Savoye (rob@rtl.cygnus.com)
1132 * serial.c (serial_close): If scb is NULL, don't try to close
1134 * configure.in: Add support for rom68k and bug boot monitors.
1136 Tue Jun 8 17:39:12 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1138 * coffread.c (init_stringtab): Fix bug where sizeof(long) != 4.
1139 * gdbcore.h, core.c (read_memory_unsigned_integer): New function.
1140 * findvar.c (read_register, write_register): Fix thinko where
1141 sizeof(host long) != sizeof(target int).
1142 * h8300-tdep.c: Use new read_memory_unsigned_integer call.
1143 * sh-tdep.c (_initialize_sh_tdep): Add memory_size command.
1145 Tue Jun 8 14:42:10 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
1147 * Move config/m68k/tm-m68k.h (FRAME_FIND_SAVED_REGS) to
1148 m68k-tdep.c (m68k_find_saved_regs). Don't duplicate code between
1149 68881 and non-68881 cases. Check for a pair of movel instructions.
1151 Tue Jun 8 14:52:55 1993 K. Richard Pixley (rich@sendai.cygnus.com)
1153 First cut at sparc-vxworks targetting.
1154 * config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt: new files.
1155 * configure.in: sparc-vxworks gdb_target now vxsparc.
1157 * remote-eb.c, remote.c: symfile.h requires bfd.h so include it.
1159 Tue Jun 8 14:42:10 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
1161 * config/m68k/xm-news.h: add "extern int errno".
1163 Tue Jun 8 13:45:07 1993 K. Richard Pixley (rich@sendai.cygnus.com)
1165 * remove-vx.c (vx_read_register, vx_write_register): collapse
1166 ifdef I80960 else (assumes) m68k into parameterizable macros
1167 VX_NUM_REGS and VX_SIZE_FPREGS.
1168 * config/m68k/tm-vx68.h, config/i960/tm-vx960.h (VX_NUM_REGS,
1169 VX_SIZE_FPREGS): new definitions.
1171 Tue Jun 8 11:08:29 1993 Jim Kingdon (kingdon@cygnus.com)
1173 * symfile.{c,h} (generic_load): New function.
1174 remote{,-nindy,-eb,-mips}.c: Use it.
1176 Mon Jun 7 20:07:30 1993 Stu Grossman (grossman@cygnus.com)
1178 * Makefile.in (depend): More sed gubbish to deal with
1179 ../bfd/bfd.h being generated during the build.
1180 * depend: Re-done with corrected makefile.
1182 Mon Jun 7 16:32:05 1993 Fred Fish (fnf@cygnus.com)
1184 * Makefile.in (BFD_SRC_DIR): Renamed def and usages from BFD_DIR.
1185 * Makefile.in (BFD_OBJ_DIR): New definition for the bfd build
1186 directory to find automatically generated header files and library.
1187 * Makefile.in (BFD_LIB): Use BFD_OBJ_DIR.
1188 * Makefile.in (LINTFLAGS): Include BFD_OBJ_DIR.
1189 * Makefile.in (saber_gdb): Include BFD_OBJ_DIR.
1190 * Makefile.in (depend): Include BFD_OBJ_DIR in gcc args.
1191 * Makefile.in (paread.o, xcoffexec.o): Remove, now in depend.
1192 * depend, alldeps.mak: Rebuild after Makefile.in changes.
1194 Fri Jun 4 10:18:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1196 * configure.in: change lynx support to CPU-*-lynxos*
1198 * Makefile.in (subdir_do): change test from existence of directory
1199 to existence of Makefile (the directory may exist but not be configured)
1201 Thu Jun 3 01:18:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1203 * config/sparc/xm-sun4sol2.h: define MEM_FNS_DECLARED
1205 Fri Jun 4 10:43:33 1993 Ian Lance Taylor (ian@cygnus.com)
1207 * configure.in (mips-idt-ecoffl*): New target; use idtl.
1208 (mips-idt-ecoff*): Added trailing '*'.
1209 * config/mips/idtl.mt: New file; like idt.mt, but little endian.
1211 Thu Jun 3 17:36:56 1993 Stu Grossman (grossman@cygnus.com)
1213 * ser-go32.c: Clean up lots of compilation nits.
1215 Thu Jun 3 14:44:57 1993 Stu Grossman (grossman@cygnus.com)
1217 * Patches from Jeffrey Law <law@cs.utah.edu>.
1218 * hppab-nat.c: Eliminate unnecessary ifdefs for
1219 FETCH_INFERIOR_REGISTERS, CANNOT_FETCH_REGISTER, and
1220 CANNOT_STORE_REGISTER.
1221 (fetch_register): Delete code to handle CANNOT_FETCH_REGISTER.
1222 * hppa-pinsn.c: Support 'I', 'J', and 'K' in output
1223 templates for 1.1 FP computational instructions.
1225 Thu Jun 3 03:34:49 1993 Stu Grossman (grossman@cygnus.com)
1227 * Makefile.in: Remove ser-tcp.[co]. (Use XDEPFILES instead.)
1228 * alldeps.mak, depend: Rebuild to account for ser-tcp.
1229 * config/sparc/sun4os4.mh: Add ser-tcp to XDEPFILES.
1230 * gdbserver/Makefile.in (gdbserver): Use -lbsd.
1231 * gdbserver/remote-inflow{-sparc}.c (create_inferior): Don't use a
1232 shell when running the child, as args have been expanded by the
1233 time we get here. Simplify calling convention.
1234 * gdbserver/remote-server.c (main): Use new calling convention
1235 for create_inferior, remove defunct code for coalescing argv.
1236 Remove extra calls to mywait(), as we no longer have to wade
1239 * target.c (target_read_memory_partial): Don't deref errnoptr
1240 when checking for null pointer.
1242 Wed Jun 2 19:58:46 1993 John Gilmore (gnu@cygnus.com)
1244 * remote-es1800.c: Fix typo.
1246 Tue Jun 1 21:22:39 1993 Fred Fish (fnf@cygnus.com)
1248 * target.c (target_read_memory_partial): Like target_read_memory,
1249 but does partial reads, such as reads that bump into the end of
1251 * target.h (target_read_memory_partial): Add prototype.
1252 * valprint.c (PRINT_MAX_DEFAULT): New define, initial value 200.
1253 * valprint.c (val_print_string): Complete rewrite to fix bug with
1254 bumping into end of memory, avoiding unnecessarily long reads, and
1255 fixing bug when print_max is set to 0 (unlimited print length).
1256 * valprint.c (_initialize_valprint): Use PRINT_MAX_DEFAULT to
1257 initialize print_max.
1259 Tue Jun 1 18:11:35 1993 Rob Savoye (rob at darkstar.cygnus.com)
1261 * configure.in: Add support for rom68k and bug boot monitors.
1263 Mon May 31 10:37:04 1993 Jim Kingdon (kingdon@cygnus.com)
1265 * printcmd.c (print_scalar_formatted): Print integers bigger than
1266 LONGEST in hex no matter how big, and no matter what the format
1269 * stabsread.c (read_type): Skip type attributes if present.
1271 * stabsread.c (read_huge_number): Don't accept '0' + radix as part
1272 of number, just through '0' + radix - 1.
1274 Sun May 30 15:35:21 1993 Fred Fish (fnf@cygnus.com)
1276 * Makefile.in (SER_HARDWIRE): Temporarily comment out ser-tcp.o.
1278 * {dbxread.c, dwarfread.c} (read_ofile_symtab): Rewrite to take
1279 single parameter, the pointer to the partial symtab, rather than
1280 a bunch of args that are derived from the partial symtab. Change
1281 prototypes and callers to match.
1283 * dbxread.c (read_ofile_symtab): Remove "#if 1" around code to
1284 set demangling style automatically.
1285 * defs.h (CPLUS_MARKER): Clarify comment that this is only for
1286 GNU C++, not C++ in general.
1287 * symtab.h (general_symbol_info): Simplify by eliminating one
1288 structure level for the language dependent info.
1290 Sat May 29 15:59:29 1993 Fred Fish (fnf@cygnus.com)
1292 * c-typeprint.c (c_type_print_base): Avoid dereferencing NULL
1293 names for TYPE_CODE_STRUCT and TYPE_CODE_UNION types.
1294 TYPE_CODE_ENUM was already testing for this.
1296 Fri May 28 17:18:05 1993 Stu Grossman (grossman@cygnus.com)
1298 * Makefile.in: Add new file ser-tcp.c.
1299 * defs.h (memcmp): Add decl for memcmp to #ifndef MEM_FNS_DECLARED.
1300 * findvar.c (write_register): See if we are writing back the same
1301 value that's already in the register. If so, don't bother.
1302 * remote.c (putpkt, getpkt): Improve handling of communication
1304 * ser-go32.c: Prototype it to death. Update serial_ops and add
1305 dummy routines where appropriate.
1306 * ser-tcp.c: New module to implement serial I/O via TCP
1308 * ser-unix.c: Clean up getting/setting of tty state. Get rid of
1309 SERIAL_RESTORE, add SERIAL_{GET|SET}_TTY_STATE interfaces.
1310 * serial.c: Add start of support for connect command.
1311 (serial_open): Distinguish between tcp and local devices.
1312 * serial.h (struct serial_ops): Get rid of restore, add
1313 get_tty_state and set_tty_state. Define protoypes and macros for
1315 * gdbserver/remote-utils.c: Add tcp support. (readchar): Do
1316 some real buffering. Handle error conditions gracefully.
1317 * gdbserver/remote-inflow-sparc.c: Update to remote-inflow.c
1318 (Lynx), remove lots of cruft.
1320 Fri May 28 17:24:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1322 * printcmd.c (print_address_symbolic): turn this into an assigment
1323 instead of an initialization (many compilers don't accept
1324 structure initialization).
1326 Thu May 27 16:56:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1328 * xcoffread.c (read_xcoff_symtab): If several program csects in one
1329 source file, give them all the name of the source file, rather than
1330 the 2nd and subsequent ones having NULL names.
1332 Thu May 27 06:16:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1334 * printcmd.c (print_address_symbolic): Append source filename and
1335 linenumber of the symbol if print symbol-filename is on.
1336 (initialize_printcmd): `set print symbol-filename'.
1338 Wed May 26 13:46:16 1993 Stu Grossman (grossman@cygnus.com)
1340 * configure.in: Add config for Lynx target. Configure gdbserver
1341 only for Lynx. Re-do selective configuration of sparclite.
1343 * gdbserver/{remote-gutils.c remote-server.c Makefile.in
1344 configure.in remote-inflow.c remote-utils.c}: New files to
1345 support GDB remote server. Currently only works for Lynx.
1347 Wed May 26 10:28:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1349 * stabsread.c (define_symbol, case 't'): Only set the name if it
1350 is not a pointer type.
1352 * stabsread.c (define_symbol): Clean up logic; move the read_type
1353 calls to inside the switch statement (this improves the error
1356 * mipsread.c (parse_symbol, parse_partial_symbols): Deal with Fortran
1359 Tue May 25 20:44:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1361 * printcmd.c (print_formatted, case 'i'): Pass a tab to wrap_here.
1363 * source.c (line_info): Change "pc" to "address" in messages and
1364 use print_address for addresses.
1366 * source.c (line_info): If we don't find a symtab, print more useful
1367 output, including the symbolic address.
1369 * source.c (line_info): If --fullname, display the source.
1370 (identify_source_line), callers: Take pc as argument, rather than
1371 assuming innermost frame (emacs doesn't use this, so no one ever
1373 * symtab.h: Declare frame_file_full_name.
1376 Tue May 25 15:30:43 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
1378 * breakpoint.c (catch_command_1): Fix typo in error msg.
1380 Tue May 25 16:05:55 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
1382 * elfread.c (elf_symfile_read): Update ELF structure and routine
1383 names to specify 32-bit versions.
1384 (elf_symtab_read): Retrieve size field directly from symbol,
1385 instead of using old kludge.
1387 * mips-pinsn.c (print_insn): Cast address to bfd_vma before
1388 calling opcodes library.
1389 * z8k-tdep.c (print_insn): Likewise.
1391 Tue May 25 13:06:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1393 * stabsread.c: Remove all uses of error(). Make error_type and
1394 read_type_number static.
1395 (define_symbol): Don't try to deal with a missing symbol
1396 descriptor which isn't followed by digit, '(', or '-'.
1397 * stabsread.h: Don't declare read_type_number here.
1398 * gdbtypes.h: Don't declare error_type here.
1399 * xcoffread.c: Remove NO_TYPEDEFS code.
1401 Tue May 25 09:33:16 1993 Ian Lance Taylor (ian@cygnus.com)
1403 * mips-tdep.c: Removed #include of many header files, and #define
1404 of MIPSMAGIC; no longer used.
1406 Tue May 25 09:36:13 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1408 * Many places: replace "the inferior" in messages with "the program"
1409 or "the program being debugged".
1410 * inflow.c (try_writing_regs): Remove; it's been #if 0'd forever
1411 and I'm getting sick of maintaining it.
1413 * config/i386/linux.mh: Don't use \ newline; the awk scripts don't
1416 * config/i386/go32.mh: Define SER_HARDWIRE.
1417 * Makefile.in: Define SER_HARDWIRE.
1419 (alldeps.mak): Add SER_HARDWIRE.
1420 Remove all references to ser-hardwire.{c,o}.
1421 * configure.in: Remove all ser_hardwire and gdb_serial_driver stuff.
1423 Mon May 24 23:50:05 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1425 * sparc-nat.c (store_inferior_registers): Fill in all members of
1426 inferior_fp_registers by reading them from the inferior before
1427 modifying and writing them back.
1428 Fixes unexplainable inferior FP exceptions after calls to the inferior
1429 or setting of floating point registers.
1430 * mips-tdep.c (mips_skip_prologue): Skip move of argument register
1431 to register which is generated by gcc-2.4.
1433 Tue May 25 00:42:39 1993 Ken Raeburn (raeburn@cygnus.com)
1435 * hppa-pinsn.c: Define OLD_TABLE before including opcode/hppa.h.
1437 Mon May 24 13:55:14 1993 Stu Grossman (grossman@cygnus.com)
1439 * config/i386/{i386lynx.mh i386lynx.mt nm-i386lynx.h tm-i386lynx.h
1440 xm-i386lynx.h}: New configuration for Lynx.
1442 Mon May 24 10:01:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1444 * mipsread.c (parse_symbol): Deal with scVar and scVarRegister.
1445 * symtab.h: Comment that LOC_REGPARM_ADDR can be call by reference.
1447 * c-typeprint.c (c_type_print_base): Don't print typedef'd names
1448 as struct, union, or enum tags.
1450 Mon May 24 01:10:01 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1452 * symmisc.c (dump_msymbols): Avoid gdb coredump with stripped
1455 Sat May 22 10:03:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1457 * infrun.c (wait_for_inferior),
1458 infcmd.c (program_info, signal_command): Use symbolic signal names.
1460 * inftarg.c (child_wait): Deal with EINTR and include message from
1461 strerror if printing an error message.
1463 * main.c (command_line_input): Use STOP_SIGNAL not SIGTSTP.
1465 * stabsread.c: Remove most uses of lookup_fundamental_type.
1466 (define_symbol): Use read_type for type of enum constant,
1467 not just read_type_number. Also don't call error().
1468 (define_symbol): For unrecognized constant type, one complaint (the
1469 one from error_type) is enough. Don't make our own in addition.
1470 (define_symbol): Don't treat an N_FUN 'R' as a prototype.
1471 * gdbtypes.h: Doc fixes.
1473 Sat May 22 03:33:07 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1475 Fix stack unwinding through _sigtramp on Irix. These patches are from
1476 Paul Flinders <ptf@delcam.co.uk>.
1477 * mipsread.c (fixup_sigtramp): Find _sigtramp on Irix even when the
1478 executable uses sigvec.
1479 * mips-tdep.c (read_next_frame_reg): Allow tm-file to override
1481 * config/mips/tm-irix3.h: Add sigcontext offsets for Irix.
1483 Sat May 22 00:39:01 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1485 * infrun.c (wait_for_inferior): Clear stop_signal if it should not
1486 be passed to the inferior to make "handle <signal> nopass nostop" work.
1488 Sat May 22 00:21:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1490 * config/mips/tm-irix3.h: Clean up, use tm-bigmips.h and redefine
1492 * findvar.c (value_from_register): Fix uninitialized first_addr
1493 which caused problems with assignment of doubles to register variables
1495 * mipsread.c: Remove TM_FILE_OVERRIDE, include tm.h and provide the
1496 missing mips definitions if necessary.
1498 Fix handling of double register variables for mips targets and big
1499 endian hosts. These patches are from Paul Flinders <ptf@delcam.co.uk>.
1500 * config/mips/tm-mips.h: Increase MAX_REGISTER_{RAW,VIRTUAL}_SIZE to
1501 8 bytes for doubles.
1502 * config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): New macro for
1503 conversion of type held in multiple registers to host format.
1504 * config/mips/tm-mips.h (REGISTER_CONVERT_FROM_TYPE): New macro,
1505 companion to REGISTER_CONVERT_TO_TYPE.
1506 * config/mips/tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE):
1507 Convert to function calls.
1508 * config/mips/tm-mips.h (FIX_CALL_DUMMY): New code for big endian
1510 * mips-tdep.c (mips_print_register): Raw buffer now needs just
1511 MAX_REGISTER_RAW_SIZE bytes.
1512 * mips-tdep.c (mips_print_register): Use REGISTER_CONVERT_TO_TYPE
1513 (if defined) for doubles.
1514 * mips-tdep.c: (mips_extract_return_value, mips_store_return_value):
1515 New functions, take care of REGISTER_CONVERT_TO/FROM_TYPE.
1516 * valops.c (value_assign): Use REGISTER_CONVERT_TO_TYPE if
1518 * findvar.c (value_from_register): Use REGISTER_CONVERT_TO_TYPE if
1521 Fri May 21 09:04:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1523 * configure.in: Add i[34]86-*-isc*.
1525 * stabsread.c: Make sure all complain() pass the address of the struct.
1527 * xcoffread.c: Make sure all struct complaints are static not auto.
1529 * Makefile.in: Add rule for xcoffexec.o like that for paread.o.
1531 * xcoffread.c (process_xcoff_symbol, case C_LSYM): Use define_symbol.
1533 Wed May 19 12:33:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1535 * config/i386/linux.mh: Re-enable coredumps now that they should work.
1537 Wed May 19 15:44:20 1993 K. Richard Pixley (rich@cygnus.com)
1539 * config/m68k/tm-m68k.h (FRAME_CHAIN): add missing close paren.
1541 Wed May 19 15:33:57 1993 Stu Grossman (grossman@cygnus.com)
1543 * config/pa/nm-hppab.h: Comment PTRACE_ARG3_TYPE.
1545 Wed May 19 12:33:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1547 * Makefile.in (INSTALLED_LIBS): New variable.
1549 Tue May 18 14:08:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1551 * main.c (quit_command): In the "quit anyway?" message, tell the user
1552 whether we are planning to detach or kill the program.
1554 * config/vax/vaxbsd.mh: Add "NAT_FILE= nm-vax.h".
1555 * config/vax/xm-vaxbsd.h: Use <sys/param.h> not <machine/limits.h>
1557 * infcmd.c (read_pc): Doc fix.
1559 * printcmd.c (print_address_symbolic): Use %u not %d for offset.
1561 * blockframe.c (get_prev_frame_info): If pc in sigtramp, set
1562 signal_handler_caller.
1563 * tm-68k.h (FRAME_{CHAIN,SAVED_PC}): Deal with sigtramp.
1564 * tm-hp300bsd.h: Define SIGTRAMP_{START,END} not IN_SIGTRAMP.
1565 * inferior.h (IN_SIGTRAMP): Definition moved from infrun.c.
1566 Use SIGTRAMP_START if defined.
1567 * infcmd.c (step_1): Use SIGTRAMP_{START,END} if needed.
1568 * infrun.c (wait_for_inferior): Check IN_SIGTRAMP before SKIP_PROLOGUE.
1570 * infptrace.c: Remove unused KERNEL_U_ADDR_HPUX code.
1572 * infcmd.c (step_1): Fix poorly worded error message.
1574 * config/{i386/linux.mh,m68k/isi.mh} (NATDEPFILES):
1575 Comment out corelow.c because core dumps are broken on these machines.
1577 * Makefile.in (depend): Put "${srcdir}" in generated dependencies
1578 if srcdir is not ".".
1579 Also put in -I${BFD_DIR} or -I${READLINE_DIR} for files which need it.
1580 (INCLUDE_CFLAGS): Remove BFD_DIR and READLINE_DIR.
1581 * depend: Update to latest automatically built version.
1583 Tue May 18 08:10:45 1993 Fred Fish (fnf@cygnus.com)
1585 * ChangeLog, ChangeLog-92: Split ChangeLog at 1993.
1586 * Makefile.in (NONSRC): Add ChangeLog-92
1588 Tue May 18 08:03:37 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1590 * findvar.c ({read,write}_register): Use REGISTER_RAW_SIZE
1591 not typo RAW_REGISTER_SIZE.
1593 * frame.h, inferior.h: Doc fixes.
1595 Mon May 17 15:43:03 1993 Stu Grossman (grossman@cygnus.com)
1597 * findvar.c (write_register): Add sanity check for register size.
1598 (read_register): Fixup sanity check for register size to be
1599 consistent with write_register().
1601 Mon May 17 07:36:20 1993 Ian Lance Taylor (ian@cygnus.com)
1603 * sparclite/Makefile.in: Add dummy info, install and install-info
1606 Thu May 13 07:30:22 1993 Ian Lance Taylor (ian@cygnus.com)
1608 * remote-nindy.c: Removed declaration of coffstrip.
1609 * nindy-share/nindy.c: #if 0 coffstrip routine; no longer used.
1611 Wed May 12 00:35:19 1993 Fred Fish (fnf@cygnus.com)
1613 * Makefile.in (VERSION): Bump to 4.9.1 after release and cvs
1616 * Makefile.in (VERSION): GDB 4.9 release.
1618 Tue May 11 08:04:41 1993 Fred Fish (fnf@cygnus.com)
1620 * README: Update known bugs to include the Solaris bug that
1621 leaves core dumps in the current directory when restarting the
1622 inferior with "run". Expand on the testsuite information.
1624 * Makefile.in (VERSION): Bump to 4.8.96 for what should hopefully
1625 be the last 4.9 prerelease test archive.
1627 Mon May 10 22:13:23 1993 Jim Kingdon (kingdon@cygnus.com)
1629 * config/m68k/xm-hp300bsd.h: Include <sys/param.h> to avoid INT_MAX
1632 Mon May 10 20:00:43 1993 Fred Fish (fnf@cygnus.com)
1634 * README, NEWS: Update for gdb 4.9 release.
1636 Mon May 10 19:38:34 1993 John Gilmore (gnu@cygnus.com)
1638 * ch-exp.y (MAX, MIN): Rename to MAX_TOKEN, MIN_TOKEN.
1639 * target.c (MIN): #undef before defining.
1641 Mon May 10 16:03:03 1993 Jim Kingdon (kingdon@cygnus.com)
1643 Patch from Jeffrey Law:
1644 * gdb/config/pa/nm-hppab.h (PTRACE_ARG3_TYPE): Define as caddr_t.
1646 Mon May 10 15:28:27 1993 Ian Lance Taylor (ian@cygnus.com)
1648 * hppa-tdep.c (hppa_push_arguments): Allocate correct amount of
1651 Mon May 10 13:14:46 1993 Fred Fish (fnf@cygnus.com)
1653 * ch-exp.y (start): Apply work-around to avoid bison warning.
1655 Sun May 9 07:25:02 1993 Fred Fish (fnf@cygnus.com)
1657 * Makefile.in (BISON): Remove double quotes around BISON
1658 definition when bison is used.
1660 * configure.in (hppa*-hp-bsd): Change to hppa*-hp-bsd*
1661 * configure.in (hppa*-hp-hpux): Change to hppa*-hp-hpux*
1662 * configure.in (m68*-hp-bsd): Change to m68*-hp-bsd*
1663 * configure.in (m68*-hp-hpux): Change to m68*-hp-hpux*
1664 * configure.in (hppa*-*-bsd): Change to hppa*-*-bsd*
1665 * configure.in (hppa*-*-hpux): Change to hppa*-*-hpux*
1666 * configure.in (m68*-hp-bsd): Change to m68*-hp-bsd*
1667 * configure.in (m68*-hp-hpux): Change to m68*-hp-hpux*
1669 * Makefile.in (VERSION): Bump to 4.8.6.
1671 Sat May 8 12:36:03 1993 Fred Fish (fnf@cygnus.com)
1673 * config/pa/xm-hppah.h (MALLOC_INCOMPATIBLE): Define it, and
1674 include declarations for malloc/realloc/free. Both malloc and
1675 realloc return 'void *' for non-ANSI compilations.
1677 Sat May 8 01:39:30 1993 (pes@regent.e-technik.tu-muenchen.de)
1679 * coffread.c (read_coff_symtab): Don't fclose stream as it is no
1680 longer opened twice.
1682 Thu May 6 21:08:55 1993 Jim Kingdon (kingdon@cygnus.com)
1684 * solib.c (clear_solib): Don't close bfd if it is NULL.
1686 Thu May 6 20:55:35 1993 Fred Fish (fnf@cygnus.com)
1688 * core.c (dis_asm_read_memory): Cast second arg of
1689 target_read_memory to "char *".
1690 * breakpoint.c (watchpoint_check): Change arg type from PTR to
1691 "char *", to match other functions called by catch_errors().
1693 Thu May 6 15:47:45 1993 Stu Grossman (grossman@cygnus.com)
1695 * More patches from Jeffrey Law (law@cs.utah.edu).
1696 * gdb/config/nm-hppab.h (PTRACE_ARG3_TYPE): Define as caddr_t.
1697 * gdb/config/pa/tm-hppah.h (millicode_start, millicode_end):
1698 Delete unnecessary declarations.
1700 Thu May 6 15:15:46 1993 Stu Grossman (grossman@cygnus.com)
1702 * ser-unix.c (wait_for): Use VTIME to do timeouts instead of
1703 poll() for termio{s}.
1705 Thu May 6 10:03:41 1993 Jim Kingdon (kingdon@cygnus.com)
1707 * i386-tdep.c (i386_frame_num_args): Always return -1.
1709 Wed May 5 15:16:33 1993 Stu Grossman (grossman@cygnus.com)
1711 * Patches from Jeffrey Law <law@cs.utah.edu>.
1712 * gdb/hppa-tdep.c: Declare frame_saved_pc.
1713 (frameless_function_invocation): New function.
1714 (frame_saved_pc, init_extra_frame_info): Use
1715 frameless_function_invocation.
1716 * gdb/config/pa/tm-hppa.h (SAVED_PC_AFTER_CALL): Use saved_pc_after
1717 call instead of just grabbing the value currently in %r2.
1718 (FRAMELESS_FUNCTION_INVOCATION): Use frameless_function_invocation.
1719 * gdb/config/pa/tm-hppah.h (SAVED_PC_AFTER_CALL): Delete private
1720 definition and use the common one in tm-hppa.h.
1721 * gdb/hppa-tdep.c (frame_chain_valid): If "use_unwind" is true, then
1722 use unwind descriptors to determine if the frame chain is valid.
1723 * gdb/hppa-tdep.c (find_dummy_frame_regs): Rework so that
1724 it does not assume %r4 is the frame pointer.
1725 * gdb/hppa-pinsn.c (print_insn): Handle 'r' and 'R' for break, rsm,
1726 and ssm instructions.
1727 * gdb/hppa-tdep.c (extract_5r_store, extract_5R_store): New
1728 helper functions for print_insn.
1729 * gdb/hppa-tdep.c (gcc_p, hpux_cc_p): Delete unused functions.
1730 * gdb/config/pa/tm-hppa.h (ABOUT_TO_RETURN): Handle a return
1731 which nullifies the following instruction.
1733 Tue May 4 12:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
1735 * infptrace.c [FIVE_ARG_PTRACE]: Define ptrace to call_ptrace and
1736 pass the 5th arg there, rather than using an ANSI C-specific macro.
1738 * Makefile.in (depend): Don't include ${CC} command for *.tab.c.
1740 Tue May 4 19:33:12 1993 Fred Fish (fnf@cygnus.com)
1742 * Makefile.in (VERSION): Bump to 4.8.5
1743 * Makefile.in (INCLUDE_CFLAGS): Add BFD_DIR and READLINE_DIR
1744 directories to include search path.
1745 * Makefile.in (CLIBS, CDEPS, ADD_FILES, ADD_DEPS): Clean up
1747 * Makefile.in (depend): For gcc -MM line, use INTERNAL_CFLAGS
1748 * Makefile.in (main.o, dbxread.o, coffread.o, mipsread.o,
1749 elfread.o, dwarfread.o, stabsread.o, xcoffread.o, xcoffexec.o,
1750 xdr_ld.o, xdr_rdb.o, nindy.o, Onindy.o, ttybreak.o, ttyflush.o,
1751 udr.o, udip2soc.o): Remove explicit rules, use the ones that
1752 are automatically generated in "depend".
1753 * Makefile.in (paread.o): Document why a dependency doesn't get
1754 automatically generated in "depend" and leave this explicit rule
1756 * depend: Update to latest automatically generated version.
1758 Tue May 4 12:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
1760 * xcoffread.c: Doc fix.
1762 * Makefile.in (depend): Include $(CC) command in generated output.
1764 Mon May 3 22:51:05 1993 Fred Fish (fnf@cygnus.com)
1766 * Makefile.in (NONSRC): Remove ${srcdir}/putenv.c.
1767 * Makefile.in (SFILES): Add ${srcdir}/putenv.c.
1768 * depend: Update to latest automatically built version.
1770 Mon May 3 19:20:20 1993 Stu Grossman (grossman@cygnus.com)
1772 * sparclite/Makefile.in: Create default target that does nothing
1773 in order to force user to build by hand.
1775 * sparclite/Makefile: Remove. It's not necessary anymore.
1777 * ser-unix.c (wait_for): New routine to handle read timeouts,
1778 etc. Uses poll() if HAVE_TERMIO[S] is defined, select() otherwise.
1780 Mon May 3 13:52:08 1993 Ian Lance Taylor (ian@cygnus.com)
1782 * mips-pinsn.c (print_insn): Return value.
1784 Sun May 2 11:43:57 1993 Fred Fish (fnf@cygnus.com)
1786 * Makefile.in (SFILES): Remove ser-hardwire.c; it is a link made
1787 at configuration time and doesn't belong in the distribution archive.
1789 * Makefile.in (NONSRC): Add 29k-share/README.
1790 * Makefile.in (HFILES): Add 29k-share/udi/udiids.h.
1792 * defs.h (UINT_MAX, LONG_MAX, INT_MAX, INT_MIN): Replace hex
1793 constants with slightly more portable definitions (still depends
1794 on 2's complement arithmetic though).
1795 * config/i386/nm-linux.h: Define NO_SYS_REG_H for no <sys/reg.h>.
1796 * i386v-nat.c (sys/reg.h): Conditionalize include on
1797 NO_SYS_REG_H. Linux doesn't have <sys/reg.h>.
1798 * ser-unix.c (termio.h): Include <termio.h> like other files that
1799 include termio.h, not <sys/termio.h> which may not exist (on
1802 Sat May 1 16:05:24 1993 Fred Fish (fnf@cygnus.com)
1804 * valprint.c (print_longest): Change format parameter from a
1805 'char' to an 'int'. We can't have 'char' parameters with the
1806 current coding style, where we mix prototypes with pre-ANSI
1808 * value.h (print_longest): Change format parameter in prototype
1809 from a 'char' to an 'int'.
1811 Sat May 1 02:47:20 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1813 * config/mips/tm-mips.h (STAB_REG_TO_REGNUM): Match it with the gcc
1815 * config/mips/tm-irix3.h (STAB_REG_TO_REGNUM): Add.
1816 * irix4-nat.c (fill_fpregset): Fix bug with indexing into fpregsetp.
1818 Fri Apr 30 17:45:32 1993 Stu Grossman (grossman@cygnus.com)
1820 * The following patches are from Jeffrey Law <law@cs.utah.edu>.
1821 * config/pa/hppabsd.mh: Add more files to NATDEPFILES.
1822 * config/pa/xm-hppa[bh].h: Define FIVE_ARG_PTRACE.
1823 * hppab-nat.c: Delete WANT_NATIVE_TARGET ifdefs.
1824 ptrace needs 5 arguments, #define ptrace to always
1825 pass zero as the 5th argument.
1827 Fri Apr 30 15:54:13 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1829 * configure.in: Match z8k-*-sim for z8000.
1830 * config/h8500/tm-h8500.h, h8500-tdep.c: Lint.
1831 * remote-hms.c: Update to use new serial protocol.
1833 Fri Apr 30 16:50:38 1993 K. Richard Pixley (rich@rtl.cygnus.com)
1835 * mips-tdep.c: remove include of sys/dir.h. Doesn't seem
1836 necessary and Solaris doesn't have it.
1838 * Makefile.in (clean-info, install, install-info, info, dvi,
1839 check, all): do not echo recursion lines.
1841 * 29k-share/udip2soc.c (UDIConnect): replace union wait with int.
1843 * config/sparc/sun4sol2.mh (XM_CLIBS): add -lsocket which is
1844 required target ports which use sockets (like a29k-udi).
1846 * remote-udi.c (udi_wait): Use SIGURG, as Solaris doesn't have SIGLOST.
1848 Fri Apr 30 11:05:42 1993 Jim Kingdon (kingdon@cygnus.com)
1850 * ser-unix.c [USE_{TERMIO,ALARM}_TIMEOUT]: New code to deal with
1851 systems lacking select().
1853 * Makefile.in (TAGS): Doc fix. Deal with empty DEPFILES.
1855 Fri Apr 30 10:06:46 1993 Fred Fish (fnf@cygnus.com)
1857 * alldeps.mak, depend: Update with latest automatically built
1860 Thu Apr 29 12:03:23 1993 Fred Fish (fnf@cygnus.com)
1862 * Makefile.in (SFILES): Add ser-unix.c and ser-go32.c.
1864 * Makefile.in (make-proto-testsuite.dir): New target to make
1865 prototype testsuite tree.
1867 * Makefile.in (VERSION): Bump to 4.8.4.
1869 Thu Apr 29 08:46:22 1993 Jim Kingdon (kingdon@cygnus.com)
1871 * stabsread.c (define_symbol): If unrecognized constant type,
1872 complain() not error().
1874 Thu Apr 29 00:03:59 1993 Fred Fish (fnf@cygnus.com)
1876 * infptrace.c: Add missing close paren to test for
1877 FIVE_ARG_PTRACE defined.
1879 * defs.h (CC_HAS_LONG_LONG): Set up to define CC_HAS_LONG_LONG
1880 when compiling with gcc, but disable it for now. See comment.
1881 * defs.h (LONGEST): Define as either "long" or "long long"
1882 based on CC_HAS_LONG_LONG.
1883 * defs.h (longest_to_int): Use CC_HAS_LONG_LONG to control
1884 how longest_to_int is defined.
1885 * c-valprint.c (c_val_print): Call print_longest.
1886 * expprint.c (dump_expression): Use PRINTF_HAS_LONG_LONG
1887 instead of LONG_LONG.
1888 * {printcmd.c, gdbtypes.h} (LONG_LONG): Replace usages with
1890 * printcmd.c (print_scalar_formatted): Call print_longest
1891 and let it figure out what to do for PRINTF_HAS_LONG_LONG.
1892 * typeprint.c (print_type_scalar): Call print_longest and let
1893 it figure out what to do for PRINTF_HAS_LONG_LONG.
1894 * valprint.c (val_print_type_code_int): Call print_longest
1895 and let it figure out what to do for PRINTF_HAS_LONG_LONG.
1896 * stabsread.c (LONG_LONG): Replace usages with CC_HAS_LONG_LONG.
1897 * value.h (struct value): Replace usage of LONG_LONG with
1899 * value.h (print_longest): Add prototype.
1900 * values.c (LONG_LONG): Replace usages with CC_HAS_LONG_LONG.
1901 * values.c (unpack_double): Collapse code that was unnecessarily
1902 dependent on CC_HAS_LONG_LONG. Use LONGEST instead of direct types.
1903 * values.c (value_from_longest): Remove dependency on
1904 CC_HAS_LONG_LONG and just use LONGEST.
1905 * solib.c (solib_map_sections): Use bfd_get_filename
1906 to access filename field.
1907 * solib.c (clear_solib): Save filename and free it later, after
1908 bfd_close, since bfd_close may reference it. Use bfd_get_filename
1909 to access the field.
1910 * config/convex/xm-convex.h (LONG_LONG): Replace with
1911 CC_HAS_LONG_LONG. Add define for PRINTF_HAS_LONG_LONG.
1912 * doc/gdbint.texinfo (LONG_LONG): Replace with CC_HAS_LONG_LONG.
1913 Add PRINTF_HAS_LONG_LONG references.
1915 Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
1917 * inflow.c (kill_command), infcmd.c (attach_command),
1918 remote.c (remote_interrupt_twice): In messages for the user, call it
1919 "the program" or "the program being debugged" not "the inferior".
1921 * hp300ux-nat.c: Cast second arg to supply_register calls.
1922 (_initialize_kernel_u_addr, getpagesize): New functions.
1923 (store_inferior_register_1): Change arg name from value to val.
1924 (fetch_core_registers): Make arg core_reg_size unsigned.
1925 Pass 5 args to ptrace.
1926 * config/m68k/xm-hp300hpux.h: Define FIVE_ARG_PTRACE.
1927 Remove KERNEL_U_ADDR stuff.
1928 * infptrace.c [FIVE_ARG_PTRACE]: Pass 5th arg to ptrace.
1929 * config/m68k/hp300hpux.m{t,h}:
1930 Move exec.o from NATDEPFILES to TDEPFILES
1931 * config/m68k/hp300hpux.mt: Mention GAS requirement. Remove
1932 hp-include stuff. Add m68k-tdep.o to TDEPFILES.
1934 Wed Apr 28 13:27:54 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1936 * ch-exp.y (yylex): Don't STREQ with simplename if it is NULL.
1938 Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
1940 * config/sparc/xm-sun4os4.h [__STDC__]: Don't use MALLOC_INCOMPATIBLE.
1942 Wed Apr 28 11:39:18 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
1944 * doc/gdb.texinfo: make node "Shell Commands" unconditional;
1945 describe `set demangle-style arm' (not cfront);
1946 mention can type `q' to discard output, when gdb pages
1948 Wed Apr 28 11:32:39 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1950 * valops.c (search_struct_field): Fix gdb core dump with incomplete
1953 Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
1955 * remote.c: Change timeout to 2.
1956 (remote_open): Use unpush_target not remote_close.
1957 (remote_resume): If siggnal != 0, give warning not error().
1958 (remote_wait, remote_interrupt, remote_interrupt_twice):
1959 If we get two interrupts, let the user get out if they want.
1960 (remote_{kill,mourn}): New functions.
1961 i386-stub.c (handle_exception, case 'k'): Don't BREAKPOINT.
1963 Wed Apr 28 09:20:55 1993 Ian Lance Taylor (ian@rtl.cygnus.com)
1965 * config/sparc/sun4sol2.mh (XM_CLIBS): Define to be -lnsl.
1967 Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
1969 * Remote targets (mourn): Call unpush_target.
1971 * config/sparc/xm-sun4os4.h: Declare free() to return int.
1972 Remove twisted use of PARAMS.
1974 * config/rs6000/xm-rs6000.h: Don't define MALLOC_INCOMPATIBLE now
1975 that ansidecl.h assumes ANSI on AIX.
1977 Tue Apr 27 10:01:33 1993 Jim Kingdon (kingdon@cygnus.com)
1979 * README: Move most stuff about hacking GDB to doc/gdbint.texinfo.
1980 (Known bugs): Remove AIX bugs, revise SPARC struct bug description.
1982 Tue Apr 27 13:44:19 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1984 * expprint.c (print_subexp): Fix bug with OP_SCOPE operator output.
1986 Tue Apr 27 10:01:33 1993 Jim Kingdon (kingdon@cygnus.com)
1988 * remote-vx.c (net_connect): Allow numeric IP address for host.
1990 Mon Apr 26 17:59:38 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1992 * config/sh/sh.mt, config/sh/tm-sh.h, sh-tdep.c: New files.
1994 Mon Apr 26 07:13:32 1993 Jim Kingdon (kingdon@cygnus.com)
1996 * rs6000-tdep.c (branch_dest): Deal with stepping through system call.
1998 * symtab.h, xcoffread.c: Revise linetable sorting comments.
2000 Sun Apr 25 02:32:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2002 * valops.c (value_cast): A cast might also change the object
2003 representation in C++.
2004 * dbxread.c (end_psymtab): Copy subpst read_symtab function from pst
2005 to get the proper read_symtab function when called from mipsread.c.
2006 * mipsread.c (mipscoff_psymtab_to_symtab, psymtab_to_symtab_1):
2007 Set cur_bfd in psymtab_to_symtab_1 as CURBFD(pst) is invalid
2008 for dummy psymtabs, inhibit processing of dummy psymtabs.
2010 Sat Apr 24 19:59:54 1993 Jim Kingdon (kingdon@cygnus.com)
2012 * Changes from (or inspired by) AMD:
2013 * remote-udi.c (udi_attach): Assignments to Space and Offset were
2015 (udi_wait): Make error message (UDIGetStdout) match error.
2016 (udi_wait): Handle UDIStdinNeeded.
2017 * command.c [CANT_FORK]: Use system().
2018 * utils.c (prompt_for_continue): Allow quit with 'q'.
2020 * solib.c (solib_add): Don't call special_symbol_handling if there
2021 were errors in symbol_add_stub. Also set so->from_tty before
2022 calling symbol_add_stub.
2024 Fri Apr 23 16:17:00 1993 Stu Grossman (grossman@cygnus.com)
2026 * Merge in HPPA/BSD patches from Utah:
2027 * defs.h: Add const to 2nd arg of psignal prototype.
2028 * hppah-tdep.c: Renamed to hppa-tdep.c 'cuz it's common code with
2030 * hppab-core.c: Deleted. No longer useful.
2031 * hppab-nat.c: #include more files. Use PT_WUREGS, not
2033 * hppab-tdep.c: Deleted. Supplanted by hppa-tdep.c.
2034 * config/pa/hppabsd.mh (NATDEPFILES): Remove hppab-core.o.
2035 * config/pa/hppabsd.mt (TDEPFILES): hppab-tdep.o => hppa-tdep.o
2036 * config/pa/hppahpux.mt (TDEPFILES): hppab-tdep.o => hppa-tdep.o
2037 * config/pa/xm-hppab.h: #define SET_STACK_LIMIT_HUGE.
2039 Fri Apr 23 10:34:02 1993 Stu Grossman (grossman@cygnus.com)
2041 * Fix two bugs found by deja-gnu. One is the incorrect reporting
2042 of the PC being in a stack dummy when looking at a core file
2043 without symbols. The other is the incorrect passing of char
2044 arguments during expression evaluation (ie: p foo('a','b') would
2045 mess up the passing of it's args because it wasn't coercing the
2047 * hppah-tdep.c: Rename global functions to have consistent hppa_
2048 prefix. Make more functions static. Drop hp_ prefix from static
2049 functions. (hppa_push_arguments): Call value_arg_coerce to cast
2050 char to int args if necessary. (hppa_fix_call_dummy): Create
2051 this routine from FIX_CALL_DUMMY macro in tm-hppa.h.
2052 * inferior.h (PC_IN_CALL_DUMMY): Check for frame_address being
2053 valid (ie: != 0) before doing comparison against PC.
2054 * valops.c (call_function_by_hand): Adjust call to FIX_CALL_DUMMY
2055 to reflect new arguments.
2056 * config/pa/tm-hppa.h (POP_FRAME, PUSH_ARGUMENTS): Use new hppa_
2057 prefix for func name. (FIX_CALL_DUMMY): Move code into
2060 * testsuite/gdb.t16/gdbme.c, testsuite/gdb.t17/gdbme.c: Add calls
2061 to malloc() so that we can test GDB eval of dynamically created
2062 arrays (like char strings in `print "foo"').
2064 Fri Apr 23 01:28:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2066 * printcmd.c (print_address_symbolic): Search symtabs as well as the
2067 minimal symbols for a nearby symbol.
2069 Thu Apr 22 19:44:21 1993 John Gilmore (gnu@cacophony.cygnus.com)
2071 * coffread.c: Comment changes around minimal symbol recording.
2073 Thu Apr 22 16:24:36 1993 K. Richard Pixley (rich@rtl.cygnus.com)
2075 * command.c: comment changes only.
2077 * mips-tdep.c (heuristic_fence_post): new static variable.
2078 (heuristic_proc_start): use heuristic_fence_post, print better
2079 warnings, but only if not stop_soon_quietly.
2080 (_initialize_mips_tdep): add_set_cmd for heuristic-fence-post.
2082 Thu Apr 22 14:50:05 1993 Jim Kingdon (kingdon@cygnus.com)
2084 * symtab.h: Fix LOC_REF_ARG comment.
2086 Wed Apr 22 20:21:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2087 and Jim Kingdon (kingdon@cygnus.com)
2089 * stabsread.c (define_symbol): Combine a 'p', 'r' arg pair to a
2091 * config/sparc/tm-sparc.h (REG_STRUCT_HAS_ADDR): Revise comments.
2092 symfile.c (compare_symbols): Don't check first character; STRCMP
2095 * stabsread.c (define_symbol): Generate a LOC_REGPARM_ADDR for
2096 structures that are passed by address in a register.
2097 * symtab.h (enum address_class): Add LOC_REGPARM_ADDR.
2098 * findvar.c (read_var_value),
2099 printcmd.c (address_info, print_frame_args),
2100 stack.c (print_frame_arg_vars), symmisc.c (print_{,partial_}symbol),
2101 * symtab.c (lookup_block_symbol): Deal with it.
2103 Thu Apr 22 09:07:24 1993 Jim Kingdon (kingdon@cygnus.com)
2105 * objfiles.h (obj_section), objfiles.c (build_objfile_section_table):
2107 * objfiles.c (find_pc_section): Return a struct obj_section *.
2108 * sparc-tdep.c (in_solib_trampoline): Deal with find_pc_section return.
2109 * symfile.c (syms_from_objfile) [IBM6000_TARGET]:
2110 Don't use obj_section hack.
2111 * xcoffexec (vmap_symtab): Relocate obj_sections.
2112 * printcmd.c (containing_function_bounds): Use find_pc_section.
2114 * symtab.h: Clean up SYMBOL_VALUE comments.
2116 Wed Apr 21 14:29:57 1993 Jim Kingdon (kingdon@cygnus.com)
2118 * stack.c (print_frame_arg_vars), printcmd.c (print_frame_args):
2119 Expand comments about LOC_ARG/LOC_LOCAL pairs.
2121 * coffread.c (read_coff_symtab): Use rewind before fseek.
2123 Wed Apr 21 14:24:19 1993 Per Bothner (bothner@cygnus.com)
2125 * ch-exp.y: Removed unused structure_primitive_value and FIXME_23.
2126 * Makefile.in: Add $(YFLAGS) when using $(YACC).
2127 * Makefile.in: Remove message to expect conflicts and unused
2128 rules in ch-exp.y, since there no longer are any such.
2130 Wed Apr 21 13:27:50 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2132 * stabs.texinfo: fixed bad xrefs (un-initialized statics)
2134 Tue Apr 20 08:55:11 1993 Jim Kingdon (kingdon@cygnus.com)
2136 * xcoffexec.c (xcoff_relocate_core): If no exec file, error()
2137 rather than dumping core.
2139 * Makefile.in: Add ${srcdir}/ to all source files.
2140 (alldeps.mak): Add "${srcdir}/" to files when generating alldeps.mak.
2141 (TAGS): Deal with srcdir and new config directory scheme.
2143 Makefile.in (NONSRC): Remove createtags.
2144 alldeps.mak: Updated.
2146 * rs6000-tdep.c: Delete unused function print_frame.
2148 * frame.h (struct frame_info): Doc fix for next_frame.
2149 New field signal_handler_caller.
2150 blockframe.c (create_new_frame, get_prev_frame_info),
2151 config/rs6000/tm-rs6000.h (INIT_EXTRA_FRAME_INFO): Set it (needs
2152 INIT_FRAME_PC_FIRST).
2153 stack.c (print_frame_info), rs6000-tdep.c (rs6000_frame_chain):
2156 Mon Apr 19 22:52:33 1993 Stu Grossman (grossman@cygnus.com)
2158 * irix4-nat.c (fetch_core_registers): Special version of this for
2159 Irix 4.x, which stores regs a bit differently from other /proc
2161 * procfs.c, core-svr4.c: Move fetch_core_registers from procfs.c
2162 to new file core-svr4.c.
2163 * config/i386/i386sol2.mh, config/i386/i386v4.mh, config/m68k/amix.mh,
2164 config/i386/ncr3000.mh, config/sparc/sun4sol2.mh: Add core-svr4.o
2166 * config/mips/irix4.mh: Add corelow.o to NATDEPFILES.
2168 Mon Apr 19 11:13:34 1993 Jim Kingdon (kingdon@cygnus.com)
2170 * i387-tdep.c: Remove unused #includes.
2172 * configure.in: Match i[34]86-*-sysv3.2 not i[34]86-*-sysv32.
2174 * config/i386/nm-i386v.h: Define NO_PTRACE_H.
2176 Sun Apr 18 10:39:35 1993 Jim Kingdon (kingdon@cygnus.com)
2178 * xcoffread.c: Nuke NO_DEFINE_SYMBOL code. There is no going back.
2180 * stabsread.c (define_symbol): 'R' is synonym for 'P', not 'r'.
2181 xcoffread.c (process_xcoff_symbol, case C_RPSYM):
2182 Don't muck with SYMBOL_CLASS.
2184 Fri Apr 16 17:38:33 1993 Stu Grossman (grossman@cygnus.com)
2186 * munch: Don't use head command. It doesn't exist everywhere.
2188 Fri Apr 16 15:07:57 1993 Fred Fish (fnf@cygnus.com)
2190 * inflow.c (new_tty): Remove spurious 'o' character at end
2193 Fri Apr 16 12:27:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2195 * mips-tdep.c (mips_skip_prologue): Always skip the typical prologue
2196 instructions and nothing more.
2197 * mipsread.c (add_line): Add comment why we have to combine line number
2198 entries for the same line number.
2200 Fri Apr 16 09:42:03 1993 Jim Kingdon (kingdon@cygnus.com)
2202 * symtab.{c,h}: Doc fixes (remove symseg references, last relevant
2205 Thu Apr 15 21:16:58 1993 Fred Fish (fnf@cygnus.com)
2207 * depend, alldeps.mak: Update, now that gcc -MM bug is fixed.
2209 Thu Apr 15 12:38:39 1993 Jim Kingdon (kingdon@cygnus.com)
2211 * source.c (select_source_symtab): Clean up comment. Also, if
2212 we have a current_source_symtab, and s is NULL, return without
2214 xcoffread.c (xcoff_symfile_read): Don't call select_source_symtab.
2215 breakpoint.c (breakpoint_re_set): Don't call select_source_symtab.
2217 Thu Apr 15 02:37:48 1993 John Gilmore (gnu@cacophony.cygnus.com)
2219 * dbxread.c (unknown_symchar_complaint): Add new complaint.
2220 * stabsread.h: Declare it.
2221 * partial-stab.h: Use it.
2223 * utils.c (malloc_botch): Don't forward-declare if NO_MMALLOC.
2225 Wed Apr 14 17:12:51 1993 Jim Kingdon (kingdon@cygnus.com)
2227 * stack.c (print_frame_info): Print specially if dummy frame.
2229 * breakpoint.c: Add comments regarding within_scope future direction.
2233 * xcoffread.c (record_include_{begin,end}): Change fatal to complain.
2235 Wed Apr 14 14:03:18 1993 Per Bothner (bothner@cygnus.com)
2237 * ch-exp.y: Fix thinko that broke parsing of FALSE.
2239 Wed Apr 14 12:49:29 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2241 * stabsread.c (read_member_functions): Initialize domain for stubbed
2242 member functions to avoid gdb core dumps when printing pointers
2243 to member functions.
2244 * cp-valprint.c (cp_print_class_method): Check for stubbed member
2247 Tue Apr 13 08:28:26 1993 Jim Kingdon (kingdon@cygnus.com)
2249 * expprint.c (print_subexp): If opcode not found in op_print_tab,
2250 stop with an error().
2251 eval.c (evaluate_subexp): Change error message.
2253 * objfiles.c (build_objfile_section_table): Cast return value
2254 from obstack_finish.
2256 Mon Apr 12 10:53:50 1993 Jim Kingdon (kingdon@cygnus.com)
2258 * config/rs6000/tm-rs6000.h, rs6000-tdep.c: Move FRAME_CHAIN
2259 to rs6000_frame_chain and deal with it if we're in a signal handler.
2260 (FRAME_SAVED_PC): Use rs6000_frame_chain.
2262 * breakpoint.c (within_scope): New function.
2263 (enable_breakpoint, watchpoint_check): Use it.
2265 * source.c (openp): Handle "exec-file ./ls" correctly.
2267 * breakpoint.c (breakpoint_1): Use wrap_here before "at".
2269 Sat Apr 10 01:32:43 1993 Per Bothner (bothner@rtl.cygnus.com)
2271 * ch-exp.y: Clean up lexing of identifiers and
2272 reserved words. (E.g. don't recognize FALSEXXX as the
2273 keyword FALSE followed by the identifier XXX.)
2274 Also, convert identifiers to lower case.
2276 Fri Apr 9 15:53:19 1993 Stu Grossman (grossman@cygnus.com)
2278 * remote-mips.c, remote-monitor.c, remote-st2000.c: Convert to
2279 new serial interface.
2281 Fri Apr 9 15:01:12 1993 Stu Grossman (grossman@cygnus.com)
2283 * remote.c (remote_open): Use SERIAL_OPEN instead of serial_open.
2284 (putpkt, getpkt): Use new return codes for SERIAL_READCHAR.
2285 * ser-go32.c: Return -1 on most failures, 0 on most successes,
2286 and use new return codes for go32_readchar().
2287 * ser-unix.c: Ditto. Also, move error handling up to caller for
2288 SERIAL_SETBAUDRATE().
2289 * serial.c (serial_open): Internal call, not SERIAL_OPEN to get
2290 to specific routine.
2291 (serial_close): New routine to wrap around device close routine.
2292 serial.h: Clean & document return values more clearly.
2294 Fri Apr 9 10:20:55 1993 Jim Kingdon (kingdon@cygnus.com)
2296 * rs6000-pinsn.c (print_operand): Deal with no operand instructions.
2298 * rs6000-pinsn.c (print_operand, case LI): Print condition register
2299 operand in decimal rather than wrong textual versions.
2301 * printcmd.c (_initialize_printcmd): Clean up docstring for "x"
2302 (mention 't', remove false thing about 'g' only good with 'f').
2304 * breakpoint.h: move "struct breakpoint" and friends to top of
2305 file so that bpstat_find_breakpoint prototype works.
2307 * solib.c (struct so_list): Add bfd field.
2308 (solib_map_sections): Leave bfd open and scratch_pathname allocated.
2309 Put the bfd in bfd field of the so_list.
2310 (clear_solib): Free bfd name and close_bfd on the bfd.
2312 Fri Apr 9 00:45:41 1993 Per Bothner (bothner@rtl.cygnus.com)
2314 * valarith.c (value_subscript): Add COERCE_REF.
2315 * ch-exp.y (operand_5): We can generalize the 2nd operand
2316 of a string repetition ot 'literal' without ambiguity.
2318 Thu Apr 8 10:15:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2320 * breakpoint.h (struct bpstat): Remove momentary field.
2321 Remove bpstat_momentary_breakpoint. This was always kludgy
2322 and is no longer used.
2324 * breakpoint.h: Add enum bpstat_what.
2325 breakpoint.h (struct bpstat), breakpoint.c (bpstat_stop_status):
2326 stop and print fields of bpstat now per-breakpoint, not just
2327 one for the whole chain.
2328 breakpoint.{c,h} (bpstat_what): New function.
2329 breakpoint.h: Remove bpstat_stop and bpstat_should_print.
2330 infrun.c: Replace switch (stop_bpstat->breakpoint_at->type)
2331 with call to bpstat_what.
2332 README: Remove watchpoint/breakpoint bug from known bugs.
2334 * breakpoint.h: Prototype bpstat_find_breakpoint.
2336 Thu Apr 8 16:01:21 1993 Fred Fish (fnf@cygnus.com)
2338 * symtab.c (find_methods, gdb_mangle_name): Note that functions
2340 * symtab.h (VTBL_FNADDR_OFFSET, OPNAME_PREFIX_P, VTBL_PREFIX_P,
2341 DESTRUCTOR_PREFIX_P): Note that macros are g++ specific.
2343 Thu Apr 8 12:45:32 1993 Ian Lance Taylor (ian@cygnus.com)
2345 * i960-pinsn.c (tabent): Copied struct definition from
2348 Thu Apr 8 10:34:37 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2350 * symtab.h (DESTRUCTOR_PREFIX_P): New macro to check if physname
2351 is a C++ destructor.
2352 * symtab.c (gdb_mangle_name): Use it.
2353 * symtab.c (find_methods): Do not add destructors to choice list
2355 * symtab.c (decode_line_1): Make breakpoints on destructors work
2358 Wed Apr 7 18:43:09 1993 Stu Grossman (grossman@cygnus.com)
2360 * ser-go32.c: Make it use serial port name.
2361 * go32-xdep.c: Put in def for strlwr, needed by dir.o in go32 libc.
2363 * infcmd.c (read_pc): Make sure that we read PC_REGNUM when not
2366 Wed Apr 7 15:52:11 1993 Stu Grossman (grossman@cygnus.com)
2368 * configure.in: Only configure sparclite subdir when target_cpu
2371 Wed Apr 7 10:11:22 1993 Jim Kingdon (kingdon@cygnus.com)
2373 * xcoffread.c (struct coff_symbol): Change c_sclass to unsigned char.
2374 Remove FIXME comment regarding this.
2376 * symfile.h: Change NULL->'\0' in comment (that wasn't a typo).
2378 * xcoffread.c (read_xcoff_symtab): Use E_SYMNMLEN.
2380 Tue Apr 6 22:30:58 1993 K. Richard Pixley (rich@cygnus.com)
2382 Add section table to objfile struct. Use it for find_pc_section.
2383 * objfiles.c (add_to_objfile_sections,
2384 build_objfile_section_table, find_pc_section): new functions.
2385 (allocate_objfile): build section table.
2386 * objfiles.h (struct obj_section): new structure.
2387 (struct objfile): add section table.
2388 (find_pc_section): new prototype.
2389 * solib.[ch] (find_pc_section_from_so_list): removed.
2390 * sparc-tdep.c: include objfiles.h for find_pc_section. include
2391 symfile.h for objfiles.h.
2392 (in_solib_trampoline): adjusted for new find_pc_section
2393 prototype. Removed BAD_RICH_HACK ifdefs.
2394 * symfile.c (syms_from_objfile): offset objfile sections.
2395 (find_pc_section): removed. Also removed BAD_RICH_HACK ifdefs.
2396 * symfile.h (find_pc_section): prototype removed. Also fixed
2397 comment typo NUL -> NULL.
2398 * target.[ch] (find_pc_section_from_targets): removed.
2399 * config/sparc/tm-sun4sol2.h (BAD_RICHH_HACK): removed.
2401 Tue Apr 6 21:41:13 1993 Stu Grossman (grossman@cygnus.com)
2403 * ser-go32.c: Format. (go32_open): Use proper return value.
2405 * configure.in: Undo conditional configdirs hack for sparclite.
2407 Tue Apr 6 17:07:37 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
2409 * symtab.c (list_symbols): When call break_command, pass both
2410 filename and function name not just function name.
2412 Tue Apr 6 15:00:09 1993 Fred Fish (fnf@cygnus.com)
2414 (Changes and new files to make "none" a full fledged configuration)
2415 * config/none/{nm-none.h, tm-none.h, xm-none.h}: New files.
2416 Currently only tm-none.h has any meaningful contents.
2417 * config/none/none.mh (NAT_FILE): Use nm-none.h
2418 * config/none/none.mh (XM_FILE): Use xm-none.h
2419 * config/none/none.mt (TM_FILE): Use tm-none.h
2420 * Makefile.in (depend): Remove comment about parse errors in
2421 valops.c, it now parses correctly and generates a correct depend
2422 line. Remove line that touches xm.h, tm.h, and nm.h; they are
2423 now linked to config/none/{xm-none.h, tm-none.h, nm-none.h}.
2425 Tue Apr 6 09:54:29 1993 Jim Kingdon (kingdon@cygnus.com)
2427 * values.c (USE_STRUCT_RETURN): Only use gcc wierdness for gcc1.
2429 * xcoffread.c (read_xcoff_symtab): Deal correctly with symbols of
2430 exactly 8 characters.
2432 Tue Apr 6 10:31:26 1993 Stu Grossman (grossman@cygnus.com)
2434 * configure.in: Sparclite uses sparc config dir. Also has it's
2435 own tm- & .mt files now. Also add sparclite to configdirs.
2436 * go32-xdep.c: Dummy routines for sigsetmask & strlwr.
2437 * config/i386/go32.mh: Nullify def of TERMCAP.
2438 * config/i386/xm-go32.h: Get rid of redef of EIO.
2439 * config/sparc/{sparclite.mh tm-sparclite.h}: New sparclite
2440 specific configs. Very similar to sun4os4, but without solib.
2441 * sparclite/{Makefile.in configure.in}: First cut at making this
2444 Tue Apr 6 03:10:44 1993 Stu Grossman (grossman@cygnus.com)
2446 * ser-go32.c: First cut at adapting to new serial interface.
2448 Mon Apr 5 22:29:43 1993 Stu Grossman (grossman@cygnus.com)
2450 * Makefile.in (SFILES OBS): Add serial.[co] & ser-hardwire.[co].
2451 These implement a new serial line interface for talking to remote
2453 * configure.in: Link ser-hardwire.c to ser-unix.c for all hosts,
2454 EXCEPT go32, which gets ser-go32.c.
2455 * remote.c: Use new serial interface. More remote-xxx's to be
2457 * ser-bsd.c, ser-termios.c: Removed.
2458 * serial.c: New. Implements common operations for all serial
2460 * ser-unix.c: New. Unix specific serial operations for various
2461 flavors of Unix (Posix, SysV, BSD).
2462 * serial.h: Generic serial interface defs.
2463 * config/i386/go32.mh, config/i386/i386bsd.h,
2464 config/m68k/apollo68b.mh, config/sparc/sun4os4.mh: Remove
2465 ser-bsd.o from XDEPFILES. All the magic is now handled in
2468 Mon Apr 5 20:48:54 1993 Stu Grossman (grossman@cygnus.com)
2470 * config/h8500/tm-h8500.h: Clean up brain damage found by GCC.
2472 Fri Apr 2 08:23:14 1993 Jim Kingdon (kingdon@cygnus.com)
2474 * xcoffread.c (xcoff_symfile_offsets): Use 0 not addr for offsets.
2476 * rs6000-tdep.c (frameless_function_invocation): Don't even think
2477 about framelessness except on the innermost frame.
2479 * xcoffexec.c: Call fatal() not abort().
2481 * stabsread.c (patch_block_stabs): If stab & no symbol, make
2482 a LOC_OPTIMIZED_OUT symbol.
2483 symtab.h (enum address_class): Add LOC_OPTIMIZED_OUT.
2484 findvar.c (read_var_value), printcmd.c (address_info),
2485 symmisc.c (print_{,partial_}symbol), c-exp.y (variable),
2486 m2-exp.y (yylex): Deal with it.
2487 ch-exp.y (yylex): Deal with it.
2489 Thu Apr 1 18:43:02 1993 Stu Grossman (grossman@cygnus.com)
2491 * findvar.c (value_from_register): H8500 specific, check to see
2492 if we are looking at short pointer. If so, skip crock.
2493 * h8500-tdep.c (h8500_frame_chain): Mask down value from
2494 read_memory_integer() to avoid getting messed up by sign extension.
2496 Thu Apr 1 16:44:41 1993 K. Richard Pixley (rich@rtl.cygnus.com)
2498 * sparc-tdep.c (in_solib_trampoline), symfile.c (find_pc_section):
2499 ifdef protect using BAD_RICH_HACK. This should be removed soon.
2500 * config/sparc/tm-sun4sol2.h (BAD_RICH_HACK): define.
2502 Thu Apr 1 09:01:38 1993 Jim Kingdon (kingdon@cygnus.com)
2504 * i960-pinsn.c, a29k-pinsn.c: Much abridged, just use libopcodes.a.
2506 * core.c (dis_asm_print_address): New function.
2508 * core.c (dis_asm_read_memory): Reinstate 4th arg. The prototype
2511 Thu Apr 1 09:34:43 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2513 * breakpoint.c (bpstat_print, bpstat_stop_status): Change to walk the
2514 entire breakpoint chain and print only the first entry that needs to
2515 be printed and needs to be stopped for. Fixes problems with printing
2516 of multiple breakpoints with different conditions.
2517 * breakpoint.c (print_it_done): Renamed from print_it_noop as it
2518 effectively stops printing of the breakpoint chain.
2519 * breakpoint.c (print_it_noop): New routine to print nothing
2520 for this breakpoint entry and dont stop printing.
2521 * breakpoint.c (breakpoint_re_set_one): mention the reevaluated
2522 watchpoint only if it is enabled.
2523 * mipsread.c (parse_procedure): Correct incorrect setjmp procedure
2524 descriptor from the library to make backtraces through setjmp work.
2525 * mipsread.c (fixup_sigtramp): Correct pcreg and fregoffset for
2527 * mips-tdep.c (read_next_frame_reg): Provide correct values for
2528 all registers saved within sigtramp, cleanup.
2530 Wed Mar 31 12:52:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2532 * sparc-pinsn.c: Much abridged, just calls version in libopcodes.a.
2534 Wed Mar 31 21:23:41 1993 K. Richard Pixley (rich@rtl.cygnus.com)
2536 * core.c (dis_asm_read_memory): drop fourth arg which conflicts
2537 with prototype in ../include/dis-asm.h.
2539 Wed Mar 31 12:52:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2541 * core.c (dis_asm_{read_memory,memory_error}): New functions.
2542 m68k-pinsn.c, h8500-tdep.c, i386-pinsn.c, mips-pinsn.c, z8k-tdep.c:
2543 Use read_memory_func interface to disassembler.
2545 Tue Mar 30 15:46:14 1993 K. Richard Pixley (rich@rtl.cygnus.com)
2547 Teach sparc solaris to next over shared library functions.
2548 * solib.[hc] (find_pc_section_from_so_list): new function and
2550 * sparc-tdep.c (in_solib_trampoline): new function.
2551 * symfile.[hc] (find_pc_section): new function and prototypes.
2552 * target.[hc] (find_pc_section_from_targets): new function and
2554 * config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): redefine to
2555 in_solib_trampoline.
2557 Tue Mar 30 08:06:24 1993 Jim Kingdon (kingdon@cygnus.com)
2559 * infrun.c (wait_for_inferior): Revise comment.
2561 * command.c (do_setshow_command): Use %u with var_{u,z}integer.
2563 * command.{c,h}: New var_type var_integer.
2564 main.c: Use it for history_size.
2566 * rs6000-tdep.c, xcoffexec.c, config/rs6000/xm-rs6000.h, breakpoint.c:
2567 Lint and byte-order fixups.
2569 * breakpoint.c (print_it_normal): Return 0 after hitting watchpoint.
2571 * breakpoint.h (bpstat): New field print_it.
2572 breakpoint.c (bpstat_print): Use it.
2573 (print_it_normal): New function (from old bpstat_print code).
2574 (bpstat_{alloc,stop_status}): Set print_it field.
2576 * breakpoint.c (bpstat_stop_status): Use catch_errors when
2577 evaluating watchpoint condition, via new function watchpoint_check.
2578 Also stop if watchpoint disabled due to leaving its block.
2580 * findvar.c [REG_STRUCT_HAS_ADDR]: Add comment.
2582 Tue Mar 30 00:14:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2584 * mips-pinsn.c: Add missing include of dis-asm.h.
2586 Mon Mar 29 15:03:25 1993 Fred Fish (fnf@cygnus.com)
2588 * Makefile.in (clean, distclean, realclean): Recursively apply
2589 to subdirs first, rather than last. This avoids, for example,
2590 Makefile being removed in a parent directory before the recursive
2593 * alldeps.mak, depend: Update for below changes.
2595 * config/m68k/tm-m68k.h: Renamed from config/m68k/tm-68k.h.
2596 * m68k/{tm-3b1.h, tm-altos.h, tm-amix.h, tm-es1800.h,
2597 tm-hp300bsd.h, tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-os68k.h,
2598 tm-st2000.h, tm-sun2.h, tm-sun3.h, tm-vx68.h}: Include tm-m68k.h
2599 instead of tm-68k.h.
2600 * Makefile.in (HFILES): tm-68k.h renamed to tm-m68k.h.
2601 * README, a29k-pinsn.c, m68k-pinsn.c, m68k-stub.c, remote-vx.c,
2602 m68k/{altos.mh, altos.mt, apollo68b.mh, nm-apollo68b.h,
2603 nm-hp300bsd.h, config/m68k/xm-apollo68b.h}: Map '68k' to 'm68k'.
2604 * a29k/tm-a29k.h, doc/gdbint.texinfo: Account for renaming of
2605 tm-68k.h to tm-m68k.h.
2606 * m68k/m68k-fp.mt (TM_FILE): tm-68k-fp.h renamed to tm-m68k-fp.h.
2607 * m68k/m68k-nofp.mt (TM_FILE): tm-68k-nofp.h renamed to
2610 * config/a29k/tm-a29k.h: Renamed from config/a29k/tm-29k.h.
2611 * a29k-pinsn.c: Renamed from am29k-pinsn.c.
2612 * a29k-tdep.c: Renamed from am29k-tdep.c.
2613 * remote-eb.c, config/a29k/tm-ultra3.h: Include renamed tm-a29k.h.
2614 * remote-monitor.c, remote-st2000.c, config/a29k/{nm-ultra3.h,
2615 tm-a29k.h, xm-ultra3.h}, config/romp/rtbsd.mh, doc/gdbinv-s.texi,
2616 testsuite/gdb.t15/funcargs.exp, testsuite/gdb.t17/callfuncs.exp:
2617 Map '29k' to 'a29k'.
2618 * config/a29k/{a29k-kern.mt, a29k-udi.mt, a29k.mt, ultra3.mt}
2619 (TDEPFILES): Use renamed a29k-pinsn.o and a29k-tdep.o.
2620 * config/a29k/{a29k-udi.mt, a29k.mt} (TM_FILE): Use renamed
2622 * config/a29k/a29k-udi.mt (MT_CFLAGS): Remove TARGET_AM29K
2623 define that does not appear anywhere else in the gdb source tree.
2624 * doc/gdbinit.texinfo: Document renaming of tm-29k.h to tm-a29k.h.
2626 Mon Mar 29 13:55:29 1993 Jim Kingdon (kingdon@cygnus.com)
2628 * breakpoint.c: Add comments regarding breakpoint_re_set.
2630 * xcoffread.c (sort_syms, compare_symbols): Remove.
2631 (xcoff_symfile_read): Use sort_all_symtab_syms from symfile.c
2632 not our own sort_syms (it is identical).
2634 * xcoffread.c: Nuke NAMES_HAVE_DOT define (not used).
2636 Sun Mar 28 11:24:37 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2638 * breakpoint.c (breakpoint_re_set_one): Fix storage leak.
2639 * breakpoint.c (enable_breakpoint): Don't enable watchpoint if it
2641 * exec.c (exec_close): Fix storage leak.
2642 * exec.c (exec_file_command): Make sure that bfd doesn't realign the
2643 output sections when patching an executable.
2644 * mips-nat.c (store_inferior_registers): Use REGISTER_PTRACE_ADDR
2645 when writing all registers.
2646 * mips-tdep.c (mips_push_dummy_frame): Save floating point registers
2647 at the right offset in the dummy frame.
2648 * mipsread.c (psymtab_to_symtab_1): Do not complain for stProc,
2649 stStaticProc and stEnd symbols as they are generated by gcc-2.x.
2650 * mipsread.c (mipscoff_new_init): Initialize stabsread and buildsym.
2652 Fri Mar 26 15:25:05 1993 John Gilmore (gnu@cygnus.com)
2654 * Makefile.in (TARFILES): Avoid trailing backslash.
2656 Fri Mar 26 11:29:30 1993 Jim Kingdon (kingdon@cygnus.com)
2658 * breakpoint.{c,h}: Add exp_string to struct breakpoint and use
2659 it in breakpoint_re_set.
2660 * breakpoint.c (watch_command, enable_breakpoint): Fetch lazy values.
2662 * rs6000-tdep.c (single_step): Misc cleanups (CORE_ADDR not int,
2663 don't use sizeof(int) for target stuff, etc).
2665 Thu Mar 25 15:03:53 1993 Fred Fish (fnf@cygnus.com)
2667 * alldeps.mak, configure.in, i860-break.h, i860-opcode.h,
2668 i860-pinsn.c, i860-tdep.c, config/i860/*: Remove incomplete i860
2669 support that can't be integrated anyway due to lack of clear
2672 Thu Mar 25 12:26:50 1993 Stu Grossman (grossman@cygnus.com)
2674 * findvar.c (read_register, write_register): Make these capable
2675 of reading/writing registers that are shorter than REGISTER_TYPE.
2676 * (value_from_register): Install H8500 specific code to return
2677 proper value when register is being used as a pointer.
2678 * h8500-tdep.c: Remove extra defines of NUM_REGS.
2679 (h8500_skip_prologue): Use correct lengths for LINK instructions.
2680 (FRAME_CHAIN): Change name to h8500_frame_chain. Rewrite code to
2681 chain frames properly by combining frame pointer with T reg.
2682 (init_extra_frame_info): Delete. It's now a macro.
2683 (frame_args_address): Don't add PTR_SIZE. Stack args are already
2684 offset by the correct amount off of the frame pointer.
2685 (register_byte): Delete. It's now a macro.
2686 (register_raw_size, register_virtual_size): Delete. Replaced by
2687 common routine h8500_register_size, cuz there's no difference
2688 between the raw & virtual sizes on this machine.
2689 (register_convert_to_raw, register_convert_to_virtual): Delete,
2690 cuz there's no difference between the raw & virtual forms.
2691 Replaced by memcpy in tm file.
2692 (register_virtual_type): Rename to h8500_register_virtual_type.
2693 Get rid of pointer pseudo-regs, use _REGNUM with all reg names.
2694 (_initialize_h8500_tdep): Get rid of crock to ensure that GDB &
2695 emulator have same reg offsets. This is all handled in the
2697 (h8500_trapped_internalvar): New routine to detect references to
2698 convenience vars acting as pointer pseudo-regs.
2699 (h8500_value_trapped_internalvar): Conjure up value of pointer
2701 (h8500_set_trapped_internalvar): Convert set value in real
2702 register references.
2703 infcmd.c (read_pc, write_pc): Add h8500 specific code to handle
2704 code segment register.
2705 infrun.c (proceed): Simplify. Call write_pc instead of doing it
2707 (wait_for_inferior): Add h8500 specific code to add stack segment
2708 when reading SP register.
2709 remote-sim.c (fetch_register): Spacing.
2710 tm-h8500.h: #define GDB_TARGET_IS_H8500 to make it easier to
2711 detect cruft. Redo all register manipulation stuff. Get rid of
2712 pointer pseudo-regs. (INIT_EXTRA_FRAME_INFO): Adds stack segment
2713 to frame pointer. (IS_TRAPPED_INTERNALVAL,
2714 VALUE_OF_TRAPPED_INTERNALVAR, SET_TRAPPED_INTERNALVAR): Use these
2715 to create internal vars for pointer pseudo-regs.
2717 Thu Mar 25 10:10:28 1993 Fred Fish (fnf@cygnus.com)
2719 * Makefile.in: Numerous small changes to macro definitions
2720 and rules for building gdb distribution tree. Many macros
2721 eliminated or merged, and rules simplified.
2722 * alldeps.mak: Update.
2725 Wed Mar 24 13:52:29 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
2727 * Makefile.in: recurse through SUBDIRS for dvi target too
2729 Wed Mar 24 08:48:30 1993 Jim Kingdon (kingdon@cygnus.com)
2731 * Clean up xcoff relocation.
2732 objfiles.h (struct objfiles): Add section_offsets, num_sections.
2733 symfile.c (syms_from_objfile), xcoffread.c (xcoff_symfile_offsets):
2735 symtab.h (struct general_symbol_info): Add section field.
2736 minsyms.c (prim_record_minimal_symbol{,_and_info}): Set it.
2737 xcoffread.c: Set section for symbols and msymbols.
2738 (struct symtab): Add block_line_section field.
2739 buildsym.c (end_symtab): Set it.
2740 (end_symtab and callers): Add section parameter.
2741 objfiles.c (objfile_relocate): New funciton.
2742 xcoffexec.c (vmap_symtab): Use it.
2743 xcoffsolib.h (struct vmap): Remove unused fields.
2744 config/rs6000/tm-rs6000.h, stack.c, xcoffexec.c: Remove
2745 CORE_NEEDS_RELOCATION, symtab_relocated.
2746 config/rs6000/tm-rs6000.h: Remove use of loadinfotext.
2747 rs6000-tdep.c: Make loadinfotext static.
2748 breakpoint.c (fixup_breakpoints): Doc fix.
2749 symtab.h (struct symtab), config/rs6000/tm-rs6000.h, buildsym.c
2750 (end_symtab): primary field replaces nonreloc.
2752 Tue Mar 23 00:10:53 1993 John Gilmore (gnu@cygnus.com)
2754 * symtab.h (struct linetable_entry): Remove confusing comment.
2756 Tue Mar 23 00:01:23 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2758 * Makefile.in: add installcheck target
2760 Mon Mar 22 16:17:58 1993 Fred Fish (fnf@cygnus.com)
2762 * config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
2763 m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
2764 z8k}: New directories to hold cpu specific configuration files.
2765 Naming follows gcc convention.
2766 * config/{*.mt, *.mh}: All target and host makefile fragment
2767 config files moved to an appropriate config/<cpu> subdirectory.
2768 * nm-*, xm-*, tm-*: All native, host, and target files, which
2769 get linked to nm.h, xm.h, and tm.h respectively by configure,
2770 moved to appropriate config/<cpu> subdirectory.
2771 * nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
2772 Native, host, and target files that are common across more than
2773 one cpu architecture and included by one of the configured
2774 native, host, or target files, get moved to config directory.
2775 * Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to
2776 pick up native, host, or target include files moved to one of
2777 the config subdirectories, and that are included by other files.
2778 * Makefile.in (alldeps.mak): Modify to account for new config
2779 directory structure.
2780 * alldeps.mak, depend: Update for new config directory structure.
2781 * config/*/[ntx]m-*.h: Modify all files that include other
2782 [ntx]m-*.h files to use path relative to gdb/config. I.E.
2783 "a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
2785 * remote-eb.c (tm-29k.h): Include a29k/tm-29k.h.
2786 * mipsread.c (tm-mips.h): Include mips/tm-mips.h.
2787 * i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h.
2788 * configure.in: Default gdb_host_cpu to host_cpu, and remap
2789 the ones where the default is not unique or different than the
2790 config subdirectory name. Similarly, handle gdb_target_cpu.
2791 Modify configure.in as appropriate to make use of gdb_host_cpu
2792 and gdb_target_cpu to find makefile fragments and make links.
2794 Mon Mar 22 12:36:24 1993 Ian Lance Taylor (ian@cygnus.com)
2796 * mipsread.c (compare_blocks): Sort blocks with the same start
2797 address by decreasing ending address.
2799 Mon Mar 22 20:36:04 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2801 * mipsread.c (parse_procedure): Save cur_fdr accross call to
2802 lookup_symbol as it might get clobbered by the call.
2804 * mipsread.c (parse_partial_symbols): Use ADD_PSYMBOL_ADDR_TO_LIST.
2805 The previous code did not initialize the language field for the psymtab
2808 Sat Mar 20 00:33:39 1993 John Gilmore (gnu@cygnus.com)
2810 * c-exp.y (parse_number): Avoid shift warning.
2811 * serial.h (struct ttystate): Declare empty one on DOS.
2813 Fri Mar 19 12:59:50 1993 Stu Grossman (grossman@cygnus.com)
2815 * xm-sun4os4.h: Return type of free() should be void, not int.
2817 * vx-share/vxWorks.h: Remove #def of NULL.
2819 Fri Mar 19 11:28:18 1993 Jim Kingdon (kingdon@cygnus.com)
2821 * tm-rs6000.h: Nuke no-op STAB_REG_TO_REGNUM.
2823 Fri Mar 19 07:40:09 1993 Steve Chamberlain (sac@cygnus.com)
2825 * z8k-tdep.c (print_insn): Include the new dis-asm header file.
2827 Thu Mar 18 14:26:57 1993 Per Bothner (bothner@rtl.cygnus.com)
2829 * ieee-float.c: Moved to ../libiberty.
2830 * ieee-float.h: Moved to ../include.
2831 * Makefile.in: Update accordingly.
2832 * i386-pinsn.c (print_insn), m68k-pinsn.c (print_insn):
2833 Convert to stubs that call disassemblers in ../opcodes/*-dis.c.
2834 * m68k-tdep.c: Removed definition of ext_format ext_format_68881;
2835 it is now in ../opcodes/m68881-ext.c.
2836 * mips-tdep.c (mips_skip_prologue): Try to skip more of the
2837 prologue (some callers _do_ care).
2838 * mips-pinsn.c (print_insn), z8k-tdep.c (print_insn): Convert to
2839 new interface of ../opcodes/*-dis.c.
2840 * ch-exp.y: Add #include <ctype.h>.
2842 Thu Mar 18 11:57:49 1993 Jim Kingdon (kingdon@cygnus.com)
2844 * xcoffexec.c (exec_close): Don't close exec_bfd twice.
2846 * xcoffread.c (enter_line_range): endaddr is exclusive, not inclusive.
2848 Wed Mar 17 09:46:31 1993 Jim Kingdon (kingdon@cygnus.com)
2850 * xcoffread.c (arrange_linetable): Use x{m,re}alloc not {m,re}alloc.
2852 Wed Mar 17 11:28:11 1993 Steve Chamberlain (sac@thepub.cygnus.com)
2854 * z8k-tdep.c (extract_return_value, write_return_value,
2855 store_struct_return): New functions from macros in tm-z8k.h.
2857 Wed Mar 17 11:23:06 1993 Fred Fish (fnf@cygnus.com)
2859 * valops.c (value_arg_coerce): Apply temporary patch to
2860 fix problem with coercion of array and function types when
2861 passed as arguments to C functions, pending a more complete
2862 review of when and how coercion should be done, depending
2863 upon context and language.
2865 Wed Mar 17 09:46:31 1993 Jim Kingdon (kingdon@cygnus.com)
2867 * xcoffread.c (MIN_TBTABSIZ): Change to 12.
2869 * xcoffread.c (xcoff_symfile_read): Only read stringtab and
2870 debugsec if there are a non-zero number of symbols.
2872 Tue Mar 16 18:08:45 1993 John Gilmore (gnu@cygnus.com)
2874 * command.c (show_user): Avoid fprintf_filtered botch (AGAIN!).
2876 Tue Mar 16 15:18:17 1993 Jim Kingdon (kingdon@cygnus.com)
2878 * xcoffexec.c (add_vmap): Wrap symbol read in catch_errors.
2880 * xcoffread.c (read_symbol_lineno): Look to end of symbols for .bf,
2881 not just 50 symbols.
2882 (symtbl_num_syms): New variable.
2883 (read_xcoff_symtab): Set it.
2884 (read_symbol_nvalue): Check for bad symno.
2885 (read_symbol_{lineno,nvalue}, callers): Don't pass symtable; it's
2888 Tue Mar 16 10:09:05 1993 Stu Grossman (grossman@cygnus.com)
2890 * config/rs6000.mh: Get rid of -Dfd_set=int crock.
2891 This is defined in defs.h if necessary.
2892 * vx-share/vxWorks.h: Remove #defs of min and max.
2893 * vx-share/xdr_ld.c, vx-share/xdr_ptrace.c,
2894 vx-share/xdr_rdb.c: include defs.h.
2896 Fri Mar 12 09:33:23 1993 Jim Kingdon (kingdon@cygnus.com)
2898 * xcoffread.c (retrieve_tracebackinfo): Move assignment out
2901 * xcoffread.c (enter_line_range): complain() on bad endoffset.
2902 xcoffread.c: Doc fixes.
2904 Tue Mar 9 09:56:12 1993 Jim Kingdon (kingdon@cygnus.com)
2906 * tm-rs6000.h (CORE_NEEDS_RELOCATION): Just call xcoff_relocate_core.
2907 xcoffexec.c (xcoff_relocate_core): New function.
2908 (text_adjustment): Removed.
2909 (add_vmap): Return the vmap.
2910 rs6000-tdep.c (add_text_to_loadinfo): No longer static.
2912 Fri Mar 5 05:22:46 1993 Jim Kingdon (kingdon@cygnus.com)
2914 * xcoffsolib.h: Add objfile member to struct vmap.
2915 xcoff{exec,solib}.c: Use it, not lookup_objfile_bfd.
2916 xcoffexec.c (add_vmap): Allocate objfiles here.
2918 Sun Mar 14 02:54:15 1993 John Gilmore (gnu@cygnus.com)
2920 Support 68000 series without floating point.
2922 * configure.in (m68000-*-{aout,elf,coff}): New configs.
2923 * tm-68k-nofp.h: New file, lacks 68881 support.
2924 * config/m68k-nofp.mt: New file.
2926 Sun Mar 14 02:30:08 1993 John Gilmore (gnu@cygnus.com)
2928 Remove a few remaining underscore/no-underscore remnants from
2931 * config/{m68k-un.mt, sparc-un.mt}: Remove.
2932 * config/m68k-noun.mt: Rename to m68k-fp.mt.
2933 * config/sparc-noun.mt: Rename to sparc-em.mt.
2934 * tm-68k-noun.h, tm-spc-noun.h: Remove.
2935 * tm-68k-un.h: Rename to tm-68k-fp.h.
2936 * tm-spc-un.h: Rename to tm-spc-em.h.
2937 * tm-sun4sol2.h: Cleanup.
2938 * configure.in (m68k-*, sparc-* targets): Corresponding changes.
2940 Sat Mar 13 14:58:22 1993 John Gilmore (gnu@cygnus.com)
2942 * symmisc.c (std_in, std_out, std_err): Move initializations
2943 to runtime code, in case they aren't constant.
2945 Fri Mar 12 16:23:54 1993 K. Richard Pixley (rich@cygnus.com)
2947 * symtab.c (find_pc_symtab): some object file formats, notably
2948 mips, have holes in the address ranges of symtabs. Change
2949 this algorithm from first hit to tightest fit.
2951 * mips-tdep.c (heuristic_proc_start): if we walk the pc into the
2952 fence post without finding the enclosing function, then print a
2955 Thu Mar 11 09:33:01 1993 Fred Fish (fnf@cygnus.com)
2957 * utils.c (fputs_demangled, fprint_symbol): Remove.
2958 * utils.c (fprintf_symbol_filtered): New function which combines
2959 the functionality of fputs_demangled and fprint_symbol. Uses a
2960 caller provided language parameter to select the appropriate
2961 demangler, and caller provided args to pass to the demangler.
2962 * defs.h (enum language): Move further up in file so enum can
2963 be used in prototypes.
2964 * defs.h (fputs_demangled, fprint_symbol): Remove prototypes.
2965 * defs.h (fprintf_symbol_filtered): Add prototype.
2966 * c-typeprint.c (cp_type_print_method_args): Replace calls to
2967 fputs_demangled with call to fprintf_symbol_filtered.
2968 * cp-valprint.c (demangle.h): Include
2969 * cp-valprint.c (cp_print_value_fields): Replace calls to
2970 fprint_symbol with calls to fprintf_symbol_filtered.
2971 * printcmd.c (print_frame_args): Replace call to fprint_symbol
2972 with call to fprintf_symbol_filtered.
2973 * stack.c (print_frame_info): Remove obsolete code so we don't
2974 have to update fputs_demangled usage in it.
2975 * stack.c (print_frame_info, frame_info): Add language variable
2976 to pass to fprintf_symbol_demangled and initialize it from the
2977 symbol's language. Replace calls to fputs_demangled with calls
2978 to fprintf_symbol_filtered.
2979 * symtab.c (find_methods): Replace call to fputs_demangled with
2980 call to fprintf_symbol_filtered.
2981 * ch-valprint.c (demangle.h): Include.
2982 * ch-valprint.c (chill_print_value_fields): Replace call to
2983 fprint_symbol with call to new fprintf_symbol_filtered.
2985 Wed Mar 10 17:37:11 1993 Fred Fish (fnf@cygnus.com)
2987 * Makefile.in (VERSION): Bump version to 4.8.2.
2989 * main.c (source_command): Require an explicit pathname of file
2990 to source, since previous behavior of defaulting to gdb init file
2991 was troublesome and undocumented.
2992 * printcmd.c (disassemble_command): Add missing '{}' pair to
2993 else with two statements. Bug reported by Stephane Tsacas
2995 * symtab.c (find_pc_line): Don't complain about zero length or
2996 negative length line numbers for the moment, since we may not own
2997 the terminal when called, such as when single stepping. (FIXME)
2998 * language.h (CAST_IS_CONVERSION): True if current language is
2999 C++ as well as C. Fix from Peter Schauer.
3000 * environ.c (get_in_environ, set_in_environ, unset_in_environ):
3001 Use STREQN macro rather than bare '!strncmp()'.
3002 * environ.c (unset_in_environ): Avoid use of memcpy on
3003 overlapping memory regions, as suggested by Paul Eggert
3004 <eggert@twinsun.com>.
3005 * c-exp.y (%union struct): Remove unused ulval as suggested
3006 by Paul Eggert <eggert@twinsun.com>.
3008 Mon Mar 8 19:03:06 1993 Fred Fish (fnf@cygnus.com)
3010 * main.c (gdbinit): Make static.
3011 * main.c (inhibit_gdbinit): Move to file scope.
3012 * main.c (main): Remove local inhibit_gdbinit.
3013 * main.c (source_command): Don't source '.gdbinit' file by
3014 default if gdb has been told to ignore it.
3016 Sun Mar 7 21:58:53 1993 Ian Lance Taylor (ian@cygnus.com)
3018 * Makefile.in (MAKEOVERRIDES): Define to be empty for GNU Make
3021 Fri Mar 5 17:39:45 1993 John Gilmore (gnu@cacophony.cygnus.com)
3023 * printcmd.c (print_address_symbolic): Only print if offset
3024 is shorter than max_symbolic_offset.
3025 (initialize_printcmd): `set print max-symbolic-offset'.
3027 * am29k-tdep.c (TAGWORD_ZERO_MASK): New #define.
3028 (examine_tag): Use it.
3029 (read_register_stack): Only look in the local registers for a
3030 memory address if it's between rfb and rsp; go to memory otherwise.
3031 (initialize_29k): Fix call_scratch_address doc. Remove reginv_com.
3032 (reginv_com): Remove ancient kludge command.
3034 Fri Mar 5 17:16:26 1993 K. Richard Pixley (rich@rtl.cygnus.com)
3036 * tm-irix3.h (ZERO_REGNUM): copy this macro from tm-mips.h so that
3037 irix4 will again compile.
3039 * tm-mips.h (GDB_TARGET_IS_MIPS): no longer used, now removed.
3041 * configure.in: accept mips-sgi-irix4* for irix4.
3043 Fri Mar 5 07:49:48 1993 Steve Chamberlain (sac@lisa.cygnus.com)
3045 * z8k-tdep.c (print_register_hook): Lint.
3047 Thu Mar 4 17:42:03 1993 John Gilmore (gnu@cygnus.com)
3049 Lint fixes from Paul Eggert (eggert@twinsun.com):
3051 * command.c (do_setshow_command): var_uintegers are unsigned.
3052 * sparc-tdep.c (save_insn_opcodes, restore_insn_opcodes):
3053 unsigned, since they use hex values with the high bit set.
3055 Thu Mar 4 08:22:55 1993 Fred Fish (fnf@cygnus.com)
3057 Fixes submitted by Karl Berry (karl@nermal.hq.ileaf.com):
3058 * m88k-pinsn.c (sprint_address): Use SYMBOL_NAME macro to
3060 * m88k-nat-c (SXIP_OFFSET, SNIP_OFFSET, SFIP_OFFSET): Enclose
3061 macro definitions in parenthesis.
3063 * dbxread.c (dbx_symfile_init): Catch the case where there is
3064 no string table, but the only way we find out is by reading zero
3067 Wed Mar 3 15:51:28 1993 Fred Fish (fnf@cygnus.com)
3069 * dbxread.c (dbx_symfile_init): Make size of the string table
3070 size field a define (DBX_STRINGTAB_SIZE_SIZE). Ensure that the
3071 offset to the string table is nonzero and handle the nonexistant
3072 string table case, should it occur. Ensure that the string table
3073 size read from the file is reasonable, with a minimum lower bound
3074 of DBX_STRINGTAB_SIZE_SIZE instead of zero.
3076 Wed Mar 3 07:23:03 1993 Ian Lance Taylor (ian@cygnus.com)
3078 * Makefile.in: Changes to build testsuite correctly.
3079 (FLAGS_TO_PASS): Added CXX and CXXFLAGS.
3080 (CC_FOR_TARGET, CXX, CXX_FOR_TARGET): New variables.
3081 (TARGET_FLAGS_TO_PASS): New variable.
3082 (SUBDIRS): Added testsuite.
3083 (all): Build testsuite using TARGET_FLAGS_TO_PASS, so that
3084 testsuite is compiled with CC_FOR_TARGET rather than CC.
3086 Tue Mar 2 17:57:56 1993 Fred Fish (fnf@cygnus.com)
3088 * dbxread.c (dbx_symfile_init): Fix for nonexistant string table,
3089 reported by mycroft@gnu.ai.mit.edu.
3091 (Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)
3092 * configure.in (vax-*-ultrix2*): New triplet.
3093 * config/vaxult2.mh: New file.
3094 * xm-vaxult2.h: New file.
3096 * c-exp.y (parse_number): Change high_bit to unsigned.
3097 * demangle.c: Change all references to cfront to ARM, since the
3098 actual algorithm is the one specified in the Annotated Reference
3099 Manual. This was confusing users into thinking that full cfront
3100 support was implemented.
3101 * dwarfread.c (CFRONT_PRODUCER): Remove, was never really used.
3102 * eval.c (evaluate_subexp): For STRUCTOP_PTR pass the arg type
3103 directly to lookup_struct_elt_type, which will do the
3104 dereferencing itself.
3105 * gdbtypes.c (lookup_struct_elt_type): Expand comments. Fix
3106 NULL dereferencing bug for unnamed structs, comment out
3109 Mon Mar 1 17:54:41 1993 John Gilmore (gnu@cygnus.com)
3111 * coffread.c (process_coff_symbol): Change PCC argument correction
3112 so that it only happens on big-endian targets; so that it only
3113 happens if the short or char argument is aligned on an int
3114 boundary; and so that it changes the location, rather than the
3115 type, of the argument. These changes tend to parallel similar
3116 (old) changes in stabsread.c.
3118 * coffread.c (coff_read_enum_type): Use the specified size for
3119 enums, don't assume that they are int-sized.
3121 * c-valprint.c (c_val_print): Don't assume enums are the same as
3124 * coredep.c: Handle NO_PTRACE_H in coredep.c. Fix by Michael
3125 Rendell, <michael@mercury.cs.mun.ca>.
3127 Mon Mar 1 09:25:57 1993 Fred Fish (fnf@cygnus.com)
3129 * language.h (local_decimal_format_custom): Add prototype.
3130 * language.c (local_decimal_format_custom): Add function, bug
3131 reported by Robert R. Henry (rrh@tera.com).
3133 Fri Feb 26 18:33:18 1993 John Gilmore (gnu@cacophony.cygnus.com)
3135 * xcoffexec.c (vmap_ldinfo): Fix "/" for '/' typo, reported
3136 by Josef Leherbauer, joe@takeFive.co.at.
3138 Wed Feb 24 19:17:11 1993 John Gilmore (gnu@cacophony.cygnus.com)
3140 * symfile.c (syms_from_objfile), tm-29k.h, tm-3b1.h, tm-68k-un.h,
3141 tm-altos.h, tm-arm.h, tm-convex.h, tm-es1800.h, tm-h8300.h,
3142 tm-hp300bsd.h, tm-hp300hpux.h, tm-hppa.h, tm-i386bsd.h,
3143 tm-i386v.h, tm-i960.h, tm-irix3.h, tm-isi.h, tm-linux.h,
3144 tm-m88k.h, tm-merlin.h, tm-mips.h, tm-news.h, tm-np1.h, tm-pn.h,
3145 tm-pyr.h, tm-rs6000.h, tm-spc-un.h, tm-sun386.h, tm-sunos.h,
3146 tm-symmetry.h, tm-sysv4.h, tm-tahoe.h, tm-umax.h, tm-vax.h,
3147 tm-vx68.h, tm-z8k.h: Remove remnants of NAMES_HAVE_UNDERSCORE.
3149 Wed Feb 24 07:41:15 1993 Fred Fish (fnf@cygnus.com)
3151 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Initialize contents
3152 of demangled name fields to NULL if no demangling exists for
3153 a symbol. SYMBOL_INIT_LANGUAGE_SPECIFIC does this for new
3154 symbols if their language is known at the time they are created,
3155 but sometimes the language is not known until later.
3157 * ch-typeprint.c (chill_print_type_base): Name changed to
3158 chill_type_print_base to match pattern for C and C++ names.
3159 * ch-typeprint.c (chill_print_type): Change "char" to "CHAR"
3160 to be consistent with other usages.
3161 * ch-typeprint.c (chill_type_print_base): Add support for
3162 printing Chill STRUCT types.
3163 * ch-valprint.c: Include values.h.
3164 * ch-valprint.c (chill_print_value_fields): New function and
3165 prototype for printing Chill STRUCT values.
3166 * ch-valprint.c (chill_val_print): Fix call to val_print_string
3167 that was being called with two args instead of three.
3168 * ch-valprint.c (chill_val_print): Call chill_print_value_fields
3169 to print Chill STRUCT values.
3171 Tue Feb 23 18:58:11 1993 Mike Werner (mtw@poseidon.cygnus.com)
3173 * configure.in: added testsuite to configdirs.
3175 Tue Feb 23 11:46:11 1993 Mike Stump (mrs@cygnus.com)
3177 * doc/stabs.texi: The `this' pointer is now known by the name
3178 `this' instead of `$t'.
3180 Tue Feb 23 11:21:33 1993 Fred Fish (fnf@cygnus.com)
3182 * dwarfread.c (read_tag_string_type): Rewrite to allow forward
3183 references of TAG_string_type DIEs in user defined types.
3184 * ch-lang.c (chill_create_fundamental_type): Track compiler
3185 change that now emits debugging info with the type long for Chill
3188 Mon Feb 22 15:21:54 1993 Ian Lance Taylor (ian@cygnus.com)
3190 * remote-mips.c: New file; implements MIPS remote debugging
3192 * config/idt.mt: New file; uses remote-mips.c
3193 * configure.in (mips-idt-ecoff): New target; uses idt.mt.
3195 * mips-tdep.c (mips_fpu): New variable; controls use of MIPS
3196 floating point coprocessor.
3197 (mips_push_dummy_frame): If not mips_fpu, don't save floating
3199 (mips_pop_frame): If not mips_fpu, don't restore floating point
3201 (_initialize_mips_tdep): New function; let the user reset mips_fpu
3203 * tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): If not
3204 mips_fpu, don't use fp0 as floating point return register.
3205 (FIX_CALL_DUMMY): If not mips_fpu, don't save floating point
3208 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
3210 * gdb/testsuite: made modifications to testcases, etc., to allow
3211 them to work properly given the reorganization of deja-gnu and the
3212 relocation of the testcases from deja-gnu to a "tool" subdirectory.
3214 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
3216 * gdb/testsuite: Initial creation of gdb/testsuite.
3217 Migrated dejagnu testcases and support files for testing nm to
3218 gdb/testsuite from deja-gnu. These files were moved "as is"
3219 with no modifications. This migration is part of a major overhaul
3220 of dejagnu. The modifications to these testcases, etc., which
3221 will allow them to work with the new version of dejagnu will be
3222 made in a future update.
3224 Fri Feb 19 18:36:55 1993 John Gilmore (gnu@cygnus.com)
3226 * NEWS: Add reminders for next release.
3228 Fri Feb 19 10:01:39 1993 Ian Lance Taylor (ian@cygnus.com)
3230 * mipsread.c (parse_lines): Correct check for files compiled with
3233 Fri Feb 19 05:56:15 1993 John Gilmore (gnu@cygnus.com)
3235 * Makefile.in (VERSION): 4.8.1 to distinguish local versions.
3237 Fri Feb 19 01:32:58 1993 John Gilmore (gnu@cygnus.com)
3239 * Makefile.in (VERSION): GDB-4.8 release!
3240 * README, NEWS: Update for release.
3242 Thu Feb 18 22:44:40 1993 Stu Grossman (grossman@cygnus.com)
3244 * am29k-pinsn.c (print_insn): Minor nits with const.
3245 * am29k-tdep.c: More minor nits with arg types for
3246 supply_register, NULL vs. 0, read_register_gen, & reginv_com.
3248 Thu Feb 18 22:38:03 1993 John Gilmore (gnu@cygnus.com)
3250 * gcc.patch: Update for a different GCC (G++) bug.
3251 * main.c (print_gdb_version): Update copyright year to 1993.
3252 * nm-hp300bsd.h: Decide whether this is BSD 4.3 or 4.4,
3253 conditionalize this file on it. FIXME, right way is to split
3254 these into two config files.
3255 (ATTACH_DETACH): Define for BSD 4.4
3256 (PTRACE_ARG_TYPE): caddr_t for BSD 4.4, unset for 4.3.
3257 (U_REGS_OFFSET): Revise for 4.4.
3258 (REGISTER_U_ADDR): Separate for 4.4, but it doesn't work yet.
3259 * xm-hp300bsd.h: Move definitions of UINT_MAX, INT_MAX, INT_MIN,
3260 LONG_MAX into this file to avoid cpp "redefinition" warnings.
3262 Thu Feb 18 16:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
3264 * nm-hp300bsd.h (PTRACE_ARG3_TYPE): FSF's hp300's have int* not
3267 Thu Feb 18 04:10:06 1993 John Gilmore (gnu@cygnus.com)
3269 * c-lang.c (c_printstr): Bugfix for length==0 case.
3271 * c-lang.c (c_printstr): If a C string ends in a null, don't
3274 Thu Feb 18 02:39:21 1993 Stu Grossman (grossman at cygnus.com)
3276 * defs.h (STRCMP): Make it work for unsigned chars.
3278 Thu Feb 18 01:56:06 1993 John Gilmore (gnu@cygnus.com)
3280 * nm-hp300bsd.h (ATTACH_DETACH, PTRACE_ATTACH, PTRACE_DETACH): define.
3281 * config/hp300bsd.mh (REGEX, REGEX1): Define.
3282 * m68k-pinsn.c (BREAK_UP_BIG_DECL, AND_OTHER_PART): #if __GNUC__,
3283 define to kludge the large opcode table into two smaller tables,
3284 since GCC take exponential space to build the table. Lint.
3285 (NOPCODES): Remove, use "numopcodes" from opcode/m68k.h instead.
3287 Wed Feb 17 19:24:40 1993 John Gilmore (gnu@cygnus.com)
3289 * Makefile.in (VERSION): Roll to 4.7.9.
3290 * xm-hp300bsd.h: Define PSIGNAL_IN_SIGNAL_H and put a compatible
3291 definition here, to handle both BSD 4.3 and 4.4 systems.
3292 * mipsread.c (ZMAGIC): #undef to avoid duplicate define.
3293 * remote.c (alarm): Move declaration to global level, before
3294 first reference to it.
3295 * tm-i386bsd.h (NUM_REGS): There are only eleven, not twelve.
3296 * dbxread.c (process_one_symbol): Cast to unsigned char, not int.
3298 Wed Feb 17 13:40:29 1993 K. Richard Pixley (rich@cygnus.com)
3300 * remote.c (readchar): forward declare alarm which otherwise looks
3301 like an undeclared variable to gcc.
3303 * dbxread.c (process_one_symbol): cast enum value N_SO into int
3304 when comparing against an int. Avoids superfluous warning from
3307 * inflow.c (set_sigint_trap): add cast to assignment from signal.
3308 Avoids superfluous warnings from some systems and/or compilers
3309 (like vax ultrix 4.2.)
3311 * language.c (struct op_print unk_op_print_tab): use the enum
3312 values rather naked zeros as initializers. Avoids warnings from
3313 ultrix type compilers.
3315 Tue Feb 16 00:53:20 1993 John Gilmore (gnu@cygnus.com)
3317 * Makefile.in (VERSION): Roll to 4.7.6.
3318 (SFILES_SUBDIR): Add 29k-share/udi_soc.
3319 (SFILES_SUBSUBDIR): Move 29k-share/udi files to this macro.
3320 (alldeps.mak): Make ALLDEPFILES_SUBSUBDIR for files in sub sub dirs.
3321 (ALLDEPFILES_SUBSUBDIR): Depend on this for deeper dep files.
3322 (HFILES): Remove all nm-* except nm-trash.h. Add ns32k-opcode.h.
3323 (depend): Fix bug where nm-files in config files weren't noticed.
3324 (make-proto-gdb-1): Avoid changing directories while building new
3325 prototype. Build SFILES_SUBSUBDIR with longer symlinks.
3327 Mon Feb 15 20:48:09 1993 John Gilmore (gnu@cygnus.com)
3329 * remote.c: Improve error recovery. Allow user to break out
3330 of initial connection attempt with INTERRUPT. Treat a timeout
3331 while waiting for remote packet like a retry, unless the remote
3332 side is actively running user code. Fix a few long printf_filtered's.
3334 * xcoffread.c (read_xcoff_symtab): Don't use null symbol name for
3337 * buildsym.c (start_subfile): Allow null file name.
3339 Fri Feb 12 15:46:49 1993 K. Richard Pixley (rich@cygnus.com)
3341 * xcoffread.c (process_xcoff_symbol, read_symbol_lineno): complain
3342 expects a pointer to complaint rather than a complaint
3344 (process_linenos): free the previously allocated subfile name,
3345 then allocate the new one from the heap.
3347 Fri Feb 12 08:06:05 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3349 * h8300-tdep.c, tm-h8300.h: turn off some experimental features
3351 Thu Feb 11 00:59:07 1993 John Gilmore (gnu@cygnus.com)
3353 * stabsread.c (dbx_lookup_type): Handle negative type numbers.
3354 Previously, would bogusly index off the bottom of type_vector.
3355 (rs6000_builtin_type): Accept type number as argument.
3356 (read_type, case '-'): Handle negatives like any other type number.
3358 * symfile.c (deduce_language_from_filename): Handle null name.
3360 * mips-tdep.c (isa_NAN): Fix byte order dependency.
3361 Reported by Nobuyuki Hikichi <hikichi@sra.co.jp>,
3362 fixed by sato@sm.sony.co.jp.
3364 * xcoffread.c (parmsym): Don't use an initializer to set up
3365 this struct symbol. Set it up in initialize_xcoffread.
3366 (read_xcoff_symtab, xcoff_symfile_read): Surround code that only
3367 works on real rs/6000 target with #ifndef FAKING_RS6000.
3369 Wed Feb 10 23:42:37 1993 John Gilmore (gnu@cygnus.com)
3371 * stabsread.c (rs6000_builtin_type): Move function from
3372 xcoffread.c:builtin_type.
3373 * xcoffread.c (builtin_type): Move to stabsread. Remove
3374 IBM6000_HOST dependency. Move misplaced comments.
3375 (various): Change printf's to complaints.
3376 (patch_block_stabs, process_xcoff_symbol case C_DECL): Add
3377 objfile argument to read_type calls under #if 0.
3378 (process_xcoff_symbol case C_RSYM): Fix typo in #ifdef.
3379 * xcoffexec.c (map_vmap): Don't allocate an objfile for the exec_file.
3380 * Makefile.in: xcoffread.o is not built by default.
3381 * xm-rs6000.h (IBM6000_HOST): Remove.
3382 * config/rs6000.mh (NATDEPFILES): xcoffread.o is native only.
3383 * doc/gdbint.texinfo: Eliminate IBM6000_HOST, document
3386 Wed Feb 10 18:31:20 1993 Stu Grossman (grossman at cygnus.com)
3388 * findvar.c (read_var_value): If REG_STRUCT_HAS_ADDR, then set
3389 VALUE_LVAL to be lval_memory so that we don't try to modify wild
3390 register numbers when user tries to modify elements in structs
3391 passed as arguments.
3392 * inflow.c (child_terminal_info): Move banner outside of system
3394 * tm-hppa.h (REG_STRUCT_HAS_ADDR): Define this for HPPA, which
3395 passes struct/union arguments by address.
3397 Wed Feb 10 15:34:46 1993 Ian Lance Taylor (ian@cygnus.com)
3399 * Based on patch from Kean Johnston <maw@netcom.com>:
3400 * nm-i386sco4.h: New file. Like nm-i386sco.h, but define
3401 ATTACH_DETACH, PTRACE_ATTACH and PTRACE_DETACH.
3402 * config/i386sco4.mh (NAT_FILE): Use nm-i386sco4.h.
3404 Tue Feb 9 20:07:18 1993 John Gilmore (gnu@cygnus.com)
3406 * remote-udi.c (FREEZE_MODE): Fix && for & typo. Found and
3407 fixed by Lynn D. Shumaker, shumaker@saifr00.cfsat.honeywell.com.
3409 Tue Feb 9 08:18:07 1993 Ian Lance Taylor (ian@cygnus.com)
3411 * config/i386sco4.mh (MUNCH_DEFINE): Pass -p to nm to avoid bug in
3412 cc debugging output.
3414 Tue Feb 9 00:19:28 1993 John Gilmore (gnu@cygnus.com)
3416 * stabsread.c (define_symbol): Complain about unrecognized names
3417 that begin with CPLUS_MARKER (often '$'), but don't die. Fix
3418 suggested by gb@cs.purdue.edu (Gerald Baumgartner).
3419 (read_cpp_abbrev): Don't use the class name as part of the
3420 vtable pointer member name (_vptr$) in $vf abbrevs or unrecognized
3421 abbrevs. Inspired by Mike Tiemann.
3422 (read_tilde_fields): Comment. Remove ancient dead code.
3423 Remove erroneous but non-dead code. Simplify. Add complaints.
3424 (in general): Remove extraneous (parentheses) in return
3427 Fri Feb 5 14:01:22 1993 John Gilmore (gnu@cygnus.com)
3429 * coffread.c (coff_lookup_type): Fix fencepost error reported
3430 by Art Berggreen, <arg@opal.acc.com>.
3432 Fix long file name bug reported on SCO Open Desktop 2.0 by Ulf Lunde
3433 <Ulf.Lunde@kvatro.no> and Dag H. Wanvik <Dag.H.Wanvik@kvatro.no>:
3435 * coffread.c (getfilename): Eliminate COFF_NO_LONG_FILE_NAMES
3436 test, which is apparently left over from when we used native
3437 include files and couldn't depend on the member names being there.
3438 * tm-3b1.h, tm-altos.h, tm-i386v.h: Don't set it.
3440 Thu Feb 4 12:23:15 1993 Ian Lance Taylor (ian@cygnus.com)
3442 * mipsread.c: Major overhaul to use new BFD symbol table reading
3443 routines. Now swaps information as it is needed, rather than
3444 swapping everything when the file is read.
3446 Thu Feb 4 01:52:36 1993 John Gilmore (gnu@cygnus.com)
3448 * Makefile.in (TARDIRS): Add sparclite demo dir.
3449 (*.tab.c): Change dependency on Makefile to depend on
3450 Makefile.in, otherwise it always rebuilds after configuring.
3451 Force output *.tab.c file into current directory even in "make"
3452 versions that rewrite dependent file names used in command lines.
3454 * TODO: Remove some things we did.
3455 * am29k-opcode.h, convx-opcode: Remove; now in ../include/opcode.
3456 * os68k-xdep.c: Remove; useless file (os68k is a target only).
3457 * convex-pinsn.c: Use ../include/opcode/convex.h. Add CONST.
3458 * symtab.h: Eliminate unnamed unions and structs.
3460 Wed Feb 3 14:48:08 1993 John Gilmore (gnu@cygnus.com)
3462 * Makefile.in (VERSION): Roll to 4.7.5.
3464 Tue Feb 2 20:47:42 1993 John Gilmore (gnu@cygnus.com)
3466 * breakpoint.c (breakpoint_re_set_one): Handle watchpoints when
3467 re-evaluating symbol pointers.
3469 Tue Feb 2 16:10:31 1993 Fred Fish (fnf@cygnus.com)
3471 * c-exp.y (lcurly, rcurly): New nonterminals.
3472 * c-exp.y (exp): Use lcurly and rcurly for arrays and UNOP_MEMVAL
3474 * parse.c (free_funcalls): Moved prototype from parser-defs.h,
3475 made function static.
3476 * parse.c (struct funcall): Moved struct def from parser-defs.h.
3477 * parse.c (funcall_chain): Moved from parser-defs.h, made static.
3478 * parse.c (start_arglist):
3479 * parser-defs.h (free_funcalls): Moved prototype to parse.c.
3480 * parser-defs.h (struct funcall): Moved struct def to parse.c.
3481 * parser-defs.h (funcall_chain): Moved to parse.c.
3482 * printcmd.c (print_frame_nameless_args): Fix prototype.
3483 * tm-mips.h (setup_arbitrary_frame): Fix prototype.
3484 * tm-sparc.h (setup_arbitrary_frame): Fix prototype.
3485 * valops.c (typecmp): Moved prototype from values.h.
3486 * value.h (typecmp): Moved prototype to valops.c, made static.
3487 * ch-exp.y (yylex): Change way control sequences are disabled.
3489 Tue Feb 2 16:11:43 1993 John Gilmore (gnu@cygnus.com)
3491 * tm-mips.h, tm-sparc.h: Fix thinko in SETUP_ARBITRARY_FRAME.
3493 Tue Feb 2 15:30:33 1993 Ian Lance Taylor (ian@cygnus.com)
3495 * mipsread.c (upgrade_type): Build array types correctly, using
3496 create_range_type and create_array_type.
3498 Tue Feb 2 00:19:08 1993 John Gilmore (gnu@cygnus.com)
3500 * remote-nindy.c: Cleanup.
3502 * infrun.c (wait_for_inferior): When rolling back the PC after
3503 a breakpoint, call write_pc so that NPC gets rolled back as well
3506 * blockframe.c (inside_entry_file, inside_main_func,
3507 inside_entry_func): PC of zero is always "bottom of stack".
3509 * printcmd.c (print_frame_args, print_frame_nameless_args):
3510 Let print_frame_nameless_args decide whether there are any,
3511 laying groundwork for possibly later printing 29K args for
3512 functions where we have tag words but no symbols.
3514 Mon Feb 1 18:09:58 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
3516 * Makefile.in: fix GDB doc targets for new doc subdir structure
3518 Mon Feb 1 17:56:47 1993 John Gilmore (gnu@cygnus.com)
3520 * stack.c (parse_frame_specification): Parse as many arguments
3521 as there are (up to MAXARGS). Pass all of them in argc, argv
3522 format to SETUP_ARBITRARY_FRAME. Put the burden of checking how
3523 many there were, onto SETUP_ARBITRARY_FRAME.
3524 * tm-mips.h, tm-sparc.h: Corresponding changes.
3525 * mips-tdep.c, sparc-tdep.c: Ditto.
3527 Mon Feb 1 17:19:37 1993 John Gilmore (gnu@cygnus.com)
3529 * hp300ux-nat.c: Update copyrights.
3530 * mipsread.c (parse_partial_symbols): Complain about block
3531 indexes that go backwards. Fix from Peter Schauer.
3532 * symfile.c (syms_from_objfile, symbol_file_add): Allow a
3533 symbol-file that has no linkage symbols to be read.
3534 * tm-rs6000.h, xm-rs6000.h: (SIGWINCH_HANDLER and friends): Move
3535 from tm- file to xm-file, since they're host dependent.
3536 * valarith.c (value_binop): Typo.
3538 Mon Feb 1 16:16:59 1993 Stu Grossman (grossman at cygnus.com)
3540 * sparclite/aload.c: Add copyleft.
3541 * sparclite/crt0.s: Add comment at beginning.
3543 Mon Feb 1 14:36:11 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3545 * remote-z8k.c, z8k-tdep.c: support for the Z8001 and Z8002.
3546 * parse.c (std_regs): Only declare if NO_STD_REGS is defined.
3548 Sun Jan 31 04:32:48 1993 Michael Tiemann (tiemann@rtl.cygnus.com)
3550 * values.c (value_headof): Fix typo in which VTBL and ARG were
3551 being confused for one another.
3553 * valops.c (typecmp): Now static.
3555 * gdbtypes.c (fill_in_vptr_fieldno): Don't ignore the first
3556 baseclass--we don't always inherit its virtual function table
3559 * eval.c (evaluate_subexp): In OP_FUNCALL case, adjust `this'
3560 pointer correctly in case value_struct_elt moves it around.
3562 * valops.c (typecmp): Now static. Also, now groks references
3565 * gdbtypes.c (lookup_struct_elt_type): Pass NOERR instead of
3566 zero on recursive call. If NAME is the name of TYPE, return TYPE.
3568 Sat Jan 30 19:55:52 1993 John Gilmore (gnu@cygnus.com)
3570 * hppah-nat.c: Eliminate <sys/user.h> and other unnecessary stuff,
3571 to avoid "too much defining" error from native C compiler (!).
3573 * Makefile.in (HFILES): Add typeprint.h.
3574 * typeprint.[ch]: Update copyrights.
3576 Thu Jan 28 19:09:02 1993 John Gilmore (gnu@cygnus.com)
3578 * Makefile.in: Update to match doc/ subdir changes.
3580 * config/hp300hpux.mh: No cross-host file needed, just native.
3581 * config/go32.mh: Remove nonexistent "native" support.
3583 M88K fixes reported by Carl Greco, <cgreco@Creighton.Edu>:
3584 * tm-m88k.h (REGISTER_CONVERT_TO_RAW): Fix typo.
3585 * m88k-tdep.c (next_insn): Lint, cleanup.
3586 (store_parm_word): Lint.
3588 * README: Fix typo (reported by karl@hq.ileaf.com).
3590 Wed Jan 27 21:34:21 1993 Fred Fish (fnf@cygnus.com)
3592 * expression.h (BINOP_CONCAT): Document use for self concatenation
3593 an integral number of times.
3594 * language.c (binop_type_check): Extend BINOP_CONCAT for self
3596 * valarith.c (value_concat): Rewrite to support self
3597 concatenation an integral number of times.
3598 * Makefile.in (ch-exp.tab.c): Change "expect" message.
3599 * ch-exp.y (FIXME's): Make all FIXME tokens distinct, to
3600 eliminate hundreds of spurious shift/reduce and reduce/reduce
3601 conflicts that mask the 5 real ones.
3602 * ch-exp.y (STRING, CONSTANT, SC): Remove unused tokens.
3603 * ch-exp.y (integer_literal_expression): Remove production,
3606 Thu Jan 21 09:58:36 1993 Fred Fish (fnf@cygnus.com)
3608 * eval.c (evaluate_subexp): Fix OP_ARRAY, remove code that
3609 implied that "no side effects" was nonfunctional.
3610 * eval.c (evaluate_subexp): Add BINOP_CONCAT case to deal with
3611 character string and bitstring concatenation.
3612 * expprint.c (dump_expression): Add case for BINOP_CONCAT.
3613 * expression.h (exp_opcode): Add BINOP_CONCAT.
3614 * gdbtypes.h (type_code): Add TYPE_CODE_BITSTRING.
3615 * language.c (string_type): Add function to determine if a type
3617 * language.c (binop_type_check): Add case for BINOP_CONCAT.
3618 * valarith.c (value_concat): New function to concatenate two
3619 values, such as character strings or bitstrings.
3620 * valops.c (value_string): Remove error stub and implement
3622 * value.h (value_concat): Add prototype.
3623 * ch-exp.y (operand_3): Add actions for SLASH_SLASH (//).
3624 * ch-exp.y (yylex): Recognize SLASH_SLASH.
3625 * ch-lang.c (chill_op_print_tab): Add SLASH_SLASH (//) as
3628 Tue Jan 19 14:26:15 1993 Fred Fish (fnf@cygnus.com)
3630 * c-exp.y (exp): Add production to support direct creation
3631 of array constants using the obvious syntax.
3632 * c-valprint.c (c_val_print): Set printed string length.
3633 * dwarfread.c (read_tag_string_type): New prototype and
3634 function that handles TAG_string_type DIEs.
3635 * dwarfread.c (process_dies): Add case for TAG_string_type
3636 that calls new read_tag_string_type function.
3637 * expprint.c (print_subexp): Add support for OP_ARRAY.
3638 * gdbtypes.c (create_range_type, create_array_type): Inherit
3639 objfile from the index type.
3640 * ch-typeprint.c (chill_print_type): Add case for
3642 * ch-valprint.c (chill_val_print): Fix case for
3645 Mon Jan 18 11:58:45 1993 Ian Lance Taylor (ian@cygnus.com)
3647 * mipsread.c (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB,
3648 MIPS_UNMARK_STAB, STABS_SYMBOLS): Removed; now in
3649 include/coff/mips.h.
3651 Fri Jan 15 20:26:50 1993 Fred Fish (fnf@cygnus.com)
3653 * c-exp.y (exp:STRING): Convert C strings into array-of-char
3654 constants with an explicit null byte terminator. OP_STRING is
3655 now used for real string types.
3656 * c-lang.c (builtin_type_*): Move declarations to lang.c since
3657 they are used by all languages.
3658 * c-lang.c (_initialize_c_language): Move initializations of
3659 builtin_type_* to lang.c.
3660 * c-typeprint.c (c_type_print_varspec_prefix,
3661 c_type_print_varspec_suffix): TYPE_CODE_PASCAL_ARRAY renamed
3662 to TYPE_CODE_STRING.
3663 * c-valprint.c (c_val_print): Change the way character arrays
3664 are printed as strings to be consistent with the way strings
3665 are printed when pointer-to-char types are dereferenced.
3666 Remove test of print_max before calling val_print_string, which
3667 now does it's own test.
3668 * eval.c (evaluate_subexp): Add case for OP_ARRAY.
3669 * expprint.c (print_subexp, dump_expression): Add case for OP_ARRAY.
3670 * expression.h (enum exp_opcode): Add OP_ARRAY and document.
3671 * gdbtypes.c (builtin_type_*): Add declarations moved from
3673 * gdbtypes.c (create_string_type): New function to create real
3675 * gdbtypes.c (recursive_dump_type): TYPE_CODE_PASCAL_ARRAY
3676 renamed to TYPE_CODE_STRING.
3677 * gdbtypes.c (_initialize_gdbtypes): Add initializations of
3678 builtin_type_* types moved from c-lang.c.
3679 * gdbtypes.h (enum type_code): TYPE_CODE_PASCAL_ARRAY renamed
3680 to TYPE_CODE_STRING.
3681 * gdbtypes.h (builtin_type_string): Add extern declaration.
3682 * gdbtypes.h (create_string_type): Add prototype.
3683 * m2-lang.c (m2_create_fundamental_type): TYPE_CODE_PASCAL_ARRAY
3684 renamed to TYPE_CODE_STRING.
3685 * m88k-tdep.c (pushed_size): TYPE_CODE_PASCAL_ARRAY renamed to
3687 * mipsread.c (_initialize_mipsread): TYPE_CODE_PASCAL_ARRAY
3688 renamed to TYPE_CODE_STRING.
3689 * parse.c (length_of_subexp, prefixify_subexp): Add case for
3691 * printcmd.c (print_formatted): Recognize TYPE_CODE_STRING.
3692 * typeprint.c (print_type_scalar): TYPE_CODE_PASCAL_ARRAY renamed
3693 to TYPE_CODE_STRING.
3694 * valops.c (allocate_space_in_inferior): New function and
3695 prototype, using code ripped out of value_string.
3696 * valops.c (value_string): Rewritten to use new function
3697 allocate_space_in_inferior, but temporarily disabled until some
3698 other support is in place.
3699 * valops.c (value_array): New function to create array constants.
3700 * valprint.c (val_print_string): Add comment to document use,
3701 complete rewrite to fix several small buglets.
3702 * value.h (value_array): Add prototype.
3703 * value.h (val_print_string): Change prototype to match rewrite.
3704 * ch-valprint.c (chill_val_print): Add case for TYPE_CODE_STRING.
3705 * ch-exp.y (match_character_literal): Disable recognition of
3706 control sequence form of character literals and document why.
3708 Thu Jan 14 15:48:12 1993 Stu Grossman (grossman at cygnus.com)
3710 * nindy-share/nindy.c: Add comments to #endif's to clarify
3713 * hppa-pinsn.c (print_insn): Use read_memory_integer, instead of
3714 read_memory to get byte order right.
3715 * hppah-tdep.c (find_unwind_info): Don't read in unwind info
3716 anymore. This is done in paread.c now. We expect unwind info
3717 to hang off of objfiles, and search all of the objfiles when until
3719 * (skip_trampoline_code): Cast arg to target_read_memory.
3720 * objfiles.h (struct objfile): Add new field obj_private to hold
3721 per object file private data (unwind info in this case).
3722 * paread.c (read_unwind_info): New routine to read unwind info
3723 for the objfile. This data is hung off of obj_private.
3724 * tm-hppa.h: Define struct obj_unwind_info, to hold pointers to
3725 the unwind info for this objfile. Also define OBJ_UNWIND_INFO to
3726 make this easier to access.
3728 Wed Jan 13 20:49:59 1993 Fred Fish (fnf@cygnus.com)
3730 * c-valprint.c (cp_print_class_member): Add extern decl.
3731 * c-valprint.c (c_val_print): Extract code for printing methods
3732 and move it to cp_print_class_method in cp-valprint.c.
3733 * c-valprint.c (c_val_print): Extract code to print strings and
3734 move it to val_print_string in valprint.c.
3735 * cp-valprint.c (cp_print_class_method): New function using
3736 code extracted from c_val_print.
3737 * valprint.c (val_print_string): New function using code
3738 extracted from c_val_print.
3739 * value.h (val_print_string): Add prototype.
3740 * ch-exp.y (CHARACTER_STRING_LITERAL): Set correct token type.
3741 * ch-exp.y (literal): Add action for CHARACTER_STRING_LITERAL.
3742 * ch-exp.y (tempbuf, tempbufsize, tempbufindex, GROWBY_MIN_SIZE,
3743 CHECKBUF, growbuf_by_size): New variables, macros, and support
3744 functions for implementing a dynamically expandable temp buffer.
3745 * ch-exp.y (match_string_literal): New lexer function.
3746 * ch-exp.y (match_bitstring_literal): Dynamic buffer code
3747 removed and replaced with new CHECKBUF macro.
3748 * ch-exp.y (yylex): Call match_string_literal when appropriate.
3749 * ch-valprint.c (ch_val_print): Add code for TYPE_CODE_PTR.
3751 Sat Jan 9 19:59:33 1993 Stu Grossman (grossman at cygnus.com)
3753 * Makefile.in: Add info for paread.o.
3754 * config/hppahpux.mh: Add paread.o to NATDEPFILES.
3756 * blockframe.c (frameless_look_for_prologue): Correct the
3758 * gdbtypes.h, gdbtypes.c: Use const in decl of
3759 cplus_struct_default, now that pa-gas assembler has been fixed.
3760 * hppah-nat.c: Formatting.
3761 * hppah-tdep.c: Remove lots of useless externs for variables we
3763 * (find_unwind_entry): Speed up by using binary search, and a one
3765 * (rp_saved): New routine to see what unwind info says about RP
3766 being saved on the stack frame.
3767 * (frame_saved_pc): Look for prologue to see if we need to
3768 examine the stack for the saved RP or not.
3769 * (init_extra_frame_info): Check for prologue, instead of
3770 framesize to determine if we are frameless or not.
3771 * (frame_chain_valid): Stop backtraces when we run into _start.
3772 * (push_dummy_frame): Reformat to make more readable.
3773 * (find_dummy_frame_regs): ditto.
3774 * (hp_pop_frame): ditto.
3775 * (hp_restore_pc_queue): small cleanup.
3776 * (hp_push_arguments): ditto.
3777 * (pa_do_registers_info): ditto.
3778 * (skip_prologue): New routine created from SKIP_PROLOGUE macro.
3779 * tm-hppa.h: Move contents of SKIP_PROLOGUE into hppah-tdep.c.
3780 * Define FRAME_CHAIN_VALID.
3781 * Turn on BELIEVE_PCC_PROMOTION so that we can access char args
3782 passed to functions.
3784 * paread.c (pa_symtab_read): Use new bfd conventions for
3785 accessing linker symbol table.
3786 * (pa_symfile_init): Access embedded STAB info via BFD section
3787 mechanism and related macros.
3790 Sat Jan 9 19:31:43 1993 Stu Grossman (grossman at cygnus.com)
3792 * sparc-stub.c: Use a seperate stack for our traps.
3793 * Handle recursive traps.
3794 * Remove all trap init code. This needs to be done by the
3796 * (set_mem_fault_trap): Call exceptionHandler() to setup this
3798 * (handle_exception): See if we are at breakinst, if so, then
3799 advance PC sp that users can just step out of breakpoint().
3800 * (case 'G'): Don't let GDB hack CWP. Also, copy saved regs to
3801 new place if SP has changed.
3802 * (case 's'): Get rid of this, we can't do it yet.
3803 * (case 't'): New command to test any old random feature.
3804 * (case 'r'): New command to reset the system.
3805 * (breakpoint): Add label to breakpoint trap instruction so that
3806 handle_exception() can detect where we are and get past the
3807 breakpoint trivially.
3809 Thu Jan 7 13:33:06 1993 Ian Lance Taylor (ian@cygnus.com)
3811 * mips-pinsn.c: Actual work now done by opcodes/mips-dis.c.
3813 Thu Jan 7 09:21:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
3815 * configure.in: recognise all sparclite variants
3817 Wed Jan 6 10:14:51 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3819 * symfile.c: If O_BINARY isn't defined, set it to 0, call openp for
3820 binary files oring in the right bit.
3822 * main.c, source.c, state.c, symmisc.c: use macros defined in
3823 fopen-{bin|both} when fopening files.
3825 Wed Jan 6 08:19:11 1993 Fred Fish (fnf@cygnus.com)
3827 * defs.h (HOST_CHAR_BIT): New macro, defaults to either CHAR_BIT
3828 from a configuration file (typically including <limits.h>), or to
3829 TARGET_CHAR_BIT if CHAR_BIT is not defined.
3830 * eval.c (evaluate_subexp): Use new BYTES_TO_EXP_ELEM macro.
3831 * eval.c (evaluate_subexp): Add case for OP_BITSTRING.
3832 * expprint.c (print_subexp): Use new BYTES_TO_EXP_ELEM macro.
3833 * exppritn.c (print_subexp, dump_expression): Add case for
3835 * expression.h (OP_BITSTRING): New expression element type for
3837 * expression.h (EXP_ELEM_TO_BYTES, BYTES_TO_EXP_ELEM): New
3838 macros to convert between number of expression elements and bytes
3839 to store that many elements.
3840 * i960-tdep.c (leafproc_return): Use new macros to access
3841 minimal symbol name and address fields.
3842 * m88k-pinsn.c (sprint_address): Use new macros to access
3843 minimal symbol name and address fields.
3844 * nindy-tdep.c (nindy_frame_chain_valid): Use new macro to access
3845 minimal symbol address field.
3846 * parse.c (write_exp_elt, write_exp_string, prefixify_expression,
3847 parse_exp_1): Use new EXP_ELEM_TO_BYTES macro.
3848 * parse.c (write_exp_string, length_of_subexp, prefixify_expression):
3849 Use new BYTES_TO_EXP_ELEM macro.
3850 * parse.c (write_exp_bitstring): New function to write packed
3851 bitstrings into the expression element vector.
3852 * parse.c (length_of_subexp, prefixify_subexp): Add case for
3854 * parser-defs.h (struct stoken): Document that it is used for
3855 OP_BITSTRING as well as OP_STRING.
3856 * parser-defs.h (write_exp_bitstring): Add prototype.
3857 * ch-exp.y (BIT_STRING_LITERAL): Change token type to sval.
3858 * ch-exp.y (NUM, PRED, SUCC, ABS, CARD, MAX, MIN, SIZE, UPPER,
3859 LOWER, LENGTH): New tokens for keywords.
3860 * ch-exp.y (chill_value_built_in_routine_call, mode_argument,
3861 upper_lower_argument, length_argument, array_mode_name,
3862 string_mode_name, variant_structure_mode_name): New non-terminals
3864 * ch-exp.y (literal): Useful production for BIT_STRING_LITERAL.
3865 * ch-exp.y (match_bitstring_literal): New lexer support function
3866 to recognize bitstring literals.
3867 * ch-exp.y (tokentab6): New token table for 6 character keywords.
3868 * ch-exp.y (tokentab5): Add LOWER, UPPER.
3869 * ch-exp.y (tokentab4): Add PRED, SUCC, CARD, SIZE.
3870 * ch-exp.y (tokentab3): Add NUM, ABS, MIN, MAX.
3871 * ch-exp.y (yylex): Check tokentab6.
3872 * ch-exp.y (yylex): Call match_bitstring_literal.
3874 Mon Jan 4 16:54:18 1993 Fred Fish (fnf@cygnus.com)
3876 * xcoffexec.c (vmap_symtab): Use new macros to access minimal
3877 symbol name and value fields.
3879 * c-exp.y (yylex): Make static, to match prototype and other
3882 * expression.h (exp_opcode): Add BINOP_MOD.
3883 * eval.c (evaluate_subexp): Handle new BINOP_MOD.
3884 * expprint.c (dump_expression): Handle new BINOP_MOD.
3885 * language.c (binop_type_check): Handle new BINOP_MOD.
3886 * main.c (float_handler): Re-enable float handler when hit.
3887 * valarith.c (language.h): Include, need current_language.
3888 * valarith.c (TRUNCATION_TOWARDS_ZERO): Define default macro
3889 for integer divide truncates towards zero for negative results.
3890 * valarith.c (value_x_binop): Handle BINOP_MOD if seen.
3891 * valarith.c (value_binop): Allow arithmetic operations on
3892 TYPE_CODE_CHAR variables. Add case to handle new BINOP_MOD.
3893 * ch-exp.y (operand_4): Add useful actions for MOD and REM.
3894 * ch-exp.y (tokentab3): Add MOD and REM.
3895 * ch-exp.y (yylex): Set innermost_block for symbols found
3896 in local scopes. Return LOCATION_NAME for local symbols.
3897 * ch-lang.c (chill_op_print_tab): Fix MOD entry to use
3898 BINOP_MOD instead of BINOP_REM. Add REM entry, using BINOP_REM.
3900 Mon Jan 4 07:35:31 1993 Steve Chamberlain (sac@wahini.cygnus.com)
3902 * command.c (shell_escape, make_command, _initialize_command):
3903 don't create or use fork if CANT_FORK is defined.
3904 * serial.h, ser-go32.c: now compiles, but "the obvious problems of
3905 code written for the IBM PC" remain.
3906 * xm-go32.h: define CANT_FORK
3908 Sun Jan 3 14:24:56 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3910 * remote-sim.c: first attempt at general simulator interface
3911 * remote-hms.c: whitespace
3912 * h8300-tdep.c: (h8300_skip_prologue, examine_prologue):
3913 understand new stack layout. (print_register_hook): print ccr
3914 register in a fancy way.
3916 Sun Jan 3 14:16:10 1993 Fred Fish (fnf@cygnus.com)
3918 * eval.c (language.h): Include.
3919 * eval.c (evaluate_subexp_with_coercion): Only coerce arrays
3920 to pointer types when the current language is C. It loses for
3921 other languages when the lower index bound is nonzero.
3922 * valarith.c (value_subscript): Take array lower bounds into
3923 account when performing subscripting operations.
3924 * valops.c (value_coerce_array): Add comment describing why
3925 arrays with nonzero lower bounds are dealt with in value_subscript,
3926 rather than in value_coerce_array.
3928 Sat Jan 2 12:16:41 1993 Fred Fish (fnf@cygnus.com)
3930 * ch-exp.y (FLOAT_LITERAL): Add token.
3931 * ch-exp.y (literal): Add FLOAT_LITERAL.
3932 * ch-exp.y (match_float_literal): New lexer routine.
3933 * ch-exp.y (convert_float): Remove.
3934 * ch-exp.y (yylex): Call match_float_literal.
3935 * ch-exp.y (yylex): Match single '.' after trying
3936 to match floating point literals.
3938 * eval.c (evaluate_subexp): Add case MULTI_SUBSCRIPT.
3939 * expprint.c (print_subexp): Rename BINOP_MULTI_SUBSCRIPT to
3941 * expprint.c (dump_expression): New function for dumping
3942 expression vectors during gdb debugging.
3943 * expression.h (BINOP_MULTI_SUBSCRIPT): Name changed to
3944 MULTI_SUBSCRIPT and moved out of BINOP range.
3945 * expression.h (DUMP_EXPRESSION): New macro that calls
3946 dump_expression if DEBUG_EXPRESSIONS is defined.
3947 * m2-exp.y (BINOP_MULTI_SUBSCRIPT): Changed to MULTI_SUBSCRIPT.
3948 * parse.c (length_of_subexp, prefixify_subexp): Change
3949 BINOP_MULTI_SUBSCRIPT to MULTI_SUBSCRIPT.
3950 * parse.c (parse_exp_1): Call DUMP_EXPRESSION before and after
3951 prefixify'ing the expression.
3952 * printcmd.c (print_command_1): Add comment.
3953 * ch-exp.y (expression_list): Add useful actions.
3954 * ch-exp.y (value_array_element): Add useful actions.
3955 * ch-exp.y (array_primitive_value): Add production.
3956 * ch-exp.y (yylex): Recognize ',' as a token.
3958 Fri Jan 1 18:22:02 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
3960 * Makefile.in: pass prefix and exec_prefix via FLAGS_TO_PASS,
3961 POSIXize the recursive makes (make [variable assignments] target{s})
3963 Fri Jan 1 11:56:23 1993 Fred Fish (fnf@cygnus.com)
3965 * tm-sun4sol2.h (CPLUS_MARKER): Remove, now set in tm-sysv4.h.
3966 * tm-sysv4.h (CPLUS_MARKER): By default, g++ uses '.' as the
3967 CPLUS_MARKER for all SVR4 systems, so follow suit.
3968 * defs.h (strdup_demangled): Remove prototype.
3969 * dwarfread.c (enum_type, synthesize_typedef): Use new macro
3970 SYMBOL_INIT_LANGUAGE_SPECIFIC.
3971 * dwarfread.c (new_symbol): Use SYMBOL_INIT_DEMANGLED_NAME.
3972 * minsyms.c (install_minimal_symbols, prim_record_minimal_symbol,
3973 prim_record_minimal_symbol_and_info): Use new macro
3974 SYMBOL_INIT_LANGUAGE_SPECIFIC.
3975 * minsyms.c (install_minimal_symbols): Use new macro
3976 SYMBOL_INIT_DEMANGLED_NAME.
3977 * stabsread.c (define_symbol): Use new macro
3978 SYMBOL_INIT_DEMANGLED_NAME.
3979 * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
3980 Use new macro SYMBOL_INIT_DEMANGLED_NAME.
3981 * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Use new macro
3982 SYMBOL_INIT_DEMANGLED_NAME.
3983 * symmisc.c (dump_msymbols, dump_symtab, print_partial_symbol):
3984 SYMBOL_DEMANGLED_NAME now tests language itself.
3985 * symtab.c (COMPLETION_LIST_ADD_SYMBOL): SYMBOL_DEMANGLED_NAME
3986 now tests language itself.
3987 * symtab.h (SYMBOL_CPLUS_DEMANGLED_NAME): New macro that does
3988 what SYMBOL_DEMANGLED_NAME used to do, directly access the C++
3989 mangled name member in the language dependent portion of a symbol.
3990 * symtab.h (SYMBOL_DEMANGLED_NAME): New macro that returns the
3991 mangled name member appropriate for a symbol's language.
3992 * symtab.h (SYMBOL_SOURCE_NAME, SYMBOL_LINKAGE_NAME,
3993 SYMBOL_MATCHES_NAME, SYMBOL_MATCHES_REGEXP):
3994 SYMBOL_DEMANGLED_NAME now tests language itself.
3995 * symtab.h (SYMBOL_INIT_LANGUAGE_SPECIFIC): New macro that
3996 initializes language dependent portion of symbol.
3997 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): New macro that
3998 demangles and caches the demangled form of symbol names.
3999 * utils.c (fputs_demangled, fprint_symbol): Use current language
4000 to select an appropriate demangling algorithm.
4001 * utils.c (strdup_demangled): Remove, no longer used.
4002 * symtab.h (SYMBOL_CHILL_DEMANGLED_NAME): New macro that directly
4003 access the Chill mangled name member in the language dependent
4004 portion of a symbol.
4005 * ch-lang.c (chill_demangle): New function, simple demangler.
4006 * defs.h (chill_demangle): Add prototype.
4007 * symtab.h (language_dependent_info): Add struct for Chill.
4009 For older changes see ChangeLog-92
4015 version-control: never