aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1996-05-23 * compile.c (sim_resume): Correctly handle divu.Jeff Law2-23/+67
More bugfixing. HMSE
1996-05-22 * ldlang.c (wild_doit): Don't copy over SEC_LINK_{ONCE,DUPLICATES}David Edelsohn2-191/+212
if final link. * emultempl/pe.em (sfunc): Renamed to sort_by_file_name. (sort_by_section_name, sort_sections_1): New functions. (sort_sections): Only sort by file name sections in .idata. Add "Grouped Sections" support. (gld${EMULATION_NAME}_place_orphan): Rewrite to support Grouped Sections. (gld${EMULATION_NAME}_place_section): Delete. * scripttempl/pe.sc (.text,.data,.rdata): Add *(.foo\$). (.CRT,.rsrc): Rewrite to use Grouped Section support.
1996-05-22 * configure.in: Only built erc32 simulator on Unix hosts as itRob Savoye3-35/+532
uses pseudo ttys. * configure: Regenerated with autoconf 2.8.
1996-05-21 * mpw-eppcmac.c: Update to reflect changes to aix.em.Stan Shebs1-11/+47
1996-05-21 * dsrec.c (load_srec): Add WAITACK parameter, for machinesMark Alexander5-4/+21
like EST visionICE that send back an ACK after each S-record. * monitor.c (monitor_wait_srec_ack): New function. (monitor_load): Pass monitor_wait_srec_ack to load_srec if the monitor's MO_SREC_ACK flag is set. * monitor.h: Define MO_SREC_ACK flag. * remote-est.c (est_cmds): Add MO_SREC_ACK flag. * sh3-rom.c (sh3_load): Accomodate change in load_srec prototype. * srec.h: Add WAITACK parameter to load_srec prototype.
1996-05-20Changes to configure.in notedGeoffrey Noer1-0/+8
1996-05-20Configure and build make for *-*-cygwin32 targetsGeoffrey Noer1-6/+3
1996-05-20 * config/sparc/sparclite.mt: Add the sparc simulator.Rob Savoye2-1/+7
1996-05-20 Sanitize support for the ESA sparc simulator.Rob Savoye2-0/+53
1996-05-20 * func.c(bfd_load): Don't try to print the filename if the pfbd isRob Savoye1-0/+1
NULL. * interf.c(sim_load): Pass the whole string, not just the first byte.
1996-05-20 New sparc simulator from the ESA.Rob Savoye20-0/+4802
1996-05-20 * defs.h (read_command_lines, query_hook): Update prototypes.Fred Fish5-33/+241
(readline_begin_hook, readline_hook, readline_end_hook): Declare. * breakpoint.c (commands_command): Build message in temporary buffer and pass that, as well as tty control flag, to read_command_lines. * top.c (readline_begin_hook, readline_hook, readline_end_hook): Define here. (command_loop): Check for non-NULL instream before looping. (command_line_input): Use readline_hook when appropriate, to get user input from a GUI window. (read_next_line): Also build prompt if getting user input from a GUI. (recurse_read_control_structure): Fix typo in comment. (read_command_lines): Use passed in prompt and tty flag to decide how to build message. Use readline_begin_hook when appropriate, to set up a GUI interaction window. Just return head, whether NULL or not, after using readline_end_hook to complete GUI interaction. (define_command, document_command): Build message in a temporary buffer and pass it to read_command_lines, along with tty flag. * gdbtk.c (gdbtk_readline_begin, gdbtk_readline, gdbtk_readline_end): New functions. (tk_command_loop): Set instream to NULL to enable Tk user interaction. (gdbtk_init): Set readline_begin_hook, readline_hook, and readline_end_hook. * gdbtk.tcl (gdbtk_tcl_readline_begin, gdbtk_tcl_readline, gdbtk_tcl_readline_end): New functions. (tclsh): Pack scroll bar on right side of window, not left. PR 9385
1996-05-20 * ldlang.c (dprint_statement): Stop printing at end of list.David Edelsohn1-0/+4
1996-05-18 Support for --force-exe-suffixSteve Chamberlain1-0/+9
* ld.h (args_type): Add force_exe_suffix. * ld.texinfo: Add documentation. * ldmain.c (main): Add support for option. * lexsup.c (OPTION_FORCE_EXE_SUFFIX): New. (ld_options, parse_args): Add support for option.
1996-05-18 * blockframe.c (frameless_look_for_prologue):Peter Schauer2-0/+15
Add FUNCTION_START_OFFSET only if func_start is non-zero. * minsyms.c (lookup_minimal_symbol_by_pc): Return NULL if pc is not in a known section. * stack.c (print_frame_info): Remove check for fi->pc in known section, now handled by lookup_minimal_symbol_by_pc.
1996-05-18 * gdbtk.tcl (create_command_window): Change a misspelled "get"Fred Fish2-5/+23
to the intended "cget". (delete_line): Fix so it deletes the current line at the insertion cursor.
1996-05-17move stub.c up to main dirStan Shebs2-1556/+4
1996-05-17keep sh-stub.cStan Shebs1-0/+1
1996-05-17 * sh-stub.c: New file, was config/sh/stub.c.Stan Shebs2-0/+1557
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.