aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-05-18 * interp.c (sim_*): Make result void where there isn't one.David Edelsohn3-54/+279
(sim_set_pc): Delete. (sim_info): Delete printf_fn arg, all callers changed. Call printf_filtered instead. (sim_close): New function. (sim_load): New function. (sim_create_inferior): Renamed from sim_set_args, all callers changed. * run.c: #include <varargs.h>, "remote-sim.h". (printf_filtered): New function.
1994-05-18 * compile.c: #include "bfd.h".David Edelsohn1-4/+20
(sim_*): Set result type to void where there isn't one. (sim_resume, default case): Set cpu.exception to SIGILL. (sim_trace): Delete. (sim_set_pc): Delete. (sim_info): Delete printf_fn arg, all callers changed. Call printf_filtered. (set_h8300h): New arg `flag', all callers changed. (sim_close): New function. (sim_load): New function. (sim_create_inferior): Renamed from sim_set_args, all callers changed. * run.c: #include <varargs.h>, "remote-sim.h". (printf_filtered): New function.
1994-05-18 * remote-sim.h (sim_verbose): Delete.David Edelsohn3-58/+84
Document callbacks needed. (sim_*): Change result to void where there isn't one. (sim_open): Clarify argument and error response. (sim_close): Declare. (sim_load): Change bfd_handle argument to file name. Clarify result. (sim_create_inferior): Renamed from sim_set_args. (sim_set_pc): Delete. (sim_info): Delete printf_fn argument. * remote-sim.c (gdbsim_kill): Add comment describing purpose. (gdbsim_load): Try sim_load first. (gdbsim_create_inferior): Call sim_create_inferior. (gdbsim_open): Handle args == NULL. Update call to sim_open. (gdbsim_close): Call sim_close. (gdbsim_files_info): Update call to sim_info. (gdbsim_ops): Realign comments.
1994-05-18(decode_format): Allow TARGET_PTR_BIT to be non-constant.David Edelsohn1-0/+4
1994-05-18Expand my entry a bit.Ian Lance Taylor1-15/+27
1994-05-18 * Makefile.in (install): Redirect output of ln to /dev/null.Ian Lance Taylor2-1/+5
1994-05-18 * Makefile.in (install): Redirect ln output to /dev/null. If lnIan Lance Taylor2-10/+15
fails on gasp, install gasp.new, not gasp.
1994-05-18Comment changes.Ian Lance Taylor1-4/+5
1994-05-18 * som.c: Don't include <sys/dir.h> or <sys/user.h>.Ian Lance Taylor2-18/+34
(som_reloc_queue_find): Call memcmp instead of bcmp. (som_bfd_reloc_type_lookup): Change first argument to bfd *. (compare_syms): Change types of arguments to const void *. (bfd_section_from_som_symbol): Removed unused local found. (som_write_armap): Add elength, map, orl_count and int arguments. (som_write_armap): Use %ld and cast to long for getuid result.
1994-05-18 * config/tc-hppa.c (pa_ip): Use R_HPPA_ABS_CALL, not R_HPPA forJeff Law2-1/+6
absolute calls.
1994-05-18 * elf32-hppa.h (R_HPPA_ABS_CALL): Define.Jeff Law2-5/+10
* elf32-hppa.c (hppa_elf_gen_reloc_type): Handle absolute calls. * som.h (R_HPPA_ABS_CALL): Define. * som.c (hppa_som_gen_reloc_type): Delete complex relocation types.
1994-05-18Tue May 17 16:45:20 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-2/+9
* xcoffread.c (read_xcoff_symtab): For C_FILE symbols, only use the auxent if the symbol's name is ".file". From David Edelsohn <c1dje@watson.ibm.com>.
1994-05-18 * breakpoint.c (breakpoint_1): Fix typo.Jim Kingdon4-5/+13
* annotate.c (annotate_field_end): Fix typo. * Makefile.in: Move annotate.o from COMMON_OBS to OBS. * Makefile.in (TSSTART): Remove; no longer used.
1994-05-18more cleanupKaren Christiansen2-18/+44
1994-05-17cleanup after 94q2 migrationKaren Christiansen1-2/+2
1994-05-17* coff-i960.c (icoff_little_vec, icoff_big_vec): Indicate leading underscore,Ken Raeburn1-0/+5
for compatibility with Intel tool chain (gnu960v2).
1994-05-17 * Makefile.in (.m.c:): Added .SUFFIXES : .mBill Cox2-0/+7
so flat_bl.c would make from flat_bl.m file.
1994-05-17 * ld.bootstrap/bootstrap.exp, lib/ld.exp: Replace error procBill Cox3-5/+10
calls with perror calls.
1994-05-17 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,Bill Cox5-65/+56
lib/gdb.exp: Replace error proc calls with perror.
1994-05-17 * lib/gas-defs.exp: Replace error proc calls with perror calls.Bill Cox2-6/+10
1994-05-17 * config/default.exp, config/unix.exp: Replace errorBill Cox3-7/+12
proc calls with perror.
1994-05-17 * utils.c (vfprintf_maybe_filtered, vfprintf_unfiltered): CallJim Kingdon6-15/+44
fputs_unfiltered and exit directly, rather than fatal. The latter calls vfprintf_unfiltered! * gdbtypes.h, gdbtypes.c (can_dereference): New function. * value.h, printcmd.c (print_value_flags): Move from here... * annotate.c: ...to here, and make it use can_dereference.
1994-05-17 * config/tc-hppa.c (pa_parse_fp_cmp_cond): Report an errorJeff Law2-1/+18
on a partial completer match.
1994-05-17Fix a sanitization screwup.Stan Shebs1-1/+1
1994-05-17Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-0/+6
* gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the version also, match on casted version strings, and match on gdb startup case where the line numbers might be messed up.
1994-05-16 * emultempl/hppaelf.em: Change all references ofJeff Law2-0/+41
.hppa_linker_stubs to .PARISC.stubs. * scripttempl/hppaelf.sc: Likewise.
1994-05-16 * bfd-in2.h: Rebuilt.Jeff Law6-1305/+552
* elf32-hppa.c: Change .hppa_linker_stubs to .PARISC.stubs, likewise for other PA specific sections. (hppa_elf_relocate_unwind_table): Delete unused function. (elf_hppa_howto_table): Completely new table based on 94-02-02 draft PA ELF spec. Change relocation tags appropriately throughout elf32-hppa.c (hppa_elf_gen_reloc_type): Rewrite and simplify based on 94-02-02 spec. (hppa_elf_reloc): Likewise. (hppa_look_for_stubs_in_section): Likewise (ELF_MACHINE_CODE): Change to EM_PARISC. * elf32-hppa.h: Include "elf/hppa.h". Change relocation tags appropriately throughout elf32-hppa.h. (elf32_hppa_reloc_type): New table based on 94-02-02 draft PA ELF spec. (R_HPPA_ABS_CALL, R_HPPA_COMPLEX*, R_HPPA_UNWIND): Delete definitions. * elfcode.h (prep_headers): Use EM_PARISC instead of EM_HPPA. * reloc.c (bfd_reloc_code_real): Delete unused HPPA relocations. * som.h (R_HPPA_ABS_CALL, R_HPPA_COMPLEX): Delete definitions. * libhppa.h (hppa_field_adjust): Avoid adding constant_value into the final value twice for LR and RR field selectors.
1994-05-16 * config/tc-hppa.c: Change .hppa_unwind to .PARISC.unwindJeff Law2-169/+38
throughout code. (is_complex): Delete definition and support for complex relocation types. (tc_gen_reloc): Delete special unwind crud for ELF. Simplify and rewrite ELF code based on 94-02-02 PA ELF draft spec. (pa_build_unwind_subspace): Use standard PARISC_DIR32 relocs for the unwind descriptors.
1994-05-16 * gas/hppa/reloc/reloc.exp: Tweak expected output to match newJeff Law2-41/+126
ELF code. * gas/hppa/reloc/roundmode.s: Avoid "S" and "D" modes, ELF does not support them. * gas/hppa/unsorted/unsorted.exp: Tweak expected output to match new ELF code.
1994-05-16 * common.h (EM_HPPA): Delete.Jeff Law2-0/+21
(EM_PARISC): Add. * hppa.h: New file.
1994-05-16Fix typo in last check-in.Jeff Law1-2/+2
1994-05-16 * libhppa.h (hppa_field_adjust): Avoid adding constant_value intoJeff Law1-0/+5
the final value twice for LR and RR field selectors.
1994-05-14Sat May 14 15:13:52 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs4-34/+42
* inflow.c (job_control, attach_flag, generic_mourn_inferior): Remove, needed for both native and cross. * target.c (attach_flag, generic_mourn_inferior): Put here. * utils.c (job_control): Put here. (terminal.h): Don't include anymore.
1994-05-14 * source.c (find_source_lines): Always use code that was #ifdefJim Kingdon33-257/+106
BROKEN_LARGE_ALLOCA. Do the cleanup before returning, rather than leaving it on the chain. Reindent much of this function. * config/sparc/{xm-sun4sol2.h,xm-sun4os4.h}, config/i386/{xm-sun386.h,xm-i386m3.h,xm-i386mach.h}, config/m68k/{sun3os4.h,xm-news.h,xm-hp300hpux.h}, config/ns32k/xm-ns32km3.h: Remove all references to BROKEN_LARGE_ALLOCA; with the above change it is no longer needed. * main.c, fork-child.c, many config files: Remove all SET_STACK_LIMIT_HUGE code; with the above changes it should no longer be needed. * symtab.c (lookup_partial_symbol): Use if and abort, not assert. This avoids __eprintf troubles. * main.c (main): Surround in #ifndef MAIN_OVERRIDE. Move initialization code which needs to be called even if we bypass the command line stuff into gdb_init. * utils.c (fputs_unfiltered): Surround in #ifndef FPUTS_UNFILTERED_OVERRIDE. * Makefile.in (libgdb.a): New target. * utils.c: Rearrange I/O stuff a bit so that all output goes through fputs_unfiltered. Use vasprintf; removes arbitrary limit which made %s not work with arbitrarily large strings. * printcmd.c (printf_command): Use printf_filtered, not printf_unfiltered and printf, now that arbitrary limit is gone.
1994-05-14 * aoutx.h (add_to_stringtab): Use BFD_ASSERT not assert. ThisJim Kingdon2-16/+39
avoids __eprintf troubles.
1994-05-14 * bucomm.c: Check ANSI_PROTOTYPES rather than __STDC__.Ian Lance Taylor1-0/+4
1994-05-14 * bout.c (b_out_bfd_reloc_type_lookup): Handle BFD_RELOC_CTOR.Ian Lance Taylor1-0/+2
1994-05-14 * compile.c (decode): Fix typo (16 bit branches).David Edelsohn2-482/+569
(*): Some white space clean up.
1994-05-14 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.Bill Cox2-2/+7
(CFLAGS): Delete it from here.
1994-05-13Passdown -S to linker.Steve Chamberlain1-1/+1
1994-05-13 * Makefile.in (Move HOST_PREFIX_1 and friends up soSteve Chamberlain2-57/+83
they can be overriden by templates.
1994-05-13Rewrite history.Ian Lance Taylor1-10/+0
1994-05-13Fix typo in last entryJim Kingdon1-1/+1
1994-05-13 gcc -Wall lint:Jim Kingdon22-254/+927
* breakpoint.c (watchpoint_check): Remove unused variable b. * stack.c (print_frame_info): Move sp and buf inside #if. * eval.c (evaluate_subexp): Remove unused variables pp, mangle_ptr, ptr, and mangle_tstr. * valarith.c (value_x_binop): Remove unused variables mangle_tstr and mangle_ptr. * symtab.c (lookup_symtab): Put variable copy inside #if. (decode_line_1): Put variable q1 inside #if 0. * target.h: Declare target_link. * infrun.c (wait_for_inferior): Remove unused variables signame. * remote.c (remote_resume): Remove unused variable name. * c-exp.y (parse_number): Parenthesize operand of shift. * dbxread.c (record_minimal_symbol): Parenthesize operand of && (this is a semantic change, the warning seems to have detected a bug). * dbxread.c (end_psymtab): Move variable p1 inside #if. * coffread.c: Move variable temptype inside #if. * ch-typeprint.c (chill_type_print_base): Remove unused variable name. * ch-valprint.c: #include typeprint.h and ch-lang.h. (chill_val_print): Remove unused variable in_range. (chill_val_print): Remove statement "length > TYPE_LENGTH (type);". (chill_val_print): Add default case for switch. * stabsread.h: Declare stabsect_build_psymtabs. * os9kread.c (read_minimal_symbols): Make this return void. (os9k_symfile_read): Remove unused variables stb_exist and val. (os9k_symfile_init): Remove unused variable val. (fill_sym): Remove unused variable id. (read_os9k_psymtab): Put variable back_to inside #if 0. Remove unused variable nsl. Remove unused variable symfile_bfd. #if 0 unused variables lbrac_unmatched_complaint and lbrac_mismatch_complaint. Remove declaration for non-existent function os9k_next_symbol_text. * annotate.c, annotate.h: New files, containing a function for each annotation which outputs it. * Move breakpoints_changed from breakpoint.c to annotate.c. * breakpoint.c, blockframe.c, infrun.c, cp-valprint.c, main.c, printcmd.c, source.c, stack.c, utils.c, valprint.c: Use annotate.c functions to output annotations. * Makefile.in (OBS): Add annotate.o.
1994-05-13 * Makefile.in (sysdep.h): Copy Ian's version of this fromBill Cox2-2/+6
progressive/bfd/Makefile.in.
1994-05-13 * ldlang.c (print_output_section_statement): Change ``no attachedIan Lance Taylor2-5/+14
output section'' message slightly. (lang_do_assignments): Don't recurse down if there is no real section.
1994-05-13 * Makefile.in (stmp-bfd.h): Add an 'if' to mask a harmlessBill Cox2-1/+7
grep error. Already in progressive/bfd/Makefile.in.
1994-05-13 * config/i386-linux.mt (OTHER_EMULATIONS): Change em_ to e toIan Lance Taylor7-9/+16
match corresponding change in emulation templates. * config/i386-lynx.mt, config/m68k-lynx.mt: Likewise. * config/sparc-lynx.mt, config/sun4sol2.mt: Likewise.
1994-05-13 * config/mipsbelf.mt (SELECT_VECS): Add ecoff_big_vec andIan Lance Taylor1-0/+5
ecoff_little_vec since Irix 5 supports ECOFF executables.
1994-05-13Changes for MacGDB:Stan Shebs7-40/+357
Thu May 12 17:04:58 1994 Stan Shebs (shebs@andros.cygnus.com) * mpw-make.in (INCLUDE_CFLAGS): Add readline source dir. (READLINE_CFLAGS, READLINE_SRC, READLINE_DIR): Uncomment. (TSOBS): Don't compile inflow.c. (all, install): Add MacGDB. * main.c (main): Do Mac-specific init and command loop if a standalone app, skip full option help message if compiling with MPW C. (gdb_readline): If MPW, add a newline after the (gdb) prompt. * utils.c (_initialize_utils): If MPW, don't try to use termcap to compute the window size. * config/m68k/xm-mpw.h (printf, fprintf, fputs, fputc, putc, fflush): Define as macros that expand into hacked_... versions. (StandAlone, mac_app): Declare. * macgdb.r (SIZE): Set the default partition to 4000K. * mac-xdep.c (readline.h, history.h): Include. (terminal.h): Don't include. (mac_app): Define. (gdb_has_a_terminal): Define Mac-specific version. (do_keyboard_command): Simplify search for command string. (readline): Define as gdb_readline. Add other history/readline stubs to make main gdb link. (hacked_fprintf, hacked_printf, hacked_vfprintf, hacked_fputs, hacked_fputc, hacked_fflush): New functions, intercept output to stdout and stderr, send to console window.