aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-07 Add lost lines to previous ChangeLog entry.Peter Schauer1-0/+2
1994-03-07 * config/tc-mips.c (load_address): When calling frag_grow, allowIan Lance Taylor2-56/+170
for the (up to) two nops which may be inserted by append_insn if mips_optimize is 0. (macro): Likewise.
1994-03-07 * elf.sc: Permit TEXT_START_SYMBOLS and DATA_START_SYMBOLS to beIan Lance Taylor2-0/+9
defined. * emulparams/elf32mipb.s (TEXT_START_SYMBOLS): Define _ftext. (DATA_START_SYMBOLS): Define _fdata.
1994-03-05Fix typo, value has not been changed to value_ptr in all places.Peter Schauer1-1/+2
1994-03-05 * elf32-hppa.h, elfcode.h: Replace uses of Elf*_Half, Elf*_Word,Peter Schauer3-5/+11
Elf*_Off typedefs by their expansion, the typedefs have been removed from include/elf/internal.h.
1994-03-05 * internal.h: Remove Elf32_*, Elf64_* typedefs. These namesPeter Schauer2-16/+116
cause conflicts with system headers, e.g. link.h in gdb/solib.c. Combine 32- and 64-bit versions of *_Internal_Dyn. * common.h: Replace uses of Elf64_Word, Elf64_Xword typedefs by their expansion. * mips.h: Replace uses of Elf32_Word, Elf32_Sword, Elf32_Addr typedefs by their expansion. Add DT_MIPS_RLD_MAP definition.
1994-03-04Fri Mar 4 11:43:47 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-10/+16
* ldlang.c (lookup_name): Stomp on a pointer if in MPW. * mpw-em.c: Edit to reflect changed syntax of compiled-in linker scripts.
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 * som.h (_PA_RISC_ID): Treat HOST_HPPAOSF just like HOST_HPPABSD.Jeff Law2-1/+5
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: For ISC, use mh-sysv, not mh-isc.Jim Kingdon1-0/+4
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-04* i386.h: Reverse last change. It'll be handled in gas instead.Ken Raeburn1-0/+11
1994-03-03 * configure.in (noconfigdirs for alpha): Remove libg++ and libio.Per Bothner2-2/+6
1994-03-03* mips-tdep.c: Change value to value_ptr.Jim Kingdon1-0/+4
1994-03-03* config/atof-ieee.c (make_invalid_floating_point_number):David Edelsohn1-0/+5
Add cast to avoid warning from gcc.
1994-03-03 * configure.host: Recognize i[34]86-sequent-*.Jim Kingdon2-21/+41
* trad-core.c (trad_unix_core_file_p): A non-zero, not zero, return from bfd_seek indicates an error. New macro TRAD_CORE_DSIZE_INCLUDES_TSIZE to replace TRAD_CORE_STACK_OFFSET. * hosts/symmetry.h: Define TRAD_CORE_DSIZE_INCLUDES_TSIZE and TRAD_CORE_USER_OFFSET but not HOST_STACK_OFFSET.
1994-03-03* config.guess: Check for ptx.Jim Kingdon2-0/+15
1994-03-03Removed comment about internals documentation in as.texi; just say that theKen Raeburn1-2/+1
internals need documenting.
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 * som.[ch]: Do not include libhppa.h in som.c, instead includeJeff Law5-2/+8
it in som.h. * elf32-hppa.[ch]: Do not include libhppa.h in elf32-hppa.c, instead include it in elf32-hppa.h.
1994-03-02Add some notes from tege on .align for alpha and i386 that I want to deal withKen Raeburn1-0/+31
sometime, when I've got time.
1994-03-02 * som.c (log2): Return -1 on error rather than aborting.Jeff Law2-6/+11
(setup_sections): Bubble up an error from log2.
1994-03-02 * osfsolib.c (xfer_link_map_member): Update to use newPeter Schauer2-4/+15
target_read_string interface.
1994-03-02 * config/tc-hppa.c: Add a few casts to make HP C compiler happy.Jeff Law2-5/+14
* config/obj-som.c (obj_som_version, obj_som_copyright): Be prepared to handle an error from bfd_som_attach_aux_hdr.
1994-03-02 * som.c (hppa_som_gen_reloc_type): Use correct enum type forJeff Law4-13/+36
field parameter. (bfd_som_set_section_attributes): Use unsigned int rather than unsigned char to avoid GNU-C extensions. (bfd_som_attach_aux_hdr): Return a boolean to indicate success or failure rather than aborting on failure. * som.h (bfd_som_set_section_attributes): Fix prototype to match som.c changes. (bfd_som_attach_aux_hdr): Add prototype. (hppa_som-gen_reloc_type): Likewise. * elf32-hppa.c: Add a couple casts to make HP compiler happy. (hppa_look_for_stubs_in_section): Do not return false on failure until rest of code is ready to handle it. Abort for now.
1994-03-02 * remote-os9k.c (rombug_wait): Call find_pc_section notJim Kingdon1-1/+1
find_pc_objfile.
1994-03-02 * config/tc-hppa.h: Wrap ELF specific decls inside an ifdef.Jeff Law1-0/+4
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-02Change "error" to "perror".Rob Savoye1-1/+1
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-02Change "error" to "perror" everywhere.Rob Savoye3-6/+162
1994-03-02 * stabs.texinfo (Type Descriptors): Add OS9000 type descriptors c,Jim Kingdon2-3/+14
i, and b.
1994-03-02* bfd-in2.h: Rebuilt.Jim Kingdon2-2/+6
1994-03-02Modified Files:Kung Hsu1-0/+5
ChangeLog * os9k.h: os9000 target specific header file, the header of the object file is used now.
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-01Modified Files:Kung Hsu2-4/+6
ChangeLog i386os9k.c Makefile.in * i386os9k.c: use new functions bfd_set_error and bfd_get_error. * Makefile.in: delete an extra blank.
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-01Modified Files:Kung Hsu2-5/+10
ChangeLog configure.in * configure.in : Add i396os9k_vec.
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* floatformat.h: New file, intended to replace ieee-float.h.Jim Kingdon1-0/+1
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-01Remove trailing space at end of continuation line in def of CFILES.Stu Grossman1-1/+1
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.