aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1996-08-13 * remote-pa.c (boot_board): Add dummy params to make type compatibleFred Fish4-6/+16
for passing to add_com. * scm-exp.c (scm_lreadr): Ensure svalue is not used uninitialized. * buildsym.c (compare_line_numbers): Change function to match prototype and also what qsort expects.
1996-08-13Resurrect code to increase timeout in "handle all print" cases in signals.exp.Fred Fish1-2/+0
1996-08-13 * remote.c: Make remote_write_size public.Mark Alexander2-0/+12
* sh-tdep.c (_initialize_sh_tdep): Set remote_write_size to 300 to prevent packet errors with some versions of CMON. (Fixes PR 10254)
1996-08-13 * ansidecl.h: Change WIN32 to _WIN32.Stu Grossman1-0/+11
1996-08-13 * defs.h: Define CONST_PTR as blank if compiling with MicrosoftStu Grossman13-33/+197
C, else it's `const'. * c-lang.c c-lang.h ch-lang.c f-lang.c language.c m2-lang.c scm-lang.c: Microsoft C can't hack const pointers. Use CONST_PTR macro instead. * configure configure.in defs.h: Use AC_C_CONST to figure out if the compiler supports const. Gets rid of some cruft in defs.h. * dwarf2read.c: <string.h> -> "gdb_string.h" * remote-sim.c: Add prototypes. Fix call to gdbsim_kill. * sparcl-tdep.c (download): Add prototypes to write_routine and start_routine args. * mswin/gdbwin.c: Don't include both varargs.h AND stdarg.h. Get rid of varargs.h Include string.h. * (gdbwin_update gdbwin_fputs regs_changed_f bpt_changed_f update): Fix prototypes, fix calls. * (update): Return value for catch_errors. * (run_execute_command togdb_command_from_tty togdb_command): Cleanup catching of errors from calls to execute_command. Also, dup command string to avoid modifying const strings. * (togdb_breakinfo_i_init togdb_breakinfo_i_next): Use 0 instead of NULL when see if b->address isn't set. * (bi_disable_bpt bi_enable_bpt bi_delete_all bi_delete_breakpoint): Add arg to calls to update. * (gui_command): Add prototype. * (mswin_query): Fix prototype. * (_initialize_gdbwin): Dup string to avoid modifying const. * (info_path togdb_get_info_path): Remove const from decls cuz this can't be const (it points at malloc'ed memory). * (togdb_searchpath): Remove const from path. Dup string to avoid modifying const strings. * rindex -> strrchr. * (gdbwin_list_symbols): Regexp param is const. * Fix lots of refs to psymtabs to deref correct pointers. * (togdb_set_breakpoint_sal): Call set_breakpoint_sal with sal, not &sal. * mswin/gdbwin.h (togdb_searchpath togdb_get_info_path toget_set_info_path): Fix prototypes to match reality. * mswin/gui.cpp: Define _beginthreadex and _endthreadex routines with proper prototypes. * mswin/iface.cpp (gdbwin_fputs): Define with correct number of args. * mswin/ser-win32s.c: Fix defs of min and max. * mswin/serdll32.c (OpenComm16): Make cbInQueue and cbOutQueue be USHORT. * (WriteComm16): Change lpBug from LPVOID to LPCSTR. * mswin/serdll32.h: Fix prototypes for OpenComm16 and WriteComm16.
1996-08-12 * config/tc-mips.h (BYTE_ORDER): Don't define. No longer used.Ian Lance Taylor2-6/+8
1996-08-12Test whether /dev/zero works before attemping to us itMichael Meissner3-1/+45
1996-08-12 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine toFred Fish4-253/+142
encapsulate all the steps/nexts done during self test, starting at main, and makes them less sensitive to optimization issues. Add "hppa*-*-hpux*" to setup_xfail for "backtrace through signal handler" test. * gdb.threads/pthreads.exp: Only run this for native configs. * gdb.base/signals.exp (test_handle_all_print): Remove code that increased timeouts, it now makes no difference. * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*" setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8" tests. gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail for "runto test_calls(void)" test.
1996-08-12Mon Aug 12 14:30:37 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+4
* d10v-opc.c (d10v_opcodes): Minor fixes to addi and bl.l.
1996-08-12fix for D10V.Martin Hunt1-1/+1
1996-08-12For PowerPC targets, build libraries with -mrelocatable-lib and -mno-eabi.Michael Meissner2-0/+8
1996-08-12 * rldefs.c: Get rid of define of SIGALRM if _WIN32 or __MSDOS__.Stu Grossman2-1/+7
* Don't define ScreenCols/ScreenRows/... if cygwin32. * sysdep-norm.h: Don't include <malloc.h> if cygwin32.
1996-08-12 * main.c (main): Make sure command loop is used with cygwin32.Stu Grossman1-0/+5
* terminal.h: Allow cygwin32 to use termios.h.
1996-08-12 * config/mh-cygwin32 (CFLAGS): Define _WIN32 to be compatibleStu Grossman2-0/+7
with normal Windows compilation environment.
1996-08-11 * rldefs.h: If __osf__is defined, include <termio.h> instead ofFred Fish2-3/+9
<sgtty.h>.
1996-08-11 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,Fred Fish1-0/+5
and don't expect address info in breakpoint confirmations.
1996-08-11 * gdb.base/list.exp (test_forward_search): Increase timeoutFred Fish1-0/+7
temporarily by 60 seconds for searching extremely long line, and then reset to old value when done. Increase expect input buffer to 10000.
1996-08-11 * elflink.h (elf_link_add_object_symbols): Do not resolve a commonIan Lance Taylor2-3/+21
symbol against a STT_FUNC symbol in a shared library.
1996-08-10Fri Aug 9 17:48:28 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+6
* config/tc-d10v.c: Fix problem with relocs.
1996-08-10 * xcofflink.c (xcoff_link_add_dynamic_symbols): If a descriptorIan Lance Taylor1-0/+4
symbol is found, automatically define the corresponding function code. PR 10299.
1996-08-09Fri Aug 9 13:21:59 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt2-2/+8
* d10v-opc.c (d10v_opcodes): Correct 'mv' unit entry to EITHER.
1996-08-09 * Makefile.in (LIB_INSTALL_DIR): New macro.Tom Tromey2-1/+9
(TCL): Include @TCL_LD_SEARCH_FLAGS@.
1996-08-09 * cofflink.c (coff_link_add_symbols): Only set (*sym_hash)->numauxIan Lance Taylor1-0/+6
if sym.n_numaux is not zero. (_bfd_coff_link_input_bfd): Permit the symbol and the hash table entry to disagree about the number of aux entries if the symbol has zero.
1996-08-09 * somread.c (som_symtab_read): Handle secondary definitionJeff Law2-2/+9
symbols (aka weak symbols).
1996-08-09 * config/tc-sh.c (sh_do_align): If not BFD_ASSEMBLER, always alignIan Lance Taylor1-0/+5
with nops if not in data_section or bss_section. PR 10312.
1996-08-09 * elf32-mips.c (mips_elf_check_relocs): Create the .rel.dynIan Lance Taylor1-0/+9
section if it might be needed, not just if info->shared. (mips_elf_adjust_dynamic_symbol): Make room for a null element at the start of .rel.dyn if we are going to use it. (mips_elf_finish_dynamic_sections): Only clear the first element of .rel.dyn if the size is greater than zero. Fix this case from c-torture: extern int abort(); typedef int (*frob)(); frob f[] = {abort}; main() { exit(0); }
1996-08-09 * gdb.base/structs.exp: New tests for passing and returningJeff Law3-0/+362
structures. * gdb.base/structs.c: C source for test. Sanitized away until we've got a valid copyright assignment from Michael Snyder. Only tested on the PA. I assume other ports will needs some xfails and other possible testsuite tweakage.
1996-08-09 * bind.c complete.c history.c readline.c: Don't include sys/file.h.Stu Grossman3-11/+21
* complete.c display.c parens.c readline.c rldefs.h rltty.c signals.c tilde.c: Change refs to _MSC_VER and __WIN32__ to _WIN32. * signals.c (rl_signal_handler): Ifdef out kill if _WIN32. * sysdep-norm.h: Ifdef out include of dirent.h if _WIN32. Include malloc.h if _WIN32.
1996-08-09 * config/tm-hppa.h (EXTRACT_RETURN_VALUE): Fix thinko inJeff Law2-1/+6
last change.
1996-08-08 * xcofflink.c (xcoff_link_input_bfd): If we already called theIan Lance Taylor2-2/+25
undefined_symbol callback for a symbol, then don't issue any more warnings about loader relocs. (_bfd_ppc_xcoff_relocate_section): Don't do any further processing after calling the undefined_symbol callback.
1996-08-08 * xcofflink.c (XCOFF_MULTIPLY_DEFINED): Define.Ian Lance Taylor2-7/+74
(xcoff_link_add_symbols): Permit multiple definitions of a symbol as the AIX linker seems to do. PR 10304.
1996-08-08 * lib/ld.exp: Use verbose -log instead of calling both verbose andIan Lance Taylor2-33/+21
send_log.
1996-08-08 * symfile.c (symfile_bfd_open): Change ifdef from __WIN32__ toStu Grossman1-0/+3
_WIN32.
1996-08-08 * somread.c: Rearrange order of includes to fix warnings underStu Grossman2-3/+7
hpux-10.10. Also don't include sys/file.h.
1996-08-08Thu Aug 8 12:43:52 1996 Klaus Kaempf <kkaempf@progis.de>Ian Lance Taylor1-0/+4
* makefile.vms: Update for alpha-opc changes.
1996-08-08Thu Aug 8 12:32:56 1996 Klaus Kaempf <kkaempf@progis.de>Ian Lance Taylor8-0/+531
Add support for openVMS/Alpha. * as.h (PRINTF_LIKE): Don't define if VMS, for now. * config/obj-evax.c: New file. * config/obj-evax.h: New file. * config/tc-alpha.c: Add support for EVAX format if OBJ_EVAX is defined. * config/tc-alpha.h: Add support for EVAX format if OBJ_EVAX is defined. Add case for bfd_target_evax_flavour. * config/vms-a-conf.h: New file. * conf-a-gas.com: New file. * configure.in: Add target alpha-*-*vms*. * configure: Rebuild. * makefile.vms: New file. * read.c (s_lcomm): Align bss_seg on 8 byte boundary if OBJ_EVAX. Don't call ffs on openVMS/Alpha.
1996-08-08Thu Aug 8 12:27:52 1996 Klaus Kaempf <kkaempf@progis.de>Ian Lance Taylor1-23/+34
* makefile.vms: Add better support for DEC C compilation. Add new macros as in Makefile.in.
1996-08-08Thu Aug 8 12:21:56 1996 Klaus Kaempf <kkaempf@progis.de>Ian Lance Taylor10-182/+70
* evax-alpha.c (evax_alpha_vec): Corrected flags, cleanup. (evax_initialize): Remove evax_reloc_table. (evax_close_and_cleanup): Ditto. (reloc_nil): Ditto. (alpha_howto_table): Remove ALPHA_R_SWREL32 and ALPHA_R_SWREL64 entries. (evax_bfd_reloc_type_lookup): Ditto. * evax-egsd.c (_bfd_evax_slurp_egsd): Add a few casts; set cooked_size == raw_size. * evax-emh.c (_bfd_evax_register_filename): Remove. * evax-etir.c (etir_stc): Allow ETIR_S_C_STC_xx commands. * evax-misc.c (add_new_contents): Malloc section at full size. (_bfd_save_evax_section): Memcpy section contents directly. * evax.h (ALPHA_R_SWREL32, ALPHA_R_SWREL64): Remove. (evax_reloc_table): Remove. * hosts/alphavms.h (O_ACCMODE): Define if needed. * makefile.vms: Add better support for DEC C compilation Add evax.h dependencies * reloc.c (bfd_get_reloc_size): Add case for 16 byte reloc. (BFD_RELOC_SWREL32,BFD_RELOC_SWREL64): Remove. (BFD_RELOC_ALPHA_BASEREG): Remove. * bfd-in2.h, libbfd.h: Rebuild.
1996-08-08Thu Aug 8 12:18:59 1996 Klaus Kaempf <kkaempf@progis.de>Ian Lance Taylor3-8/+13
* make-all.com: Run config-a-gas. * setup.com: Don't copy subdirectory files around.
1996-08-08 * archive.c (bsd_write_armap): Ifdef around calls to getuid andStu Grossman1-0/+6
getgid if _WIN32 is defined. * opncls.c (bfd_fdopenr): Remove unnecessary WINGDB ifdef.
1996-08-08 * aoutx.h bfd-in.h bfd-in2.h opncls.c riscix.c som.c targets.c:Stu Grossman3-3/+12
Change NO_FLAGS to BFD_NO_FLAGS to avoid conflict with an HPUX include file. * libbfd.c: Create dummy getpagesize() macro if HAVE_GETPAGESIZE isn't defined.
1996-08-08 * dbxread.c: Don't include param.h or sys/file.h.Stu Grossman1-0/+6
* (dbx_symfile_read): Determine symfile_relocatable from bfd flags instead of file extension. Also clean up a little bit.
1996-08-08 * dwarf2read.c dwarfread.c exec.c infcmd.c infrun.c main.cStu Grossman12-49/+48
mdebugread.c os9kread.c source.c top.c utils.c: Don't include param.h or sys/file.h (or unistd.h in some cases). * defs.h exec.c inflow.c remote-array.c remote-e7000.c sparcl-tdep.c terminal.h utils.c: Replace all occurances of __WIN32__, WINGDB, WIN32, etc... with _WIN32. * main.c: Remove #ifndef WINGDB around option processing. Fix bug with passing argc==0 and argv==NULL to getopt. * (main) Remove calls to access() before source_command. Let soure_command handle access errors. * maint.c (maintenance_dump_me): #ifdef out for _WIN32. * symtab.c (operator_chars): Make this global for wingdb. * top.c (disconnect): #ifdef out for _WIN32. * (source_command): If got an error and from_tty, then call print error, else just return quietly. * utils.c (fatal_dump_core): Can't kill ourselves under windows. Just exit. * (pollquit notice_quit): #ifdef out stuff that doesn't exist under windows.
1996-08-08If HAVE_TERMOS_STRUCTURE is not defined, make sure HAVE_TCGETATTR is also ↵Michael Meissner1-0/+3
not defined.
1996-08-07 * gdb.base/list.exp (test_forward_search): Fix to handle veryFred Fish2-1/+7
long source line without overflowing expect's input buffer.
1996-08-07 * ld-scripts/phdrs.exp: New test.Ian Lance Taylor4-0/+66
* ld-scripts/phdrs.s, ld-scripts/phdrs.t: New files.
1996-08-07 * symbols.c (resolve_symbol_value): Handle addition or subtractionIan Lance Taylor1-0/+6
by a constant before entering the main switch. Reject attempts to apply an arithmetic function to non-absolute symbols, except for the special case of subtraction of two symbols in the same section.
1996-08-07 * cpu-i386.c (i8086_arch): Architecture info for the i8086.Ian Lance Taylor1-0/+2
1996-08-07 * config/slite-gdb.exp (gdb_start): Use "full_buffer", notTom Tromey4-3/+17
"buffer_full". * config/nind-gdb.exp (gdb_start): Use "full_buffer", not "buffer_full". * config/mips-gdb.exp (gdb_start): Use "full_buffer", not "buffer_full". * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not "buffer_full".
1996-08-07Allow simulator to build on other machines than x86Michael Meissner1-0/+9