aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-12-27 * somsolib.c (som_solib_add): Return without loading any sharedJeff Law2-0/+12
libraries if symfile_objfile is NULL. (som_solib_create_inferior_hook): Likewise.
1994-12-24 * remote-est.c: New file supports EST-300 CPU32 backgroundSteve Chamberlain5-0/+600
mode ICE. * remote-utils.c (sr_com): Call registers_changed. * configure.in (m68*-*-est*): New configuration. * config/m68k/tm-est.h: New file.
1994-12-24New files.Steve Chamberlain2-0/+75
1994-12-24 * Makefile.in (CLIBS): Put LIBIBERTY last.Stu Grossman3-40/+50
* gdbtk.c (gdbtk_wait gdbtk_init): Portability improvements for SIGIO handling.
1994-12-23 * ser-tcp.c (tcp_open): Cast to struct sockaddr when passing toJim Kingdon2-1/+11
function which expects that.
1994-12-22* nlm/gdbserve.c, nlm/ppc.c, nlm/ppc.h: Don't try to useJ.T. Conklin3-6/+10
ALTERNATE_MEM_FUNCS.
1994-12-22 * gdb.base/list.exp (test_forward_search): Set timeout higherJim Kingdon2-19/+48
when we'll be getting lots of output from gdb. * gdb.base/a1-selftest.exp: Move code that was inside expect -re "init_malloc" to after the expect statement. Run it if that regexp is taken, but also for two others which happen if source cannot be found.
1994-12-21 * monitor.c: Now supports xmodem as a remoteloadprotocol.Rob Savoye2-4/+31
1994-12-21Opps. Check in correct version of last elf32-hppa.c change.Jeff Law1-54/+52
1994-12-21 * config/mips/xm-irix4.h, config/mips/xm-irix5.h: #defineStu Grossman3-0/+13
_BSD_COMPAT to get reliable signal handling (needed for GDBtk).
1994-12-21 * i386linux.c (linux_add_one_symbol): Don't do anything LinuxIan Lance Taylor1-0/+4
specific if this is not a Linux hash table. From Eric Youngdale <eric@aib.com>.
1994-12-21 Patches from kkojima@mix.or.jp (Kazumoto Kojima):Ian Lance Taylor2-7/+12
* mipsbsd.c (mips_howto_table_ext): Change sizes of memory relocs apply to from two bytes to four bytes. * MY(reloc_howto_type_lookup): Handle BFD_RELOC_CTOR.
1994-12-21 * ar.c (main): Ignore 'f' modifier used on HP/UX 9.Ian Lance Taylor1-0/+15
1994-12-20* frags.c (frag_init): Call obstack_begin on `frags'.Ken Raeburn8-74/+111
* subsegs.c (subsegs_begin): Don't do it here. * as.c (main): Call frag_init before subsegs_begin. * frags.c (frag_append_1_char): New function. * frags.h (frag_append_1_char): Declare it. (FRAG_APPEND_1_CHAR): Call it. Old definition is commented out for now. * as.h (struct frag): Added (but commented out) new fields for tracking current alignment. (frag_now_fix): Changed macro to function declaration. * frags.c (frag_now_fix): Define function here. (frag_new): Use it instead of accessing `frags' directly. * frags.h (frags): Change comment to indicate it shouldn't be accessed directly. * subsegs.h (struct frchain): New field frch_obstack, intended to eventually replace global `frags' obstack. * subsegs.c (subseg_set_rest): Use frag_now_fix instead of accessing `frags' directly. Initialize fields of new frchainS explicitly instead of with memset. * config/obj-coff.c (obj_coff_ln) [!BFD_ASSEMBLER]: Use frag_now_fix. * config/tc-mips.c (s_loc), config/obj-vms.c (vms_resolve_symbol_redef), symbols.c (colon): Likewise.
1994-12-20 * gdb.base/printcmds.exp: New test, for printing register beforeJim Kingdon1-0/+5
program is running.
1994-12-20 * sparc-tdep.c, a29k-tdep.c, findvar.c (get_saved_register):Jim Kingdon3-0/+10
if !target_has_registers, call error().
1994-12-20* elfcode.h (assign_file_positions_except_relocs): In assertion, force allKen Raeburn2-10/+17
values to the same type.
1994-12-20* config/tc-m68k.c (md_apply_fix_2): Use offsetT and addressT instead of longKen Raeburn2-33/+60
and unsigned long. (md_apply_fix): Cast value before passing it.
1994-12-20* config/obj-aout.h, config/obj-coff.c, config/obj-elf.h, config/obj-som.h,Ken Raeburn5-15/+38
config/tc-h8500.c, config/tc-hppa.c, config/tc-hppa.h, config/tc-sh.c, config/tc-z8k.c: Don't rely on use of ".." when including header files. * config/tc-rce.c: Ditto. * config/obj-coff.c (fixup_segment): Reformat condition in an `if' statement.
1994-12-20* Makefile.in (SUBDIR_INCLUDES): Deleted.Ken Raeburn2-1/+4
1994-12-20 * value.h: Remove obsolete comments about FRAME vs structJim Kingdon2-11/+20
frame_info *.
1994-12-20 * coff-h8300.c (howto_table): All relocs get a special function.Steve Chamberlain2-23/+65
(special): Never do anything when linking -r.
1994-12-20 * elf32-i386.c (elf_i386_relocate_section): Correct and expand theIan Lance Taylor3-16/+81
list of cases for which relocation need not be computed. * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
1994-12-20 * config/obj-coff.h: Include bfd/libcoff.h, not libcoff.h.Ian Lance Taylor2-23/+514
1994-12-20 * mips-opc.c: Add dli as a synonym for li.Ian Lance Taylor2-6/+14
1994-12-20 * elf32-hppa.c (elf32_hppa_read_symext_info): Delete do_locals andJeff Law2-49/+114
do_globals arguments, always read symbol extension information for globals and locals. All callers changed. (elf32_hppa_size_stubs): Rework to only read symbol extension information once for each input bfd. Another 10% improvement in linker performance.
1994-12-19 * config/tc-hppa.c (pa_subspace): Make sure SEC_HAS_CONTENTS isJeff Law2-2/+6
clear for a section with the "ZERO" attribute.
1994-12-19 * ld.h (split_by_reloc, split_by_file): New flags.Steve Chamberlain2-27/+251
* ldwrite.c (clone_section, split_sections): New functions. * lexsup.c (parse_args): Understand new split options.
1994-12-19 * config/tc-mips.c (load_register): Rewrite to handle O_big 64 bitIan Lance Taylor2-52/+95
constants. (mips_ip): Accept O_big constants in case 'I'. Change case 'i'/'j' to treat an O_big constant as an out of range value.
1994-12-19 * Reduce useless symbols for ELF in an attempt to make smallerJeff Law2-101/+115
objects and speed up the linker. * config/tc-hppa.c (struct call_info): Replace end_symbol field with a size field. (hppa_elf_mark_end_function): Delete unneeded function. (pa_build_unwind_subspace): For the 2nd unwind relocation, use the function symbol + function size instead of a special symbol for the end of the function. (process_exit): Compute the function size here. Don't call hppa_elf_mark_end_of_function anymore. (pa_procend): Likewise. (hppa_fix_adjustable): Only reject 32bit relocations for SOM. (elf_hppa_final_processing): Simplify.
1994-12-19Various arc stuff.David Edelsohn1-0/+15
1994-12-19 * config/tc-arc.c (arc_insert_operand): Change reg parm to pointerDavid Edelsohn1-0/+1272
to table entry. All callers changed. (md_shortopts): New argument -mmult. (md_parse_option): Recognize it. (md_show_usage): Print it. (md_begin): If -mmult, say we have the new multiply and shift insns. (md_assemble): Fix reloc generation for 32 bit immediate values. Clean up modifier handling. Try next insn if fake operand says there's an error. Update to new syntax of insertion/extraction fns. Recognize predefined aux regs. Don't abort if insertion fn missing.
1994-12-19 * arc-opc.c (insertion fns): Pass pointer to value's table entry.David Edelsohn3-0/+1199
All uses changed. (extraction fns): Insn argument now array of two words. Return pointer to value's table entry. All uses changed. (arc_opcode_lookup_suffix): Exported for arc-dis.c. (insert_multshift, extract_multshift): New fns. (arc_operands): Add support for cache bypass suffix. Add support for predefined aux regs. Modifier bits moved to flags field. (arc_opcodes): Likewise. Add mul/mulu/shift insns. Syntax of zero/sign extension insns changed. New insn rlc. Update to syntax in programmer's manual. (arc_reg_names): Fix typo in lp_count. Add predefined aux regs. (arc_suffixes): New synonyms lo,hs for cs,cc. New suffix for cache bypass. (arc_opcode_init_tables): New argument to indicate cpu type. (insert_reg): Handle predefined aux regs. (extract_reg): Likewise. (lookup_register): New fn. * arc-dis.c (arc_condition_codes): Deleted. (print_insn_arc): Handle insns with 32 bit immediate constants better. Clean up modifier handling. Handle predefined aux regs.
1994-12-19* configure.in: Recognize mips-sony-bsd and mips-dec-bsd, but reject otherKen Raeburn3-21/+39
vendors until we can be sure we're consistent with bfd.
1994-12-19some cleanup of vms code -- sizeof usage &cKen Raeburn3-91/+107
1994-12-19 * gdbtk.tcl (update_assembly): Force update to make sure that pcStu Grossman2-0/+6
is visible when creating new assembly windows.
1994-12-19don't sanitize arc files that have already been deletedKen Raeburn1-1/+1
1994-12-19 * gdb.base/list.exp: Correct some alternate expect patternsPeter Schauer2-0/+892
to reflect changes in list1.c.
1994-12-19 * gdbtk.c (gdbtk_wait gdbtk_init): Use different method ofStu Grossman3-131/+173
enabling I/O interrupts for SVR4 (streams). * (start_saving_output save_output get_saved_output finish_saving_output flush_holdbuf gdbtk_flush gdbtk_fputs gdbtk_init): Totally revamp to use TCLs dynamic string functions. Also, quote all data passed back to TCL to prevent errors with unmatched braces, odd characters, etc... This fixes several wierd problems with outputting strings containing unmatched braces. * (breakpoint_notify gdb_loc): Use long hex format to output addresses of breakpoints and PCs. This fixes some Alpha problems. * (breakpoint_notify): Add stream arg to call to gdbtk_fputs. * (gdb_listfiles): Also, go through the symtabs when looking for files. This makes xcoff work (sort of), but probably breaks something else. * (gdb_stop): Return TCL_OK instead of nothing. This fixes odd TCL errors when hitting stop button. * (tk_command): Don't pass interp->result on to Tcl_{Var}Eval, as that will trash the result. strdup the result instead and pass that on. Improve error handling as well. * gdbtk.tcl (gdbtk_tcl_flush): Use global def of current_output_win. Makes flushing actually work! * (asm_win_name create_asm_win update_assembly): Bunch of fixes to make assembly windows stop flashing when loading a new file. * (gdbtk_tcl_busy gdbtk_tcl_idle): Use catch to prevent gdb_cmd errors from losing control. * (create_source_window): Add source file selection to View menu. * (create_command_window (<Key-Return> binding): Quote text fed into gdb_cmd to prevent eval errors.
1994-12-18 * sparc-tdep.c (sparc_pop_frame): Remove erroneous extra argumentPeter Schauer2-1/+6
to write_register.
1994-12-18 * tm-sparc.c (EXTRA_FRAME_INFO): New field sp_offset.Jim Kingdon3-192/+427
* sparc-tdep.c (sparc_init_extra_frame_info): Set it. (examine_prologue, sparc_init_extra_frame_info): Use ->frame plus ->sp_offset to compute the address something is saved at, not ->bottom. * sparc-tdep.c (get_saved_register): New function. * tm-sparc.h: Define GET_SAVED_REGISTER; don't define FRAME_FIND_SAVED_REGS, HAVE_REGISTER_WINDOWS or REGISTER_IN_WINDOW_P. * stack.c (frame_info): Add comment about what to do if FRAME_FIND_SAVED_REGS is not defined. * sparc-tdep.c (sparc_init_extra_frame_info): Set ->frame field here. Get it right for flat frames. * sparc-tdep.c (sparc_frame_chain): Instead of returning meaningful value for ->frame field, just return dummy value. This change is needed because the old code didn't deal with mixed flat and non-flat frames. * sparc-tdep.c (sparc_pop_frame): Write SP_REGNUM from frame->frame, don't go through saved regs for this. * sparc-tdep.c: Move guts of skip_prologue to new function examine_prologue. Check for flat prologue and set is_flat. Provide the caller with the information about what is saved where if desired. (skip_prologue, sparc_frame_find_saved_regs): Call examine_prologue. * sparc-tdep.c: Replace union sparc_insn_layout and anonymous union in isannulled, which won't work on a little-endian host, with X_* macros. * sparc-tdep.c (sparc_frame_saved_pc): If addr == 0, the saved PC is still in %o7. * config/sparc/tm-sparc.h: Define INIT_FRAME_PC and INIT_FRAME_PC_FIRST. * blockframe.c (get_prev_frame_info): Modify comments regarding INIT_FRAME_PC_FIRST and the sparc. * sparc-tdep.c (single_step): Use 4 not sizeof (long) for size of instruction.
1994-12-18* TODO: Add item regarding large frames.Jim Kingdon2-0/+10
1994-12-18 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.Jim Kingdon2-7/+26
* TODO: Remove item about enabling return.exp; it is enabled. Suggest a few more "return" tests.
1994-12-17there isn't a configure script here thoughKen Raeburn1-1/+1
1994-12-17need to sanititze Makefile.in for arc tooKen Raeburn1-1/+1
1994-12-17 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases forPeter Schauer1-1/+6
anonymous unions.
1994-12-17 * c-typeprint.c (c_type_print_base): Use `show' of -1 to printPeter Schauer6-92/+301
the return type of methods to avoid infinite loops with anonymous types. * valops.c (search_struct_field): Handle anonymous unions. * sparc-tdep.c (sunos4_skip_trampoline_code): New function to correctly handle steps into -g compiled PIC objects in the main executable. * config/sparc/tm-sun4os4.h (SKIP_TRAMPOLINE_CODE): Redefine to use sunos4_skip_trampoline_code. * dwarfread.c (DWARF_REG_TO_REGNUM): Provide a default mapping from DWARF to GDB register numbering. * dwarfread.c (locval): Use DWARF_REG_TO_REGNUM to map the register value. * config/mips/tm-mipsv4.h (DWARF_REG_TO_REGNUM): Define.
1994-12-17* config/tc-h8300.c (parse_exp, get_operands, clever_message, md_assemble,Ken Raeburn2-74/+122
tc_crawl_symbol_chain, md_undefined_symbol, tc_headers_hook, md_operand, md_number_to_chars): Don't use DEFUN.
1994-12-17* config/tc-sh.c (md_begin): Don't fill in md_relax_table here.Ken Raeburn2-156/+162
(md_relax_table): Use static initialization.
1994-12-17* Makefile.in (CHECKFLAGS): Don't pass AS_FOR_TARGET, CC_FOR_TARGET,Ken Raeburn2-46/+14
OBJDUMP_FOR_TARGET, NM_FOR_TARGET; they're not used. (AS_FOR_TARGET, CC_FOR_TARGET, OBJDUMP, OBJDUMP_FOR_TARGET, NM, NM_FOR_TARGET): Don't define. (VMS_OTHER_OBJS): Add xmalloc.o and xexit.o from libiberty. (tooldir): Use exec_prefix, not libdir.