aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1996-05-17 * gdbtk.tcl (gdb_prompt): Set this early on.Fred Fish3-3/+36
(create_command_window): Use gdb_prompt rather than "(gdb) ". (gdbtk_tcl_preloop): Proc executed just prior to Tk main loop. (tclsh): If an evaluation window already exists, just bring it to the front instead of trying to create another. * gdbtk.c (tk_command_loop): New function. (gdbtk_init): Call tk_command_loop rather than Tk_MainLoop.
1996-05-16 * gdbtk.tcl (evaluate_tcl_command, tclsh): New functions thatFred Fish2-0/+67
implement a tcl evaluation window for gdbtk maintainers to use.
1996-05-16 * cache.c (bfd_open_file): Unlink the file before opening it forIan Lance Taylor1-0/+7
write. From Marty Leisner <leisner@sdsp.mc.xerox.com>. * opncls.c (bfd_fdopenr): Set opened_once.
1996-05-16Added lose-inet to docsTom Tromey1-0/+3
1996-05-16 * config/tc-sh.h (struct sh_segment_info_type): Define.Ian Lance Taylor1-4/+56
(TC_SEGMENT_INFO_TYPE): Define. (sh_frob_label): Declare. (tc_frob_label): Define. (sh_flush_pending_output): Declare. (md_flush_pending_output): Define. * config/tc-sh.c (md_assemble): If relaxing, emit a R_SH_CODE reloc before the instruction if necessary. (sh_frob_label): New function. (sh_flush_pending_output): New function. (sh_coff_frob_file): Ignore ALIGN, CODE, DATA, and LABEL relocs when looking for the reloc for the target of .uses. (md_convert_frag): Fix printf format (%0xlx to 0x%lx). (sh_force_relocation): Force CODE, DATA, and LABEL relocs to be emitted. (md_apply_fix): Ignore CODE, DATA, and LABEL relocs. (sh_coff_reloc_mangle): Force CODE, DATA, and LABEL relocs to use the absolute symbol.
1996-05-16 * gdbtk.tcl (files_command): Correctly insert list of files intoTom Tromey2-15/+5
listbox widget.
1996-05-16 * gdbtk.tcl (files_command): listbox command no longer acceptsTom Tromey2-1/+6
-geometry.
1996-05-16Check for sys/ioctl.hMichael Meissner3-27/+41
1996-05-16 * top.c (read_next_line): Fix thinkos. From Don Seeley.Jeff Law2-2/+4
Net buglet.
1996-05-16 * gdbtk.tcl (create_command_window): If command window's bufferStan Shebs2-6/+24
is disabled, don't execute any of the key bindings.
1996-05-15 * emultempl/pe.em (set_pe_value): Pass 0 not 16 to strtoul call.Jim Wilson1-0/+4
1996-05-15 * config/tc-i386.c (md_assemble): Make sure the opcode suffixIan Lance Taylor2-30/+220
matches the register size. PR 9700.
1996-05-15 * gdb.base/break.exp: Ignore compiler warnings when compilingJeff Law1-0/+20
break.c. * gdb.base/callfuncs.exp: Don't run these tests on the h8300. * gdb.base/default.exp: Add h8300 xfails. Handle messages from remote-sim. * gdb.base/exprs.exp: Add h8300 xfails. * gdb.base/funcargs.exp: Likewise. * gdb.base/nodebug.exp: Likewise. * gdb.base/printcmds.exp: Likewise. * gdb.base/ptype.exp: Likewise. * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add h8300 xfails. * gdb.base/return.exp: Handle float/double precision problems on the h8300. * gdb.base/funcargs.c: Explicitly make last constant argument to call_after_alloca_subr an unsigned long type. * gdb.base/return.c: Include stdio.h. Testsuite work for the H8/300 -gstabs. HMSE.
1996-05-15 * config/obj-coff.c (count_entries_in_chain): Ignore Fixups withJeff Law1-0/+9
fx_done set. (do_relocs_for): Likewise. (fixup_segment): Don't just quit if linkrelax is set. Try to apply non pc-relative sym1-sym2 fixups, even if linkrelax is nonzero. So function-relative stabs will work on the H8/300. HMSE.
1996-05-15 * coffread.c (coff_symtab_read): Handle C_LABEL symbols likeJeff Law4-3/+24
C_STAT symbols. * h8300-tdep.c (h8300_pop_frame): Reset $sp and $pc correctly. Flush cached frames just before exiting. * remote-sim.c (gdbsim_resume): Complain if the program isn't being run. * config/h8300/tm-h8300.h (BELIEVE_PCC_PROMOTION): Define. Fix some bugs exposed by the testsuite. HMSE.
1996-05-15 * procfs.c (procfs_thread_alive procfs_stop): Make static.Stu Grossman4-21/+48
* (procfs_pid_to_str): New routine to print out thread id's in an intelligible manner. * sol-thread.c (sol_thread_fetch_registers): Re-order manner in which supply_register is called to fix bug with writing writing individual regs. * config/sparc/tm-sun4sol2.h: Define default for target_pid_to_str in case host lacks libthread_db.
1996-05-14 * som.c (som_slurp_reloc_table): Clear external_relocs cache afterIan Lance Taylor1-0/+3
freeing it. PR 9693.
1996-05-14 * libbfd.c: Remove #ifdef FILE_OFFSET_IS_CHAR_INDEX, and compileIan Lance Taylor1-0/+5
the code unconditionally.
1996-05-14 * Makefile.in config.in configure configure.inStu Grossman8-34/+86
config/sparc/nm-sun4sol2.h config/sparc/sun4sol2.mh config/sparc/tm-sun4sol2.h: Use autoconf to config Solaris thread and pthread support, since pre-2.5 systems don't come with libthread_db.so.1. * procfs.c (info_proc): Use int instead of id_t. Old versions of Irix don't see to define this.
1996-05-14 * gdbtk.c (tk_command): Catch case where no argument is givenFred Fish2-0/+13
since this will cause the tcl interpreter to dump core.
1996-05-14 * libcoff-in.h (struct pei_section_tdata): Define structure.Ian Lance Taylor1-0/+16
(pei_section_data): Define macro. * libcoff.h: Rebuild. * coffcode.h (coff_set_alignment_hook): If COFF_IMAGE_WITH_PE, store s_paddr field in pei_section_data. (coff_compute_section_file_positions): Use pei_section_data rather than _cooked_size, and don't overwrite an existing value. (coff_write_object_contents): If COFF_OBJ_WITH_PE, set s_paddr to 0. If COFF_IMAGE_WITH_PE, set s_paddr to pei_section_data. * peicode.h (coff_bfd_copy_private_section_data): Define if COFF_IMAGE_WITH_PE. (pe_bfd_copy_private_section_data): New static function if COFF_IMAGE_WITH_PE. PR 9667.
1996-05-13 * top.c (execute_control_command, case while_control): AllowJeff Law2-0/+7
a while command to be interrupted. Fixes net bug.
1996-05-13 * sol-thread.c: More cleanup, add comments.Stu Grossman2-33/+145
* (sol_thread_resume): Prevent people from trying to step inactive threads. * (sol_thread_wait sol_thread_fetch_registers sol_thread_store_registers): Remove unnecessary check for sol_thread_active. These routines won't get called unless threads are active.
1996-05-13 SH3-E support from Allan Tajii <atajii@hmsi.com>:Stan Shebs4-17/+144
* sh-tdep.c (sh_reg_names, sh3_reg_names): Add empty names for float registers. (sh3e_reg_names): New register name array. (sh_processor_type_table): Add sh3e processor type. * config/sh/tm-sh.h (REGISTER_VIRTUAL_TYPE): Fix test. (REGISTER_NAMES, NUM_REGS, NUM_REALREGS, etc): Adjust for full set of registers. * remote-e7000.c (want_sh3, want_sh3_nopc): New globals. (e7000_fetch_registers, e7000_wait): Use them. * sh3-rom.c (sh3_regnames): Add float registers. (sh3e_cmds, sh3e_ops): New globals. (sh3e_open): New function. (_initialize_sh3_rom): Rename from _initialize_sh3, set up sh3e target vector. * gdbwin.c (reg_order) [TARGET_SH]: Update for SH3-E. * initfake.c: Call _initialize_sh3_rom instead of _initialize_sh3.
1996-05-13More progressive fixesMichael Meissner1-0/+11
1996-05-10 * sol-thread.c: Cleanup. gcc -Wall fixes. Add prototypes.Stu Grossman2-173/+265
Print out messages instead of codes for thread_db errors. Make access macros for thread and lwp manipulation. Make cleanups to fixup inferior_pid in case of errors.
1996-05-10Set __stack = 0 if it is referenced and not defined.Michael Meissner2-0/+7
1996-05-10Allow GOT, section relative relocations all the time with -mrelocatableMichael Meissner1-0/+6
1996-05-10 * aclocal.m4: Remove unused definition of AC_C_CROSS.Fred Fish3-22/+9
* configure.in: Add powerpcle-*-solaris* host and target config so April 30th change does not get lost next time configure is rebuilt.
1996-05-09Fri May 10 00:41:17 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion1-1/+1
* interp.c (ColdReset): Fix boolean test. Actually compare a boolean result, rather than the bitmasks!
1996-05-09 * Makefile.in, breakpoint.c, corelow.c, fork-child.c, inflow.c,Stu Grossman13-20/+27
infrun.c, mac-nat.c, procfs.c, remote.c, sol-thread.c, thread.c, win32-nat.c, config/nm-lynx.h: Rename thread.h to gdbthread.h to avoid conflict with Solaris /usr/include/thread.h.
1996-05-09 * abug-rom.c: Config file for the older style ABug monitor thatgRob Savoye3-0/+179
runs on the mvme13x boards. * config/m68k/monitor.mt: Add abug support for m68k croos debugging.
1996-05-09 * emulparams/{elf32bmip.sh,elf32lmip.sh,mipsidt.sh,mipsidtl.sh}:Rob Savoye2-1/+17
Set a new variable to signify if the final target is an embedded system. * scripttempl/{mips.sc,elfmips.sc}: Don't add SIZEOF_HEADERS to .text for an embedded system.
1996-05-09 * infcmd.c (do_registers_info): Always print the raw floatingFred Fish1-1/+4
point value's bytes in big endian order, so the the leftmost bit is the most significant. PR-9540
1996-05-08 * breakpoint.c (clear_momentary_breakpoints): Remove dead codeFred Fish4-174/+77
that is referenced nowhere else. (set_breakpoint): Ditto. (do_enable_breakpoint): Created from enable_once_breakpoint with a couple of changes. (enable_breakpoint): Call do_enable_breakpoint with an appropriate bpdisp enum value to set disposition of breakpoint. (enable_once_breakpoint): Ditto. (enable_delete_breakpoint): Ditto. * breakpoint.h (clear_momentary_breakpoints): Remove prototype. * symtab.c (find_pc_line): Improve comments. * gdbtk.c: Fix a couple of misspellings. * xcoffread.c: Ditto.
1996-05-08 * srec.c (srec_set_arch_mach): Write as a function rather than aIan Lance Taylor1-0/+3
macro definition. PR 9637.
1996-05-08 * xcofflink.c (_bfd_xcoff_bfd_link_add_symbols): If an archive hasIan Lance Taylor1-0/+6
no map, just check each member in turn to see whether it is required. PR 9520.
1996-05-08Wed May 8 15:12:58 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion2-12/+163
* interp.c (xfer_direct_word, xfer_direct_long, swap_direct_word, swap_direct_long, xfer_big_word, xfer_big_long, xfer_little_word, xfer_little_long, swap_word,swap_long): Added. * interp.c (ColdReset): Provide function indirection to host<->simulated_target transfer routines. * interp.c (sim_store_register, sim_fetch_register): Updated to make use of indirected transfer routines.
1996-05-08Fixes for ppcbootMichael Meissner1-0/+8
1996-05-08 * config/abug.exp: New file for the older Motorola Bug monitorRob Savoye3-10/+32
that runs on the mvme13x series VME boards. * config/monitor.exp: Use the new config array for target settings if they exist.
1996-05-08 * target.c (debug_to_xfer_memory): Insert line breaks whenStan Shebs1-0/+5
dumping the memory block.
1996-05-07 * scripttempl/h8300.sc: Place ".tiny" sections rightJeff Law2-1/+11
after ".data" sections. * scripttempl/h8300h.sc: Place ".tiny" sections into the "tiny" memory region, 0xff8000 through 0xffff00. HMSE.
1996-05-07Add PPCbug boot record supportMichael Meissner3-0/+536
1996-05-07 * scripttempl/h8300.sc: Set the entry point to the value ofJeff Law3-2/+9
"_start" rather than the start of the text segment. * scripttempl/h8300h.sc: Likewise. So we can have data at the start of the text space.
1996-05-07Document semicolon usage.David Edelsohn1-346/+412
1996-05-07 * scripttempl/pe.em (gld${EMULATION_NAME}_place_orphan): New function.David Edelsohn1-0/+12
(gld${EMULATION_NAME}_place_section): New function. (hold_{section,use,text,rdata,data}): New static locals. (ld_${EMULATION_NAME}_emulation): Update orphan field. * scripttempl/pe.sc: Whitespace cleanup. Semicolon usage cleanup. (INIT,FINI): Delete, unused. (.text): Document orphan .text.foo sections. (.rdata): Document orphan .rdata.foo sections. (.data): Document orphan .data.foo sections.
1996-05-07 * scripttempl/pe.em (gld${EMULATION_NAME}_place_orphan): New function.David Edelsohn1-10/+171
(gld${EMULATION_NAME}_place_section): New function. (hold_{section,use,text,rdata,data}): New static locals. (ld_${EMULATION_NAME}_emulation): Update orphan field.
1996-05-07 * scripttempl (h8300.sc, h8300h.sc): Place .rodata sectionsJeff Law3-8/+20
before .text sections in main ram. Gets "read only" data out of the instruction stream -- improves relaxing linker. HMSE.
1996-05-07 * coff-h8300.c (howto_table): Update names to match recentJeff Law1-0/+10
changes to include/coff/internal.h. Fix minor errors in the existing relocs. Add R_MOVL1 and R_MOVL2. (rtype2howto): Similarly. (h8300_reloc16_estimate): Rewrite to simplify, fix bugs in the existing relaxing code and peform more relaxing. (h8300_reloc16_extra_cases): Likewise. Simplify, cleanup, fix bugs and improve existing relaxing code. Add code for changing a 24/32bit absolute address into a 16bit absolute address. HMSE.
1996-05-07 * config/obj-coff.c (yank_symbols): Check that FNAME_OFFSET isIan Lance Taylor2-15/+30
non-zero before assuming this is a long file name. (w_strings): Likewise. (c_dot_file_symbol): Set FNAME_OFFSET to 1 for a long file name. * config/obj-coff.c (w_strings): Move declaration of i inside #ifdef block which uses it.