aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
1994-12-16Remove duplicate of ARC sanitization.David Edelsohn1-27/+0
1994-12-16Add note about gas-extra-stuff bringing out configure.bat and makeall.bat,Brendan Kehoe1-0/+1
since they won't be there otherwise.
1994-12-16 * config/obj-coff.h: Include libcoff.h, not ../bfd/libcoff.h.Stan Shebs1-0/+2
1994-12-16 * as.h: Include progress.h.Stan Shebs1-0/+6
* as.c (main): Call START_PROGRESS and END_PROGRESS. (main, perform_an_assembly_pass): Call PROGRESS.
1994-12-16 * elfcode.h (elf_section_from_bfd_section): CheckIan Lance Taylor1-0/+6
bfd_is_abs_section, etc., only after checking for the section in the BFD and after calling the backend routine.
1994-12-16 * write.c (adjust_reloc_syms): Use bfd_is_und_section andIan Lance Taylor1-0/+6
bfd_is_abs_section rather than comparing against &bfd_und_section and &bfd_abs_section.
1994-12-16 * defs.h: Include progress.h.Stan Shebs2-0/+12
(QUIT): Call PROGRESS. * main.c (main): Call START_PROGRESS and END_PROGRESS, break usage message into shorter strings. * source.c: Change long command help strings into concats of shorter ones, for picky ANSI compilers. (ChangeLog.mpw) * main.c, source.c: Remove hacks that replace long strings with shorter ones, now solved portably.
1994-12-16 * top.c (command_loop): For space usage display, show bothStan Shebs2-13/+31
absolute size and the change from before command execution.
1994-12-16 * defs.h, gdbtk.c (gdbtk_fputs), main.c (gdb_fputs), top.c: Add stream argStu Grossman6-236/+375
to fputs_unfiltered_hook. Differentiate stdout from stderr when passing text into tcl land. * defs.h, top.c, utils.c (error): Add error_hook. * gdbtk.c: Improve mechanism for capturing output values. * (full_filename): Remove. * (gdb_cmd call_wrapper gdbtk_init): Protect all calls from tcl land with call_wrapper. This prevents longjmps (usually via error()) from jumping out of tcl/tk and leaving things in an indeterminate state. * gdbtk.tcl: New view option to disable line numbers. Put catch around most uses of gdb_cmd. Add update button to reg config window. Stop doing immediate updates when selecting registers. Change register view values into checkbuttons.
1994-12-16* Makefile.in (AS_FOR_TARGET, OBJDUMP_FOR_TARGET): Don't set.Ken Raeburn1-25/+0
(uninstall): Don't set OBJDUMP and OBJDUMPFLAGS in site.exp. * config/default.exp: Default OBJDUMP and OBJDUMPFLAGS. Use findfile and transform procedures to determine objdump program name.
1994-12-15 * config/tc-sh.c (md_begin): Use a local variable whenJim Wilson1-0/+6
initializing md_relax_table to avoid errors about modifying a const data structure.
1994-12-15 * hosts/mpw.h: Include spin.h.Stan Shebs2-0/+6
1994-12-15 * elfcode.h (elf_map_symbols): Only use section symbols whoseIan Lance Taylor1-1/+3
value is the start of the section, checking output_offset when using output_section. When creating a new symbol, set the value to 0, since BFD symbol values are section relative.
1994-12-15 * elfcode.h (elf_map_symbols): Only use section symbols whoseIan Lance Taylor2-1/+7
value is the start of the section.
1994-12-14sanitize out arc stuffKen Raeburn1-0/+56
1994-12-14* lib/ld.exp (prune_system_crud): Define if not already defined, in case theKen Raeburn1-0/+24
user isn't using the newest DejaGnu version that we haven't released to the net yet.
1994-12-14removed some unreachable code from objcopyKen Raeburn2-1/+5
1994-12-14expect simple-objcopy test to fail on hp300Ken Raeburn2-2/+2
1994-12-14 * mpw-config.in (m68k-apple-macos, ppc-apple-macos,Stan Shebs2-3/+20
i386-unknown-aout, i386-unknown-coff): New targets. (m68k-aout, m68k-coff): Remove targets. (mk.tmp): Add definition of EMUL.
1994-12-14 * progress.h: New file, empty definitions for progress macros.Stan Shebs2-0/+38
1994-12-14disable bintest.o tests on hppa, fix minor sh-coff objcopy setup_xfail problemKen Raeburn2-5/+17
1994-12-14 * config/m68k/xm-mpw.h (spin.h): Include.Stan Shebs4-1/+31
(ALMOST_STDC): Only define if MPW_C. * config/m68k/tm-mac.h: New file, Mac target definitions.
1994-12-14Actually lose itStan Shebs1-47/+0
1994-12-14 * mpw-config.in (m68k-apple-macos, ppc-apple-macos,Stan Shebs4-52/+80
i386-unknown-aout): New targets. (mk.tmp): Add *DEPFILES definitions. * mpw-make.in: Remove gC rules, clean up definitions for other include files, bump version, fix bogus \ that should be \Option-d. (init.c): Build correctly. (mpw-init.c): Remove.
1994-12-14Initial arc-elf support.David Edelsohn3-0/+17
1994-12-13 * breakpoint.c, infrun.c, printcmd.c: Change long command helpStan Shebs1-0/+5
strings into concats of shorter ones, for picky ANSI compilers.
1994-12-13 * gas/mips/jal-svr4pic.d: Fix 0-strings to work with 64-bit hostedIan Lance Taylor1-0/+5
disassembly.
1994-12-13 * config/tc-ppc.c (tc_gen_reloc): Remove OBJ_ELF hack whichIan Lance Taylor1-0/+5
appears to no longer be needed.
1994-12-13 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.oJim Kingdon2-2/+8
and pr-5646.o, so "make" is the same as "make all, not "make pr-4975.o".
1994-12-13 * cpu-z8k.c (arch_info_struct): Make z8002 the defaultIan Lance Taylor1-0/+5
architecture.
1994-12-13 * config/tc-mips.c (macro_build): Accept BFD_RELOC_PCREL* withoutIan Lance Taylor1-0/+7
requiring that the X_op_symbol be in the text_section. (macro): Change the test for a legel expression difference to correspond to changes in pseudo_set in read.c.
1994-12-13 * mpw-config.in: Add mapping from configs to object file formats,Stan Shebs3-18/+40
get VERSION from Makefile.in and add to mk.tmp. (mips-idt-ecoff) [TDEFINES]: Add TARGET_BYTES_BIG_ENDIAN. * mpw-make.in (VERSION, gC): Don't define. (ALL_CFLAGS): Remove -d flags. (config.h): Remove definition of MPW, add HAVE_STDARG_H, BFD_ASSEMBLER.
1994-12-13 * mpw-config.in: Create mk.tmp, define ARCHDEFS in it.Stan Shebs2-0/+10
1994-12-13 * mpw-config.in: Edit the BFD version into bfd.h.Stan Shebs3-62/+78
(m68k-apple-macos, ppc-apple-macos): New targets. * mpw-make.in: Remove use of gC in rules, add srcdir pathnames to more files.
1994-12-13 * mpw-mh-mpw (EXTRALIBS): Always link in Math.o, CSANELIB.o,Stan Shebs2-3/+13
and ToolLibs.o.