aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1996-05-24Do not put small common symbols into .sbss if ld -rMichael Meissner2-1/+8
1996-05-24Allow psim to be built on go32Michael Meissner2-1/+21
1996-05-23 * emultempl/aix.em (gld${EMULATION_NAME}_read_file): InitializeIan Lance Taylor1-0/+5
file, not impfile. PR 9759.
1996-05-23Add .skip as a synonym for .spaceMichael Meissner2-61/+84
1996-05-23Allow bogus .stabd with 4 arguments for PowerPC SolarisMichael Meissner2-17/+77
1996-05-23 * h8300-tdep.c (IS_PUSH): Refine.Jeff Law2-12/+49
(IS_MOVE_FP, IS_MOV_SP_FP): Accept H8/300H varaints. (IS_SUB4_SP, IS_SUBL_SP): New macros. (h8300_skip_prologue): Handle H8/300H prologue code sequences. (examine_prologue): Handle addresses from 0x010000 to 0xffffff when in H8/300H mode. Get the return pointer's address correctly for the H8/300H. Handle H8/300H prolouge code sequences. Avoiding major breakage on the H8/300H, and on the eval board. Jeez, did anyone even try to debug H8/300H code with gdb in the past?!?
1996-05-23 * symfile.c (generic_load): Print the starting addressJeff Law1-0/+5
of the file just loaded. For informational purposes.
1996-05-23 * gdb.base/callfuncs.exp: Remove the compiler info file prior toFred Fish2-11/+49
attempting to regenerate it. Eliminate use of a temporary file and just generate the info file directly. Source it immediately, for consistency of use. * gdb.base/corefile.exp: Ditto * gdb.base/exprs.exp: Ditto. * gdb.base/funcargs.exp: Ditto. * gdb.base/langs.exp: Ditto. * gdb.base/list.exp: Ditto. * gdb.base/mips_pro.exp: Ditto. * gdb.base/nodebug.exp: Ditto. * gdb.base/opaque.exp: Ditto. * gdb.base/ptype.exp: Ditto. * gdb.base/scope.exp: Ditto. * gdb.base/setvar.exp: Ditto. * gdb.base/signals.exp: Ditto. * gdb.base/whatis.exp: Ditto. * gdb.c++/templates.exp: Ditto. * gdb.c++/virtfunc.exp: Ditto. * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide whether or not to add -lstdc++ to the compile command line args.
1996-05-23 * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Warn aboutIan Lance Taylor1-0/+17
undefined symbols when creating a shared library. PR 9751.
1996-05-23Silence warnings from Solaris PowerPC ccMichael Meissner1-1/+20
1996-05-23 * mpw-make.sed: Edit @THREAD_DB_OBS@ out of makefile.Stan Shebs2-3/+24
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.