aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1994-03-02 * stabs.texinfo (Type Descriptors): Add OS9000 type descriptors c,Jim Kingdon2-3/+14
i, and b.
1994-03-01Modified Files:Kung Hsu11-13/+5074
ChangeLog objfiles.c objfiles.h symfile.c target.c main.c Makefile.in configure.in Added Files: os9kread.c os9kstab.c remote-os9k.c * os9kread.c: New file to read os9000 style symbo table. * os9kstab.c: new file to read os9000 style stabs. * remote-os9k.c: remote protocol talking to os9000 rombug monitor. * objfiles.c (find_pc_objfile): new function to search objfile from pc. * objfiles.c (objfile_relocate_data): new function to relocate data symbols in symbol table. * objfiles.h: Add two aux fields in struct objfile to handle multiple symbol table files situation like in os9000. * symfile.c: Change so 'symbol-file' command can handle multiple files. Also call target_link() to get relocation infos. * target.c (target_link): new function to get relocation info when a symbol file is requested to load. * main.c (quit_command): take out 'inferior_pid != 0' condition, because in cross mode there's no inferior pid, bit they need to be detached. Makefile.in: add os9kread.c os9kstab.c and .o's. configure.in: add i386os9k target. config/i386/i386os9k.mt: new add. config/i386/tm-i386os9k.h: new add.
1994-03-01 * config/sparc/tm-sun4sol2.h (IN_SIGTRAMP): Handle ucbsigvechandler.Peter Schauer1-5/+9
1994-03-01 * config/sparc/tm-sun4sol2.h (IN_SIGTRAMP): Handle ucbsigvechandler.Peter Schauer2-2/+7
* sparc-tdep.c (sparc_frame_saved_pc): Handle ucbsigvechandler.
1994-03-01 * target.c, target.h (target_read_string): Provide error detection toJim Kingdon6-51/+487
caller. Put string in malloc'd space, so caller need not impose arbitrary limits. * solib.c (find_solib): Update to use new interface. * irix5-nat.c (find_solib): Read o_path from inferior (clear_solib): Free storage for o_path. * valprint.c (val_print_string): Add comments.
1994-03-01 * valprint.c (val_print_string): If errcode is set, always printJim Kingdon1-5/+0
an error, regardless of force_ellipsis. In the non-EIO case, just print the error message rather than calling error(). Don't access *(bufptr-1) if bufptr points to the start of the buffer. When looking for '\0', don't increment bufptr and addr if bufptr started out already at limit. If an error happens on fetching the first character, don't print the string.
1994-03-01 * symtab.c (decode_line_1): Handle the case when skip_quoted does notPeter Schauer2-1/+8
advance `p'.
1994-03-01 * value.h (struct value): Add modifiable field.Jim Kingdon4-17/+38
* values.c (allocate_value, record_latest_value, value_copy): Set it. (record_latest_value): Don't mess with VALUE_LVAL of value. * valops.c (value_assign): Check it. Reword existing error message on not_lval.
1994-03-01Added Files:Kung Hsu2-0/+90
i386os9k.mt tm-i386os9k.h * i386os9k.mt: newly add i386/os9000 make file. * tm-i386os9k.h: newly add i386/os9000 target dependent .h file.
1994-03-01 * mips-tdep.c (mips_step_skips_delay), config/mips/tm-mips.hJim Kingdon4-4/+32
(STEP_SKIPS_DELAY): Added. * infrun.c (proceed) [STEP_SKIPS_DELAY]: Check for a breakpoint in the delay slot.
1994-02-28 * valprint.c (val_print_string): If errcode is set, always printJim Kingdon2-18/+44
an error, regardless of force_ellipsis. In the non-EIO case, just print the error message rather than calling error(). Don't access *(bufptr-1) if bufptr points to the start of the buffer. When looking for '\0', don't increment bufptr and addr if bufptr started out already at limit. If an error happens on fetching the first character, don't print the string.
1994-02-28 * config/m68k/tm-apollo68b.h: Remove HAVE_68881 define; it isJim Kingdon1-0/+12
obsolete. * i387-tdep.c, i386-tdep.c i386v-nat.c, i386aix-nat.c, i386m3-nat.c, config/m68k/tm-m68k.h, i960-tdep.c config/i960/tm-i960.h, remote-nindy.c, config/m88k/tm-m88k.h, m88k-tdep.c: Use floatformat.h instead of ieee-float.h. * sparc-tdep.c: Remove now-obsolete ieee-float.h stuff * findvar.c: Update comment regarding ieee-float.h.
1994-02-28 * i387-tdep.c, i386-tdep.c i386v-nat.c, i386aix-nat.c,Jim Kingdon10-62/+49
i386m3-nat.c, config/m68k/tm-m68k.h, i960-tdep.c config/i960/tm-i960.h, remote-nindy.c, config/m88k/tm-m88k.h, m88k-tdep.c: Use floatformat.h instead of ieee-float.h. * sparc-tdep.c: Remove now-obsolete ieee-float.h stuff * findvar.c: Update comment regarding ieee-float.h.
1994-02-28 * config/m68k/tm-apollo68b.h: Remove HAVE_68881 define; it isJim Kingdon2-9/+3
obsolete. * i387-tdep.c, i386-tdep.c i386v-nat.c, i386aix-nat.c, i386m3-nat.c, config/m68k/tm-m68k.h, i960-tdep.c config/i960/tm-i960.h, remote-nindy.c, config/m88k/tm-m88k.h, m88k-tdep.c: Use floatformat.h instead of ieee-float.h. * sparc-tdep.c: Remove now-obsolete ieee-float.h stuff * findvar.c: Update comment regarding ieee-float.h.
1994-02-28 * i387-tdep.c, i386-tdep.c i386v-nat.c, i386aix-nat.c,Jim Kingdon3-14/+12
i386m3-nat.c, config/m68k/tm-m68k.h, i960-tdep.c config/i960/tm-i960.h, remote-nindy.c, config/m88k/tm-m88k.h, m88k-tdep.c: Use floatformat.h instead of ieee-float.h. * sparc-tdep.c: Remove now-obsolete ieee-float.h stuff * findvar.c: Update comment regarding ieee-float.h.
1994-02-27 * config/i386/tm-i386v4.h (I386V4_SIGTRAMP_SAVED_PC, IN_SIGTRAMP,Peter Schauer1-1/+46
FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC): Define to make backtracing through the various sigtramp handlers work.
1994-02-27 * config/i386/tm-i386v4.h (I386V4_SIGTRAMP_SAVED_PC, IN_SIGTRAMP,Peter Schauer2-35/+118
FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC): Define to make backtracing through the various sigtramp handlers work. * i386-tdep.c (i386v4_sigtramp_saved_pc): New routine to fetch the saved pc from ucontext on the stack for SVR4 signal handling.
1994-02-26Fix typo in last change, print_filtered -> printf_filteredPeter Schauer1-1/+1
1994-02-26 * remote.c, remote-mon.c, remote-utils.c, remote-utils.h,Jim Kingdon7-26/+72
target.h, remote-es.c, remote-nindy.c: Don't set baud rate if baud_rate is -1. Remove sr_get_baud_rate and sr_set_baud_rate; just use the global variable itself. When printing baud rate, don't print a baud rate if baud_rate is -1.
1994-02-25 * coffread.c (read_coff_symtab): Pass mst_file_* toJim Kingdon1-0/+6
record_minimal_symbol for C_STAT symbols. Put C_EXT and C_STAT symbols in the minimal symbols regardless of SDB_TYPE.
1994-02-25 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail forJim Kingdon1-0/+7
next over recursive call. Revise the tests from that point on (which had been skipped) to match GDB's actual (correct) output. * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug with next over a breakpoint whose condition is false.
1994-02-25 * breakpoint.h (enum bptype): New type bp_through_sigtramp.Jim Kingdon4-61/+137
(bpstat_what_main_action): New code BPSTAT_WHAT_THROUGH_SIGTRAMP. * breakpoint.c (bpstat_what): Return BPSTAT_WHAT_THROUGH_SIGTRAMP if we hit a bp_through_sigtramp breakpoint. Remove kludge which ignored bs->stop for a bp_step_resume breakpoint. * infrun.c (wait_for_inferior): Make a through_sigtramp_breakpoint which performs one (the check_sigtramp2 one) of the functions which had been handled by the step_resume_breakpoint. For each use of the step_resume_breakpoint, make it still use the step_resume_breakpoint, use the through_sigtramp_breakpoint, or operate on both. Deal with BPSTAT_WHAT_THROUGH_SIGTRAMP return from bpstat_what. When setting the frame address of the step resume breakpoint, set it to the address for frame *before* the call instruction is executed, not after.
1994-02-25 * mips-tdep.c (mips_print_register): Print integers usingJim Kingdon2-27/+49
print_scalar_formatted rather than duplicating all the CC_HAS_LONG_LONG and so on. (mips_push_dummy_frame): Use read_register_gen rather than using read_register and then putting it back in target format with store_unsigned_integer. If registers are more than 4 bytes, give an error rather than have some registers overwrite other registers. #if 0 unused include of opcode/mips.h.
1994-02-25 * gdb.t00/help.exp: Comment out "help set print" tests just likeJim Kingdon1-0/+5
(and for same reason as) "help set" test.
1994-02-24* defs.h: Revert Kung change regarding FORCE_LONG_LONG.Jim Kingdon1-0/+4
1994-02-24 * confiugre.in (hppa*-*-osf*): New configuration.Jeff Law5-0/+23
* config/pa/hppaosf.mt: New target makefile fragment. * config/pa/tm-hppao.h: New target include file.
1994-02-24 * dwarfread.c: Remove second inclusion of <sys/types.h>, whichPeter Schauer2-1/+2
causes problems if <sys/types.h> has no multiple inclusion protection.
1994-02-24 * exec.c (print_section_info): Print entry point for exec_bfd only.Peter Schauer2-2/+7
* ser-unix.c (wait_for): Fix typo in HAVE_TERMIO case.
1994-02-24 * sparc-stub.c (trap_low): Make trap handler work for arbitraryStu Grossman2-3/+24
numbers of register windows.
1994-02-24 * tm-hppa.h (CALL_DUMMY): Add two NOP instructions to the end ofJeff Law1-0/+6
the call dummy to avoid kernel bugs in HPUX, BSD, and OSF1. (CALL_DUMMY_LENGTH): Changed accordingly.
1994-02-24 * sparclite/hello.c: Add factorial function for testing.Stu Grossman1-0/+8
* salib.c: Use macros instead of constants for I/O addresses to make 931 support easier. * sparclite.h: Change constraint for LOC to "rJ" to force use of register in sta/lda instructions.
1994-02-23 * stabs.texinfo: Document N_RBRAC as function relative for COFF asJim Kingdon2-61/+100
well as for ELF and SOM. Unify the descriptions of ELF and SOM as "stabs in sections" rather than just saying "ELF and SOM". Also make that stuff apply to COFF.
1994-02-23 * dbxread.c (process_one_symbol): SetJim Kingdon1-0/+5
block_address_function_relative for COFF like we do for ELF and SOM.
1994-02-19 * config/mips/tm-mips.h (FIX_CALL_DUMMY): For big endian targets,Peter Schauer1-6/+9
error() on TYPE_CODE_FLT arguments whose size is greater than 8, swap all other TYPE_CODE_FLT arguments as mips_push_arguments ensures that floats are promoted to doubles before they are pushed on the stack.
1994-02-19 * mdebugread.c (new_psymtab): Pass in section_offsets and setPeter Schauer2-3/+91
them in the pst. * mdebugread.c (handle_psymbol_enumerators): New function to enter the enumerators of an ecoff enum into the partial symbol table. * mdebugread.c (parse_partial_symbols): Call it. * symfile.c (reread_symbols): Initialize objfile->*_psymbols.next. * symmisc.c (dump_psymtab): Fix typo, clean up output of section offsets. Cast psymtab->read_symtab to PTR before passing it to gdb_print_address. * i386-tdep.c (i386_skip_prologue): Skip over instructions that set up the global offset table pointer in pic compiled code. * config/mips/tm-mips.h (FIX_CALL_DUMMY): For big endian targets, error() on TYPE_CODE_FLT arguments whose size is greater than 8, swap all other TYPE_CODE_FLT arguments as mips_push_arguments ensures that floats are promoted to doubles before they are pushed on the stack.
1994-02-19 * sparclite/Makefile.in, sparclite/salib.c, sparclite/sparclite.h:Stu Grossman1-0/+8
Fixup cache_on and flush_i_cache so that they work for both the 930 and 932 processors. Rewrite most low level funcs (uart access & cache stuff) to use new ASI access macros in sparclite.h. Also make it easy to access second serial port.
1994-02-19 * hp300ux-nat.c: Don't incloude <sys/dir.h>, <sys/ioctl.h>, orIan Lance Taylor2-3/+5
<sys/stat.h>; not needed.
1994-02-19 * stack.c (print_frame_info): In "pathological" case, don'tJim Kingdon1-0/+5
distrust the line number information.
1994-02-19Modified Files:Kung Hsu1-0/+5
ChangeLog mips-tdep.c valprint.c * mips-tdep.c (mips_print_register): handle 64 bits register. * valprint.c (print_longest): fix a bug in printing 64 bits value.
1994-02-19Modified Files:Kung Hsu2-1/+8
tm-mips64.h tm-mips.h Change REGISTER_VIRTUAL_TYPE to handle 64 bit register.
1994-02-19Add unknown.expJim Kingdon1-0/+1
1994-02-18* Version 4.12.2.Jim Kingdon1-0/+2
1994-02-18 * Makefile.in (install): Do the sed for program_transform_nameJim Kingdon2-9/+21
ourselves instead of worrying about INSTALL_XFORM. This enables users to override INSTALL_PROGRAM in the standard way. * Makefile.in (c-exp.tab.o, ch-exp.tab.o, m2-exp.tab.o): Don't depend on Makefile.in.
1994-02-18 * defs.h, valprint.c: Make longest_to_int a function not a macro.Jim Kingdon3-4/+31
Only test against INT_MIN if a LONGEST is bigger than an int.
1994-02-18 * gdb.texinfo (Formatting Documentation): Change GhostScript toJim Kingdon2-2/+7
Ghostscript.
1994-02-18* README: Change GhostScript to Ghostscript.Jim Kingdon1-0/+4
1994-02-18 * config/rs6000/{tm-rs6000lynx.h,nm-rs6000lynx.h,xm-rs6000lynx.h}:Jim Kingdon6-4/+11
Rename to tm-rs6000ly.h, nm-rs6000ly.h, xm-rs6000ly.h for 14 character file names. * Makefile.in (ALLPARAM): Add these files.
1994-02-18 * config/mips/littlemips64.mt: Rename to mipsel64.mt for 14Jim Kingdon4-4/+22
character file names. Makefile.in: Add Kung's new mips64 files.
1994-02-18Modified Files:Kung Hsu4-124/+212
ChangeLog configure.in defs.h mips-tdep.c * configure.in: add mips64-*-elf, mips64-*-ecoff, mips64el-*-elf, mips64el-*-ecoff and mips64-big-*. * defs.h: get rid of FORCE_LONG_LONG. * mips-tdep.c (mips_find_saved_regs): add sd and sdc1 instruction parsing. Change register size to be MIPS_REGSIZE.
1994-02-18Added Files:Kung Hsu9-21/+161
bigmips64.mt idt64.mt idtl64.mt littlemips64.mt tm-bigmips64.h tm-idt64.h tm-idtl64.h tm-mips64.h Add the above files to support mips 64 bits target.