aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1996-09-09 * alpha-nat.c (fetch_core_registers): Match Sep 4 gdbcore.h prototypeFred Fish2-6/+6
change for core_read_registers in struct core_fns. * core-regset.c (fetch_core_registers): Ditto & add prototype. * core-sol2.c (fetch_core_registers): Ditto & add prototype. * i386aix-nat.c (fetch_core_registers): Ditto & add prototype. * i386b-nat.c (fetch_core_registers): Ditto. * i386mach-nat.c (fetch_core_registers): Ditto & add prototype. * irix4-nat.c (fetch_core_registers): Ditto. * irix5-nat.c (fetch_core_registers): Ditto. * lynx-nat.c (fetch_core_registers): Ditto & add prototype. * m68knbsd-nat.c (fetch_core_registers): Ditto. * mips-nat.c (fetch_core_registers): Ditto & add prototype. * rs6000-nat.c (fetch_core_registers): Ditto. * sparc-nat.c (fetch_core_registers): Ditto. * sun3-nat.c (fetch_core_registers): Ditto & add prototype. * ultra3-nat.c (fetch_core_registers): Ditto & add prototype. * alpha-nat.c (register_addr): Match Sep 4 gdbcore.h prototype change. * delta68-nat.c (register_addr): Ditto. * gdbserver/low-linux.c (register_addr): Ditto. * gdbserver/low-hppabsd.c (register_addr): Ditto. * i386m3-nat.c (register_addr): Ditto. * mips-nat.c (register_addr): Ditto. * ultra3-nat.c (register_addr): Ditto.
1996-09-09 * alpha-nat.c (fetch_core_registers): Match Sep 4 gdbcore.h prototypeFred Fish19-38/+80
change for core_read_registers in struct core_fns. * core-regset.c (fetch_core_registers): Ditto & add prototype. * core-sol2.c (fetch_core_registers): Ditto & add prototype. * i386aix-nat.c (fetch_core_registers): Ditto & add prototype. * i386b-nat.c (fetch_core_registers): Ditto. * i386mach-nat.c (fetch_core_registers): Ditto & add prototype. * irix4-nat.c (fetch_core_registers): Ditto. * irix5-nat.c (fetch_core_registers): Ditto. * lynx-nat.c (fetch_core_registers): Ditto & add prototype. * m68knbsd-nat.c (fetch_core_registers): Ditto. * mips-nat.c (fetch_core_registers): Ditto & add prototype. * rs6000-nat.c (fetch_core_registers): Ditto. * sparc-nat.c (fetch_core_registers): Ditto. * sun3-nat.c (fetch_core_registers): Ditto & add prototype. * ultra3-nat.c (fetch_core_registers): Ditto & add prototype. * alpha-nat.c (register_addr): Match Sep 4 gdbcore.h prototype change. * delta68-nat.c (register_addr): Ditto. * gdbserver/low-linux.c (register_addr): Ditto. * gdbserver/low-hppabsd.c (register_addr): Ditto. * i386m3-nat.c (register_addr): Ditto. * mips-nat.c (register_addr): Ditto. * ultra3-nat.c (register_addr): Ditto.
1996-09-08 * blockframe.c (inside_main_func): Cleanup slightly. MoveStu Grossman5-8/+135
mainsym def into the block it's used in. * configure.in configure: Allow NATDEPFILES to be recognized in .mh files regardless of whitespace. * cpu32bug-rom.c (cpu32bug_cmds): Change load_response string to keep downloads from hanging. * remote-wiggler.c: Add support for flash upgrades. * (wiggler_error): Fix message format. Add new error code. * (wiggler_write_byets): Error code is hex. Report errors with proper routine name. * (wiggler_read_byets): Report errors with proper routine name. * (get_packet): Add support for new flash commands. * (wiggler_load): Call clear_symtab_users() to reset things properly after download. * (flash_xfer_memory bdm_update_flash_command): New funxtions to support flash upgrades for Wiggler. * (_initialize_remote_wiggler): Add `bdm update-flash' command.
1996-09-06restore the space that need to be presentGeoffrey Noer1-1/+1
1996-09-06Don't include netinet/tcp.h in ser-tcp.c if __CYGWIN32__ definedGeoffrey Noer2-0/+8
1996-09-06build ser-tcp.o for cygwin32 hosted gdbGeoffrey Noer3-3/+10
1996-09-05 * value.h (COERCE_REF): Fix previous change.Per Bothner1-0/+5
(COERCE_ENUM): Add a check_typedef (this is the real fix). This re-fixes pr-9946.
1996-09-05 * eval.c (evaluate_subexp_standard): In case of OP_ARRAY: make aWilfried Moser1-0/+5
better check of array boundaries.
1996-09-05 * gch1280.exp: Enhance test case.Wilfried Moser2-0/+7
1996-09-05 * configure: Update aclocal.m4 and re-run autoconf to get correctStu Grossman3-18/+166
defs for BFD stuff. * remote-wiggler.c (wiggler_error): Error codes are hex. Also, fix default message generation.
1996-09-05Oops!Stu Grossman1-0/+39
1996-09-05Add remote-wiggler.c.Stu Grossman1-0/+1
1996-09-05 * Makefile.in: Add mswin to SUBDIRS. Add rules forStu Grossman9-202/+1708
mswin/libwingdb.a and remote-wiggler.o. * breakpoint.c (breakpoint_here_p): Clean up bp enabled test. * (breakpoint_inserted_here_p): New func, just like breakpoint_here_p, except it's honest. Honestly. * breakpoint.h: Proto for above. start-sanitize-gdbtk * configure configure.in: Add host *windows* to list of hosts that don't support GDBtk. end-sanitize-gdbtk * configure configure.in: Add mswin to configdirs if host is i[3456]86-*-windows. * core-aout.c (fetch_core_registers register_addr) gdbcore.h: Change all vars that can contain addresses to type CORE_ADDR. * findvar.c (supply_register): Allow val to be NULL. This means that regno is unsupported. * (read_pc read_pc_pid write_pc write_pc_pid): Make non-pid forms just call pid forms with inferior_pid so that there's only once place to hack PC's and such. * infrun.c (proceed): Don't skip breakpoints if user changed PC. * remote-wiggler.c: New file. Support for BDM interface from Macraigor Systems. * serial.c: Enhance serial logging capability. Add hex and octal output modes (set remotelogbase {hex|octal|ascii}. Also log breaks, timeouts, errors, and eofs. * serial.h: Redefine SERIAL_SEND_BREAK to go through a wrapper function so that we can log breaks. Don't export serial_logfile or serial_logfp. * top.c (execute_command): Don't test for serial_logfp here. Just call serial_log_comand, and let serial.c sort it out. * valops.c (value_of_variable): Don't attempt to establish frames for static and global variables. This makes things work a bit better if the stack or frame pointer is trashed. * config/m68k/monitor.mt (TDEPFILES): Add remote-wiggler.o. * config/m68k/tm-m68k.h: Define STACK_ALIGN. CPU32 can't hack misaligned stacks during function calls.
1996-09-04 * terminal.h: Don't use #elif.Ian Lance Taylor1-0/+4
1996-09-04 * gch1272.{ch,exp}, gch1280.{ch,exp}, pr-9946.{ch,exp}:Wilfried Moser8-0/+293
New test cases.
1996-09-04 * ch-exp.c (parse_tuple_element): Allow (*): for array tuplesWilfried Moser4-78/+160
if we have a type. * eval.c (evaluate_subexp_standard): In case of OP_ARRAY: check number of args against bounds of array to avoid memory corruption. * value.h (COERCE_REF): Do a CHECK_TYPEDEF in case we get a TYPE_CODE_TYPEDEF.
1996-08-30Fri Aug 30 15:07:14 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion1-18/+104
* remote-mips.c: Provide support for CAIRO target board. (cairo_open, cairo_ops): Added. (mips_monitor_type): MON_CAIRO Added. (mips_enter_debug, mips_exit_debug, mips_initialize, mips_fetch_registers, common_breakpoint, mips_load, _initialize_remote_mips): Updated. Add simple support for NEC CAIRO Vr4300 development board.
1996-08-29gdbserver/configure does not existMichael Meissner1-1/+0
1996-08-29Recognize i686 as pentium proMichael Meissner4-34/+43
1996-08-28Fix it.Martin Hunt1-2/+2
1996-08-28New file.Martin Hunt1-0/+33
1996-08-28Fix d10v_files.Martin Hunt1-1/+1
1996-08-28 * configure.in: If CY_AC_PATH_TCLCONFIG can't find TCL, don't runIan Lance Taylor3-32/+47
CY_AC_LOAD_TCLCONFIG. * configure: Rebuild.
1996-08-27Regenerate configureMichael Meissner2-7/+158
1996-08-27Tue Aug 27 04:25:08 1996 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer2-313/+134
* configure.in: work around host_alias configure bug. AC_CANONICAL_HOST is called twice (first by AC_CHECK_TOOL and second by AC_CANONICAL_SYSTEM). The second clobbers the previous setting. Circumventing by moving the second check to before the first. * configure: regenerated
1996-08-27Mon Aug 26 18:36:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+225
* d10v.mt: New file. * tm-d10v.h: New file.
1996-08-27Mon Aug 26 18:36:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+14
* d10v/d10v.mt: New file. * d10v/tm-d10v.h: New file.
1996-08-27Mon Aug 26 18:36:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt5-0/+213
* config/d10v/d10v.mt: New file. * config/d10v/tm-d10v.h: New file. * configure.in: New target D10V. * d10v-tdep.c: New file.
1996-08-25 * rs6000-tdep.c: Fix typo in comment.Fred Fish7-11/+43
* valops.c (call_function_by_hand): Set using_gcc to 2 for code compiled without -g, per comment in code. * config/a29k/tm-a29k.h (STACK_ALIGN): Add comment. * config/sparc/tm-sparc.h (STACK_ALIGN): Add comment. * config/sparc/tm-sp64.h (STACK_ALIGN): Add comment. * config/pyr/tm-pyr.h (STACK_ALIGN): Add comment. * config/m88k/tm-m88k.h (STACK_ALIGN): Add comment. * config/pa/tm-hppa.h (PUSH_ARGUMENTS): Enclose args in ()'s. (STACK_ALIGN): Add comment, move to be with other associated macros, and document. * config/mips/tm-mips.h (PUSH_ARGUMENTS): Enclose args in ()'s. (STACK_ALIGN): Remove completely, handled by PUSH_ARGUMENTS. * config/alpha/tm-alpha.h (PUSH_ARGUMENTS): Enclose args in ()'s. * config/rs6000/tm-rs6000.h (STACK_ALIGN): Remove completely, handled by PUSH_ARGUMENTS. (PUSH_ARGUMENTS): Enclose args in ()'s.
1996-08-23Fixup my email addresses to consistently be fnf@cygnus.comFred Fish1-6/+6
1996-08-23 * gdbtk.c (gdbtk_init): Check for a DISPLAY env variable andFred Fish2-0/+13
gracefully degrade to using command line interface if none is found.
1996-08-23 From: Eberhard Mattes <mattes@azu.informatik.uni-stuttgart.de>Fred Fish2-1/+6
* gdb.texinfo (Frames): Fix typo.
1996-08-23 * valprint.c (print_longest): Test for CC_HAS_LONG_LONG as well asFred Fish3-31/+36
PRINTF_HAS_LONG_LONG. * expprint.c (dump_expression): Ditto. * configure.in: Fix check for long long support in compiler to use a function body, not a nested function. * configure: Rebuild with autoconf.
1996-08-21 * aclocal.m4: Include ../bfd/aclocal.m4.Ian Lance Taylor6-6/+191
* configure.in: Add stdlib.h to AC_CHECK_HEADERS. Call BFD_NEED_DECLARATION on malloc, realloc, and free. * acconfig.h: Add NEED_DECLARATION_MALLOC, NEED_DECLARATION_REALLOC, and NEED_DECLARATION_FREE. * configure, config.in: Rebuild. * defs.h: Include <stddef.h> and <stdlib.h> based on HAVE_*_H rather than __STDC__. Only declare malloc, realloc, and free if NEED_DECLARATION_* is defined.
1996-08-20 * solib.c (_initialize_solib): Add missing '\' chars at ends ofFred Fish1-0/+12
strings that continue on next line. (enable_break): Replace "return 0" with setting success to zero and letting normal return handle the return. Fix for 96q4 bug 003
1996-08-19 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,Fred Fish3-2/+171
PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations. * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris) and -lpthreads (everybody else). (test_startup): Fail gracefully if threads are not supported. * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for "p/c array_index("abcdef",2)" when not gcc compiled. * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for "print func2::coremaker_local" when not gcc compiled. * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for "ptype on opaque struct tagname (statically)", "ptype on opaque struct tagname (dynamically) 1", and "ptype on opaque struct tagname (dynamically) 2" for not compiled with gcc. * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for backtrace when compiled with gcc. * lib/gdb.exp (runto_main): Return result of "runto main" rather than always return success.
1996-08-17 * rs6000-tdep.c (rs6000_fix_call_dummy): Add full set of arguments.Stan Shebs2-3/+11
* config/rs6000/tm-rs6000.h (FIX_CALL_DUMMY): Pass all arguments to function, declare function correctly.
1996-08-17 * symtab.h: changed namespace to _namespace for compiling underDawn Perchik1-0/+5
MFC v4.0.
1996-08-16 * mpw-make.sed: Update for various recent changes, add someStan Shebs3-10/+16
comments. start-sanitize-gm * mpw-config.in: Fix name of Magic Cap-specific file. end-sanitize-gm
1996-08-16Fix warningMichael Meissner2-6/+41
1996-08-16Fri Aug 16 15:15:37 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion3-2/+7
* config/mips/{vr4300.mt, vr4300el.mt} (SIM): Add -lm when simulator is included.
1996-08-15 * findvar.c (write_register_pid): Only needed when TARGET_WRITE_PCFred Fish4-3/+20
is not defined. (read_register_pid): Only needed when TARGET_READ_PC is not defined. * hppa-tdep.c (frame_saved_pc): Remove prototype. * infptrace.c (udot_info): Prototype when CHILD_XFER_MEMORY is not defined. * config/xm-aix4.h (aix_resizewindow): Convert old style decl to prototype. * xcoffsolib.c (command.h): Include for needed prototypes.
1996-08-15 * config/i386/cygwin32.mh: Set NAT_FILE to nm-empty.h to makeStu Grossman1-0/+1
native work.
1996-08-14 From Blair MacIntyre <bm@cs.columbia.edu>:Fred Fish3-2/+7
* hppa-tdep.c (hppa_fix_call_dummy): Use MSYMBOL_TYPE rather than SYMBOL_TYPE on msymbols. * somsolib.c (som_solib_create_inferior_hook): Ditto.
1996-08-14 * Makefile.in (init.c): Generate with prototypes.Fred Fish6-1/+28
* config/pa/tm-hppa.h (frame_saved_pc): Add prototype. * config/rs6000/xm-rs6000.h (aix_resizewindow): Ditto. * config/rs6000/tm-rs6000.h (frame_initial_stack_address): Ditto. (pc_load_segment_name): Ditto. (pop_frame): Ditto. (extract_return_value): Ditto. (is_magic_function_pointer): Ditto. (push_dummy_frame): Ditto. (fix_call_dummy): Ditto. (push_arguments): Ditto. (skip_trampoline_code): Ditto. (aix_process_linenos): Ditto. * config/m68k/tm-cisco.h (get_longjmp_target): Add prototype. * config/m68k/tm-es1800.h: Ditto. * config/m68k/tm-vx68.h: Ditto. * config/m68k/tm-sun3.h: Ditto. * config/m68k/tm-m68kv4.h: Ditto.
1996-08-14 * config/mips/nm-mips.h (get_longjmp_target): Add prototype.Fred Fish5-2/+13
* config/mips/nm-irix3.h (get_longjmp_target): Add prototype. * remote-mips.c (mips_read_processor_type): Remove prototype. * mips-tdep.c (gdb_print_insn_mips): Add prototype and make static. * irix5-nat.c (fetch_core_registers): Add prototype.
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 * 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.