X-Git-Url: https://repo.jachan.dev/binutils.git/blobdiff_plain/16d2cc8084cbaa083e874e6ac11e2181c65265f2..a4798dec3d617bf65e224857269be0152e9511a6:/gdb/ChangeLog diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 150258b2af..1f809c9a91 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,683 @@ +Sat Jul 23 00:58:15 1994 Stu Grossman (grossman@cygnus.com) + + * target.c (unpush_target): Fix handling of removal of top target. + +Fri Jul 22 17:30:39 1994 Stu Grossman (grossman@cygnus.com) + + * Makefile.in: Add stuff to build nlmstub. + * Add rule for annotate.o to keep Sun make happy. + * configure.in: Add config for powerpc/Netware. + + * partial-stab.h (near N_SO): Don't call START_PSYMTAB with null + filename. This speeds up handling of trailing N_SO stabs (they + mark the end of a .o file). + + * target.c, target.h: Change the way pushing and popping of + targets work to support target overlays and inheritance. + * corelow.c, hppa-tdep.c, inflow.c, remote-nindy.c, utils.c: + Fixup references to current_target, due to previous changes. + + * config/i386/tm-i386nw.h: Enable longjmp support. More work is + needed to get the address of longjmp out of the target. + +Tue Jul 19 13:25:06 1994 Stan Shebs (shebs@andros.cygnus.com) + + * main.c: Include . + +Mon Jul 18 15:32:17 1994 Kung Hsu (kung@mexican.cygnus.com) + + * remote-mips.c (mips_readchar): Fix a bug in checking + prompt. + +Mon Jul 18 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com) + + * solib.c (look_for_base): Don't deref exec_bfd if NULL. + +Sun Jul 17 15:38:36 1994 Fred Fish (fnf@cygnus.com) + + * Makefile.in (VERSION): Bump to 4.12.4. + +Sun Jul 17 12:20:35 1994 Stan Shebs (shebs@andros.cygnus.com) + + Harris CX/UX support, from Bob Rusk (rrusk@mail.csd.harris.com). + * configure.in (m88*-harris-cxux*): New configuration. + * cxux-nat.c, config/m88k/cxux.mh, config/m88k/cxux.mt, + config/m88k/xm-cxux.h, config/m88k/tm-cxux.h, config/m88k/nm-cxux.h: + New files. + * config/m88k/tm-m88k.h: Add comment about Harris OS. + (TARGET_WRITE_PC): Pass pid through to register writers. + + * configure.in (m68*): Put vendor-only-specified host configs + after vendor-and-os-specified configs. + (m68*-atari-sysv4*, m68*-cbm-sysv4*): Replace with m68*-*-sysv4. + + * config/m88k/delta88.mh (MUNCH_DEFINE): Remove. + * config/m88k/delta88.mt, config/m88k/delta88v4.mh: Format + consistently. + +Sat Jul 16 23:39:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * elfread.c (elf_symtab_read): Handle error return from + bfd_get_dynamic_symtab_upper_bound gracefully. + +Sat Jul 16 14:43:17 1994 Stan Shebs (shebs@andros.cygnus.com) + + * inferior.h (ARCH_NUM_REGS): New macro, actual number of + registers in use by the inferior. + * coredep.c (fetch_core_registers, register_addr): Use it. + * findvar.c (registers_changed, registers_fetched, + read_register_bytes): Ditto. + * infcmd.c (do_registers_info, registers_info): Ditto. + * infptrace.c (fetch_inferior_registers, + store_inferior_registers): Ditto. + * stack.c (frame_info): Ditto. + + * coredep.c (CORE_REGISTER_ADDR): New macro. + (fetch_core_registers): Use it. + + * breakpoint.c (ignore, condition): Add usage notes to help strings. + * symfile.c (add-symbol-file): Add usage note to help string. + (add_shared_symbol_files_command): New command. + + gcc -Wall lint. + * inferior.h (read_pc_pid): Declare. + * breakpoint.c (watchpoint_check): Cache breakpoint in local + variable b, remove unused variable other_type_used. + * main.c (inferior.h, call-cmds.h): Include. + (gdb_init): Declare. + * remote.c (remote_wait): Return 0 by default. + +Fri Jul 15 16:43:33 1994 Stan Shebs (shebs@andros.cygnus.com) + + Stop printing at null char option, from Oliver Meyer + (omeyer@i3.informatik.rwth-aachen.de). + * valprint.h, valprint.c (stop_print_at_null): New global. + * valprint.c (_initialize_valprint): New print set subcommand + "null-stop". + * c-valprint.c (c_val_print): If stop_print_at_null is on, and + printing a char array, adjust the number of chars to print. + +Fri Jul 15 14:33:40 1994 Stan Shebs (shebs@andros.cygnus.com) + + From Kevin A. Buettner (kev@cujo.geg.mot.com). + * m88k-tdep.c (examine_prologue): Modified to handle prologues for + pic code in addition to prologues where an instruction from the + prologue gets moved into the delay slot of a branch instruction + immediately following the prologue. A table of potential prologue + instructions (prologue_insn_tbl) is now used for picking apart a + function prologue. + (frame_find_saved_regs): Changed the way in which limit gets set + so that the delay slot of branch instructions immediately + following the prologue gets examined. + (pushed_size, store_parm_word, store_parm, push_parameters, + collect_returned_value): Deleted. + +Fri Jul 15 01:06:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * infrun.c (wait_for_inferior): Handle stepping into leaf + functions whose prologue consists of gp loading code only. + +Thu Jul 14 14:22:12 1994 Stan Shebs (shebs@andros.cygnus.com) + + * dbxread.c: Don't include libbfd.h. + * dwarfread.c, elfread.c somread.c: Don't include libbfd.h, + , or . + * elfread.c (elf_symfile_read): Use only standard BFD functions to + collect information about the stab and stab string sections. + +Thu Jul 14 13:17:39 1994 Kung Hsu (kung@x1.cygnus.com) + + * stabsread.c (read_huge_number): handle large unsigned number + for stabs generated by os9k C compiler. + +Wed Jul 13 18:58:15 1994 Stan Shebs (shebs@andros.cygnus.com) + + Breakpoint hit counts, from Bob Rusk (rrusk@mail.csd.harris.com). + * breakpoint.h (hit_count): New breakpoint field. + * breakpoint.c (show_breakpoint_hit_counts): New variable. + (clear_breakpoint_hit_counts): New function. + (bpstat_stop_status): Increment the hit count. + (breakpoint_1): Display the hit count. + * infcmd.c (run_command): Reset breakpoint hit counts. + * target.c (generic_mourn_inferior): Don't clear ignore counts if + displaying hit counts. + +Tue Jul 12 12:23:15 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * elfread.c (elf_symfile_read): Unconditionally add dynamic + symbols for all symbol files. Makes skipping over the + trampoline code work when stepping from a function in a shared + library into a function in a different shared library for Irix 5. + Other ELF targets do not have enough information in their + dynamic symbol tables to make this work. + (elf_symtab_read): Relocate mst_solib_trampoline address. + +Mon Jul 11 16:38:49 1994 Stan Shebs (shebs@andros.cygnus.com) + + Atari support, from Uwe Seimet (seimet@chemie.uni-kl.de). + * configure.in (m68*-atari-sysv4*): New configuration. + (m68*-cbm-sysv4*): Use m68kv4 instead of amix. + * m68k-tdep.c (R_PS): Define as R_SR if necessary. + * config/m68k/m68kv4.mh, config/m68k/m68kv4.mt, + config/m68k/tm-m68kv4.h, config/m68k/xm-m68kv4.h: New files. + * config/m68k/amix.mh, config/m68k/amix.mt, + config/m68k/tm-amix.h, config/m68k/xm-amix.h: Removed, superseded + by m68kv4 files. + +Sat Jul 9 16:28:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * symtab.c (find_function_start_sal): New function to find + the start of a function from a function symbol. + (decode_line_1, decode_line_2): Use it instead of open coded + partial copies of the code. + (list_symbols): Quote symbol name before passing it to + break_command to enable proper handling of mangled symbols. + +Wed Jul 6 20:22:07 1994 Per Bothner (bothner@kalessin.cygnus.com) + + * ch-exp.y (match_simple_name_string): Don't lower-case here. + * ch-exp.y (yylex): First try name lookup using exact name + typed by user; if that fails, try lower-cased name. + +Wed Jul 6 00:48:57 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * dbxread.c, elfread.c, mipsread.c, nlmread.c, os9kread.c: + Move "no debugging symbols found" test to symfile.c. + * symfile.c (syms_from_objfile, reread_symbols): Add + "no debugging symbols found" test. + * coffread.c (init_stringtab): Handle stripped files with a + stringtab offset of zero gracefully. + * osfsolib.c (solib_create_inferior_hook): Use DYNAMIC flag from + BFD instead of stop_pc heuristic to determine if it is a dynamically + linked object file. + * procfs.c (wait_fd): Handle ENOENT error return from PIOCWSTOP + ioctl, it indicates that the process has exited. + +Mon Jul 4 19:28:56 1994 Jeff Law (law@snake.cs.utah.edu) + + * hppa-tdep.c (read_unwind_info): ELF unwind information is in the + .PARISC.unwind section now. + +Mon Jul 4 17:06:26 1994 Stan Shebs (shebs@andros.cygnus.com) + + * breakpoint.c (mention): Always show breakpoint address if no + source file. + +Sat Jul 2 01:51:33 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * solib.c (bfd_lookup_symbol, look_for_base): Reinstate to reenable + handling of shared libraries for non-ELF executables, but only if + HANDLE_SVR4_EXEC_EMULATORS is defined. + (locate_base): Try to find debug_base in the dynamic linker + for non-ELF executables if HANDLE_SVR4_EXEC_EMULATORS is defined. + * config/sparc/tm-sun4sol2.h (HANDLE_SVR4_EXEC_EMULATORS): + Define to enable handling of shared libraries for a.out executables, + run under Solaris BCP. + +Thu Jun 30 13:59:23 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * infrun.c (wait_for_inferior): Print "Program exited normally" + regardless of batch_mode. + * defs.h, top.c (batch_mode): Removed. + +Wed Jun 29 18:53:36 1994 Stan Shebs (shebs@andros.cygnus.com) + + * Makefile.in (dcache_h): Remove redundant definition. + (init.c): Add a comment. + (top.c): Remove explicit compile action. + * breakpoint.c (mention): Share code indicating location of + break/watchpoints, don't print address if addressprint is off. + * breakpoint.c, c-typeprint.c, c-valprint.c, energize.c, symtab.h + (demangle): Remove redundant declarations. + * eval.c: Remove redundant function declarations. + * objfiles.h: Cosmetic and grammatical improvements. + * TODO: Various updates. + + * remote-mips.c: Replace all \r chars with \015. + (mips_receive_header): Display control characters readably. + (mips_xfer_memory): Add a simple progress display. + +Wed Jun 29 13:11:45 1994 Steve Chamberlain (sac@cirdan.cygnus.com) + + * remote-e7000.c (e7000_open): Don't try a tcp open if we're + using go32. + * remote-hms.c (flush): New function. + (expect): Get edge case right. + (hms_read_inferior_memory): Be more tolerant of line noise. + +Tue Jun 28 14:17:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * configure.in: Use i386m3.mh and i386m3.mt as names of host and + target files, not non-existent mach3.mh and mach3.mt. + +Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * dbxread.c (dbx_symfile_read): Unconditionally add dynamic + symbols for all symbol files. Makes skipping over the + trampoline code work when stepping from a function in a shared + library into a function in a different shared library. + (read_dbx_dynamic_symtab): Relocate mst_solib_trampoline address. + +Tue Jun 28 15:28:01 1994 Stu Grossman (grossman@cygnus.com) + + * dbxread.c, partial-stab.h (near N_SO): SO stabs with blank + names mean end of .o file. + * infrun.c (wait_for_inferior): Clean up multi-thread logic near + top of routine. Handle new thread notification cleanly. + * lynx-nat.c (child_wait): General cleanups, handle new LynxOS + thread notification scheme. + * (child_resume): General cleanups, handle resumption of all + threads properly. + +Mon Jun 27 09:57:23 1994 Steve Chamberlain (sac@cirdan.cygnus.com) + + * ser-go32.c: Rewrite to run under windows. + * ser-e7kpc.c: New file to support the E7000 with the PC ISA + bus interface. + * serial.c (serial_open): Notice device "pc". + * remote-e7000.c: Fix copyright date. + (expect): Compare \n and \r the same. + (e7000_open): Allow pc as a serial port + * sh/sh.mt: Add ser-e7kpc. + * h8300/h8300hms.mt: Add ser-e7kpc. + * main.c (proc_wait): Don't wait if using go32. + +Mon Jun 27 00:35:51 1994 Jeff Law (law@snake.cs.utah.edu) + + * somread.c: Simplify by using stabsect_build_psymtabs. + * dbxread.c (stabsect_build_psymtabs): New argument "text_name" + corresponding to the name of the text section. All references + changed. + (somstab_build_psymtabs): Delete function, no longer needed. + +Sun Jun 26 23:54:08 1994 Jeff Law (law@snake.cs.utah.edu) + + * somread.c: Renamed from paread.c. Changed function names and + comments to reflect that this file deals with SOM (an object file + format), rather than the PA (a cpu). + (Makefile.in): Chaned appropriately. + (config/pa/hppabsd.mh, config/pa/hppahpux.mh): Likewise. + * dbxread.c (somstab_build_psymtabs): Renamed from + pastab_build_psymtabs. + +Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * core-sol2.c: New file to handle ELF and BCP core file flavours. + * config/sparc/sun4sol2.mh (NATDEPFILES): Use it instead of + core-svr4. + * Makefile.in: Updated for core-sol2.c. + * README: Add notes about SPARCworks cc under Solaris 2.x, + from Casper H.S. Dik (casper@fwi.uva.nl). + * config/mips/xm-makeva.h: Removed, no longer necessary. + * Makefile.in, config/mips/xm-irix3.h, config/mips/xm-irix5.h, + config/mips/xm-mips.h, config/mips/xm-news-mips.h, + config/mips/xm-riscos.h: Remove references to xm-makeva.h + +Wed Jun 22 17:48:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * gdba.el: Put program input and output in a separate buffer. + +Wed Jun 22 16:54:15 1994 Fred Fish (fnf@cygnus.com) + + * energize-patches, main.c (main), top.c (gdb_init, pwd_command), + top.h: Change all occurances of dirbuf to gdb_dirbuf. Collides + with global variable of same name in libnsl.so on UnixWare. + +Wed Jun 22 14:40:52 1994 Kung Hsu (kung@mexican.cygnus.com) + + * symtab.c (decode_line_1): fix a bug in dealing with '<>' + embedded in template name. + +Tue Jun 21 14:06:46 1994 Kung Hsu (kung@mexican.cygnus.com) + + * config/i386/nm-linux.h: change calling convention of + TARGET_CAN_USE_HARDWARE_WATCHPOINT() and + target_insert_watchpoint() and + target_remove_watchpoint(). + + * config/mips/tm-mips64.h: define FORCE_LONG_LONG to force LONGEST + to be long long in gdb. + * config/mips/tm-bigmips.h: ditto. + +Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * c-lang.c (asm_language_defn): New definitions for language_asm, + mostly copied from c_language_defn, to avoid warnings when + switching between c and asm stack frames. + +Mon Jun 20 13:51:55 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * mdebugread.c (parse_symbol): Don't call ecoff_swap_tir_in or + ecoff_swap_rndx_in directly; use the debug_swap pointer instead. + (upgrade_type, handle_psymbol_enumerators): Likewise. + (has_opaque_xref, cross_ref): Likewise. + (elfmdebug_build_psymtabs): Call swap->read_debug_info to read + debugging information, rather than doing it here. + * mipsread.c (mipscoff_symfile_read): Call read_debug_info entry + point in ecoff_debug_swap backend structure, rather than calling + ecoff_slurp_symbolic_info directly. + +Fri Jun 17 20:58:58 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * breakpoint.c: Include annotate.h. Call annotate_field rather + than printing annotation directly. + + * main.c: Include string.h. + +Thu Jun 16 14:41:37 1994 Stan Shebs (shebs@andros.cygnus.com) + + * fork-child.c (startup_inferior) [STARTUP_INFERIOR]: If defined, + call it instead of doing normal loop. + * infcmd.c (attach_command): Don't call wait_for_inferior if + running Mach 3. + * infrun.c (proceed) [PREPARE_TO_PROCEED]: If defined, call + hook that can decide whether to step over the next breakpoint. + * utils.c (wrap_here): Abort if wrap_buffer not allocated. + (request_quit) [REQUEST_QUIT]: If defined, call it instead of + doing normal quit. + + * configure.in: Improve sorting/formatting of hosts and targets. + (i[34]86-*-mach3*, i[34]86-*-osf1mk*, mips-*-mach3*, + m88*-*-mach3*, ns32k-*-mach3*): Recognize. + * Makefile.in (stop-gdb): New target. + * stop-gdb.c: New file, utility to get attention of waiting GDBs + in Mach 3. + +Wed Jun 15 00:41:03 1994 Tom Lord (lord@rtl.cygnus.com) + + * top.c (gdb_init): Init current_directory in gdb_init. Probably + the identical initialization can be deleted from main.c, but i + haven't done so just in case. + +Tue Jun 14 17:24:41 1994 Tom Lord (lord@x1.cygnus.com) + + * gdba.el: Added menu windows and slightly improved window + handling to gdba.el. Fixed numerous minor bugs that were causing + emacs and gdb to fall out of sync. + +Tue Jun 14 16:18:44 1994 Kung Hsu (kung@mexican.cygnus.com) + + * breakpoint.c: annotate changes lost at merge, put back in. + +Mon Jun 13 17:28:50 1994 Stan Shebs (shebs@andros.cygnus.com) + + * config/i386/i386sco.mh, i386sco4.mh (XDEPFILES): Remove + i387-tdep.o. + +Sun Jun 12 03:51:52 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * config/m68k/dpx2.mh (NATDEPFILES): Remove duplicate inclusion + of inftarg.o. + * config/m68k/tm-dpx2.h (CANNOT_STORE_REGISTER): Define to inhibit + writing of floating registers, the dpx2 kernel disallows it. + * irix5-nat.c (LM_ADDR): The loaded address of the shared library + is contained in o_praw. + * irix5-nat.c (solib_map_sections): Adjust sections by the + difference between the loaded address and the prelinked address. + * irix5-nat.c (solib_address): Use LM_ADDR for the loaded start + address. + * mdebugread.c (parse_symbol): Do not relocate stEnd/scText + symbols, their value is absolute. + * mdebugread.c (parse_partial_symbols): Handle Irix 5.2 shared + libraries fh->adr fields of zero. Relocate minimal symbol values + upon readin. Relocate non-stabs symbols upon readin. + * mdebugread.c (psymtab_to_symtab_1): Use pst->textlow for the + start address of the outermost block. + * mdebugread.c (parse_lines, parse_procedure): Pass in pst + instead of section_offsets and use relocated pst->textlow for + line number and procedure address relocations. + + From gmo@MicroUnity.com (Guillermo A. Loyola): + * mdebugread.c (parse_symbol, parse_partial_symbols, cross_ref): + Handle SGI Irix5 stIndirect symbol type. + +Fri Jun 10 14:52:56 1994 Kung Hsu (kung@mexican.cygnus.com) + + * breakpoint.c: fix a syntax error native cc does not like. + + * Makefile.in: change sparclite-tdep.c to sparcl-tdep.c. + * sparclite/Makefile.in: ditto. + * sparcl-tdpe.c: change file name because first 8 chars has to be + unique. + * sparcl-stub.c: ditto. + + * .Sanitize: add sparclite-stub.c sparclite-tdep.c to keep. + + * sparclite/Makefile.in: fix INCLUDE_CFLAGS to have {srcdir}/../config. + +Fri Jun 10 10:38:15 1994 Jeff Law (law@snake.cs.utah.edu) + + * hppa-tdep.c (target_read_pc, target_write_pc): Accept (and + ignore) a PID argument. + (hppa_pop_frame): Pass a PID to target_write_pc. + * config/pa/tm-hppa.h (TARGET_READ_PC, TARGET_WRITE_PC): Accept + and pass through a PID argument. + (target_read_pc, target_write_pc): Update prototypes. + +Thu Jun 9 18:10:44 1994 Kung Hsu (kung@mexican.cygnus.com) + + * Makefile.in: add new file sparclite-tdep.c. + * sparclite/Makefile.in: add new file sparclite-stub.c. + * sparclite/hw_breakpoint.note: note for SPARClite hardware breapoint + support. + * config/sparc/sparclite.mt: add sparclite-tdep.o. + * config/sparc/tm-sparclite.h: add hardware breakpoints support + defiines and code. + * sparclite-tdep.c: new file, contains hardware breakpoint support + code. + * sparclite-stub.c: new file, stub code that add support hardware + breakpoint support. + * breakpoint.c: add hardware breakpoint support. + * breakpoint.h: add new breakpoint type to support hardware + breakpoint. + * config/mips/nm-irix4.h: change interface for target dependent + code supporting watch point. + * config/pa/nm-hppab.h: change interface for target dependent + code supporting watch point. + +Thu Jun 9 14:59:58 1994 Kung Hsu (kung@mexican.cygnus.com) + + * remote-os9k.c (rombuf_command): fix a bug accepting rombug + output. + * stabsread.c (read_struct_fields): os9k nested structure does not + have terminating ';', instead it just get to ',' and bit position + and length. + +Wed Jun 8 23:20:45 1994 Stu Grossman (grossman@cygnus.com) + + * nlmread.c (nlm_symtab_read): Clean up a bit. + * (nlm_symfile_read): Record bounds of main() so that backtrace + command will know where to stop. + * objfiles.c (objfile_relocate): Relocate entry point/func info + for backtrace as well. + * objfiles.h: Define values for invalid PCs for entry point info. + * symfile.c (init_entry_point_info): Initialize invalid values + with aforementioned macros. + * config/alpha/tm-alphanw.h: Turn on FRAME_CHAIN_VALID_ALTERNATE + to cause backtrace to stop when it gets back to main(). + * config/i386/tm-i386nw.h: Ditto. + +Sat Jun 4 18:17:03 1994 Per Bothner (bothner@kalessin.cygnus.com) + + Fix value_print, which used to be ostensibly language-independent, + but would print pointers and arrays in C syntax. Instead, call + a language-specific function. + * language.h (struct language_defn): New functional field + la_value_print. + (LA_VALUE_PRINT): New macro. + * language.c (unk_lang_value_print): New stub/dummy function. + (unknown_language_defn, auto_language_defn, local_language_defn): + Use it. + * c-valprint.c (c_value_print): New function, with code moved from: + * valprint.c (value_print): ... here. Now just invoke + LA_VALUE_PRINT to do language-specific stuff. + * valprint.c (value_print_array_elements): Make non-static. + * c-lang.c (c_language_defn, cplus_language_defn): Add + c_value_print in the la_value_print field. + * m2-lang.c (m2_language_defn): Likewise. + * ch-lang.c (chill_language_defn): But here use chill_value_print. + * ch-valprint.c (chill_val_print): Print null pointer as NULL. + * ch-valprint.c (chill_value_print): New function, based on + c_value_print, but use Chill "look and feel." + * c-lang.h (c_value_print): New prototype. + * ch-lang.h (chill_value_print): New prototype. + * value.h (value_print_array_elements): New prototype. + + * ch-valprint.c (chill_val_print, case TYPE_CODE_BITSTRING + and case TYPE_CODE_SET): Check that the element type isn't a stub. + +Fri Jun 3 09:15:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * main.c: Move entire file except for #ifndef MAIN_OVERRIDE code + to new file top.c. Make things extern instead of static and + similar rearrangements to deal with this. + * top.h: New file. + * utils.c: Move fputs_unfiltered to main.c. Remove + FPUTS_UNFILTERED_OVERRIDE ifndef. + * Makefile.in: Change so that gdb uses main.c, utils.c, and top.c, + and libgdb uses utils.c and top.c. + +Thu Jun 2 23:19:10 1994 Jeff Law (law@snake.cs.utah.edu) + + * hppa-tdep.c (skip_trampoline_code): Fix typo. + +Thu Jun 2 18:09:59 1994 Per Bothner (bothner@kalessin.cygnus.com) + + * ch-valprint.c (chill_val_print_array_elements): New function. + A Chill version of val_print_array_elements, it prints the + array index labels, in additions ot the array element values. + (chill_val_print): Use the new function. + +Thu Jun 2 08:50:00 1994 Stu Grossman (grossman@cygnus.com) + + * configure.in: Add nlm subdir to configdirs for alpha-*-netware + target. + * defs.h (enum language): Add language_asm. + * findvar.c (read_register_bytes read_register_gen + write_register_bytes read_register read_register_pid + write_register write_register_pid supply_register): Move multi- + thread handling down into these routines. Create XXX_pid routines + that allow register references to specify the pid. + * findvar.c infcmd.c (read_pc read_pc_pid write_pc write_pc_pid + read_sp write_sp read_fp write_fp): Move these routines from + infcmd to findvar to centralize the whole mess. + * i386-nlmstub.c: Portability fixes. + * infptrace.c (child_resume): Conditionalize to allow other natives + to override it. Remove PIDGET gubbish, it's no longer necessary. + * infrun.c (wait_for_inferior): Put registers_changed() before + target_wait() to speed up remote debugging. + * Replace code that reads registers from other threads with much + nicer looking new function calls (see changes to findvar.c). + * Don't skip prologues if debugging assembly source. + * lynx-nat.c (child_resume): Lynx now needs it's own version of + child_resume to handle multi-thread debugging properly. + * remote.c: Add O response to get console output from target. + * (readchar): Add timeout parameter. Handle SERIAL_EOF and + SERIAL_ERROR here to simplify callers. + * Change static var timeout to remote_timeout. + * (fromhex): Remove unnecessary return -1 at end of routine. + * (remote_wait): Turn this into a big switch statement. Add + support for O response. + * (putpkt): Remove unnecessary handling of SERIAL_EOF/ERROR. + * (getpkt): Split getpkt into two parts. read_frame deals with + all formatting issues, run-length encoding, and framing. getpkt + now handles error recovery, and frame detection. + * ser-tcp.c (tcp_readchar): Handle EINTR from read(). + * ser-unix.c (hardwire_raw): Set CLOCAL so that we ignore modem + control. (hardwire_readchar): Handle EINTR from read(). + * symfile.c (deduce_language_from_filename): Add support for .s + files. + * config/nm-lynx.h: Define CHILD_WAIT so that lynx-nat.c can + override infptrace's child_wait. + * config/rs6000/rs6000lynx.mh: Use xm-rs6000ly.h & nm-rs6000ly.h + instead of XXXlynx.h. + * config/rs6000/rs6000lynx.mt: Use tm-rs6000ly.h instead of + tm-rs6000lynx.h. + * nlm/gdbserve.c: Portability fixes. + +Tue May 31 20:35:44 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * inftarg.c (child_wait): Call proc_wait, not wait. + (child_mourn_inferior): Call proc_remove_foreign. + * main.c (gdb_init): Call init_proc. + * main.c: Provide dummy versions of init_proc, proc_wait, and + proc_remove_foreign for the gdb case (the libgdb case provides its + own versions of these functions). + * Makefile.in (libgdb-files): Add libproc.a. + +Wed Jun 1 11:08:52 1994 Stan Shebs (shebs@andros.cygnus.com) + + Hardware watchpoints for Linux, from Rick Sladkey + (jrs@world.std.com). + * infrun.c (wait_for_inferior) [HAVE_CONTINUABLE_WATCHPOINT]: Add + new hardware breakpoint recovery method. + * i386v-nat.c (i386_insert_watchpoint, + i386_insert_nonaligned_watchpoint, i386_remove_watchpoint, + i386_stopped_by_watchpoint) [TARGET_CAN_USE_HARWARE_WATCHPOINT]: + New functions to support the 386 hardware debugging registers. + * config/i386/nm-linux.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT, + HAVE_CONTINUABLE_WATCHPOINT, STOPPED_BY_WATCHPOINT, + target_insert_watchpoint, target_remove_watchpoint): Define these + macros to use the hardware debugging functions in i386v-nat.c. + +Wed May 25 17:06:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * Makefile.in: Replace libgdb.a with libgdb-files. Make "all" + build it. + +Thu May 19 09:56:20 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * target.c, target.h: New variables target_activity_function and + target_activity_fd. + * inflow.c, inferior.h: New functions set_sigio_trap and + clear_sigio_trap. + * inftarg.c (child_wait), procfs.c (wait_fd): Call them. + +Wed May 18 13:01:55 1994 Doug Evans (dje@canuck.cygnus.com) + + * remote-sim.h (sim_verbose): Delete. + Document callbacks needed. + (sim_*): Change result to void where there isn't one. + (sim_open): Clarify argument and error response. + (sim_close): Declare. + (sim_load): Change bfd_handle argument to file name. Clarify result. + (sim_create_inferior): Renamed from sim_set_args. + (sim_set_pc): Delete. + (sim_info): Delete printf_fn argument. + * remote-sim.c (gdbsim_kill): Add comment describing purpose. + (gdbsim_load): Try sim_load first. + (gdbsim_create_inferior): Call sim_create_inferior. + (gdbsim_open): Handle args == NULL. Update call to sim_open. + (gdbsim_close): Call sim_close. + (gdbsim_files_info): Update call to sim_info. + (gdbsim_ops): Realign comments. + + * printcmd.c (decode_format): Allow TARGET_PTR_BIT to be non-constant. + +Tue May 17 16:45:20 1994 Stan Shebs (shebs@andros.cygnus.com) + + * xcoffread.c (read_xcoff_symtab): For C_FILE symbols, only use + the auxent if the symbol's name is ".file". From David Edelsohn + . + +Tue May 17 11:08:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * breakpoint.c (breakpoint_1): Fix typo. + + * annotate.c (annotate_field_end): Fix typo. + + * Makefile.in: Move annotate.o from COMMON_OBS to OBS. + + * Makefile.in (TSSTART): Remove; no longer used. + + * utils.c (vfprintf_maybe_filtered, vfprintf_unfiltered): Call + fputs_unfiltered and exit directly, rather than fatal. The latter + calls vfprintf_unfiltered! + + * gdbtypes.h, gdbtypes.c (can_dereference): New function. + * value.h, printcmd.c (print_value_flags): Move from here... + * annotate.c: ...to here, and make it use can_dereference. + Sat May 14 15:13:52 1994 Stan Shebs (shebs@andros.cygnus.com) * inflow.c (job_control, attach_flag, generic_mourn_inferior): @@ -964,8 +1644,6 @@ Sun Mar 20 15:21:57 1994 Doug Evans (dje@cygnus.com) * sparc-tdep.c (sparc_frame_find_save_regs): Use REGISTER_RAW_SIZE instead of 4. - -start-sanitize-v9 * sp64-tdep.c (target_ptr_bit, set_target_ptr_bit): Deleted, can no longer set this at run time. * config/sparc/sp64.mt (SIMFILES): Use remote-sim.o now. @@ -973,7 +1651,6 @@ start-sanitize-v9 * config/sparc/tm-sp64.h (FPS_REGNUM, CPS_REGNUM): Define (so sparc-tdep.c compiles). (TARGET_PTR_BIT): Must be a constant now, fix at 64. -end-sanitize-v9 Sat Mar 19 08:51:12 1994 Jim Kingdon (kingdon@lioth.cygnus.com)