aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1996-07-27 * xcoffread.c (xcoff_end_psymtab): Add textlow_not_set parameter.Fred Fish2-11/+17
(END_PSYMTAB): Ditto. (scan_xcoff_symtab): Call xcoff_end_psymtab with textlow_not_set.
1996-07-26 * printcmd.c (_initialize_printcmd): InitializeIan Lance Taylor2-0/+7
tm_print_insn_info.flavour. * gdbtk.c (gdb_disassemble): Initialize di.flavour.
1996-07-26See the huge ChangeLog entry that has the header:Fred Fish17-72/+110
Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com> for details about these changes. I was going to include the complete entry in the checkin message but it was apparently so large it caused cvs to dump core.
1996-07-26See gdb ChangeLog entry with header:Fred Fish74-366/+1460
Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com> for a rather huge set of changes. I was going to put them here, but it made cvs dump core. :-(
1996-07-25 * dsrec.c (load_srec): Protect ANSI style function parms with PARAMS.David Edelsohn1-0/+4
1996-07-23 * Makefile.in (os9kread.o): Remove dependency on partial-stab.h.Stu Grossman7-66/+112
* dbxread.c (read_dbx_symtab end_psymtab), partial-stab.h: Don't use partial_symtab->textlow==0 as a flag, as 0 is a legitimate text address. Use a seperate flag (textlow_not_set) instead. This makes stabs in ELF .o files work a lot better. * mdebugread.c xcoffread.c: Define textlow_not_set for partial-stab.h. * stabsread.h (end_psymtab): Add textlow_not_set arg to prototype.
1996-07-21 * gdbtk.tcl (files_command): Reorder the binding tags forFred Fish2-1/+13
the listbox widget to avoid referencing the listbox after the containing widget has been destroyed by the action of a previous binding.
1996-07-20 * dwarf2read.c (struct filenames): Change internal "struct file"Fred Fish2-3/+9
to "struct fileinfo" to avoid conflict with "struct file" in <sys/file.h> on HPUX and Solaris.
1996-07-20 * gdbtk.tcl (delete_expr): Unset corresponding element ofFred Fish2-6/+23
expr_update_list when destroying an expression. (create_expr_window): Initialize expr_num, delete_expr_num, and expr_update_list here when each new expression window is created, rather than once at startup. PR 9383
1996-07-19Always keep dwarf2read.cStan Shebs1-0/+1
1996-07-19 * dwarf2read.c: New file, DWARF 2 reader originally contributed byStan Shebs5-5/+4448
Brent Benson, with additions by Gary Funck and Jerry Kreuscher. * Makefile.in (COMMON_OBS): Add dwarf2read.o. (SFILES): Add dwarf2read.c. (dwarf2read.o): Add build rule. * symfile.h (dwarf2_has_info, dwarf2_build_psymtabs): Declare exported functions. * elfread.c (elf_symfile_read): Call them. (elf_symtab_read) [HARRIS_TARGET]: Skip some special symbols.
1996-07-18Thu Jul 18 01:22:01 1996 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer3-2/+34
* symfile.c (symfile_bfd_open): * exec.c (exec_file_command): for __GO32__ and __WIN32__ systems, free the user from having to type the .exe extension.
1996-07-17 * mon960-rom.c: Shorten the mon960_inits string to a singleMark Alexander2-1/+7
carriage return; this prevents a hang on connecting immediately after powerup, when MON960 is attempting autobaud detection.
1996-07-17 * a29k-tdep.c (get_saved_register): Allow PC to be modifiedMark Alexander2-1/+6
when innermost frame is selected, but not in outer frames. PR 9012
1996-07-17 * command.c (do_setshow_command): Don't segfault when showingStu Grossman3-6/+72
var_string and var_string_noescape vars that are NULL. From the fsf: * solib.c (solib_absolute_prefix, solib_search_path): New variables. (_initialize_solib): Add set/show commands for those variables. (solib_map_sections): Implement searching using them.
1996-07-17Changes from the FSF for Hurd thread support.Stu Grossman10-244/+773
1996-07-15 * win32-nat.c (handle_load_dll): dos_path_to_unix_path renamed toDavid Edelsohn2-39/+38
cygwin32_conv_to_posix_path. (child_create_inferior): unix_path_to_dos_path renamed to cygwin32_conv_to_win32_path. Rewrite code to translate PATH.
1996-07-15 * defs.h printcmd.c: Create global disassemble_info structureStu Grossman7-52/+96
tm_print_insn_info. * gdbtk.c (gdb_disassemble): Setup di.mach from tm_print_insn_info.mach, and set endian from TARGET_BYTE_ORDER. * i386-tdep.c (set_assembly_language_command): set tm_print_insn_info.mach to the appropriate value for 386 or 8086 disassembly. * printcmd.c (print_insn): Move init of disassembler_info to _initialize_printcmd. Set endian for disassembler here. * sparc-tdep.c: Set tm_print_insn_info.mach as appropriate to select sparc/sparclite. * config/sparc/{tm-sparc.h tm-sparclite.h}: Get rid of TM_PRINT_INSN. Set TM_PRINT_INSN_MACH to bfd_mach_sparc/bfd_mach_sparc_sparclite.
1996-07-13Check in an entry that somehow got missed long ago.Fred Fish1-0/+5
1996-07-13 * hpread.c (hpread_lookup_type): Use xmmalloc/xmrealloc ratherFred Fish2-2/+9
than xmalloc/xrealloc.
1996-07-13Fix thinko in previous patchFred Fish1-1/+1
1996-07-13 * objfiles.c (map_to_file): Error return from mmalloc_findbase isFred Fish2-1/+6
a NULL pointer, not a -1. Fix oops from a previous checkin.
1996-07-12 * gdb.texinfo: Document `set assembly-language'.Stu Grossman2-0/+20
1996-07-12 * i386-tdep.c (set_assembly_language_command): New routine toStu Grossman2-12/+70
select between i386 and i8086 instruction sets for disassembly. New command `set assembly-language {i386 i8086}'.
1996-07-12 * monitor.c (monitor_write_memory, monitor_read_memory_single):Mark Alexander1-0/+8
Disable use of "long long" memory read/write commands; can't use them because we hold the values to read/write in an int variable, and because strtoul fails on values that exceed the size of a long. This fixes breakpoint problems on MON960.
1996-07-12 * config/m68k/xm-hp300hpux.h (HAVE_MMAP): Remove definition.Fred Fish3-12/+5
* config/pa/xm-hppah.h (HAVE_MMAP): Ditto.
1996-07-11 * remote.texi: Update list of stubs in the GDB distribution.Stan Shebs2-8/+27
Humoring JT :-)
1996-07-11 * Makefile.in (MMALLOC_CFLAGS): Eliminate intermediate MMALLOC_DISABLEFred Fish24-371/+391
and MMALLOC_CHECK macros, and add comment indicating how host dependent makefile fragment should modify MMALLOC_CFLAGS to not use mmalloc, or to use it but to not do heap corruption checking. * gdbserver/Makefile.in: Ditto. * utils.c (init_malloc): Replace warning() use with direct call of fprintf_unfiltered, since current_target has not yet been set and thus we cannot use warning(). If we try to use mmcheck and it fails, suggest that this configuration needs NO_MMCHECK or MMCHECK_FORCE defined. Other small mmalloc related cleanups. * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1. * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Set to -DNO_MMCHECK. * config/sparc/xm-sun4os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): * config/i386/xm-i386v4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): * config/m68k/xm-hp300hpux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): * config/m68k/xm-m68kv4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT); * config/m68k/xm-sun3os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): * config/pa/xm-hppah.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): * config/sparc/xm-sun4sol2.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): Remove obsolete defines. * config/alpha/alpha-linux.mh (MMALLOC_DISABLE): * config/alpha/alpha-osf1.mh (MMALLOC_DISABLE): * config/rs6000/rs6000.mh (MMALLOC_DISABLE): * config/rs6000/aix4.mh (MMALLOC_DISABLE): * config/powerpc/aix4.mh (MMALLOC_DISABLE): * config/powerpc/aix.mh (MMALLOC_DISABLE): * config/ns32k/ns32km3.mh (MMALLOC_DISABLE): * config/mips/mipsm3.mh (MMALLOC_DISABLE): * config/mips/decstation.mh (MMALLOC_DISABLE): * config/m88k/cxux.mh (MMALLOC_DISABLE): * config/i386/i386mk.mh (MMALLOC_DISABLE): * config/i386/i386m3.mh (MMALLOC_DISABLE): * config/i386/i386gnu.mh (MMALLOC_DISABLE): Use MMALLOC_CFLAGS instead.
1996-07-10 * h8300-tdep.c: Remove some outdated comments.Jeff Law2-30/+83
(h8300_skip_prologue): Rework to be more correct for the H8/300H. Handle stm.l insns for the H8/S. (examine_prologue): Likewise. HMSE stuff.
1996-07-10 * ser-mac.c (mac_close): Change a typo SetSetBuf to SerSetBuf.Raymond Jou2-1/+5
1996-07-09Forgot to commit .Sanitize after last checkinMichael Meissner1-0/+1
1996-07-08 * mon960-rom.c (mon960_open): Add floating point detection toMark Alexander2-5/+41
prevent hang on non-FPU processors (PR 9775). (mon960_cmds): Swap setmem.cmdw and setmem.cmdl to fix problem setting breakpoints and improve loading speed.
1996-07-08(laying some groundwork for a fix for PR 8443)Fred Fish14-100/+97
* coffread.c (record_minimal_symbol): Don't presave name string on symbol_obstack before passing to prim_record_minimal_symbol. It now handles saving the string itself. * dbxread.c (read_dbx_dynamic_symtab): Ditto. * mipsread.c (read_alphacoff_dynamic_symtab): Ditto. * os9kread.c (record_minimal_symbol): Ditto. * solib.c (solib_add_common_symbols): Ditto. * coffread.c (coff_symtab_read): Don't presave name string on symbol_obstack before passing to prim_record_minimal_symbol_and_info. It now handles saving the string itself. * dbxread.c (record_minimal_symbol): Ditto. * elfread.c (record_minimal_symbol_and_info): Ditto. * dstread.c (record_minimal_symbol): Remove static function that just called prim_record_minimal_symbol with the same args (after change to prim_record_minimal_symbol to do it's own name string saves). * nlmread.c (record_minimal_symbol): Ditto. * somread.c (record_minimal_symbol): Ditto. * hpread.c (hpread_read_enum_type): Save symbol name on symbol obstack. (hpread_read_function_type): Ditto. (hpread_process_one_debug_symbol): Ditto. * mdebugread.c (parse_symbol): Ditto. (new_symbol): Ditto. * minsyms.c (prim_record_minimal_symbol_and_info): Ditto. * coffread.c (process_coff_symbol): Use obsavestring to save SYMBOL_NAME, rather than obstack_copy0. * dstread.c (create_new_symbol): Ditto * symfile.c (obconcat): Ditto. * stabsread.c (patch_block_stabs): Ditto. * xcoffread.c (SYMNAME_ALLOC): Ditto. * symfile.c (obsavestring): Update comments * solib.c (solib_add_common_symbols): Remove local var origname.
1996-07-07Add linux.mh and xm-linux.h.Mark Alexander1-0/+2
1996-07-05No longer need to sanitize away h8s.Jeff Law5-78/+1
1996-07-04 * configure: Re-build with autoconf-2.10.Stu Grossman2-51/+83
1996-07-04 * sparcl-tdep.c (_initialize_sparc_tdep) config/sparc/tm-sparc.h,Stu Grossman6-89/+90
config/sparc/tm-sparclite.h: Initialize tm_print_insn from TM_PRINT_INSN, which comes from the tm file. * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure. * configure configure.in: Only make sol-thread.o for native. Also, switch to dlopened libthread_db.so.1. * sol-thread.c: Switch to using dlopen to get the thread_db library. * configure, configure.in: Change test for libthread_db to only work for configs where build/host/target are the same.
1996-07-03 * coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c,Mark Alexander11-234/+164
os9kread.c: Replace identical sym_offsets functions with default_symfile_offsets. * somread.c (som_symfile_offsets): Use new SIZEOF_SECTION_OFFSETS macro to allocate section_offsets. * symfile.c (default_symfile_offsets): New function. * symfile.h: Declare default_symfile_offsets. * symtab.h: Define SIZEOF_SECTION_OFFSETS macro to simplify allocation of section_offsets.
1996-07-02Add stub support for Linux on PowerPCMichael Meissner4-5/+41
1996-07-01 From Raymond Jou <rjou@mexican.cygnus.com>:Stan Shebs2-20/+29
* mpw-make.sed: Add lines to whack out autoconf hook @CONFIG_LDFLAGS@.
1996-07-01 * remote-e7000.c (e7000_stop): New function.Mark Alexander2-2/+12
PR 9935
1996-06-30(all-cfg.text): @set SPARCLET.David Edelsohn3-39/+45
(gdb-texinfo): Add sparclet. (remote.texi): Restore vxworks clobberage. Fix sparclet typos.
1996-06-29 * remote.texi: Add documentation for target Sparclet.Dawn Perchik2-36/+192
1996-06-28Keep sparclet.mt.David Edelsohn1-0/+1
1996-06-28 * configure,configure.in: Add target sparclet.Dawn Perchik3-0/+106
* monitor.h,monitor.c: Added monitor flags MO_NO_ECHO_ON_SETMEM (don't expect echo on setmem command), MO_RUN_FIRST_TIME (if command to start process running on target is different from one to continue execution), MO_HEX_PREFIX (if addresses from monitor have a "0x" prefix). * monitor.c,parse.c,sparc-tdep.c: Don't require strings in the registers array. This is to allow NULLs to be place holders in the tm-*.h file so that only minor changes are needed when a new processor is introduced (eg, one without floating point). * sparc-tdep.c: Conditionally remove dependancies on floating point. * sparclet-rom.c,config/sparc/sparclet.mt,config/sparc/tm-sparclet.h: New files for target sparclet. * symfile.c: Add option for 2nd parameter on load command : a load offset added to the vma of each section.
1996-06-28 * configure,configure.in: Add target sparclet.Dawn Perchik10-89/+507
* monitor.h,monitor.c: Added monitor flags MO_NO_ECHO_ON_SETMEM (don't expect echo on setmem command), MO_RUN_FIRST_TIME (if command to start process running on target is different from one to continue execution), MO_HEX_PREFIX (if addresses from monitor have a "0x" prefix). * monitor.c,parse.c,sparc-tdep.c: Don't require strings in the registers array. This is to allow NULLs to be place holders in the tm-*.h file so that only minor changes are needed when a new processor is introduced (eg, one without floating point). * sparc-tdep.c: Conditionally remove dependancies on floating point. * sparclet-rom.c,config/sparc/sparclet.mt,config/sparc/tm-sparclet.h: New files for target sparclet. * symfile.c: Add option for 2nd parameter on load command : a load offset added to the vma of each section.
1996-06-28 * main.c (main): Add option "l" for setting remote_timeout.Dawn Perchik2-0/+23
1996-06-28 * remote-e7000.c,remote.c,target.h,top.c:Dawn Perchik5-11/+108
Add set option "remote_timeout" for setting remote_timeout. Add set option "use_hard_breakpoints" for setting hardware .vs. memory breakpoints.
1996-06-28 * remote-e7000.c (e7000_parse_device): New function.Dawn Perchik2-17/+56
Add option "tcp_remote" to target command if using tcp to connect to a remote host which is then connected via serial port to the e7000 (for exampole, a port master). (e7000_open): Change to call e7000_parse_device.
1996-06-28 * monitor.c (monitor_debug): Fix remotedebug buffering.Dawn Perchik2-12/+46