aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1994-03-08* alpha-tdep.c: Change value to value_ptr.Jim Kingdon2-7/+11
1994-03-07 * solib.c (elf_locate_base): New function to locate the addressPeter Schauer1-0/+9
of the dynamic linker's runtime structure in the dynamic info section. * solib.c (locate_base): Use it instead of iterating over the list of mapped address segments. * solib.c (look_for_base, bfd_lookup_symbol): Removed, no longer necessary.
1994-03-07 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs forPeter Schauer1-0/+9
the primary1 test, use work around if __GNUC__ < 2. * gdb.t06/signals.c: Add comments for signals.exp pattern matching. * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix. Test for bad output rather than waiting for timeout. Issue second continue only if first continue failed.
1994-03-05Fix typo, value has not been changed to value_ptr in all places.Peter Schauer1-1/+2
1994-03-04 * hppa-tdep.c (pc_in_linker_stub): Move decl to beginning of file.Jeff Law4-24/+255
(pc_in_interrupt_handler): New function. Also add PARAM decl. (find_proc_framesize): Deal with HPUX setting SAVE_SP bit for signal trampoline and interrupt routines. (frame_saved_pc): Handle signal trampolines and interrupt routines. (frame_chain, frame_chain_valid): Likewise. (hppa_frame_find_saved_regs): Likewise. Also deal with special saved regs convention for SP. * tm-hppa[bho].h: FRAME_FIND_SAVED_PC_IN_SIGTRAMP): Define. (FRAME_BASE_BEFORE_SIGTRAMP): Define. (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Define. * tm-hppah.h (IN_SIGTRAMP): Define.
1994-03-04 * ch-exp.y (match_simple_name_string): Accept '_' as well as anJim Kingdon2-1/+4
alphabetic character as the start of a name.
1994-03-04* sparclite/Makefile.in (all install): Build and install aload.Jim Kingdon1-0/+2
1994-03-04 * configure.in: Accept i[34]86-*-*sysv32 because that is whatJim Kingdon2-0/+4
config.guess and config.sub produce.
1994-03-03* mips-tdep.c: Change value to value_ptr.Jim Kingdon1-0/+4
1994-03-03 * breakpoint.c, breakpoint.h, c-valprint.c, ch-valprint.c,Jim Kingdon18-737/+925
cp-valprint.c, eval.c, expprint.c, findvar.c, language.c, objfiles.h, infcmd.c, printcmd.c, stack.c, typeprint.c, valarith.c, valops.c, valprint.c, value.h, values.c: Replace value with value_ptr. This is for the ptx compiler. * objfiles.h, target.h: Don't declare a "sec_ptr" field using a "sec_ptr" typedef. * symm-nat.c: Add a bunch of stuff for symmetry's ptrace stuff. #if 0 i386_float_info. * symm-tdep.c (round): Remove. Also remove sgttyb. * symm-tdep.c: Remove lots of stuff which duplicates stuff from i386-tdep.c. Remove register_addr and ptx_coff_regno_to_gdb. * i386-tdep.c (i386_frame_find_saved_regs): Put in I386_REGNO_TO_SYMMETRY check in case it is needed for Dynix someday. * config/i386/nm-symmetry.h: Change KERNEL_U_ADDR. Move stuff from PTRACE_READ_REGS, PTRACE_WRITE_REGS macros to symm-nat.c. Define CHILD_WAIT and declare child_wait(). * config/i386/tm-symmetry.h: Remove call function stuff; stuff in tm-i386v.h is apparently OK. * config/i386/xm-symmetry.h [_SEQUENT_]: Define HAVE_TERMIOS not HAVE_TERMIO. Define MEM_FNS_DECLARED, NEED_POSIX_SETPGID, and USE_O_NOCTTY.
1994-03-02 * osfsolib.c (xfer_link_map_member): Update to use newPeter Schauer2-4/+15
target_read_string interface.
1994-03-02 * remote-os9k.c (rombug_wait): Call find_pc_section notJim Kingdon1-1/+1
find_pc_objfile.
1994-03-02 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): DoJim Kingdon1-0/+6
operator[] test with gdb_test because the old code didn't seem to be getting the quoting right with the new dejagnu.
1994-03-02 * infrun.c (wait_for_inferior): In checkingJim Kingdon2-5/+12
remove_breakpoints_on_following_step, check through_sigtramp_breakpoint as well as step_resume_breakpoint.
1994-03-02 * os9kread.c (os9k_process_one_symbol): RenameJim Kingdon14-2207/+192
VARIABLES_INSIDE_BLOCK to OS9K_VARIABLES_INSIDE_BLOCK. * symfile.c (symbol_file_command): Check for (CORE_ADDR)-1, not (CORE_ADDR)0, from target_link, since that is what it uses. Process name at end, not during parsing (like we did before Kung's change), so that -readnow and -mapped can appear anywhere. Make text_relocation a local variable. * config/i386/i386os9k.mt: Fix comment. * Makefile.in (ALLDEPFILES): Add remote-os9k.c. * os9kread.c: Put "comments" after #endif inside /* */. * stabsread.h: Add os9k_stabs variable. * stabsread.c (start_stabs), os9kread.c (os9k_process_one_symbol): Set it. * stabsread.c (define_symbol): If os9k_stabs, put a 'V' symbol descriptor in global_symbols not local_symbols. (read_type): If os9k_stabs, accept 'c', 'i', and 'b' type descriptors. (read_type): If os9k_stabs, accept function parameters after 'f' type descriptor. (read_array_type): If os9k_stabs, don't expect index type and expect lower and upper to be separated by ',' not ';'. (read_enum_type): If os9k_stabs, read a number before the first enumeration constant. (os9k_init_type_vector): New function. (dbx_lookup_type): Call it when starting new type vector. * config/i386/tm-i386os9k.h: Define BELIEVE_PCC_PROMOTION. * (os9k_process_one_symbol): Call define_symbol not os9k_define_symbol. * os9kstab.c: Removed. * Makefile.in: Update accordingly. * objfiles.c (objfile_relocate_data): Removed. * remote-os9k.c (rombug_wait): Call objfile_relocate not objfile_relocate_data. * objfiles.h, objfiles.c: Remove find_pc_objfile. * remote-os9k.c (rombug_wait): Call find_pc_section not find_pc_objfile. * main.c (quit_command): Check inferior_pid; revert Kung change. * remote-os9k.c (rombug_create_inferior): Set inferior_pid.
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.