aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1998-10-28* peripheral part of sky->devo mergeFrank Ch. Eigler3-4/+12
* patch approved by shebs Wed Oct 28 12:33:52 EST 1998 Frank Ch. Eigler <fche@cygnus.com> * configure.in: Accept both -skyb- and -sky- for --with-sim-funit/gpu2 options. * configure: Rebuilt.
1998-10-28 * sparcl-tdep.c (send_resp, sparclite_serial_start,Mark Alexander2-6/+40
sparclite_serial_write): Use remote_timeout instead of hardcoded two second timeout. (download): Fix adjustment of a.out load addresses.
1998-10-28Unify (well almost) --enable-build-warnings configuration optionAndrew Cagney3-50/+68
across GDB and SIM directories.
1998-10-27Replace syserr_list with more portable strerror().Andrew Cagney2-2/+6
1998-10-26* config/rs6000/aix4.mh (NATDEPFILES): Move xcoffread.o from here.Andrew Cagney2-0/+25
* config/rs6000/aix4.mt (TDEPFILES): To here. * rdi-share/unixcomm.c: Provide definitions of SERPORT and PARPORT on BSD hosts.
1998-10-22Written policy on GDB checkins.Stan Shebs1-0/+1
1998-10-191998-10-19 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda2-37/+37
* configure.in (AM_EXEEXT): Use AC_EXEEXT instead. * configure: Regenerated. Geoff just removed the AM_EXEEXT definition from ../binutils/aclocal.m4 so we would have been hosed in the near future.
1998-10-17fix typoFelix Lee1-0/+5
1998-10-17 * core-sol2.c: #include <sys/types.h>, for sol2.7 weirdness.Felix Lee2-0/+5
1998-10-16Fri Oct 16 15:31:38 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+5
* m32r-tdep.c (decode_prologue): Return failure if we reach the end of the function without finding the end of the prologue.
1998-10-161998-10-16 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda12-68/+148
* command.c copying.c copying.awk core-aout.c core-regset.c corelow.c dcache.c i386-tdep.c i386v4-nat.c i387-tdep.c infcmd.c infptrace.c infrun.c remote.c solib.c symfile.c symmisc.c valarith.c: Add prototypes. * defs.h: Add prototype for utils.c::do_run_cleanups. * gdbtypes.c: Add prototypes. (make_pointer_type): Add braces to remove nested if-else ambiguity. (make_reference_type): Ditto. * printcmd.c (printf_command): Initialize 'f' and 'string' at function startup to suppress possibly-used-before-initialized warning. * remote-utils.c: Add prototypes. (sr_pollchar): Add braces to remove nested if-else ambiguity. * ser-tcp.c: Add prototypes. (wait_for): Add braces to remove nested if-else ambiguity. (tcp_readchar): Ditto. * ser-unix.c: Add prototypes. (get_tty_state): Don't define errno here. (get_tty_state): Don't define errno here. (hardwire_readchar): Only define 't' if we are compiling in a Cygwin environment. * symtab.c: Add prototypes. (find_methods): Add braces to remove nested if-else ambiguity. (search_symbols): Set 'i' to an initial value to suppress a possibly-used-before-initialized warning. * valops.c: Add prototypes. (value_cast): Set 'eltype2' to an initial value to suppress a possibly-used-before-initialized warning. (value_of_variable): Add braces to remove nested if-else ambiguity. (value_of_this): Ditto. * valprint.c: Add prototypes. (print_floating): Add braces to remove nested if-else ambiguity. Looks like a big change, but it is really just a lot of small stuff. In the cases where GCC was flagging a possible use-before-initialized warning on variables, it turned out that these were being used properly but GCC couldn't see that.
1998-10-16 * tm-sp64.h (SETUP_ARBITRARY_FRAME, RAME_SPECIFICATION_DYADIC):Stan Shebs2-12/+12
Remove, nevermore used.
1998-10-15command.c: Include "wait.h" after, rather than before, <wait.h>.Andrew Cagney2-1/+28
"wait.h" was defining all WIF* macro's instead of filling in those that <wait.h> missed. Stops heaps of warnings from <wait.h> re-defining WIF*s defined in "wait.h".
1998-10-141998-10-14 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda11-133/+197
* defs.h: Move _initialize_printcmd, _initialize_stack, _initialize_blockframe out of here and in to their respective .c files. * blockframe.c: Move _initialize_blockframe prototype to here. * printcmd.c: Move _initialize_printcmd prototype to here. * stack.c: Move _initialize_stack prototype to here. * source.c, symtab.h: Move _initialize_source prototype to the .c file. * values.c, value.h: Move _initialize_values prototype to the .c file. * gdbthread.h, thread.c: Move _initialize_thread prototype to the .c file. * breakpoint.c, breakpoint.h: Move _initialize_breakpoint prototype to the .c file. * abug-rom.c alpha-nat.c alpha-tdep.c annotate.c ax-gdb.c bcache.c: Standardize comments for the prototype section of these files. * configure.in: Look in libc for wctype before looking for it in libc. The last one is to fix the GNU ld (~2.9.1) + Solaris 2.6 interaction problem where an empty stub library (libw) causes a core dump when we call vasprintf (e.g. `info br') in the final linked gdb.
1998-10-14Results of first-pass at looking for problems with making the targetAndrew Cagney2-1/+1065
architecture a vector.
1998-10-14 * sol-thread.c (ps_pstop, etc): simple test for proc_service.hFelix Lee6-49/+126
version didn't work for sol2.6; pushed it to autoconf. * configure.in (gdb_cv_proc_service_is_old): new test. * acconfig.h (PROC_SERVICE_IS_OLD): new define. * configure, config.in: regenerate.
1998-10-141998-10-13 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda23-187/+354
* blockframe.c (find_pc_sect_partial_function): Add braces to avoid possible nested-if confusion. * breakpoint.c (breakpoint_here_p): Ditto. (breakpoint_inserted_here_p): Ditto. (breakpoint_thread_match): Ditto. * gnu-regex.c: Define _REGEX_RE_COMP only if it isn't already defined. * gnu-regex.h: Define _REGEX_RE_COMP to pick up old compatability prototypes. * symtab.h: Add prototype for _initialize_source. * value.h: Add prototype for _initialize_value. * defs.h: Include sys/types.h or stddef.h to get size_t. (make_cleanup): Add make_cleanup_func typedef and switch to using a prototype for this function. (mfree): Add prototypes for mmalloc, mrealloc, mfree if we aren't using mmalloc. * ax-gdb.c breakpoint.c coffread.c corelow.c dbxread.c dwarf2read.c dwarfread.c elfread.c eval.c exec.c gdbtk-cmds.c gdbtk.c infcmd.c infrun.c mipsread.c nlmread.c os9kread.c parse.c printcmd.c symfile.c symmisc.c symtab.c thread.c top.c tracepoint.c typeprint.c valops.c: Cast parameters passed to make_cleanup to use the new make_cleanup_func typedef. More warning cleanups. There are still a bunch of places where the first argument to make_cleanup is not cast to (make_cleanup_func); these are either due to the function fitting the make_cleanup_func specification already (e.g. free()) or they are in files that weren't compiled when I did my make on a Linux native system. Bwahahaha. You can see them like this: grep make_cleanup\ * | grep -v make_cleanup_func I'll surely go back and clean up the remaining suspicious calls in GDB one of these days. :-)
1998-10-14Minor typos.Andrew Cagney1-0/+4
1998-10-13Whoa, somehow this ChangeLog entry didn't get committed along with theJason Molenda1-0/+8
actual changes. Here is the text: 1998-10-12 Jason Molenda (jsm@bugshack.cygnus.com) * Makefile.in (AWK): Unused; remove. * configure.in: Remove unused autoconf checks for MINIX, memcpy, poll, select, strings.h. * config.in: Regenerated. * configure: Regenerated.
1998-10-131998-10-12 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda3-348/+238
* Makefile.in (AWK): Unused; remove. * configure.in: Remove unused autoconf checks for MINIX, memcpy, poll, select, strings.h. * config.in: Regenerated. * configure: Regenerated.
1998-10-13 * sol-thread.c (ps_pstop, etc): different solaris versions haveFelix Lee2-20/+51
slightly different prototypes in proc_service.h; compensate.
1998-10-131998-10-12 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda5-6/+25
* configure.in: Check for sys/debugreg.h, asm/debugreg.h. * i386v-nat.c: Include asm/debugreg.h, sys/debugreg.h if it is not present. This is to work around a conflict where the Linux 2.1.x kernel and glibc 2.0.x are not in sync; including <sys/debugreg.h> will result in an error. With luck, these losers will get their act together and we can trash this hack in the near future.
1998-10-12* configure.in (links): Link gdbtcl2 directory instead of gdbtcl.Andrew Cagney2-10/+10
(ChangeLog entry already checked in).
1998-10-11 * dwarf2read.c (dwarf2_build_psymtabs_hard): Do not adjust thePeter Schauer3-11/+22
address range of a compilation unit without children. * mdebugread.c (parse_partial_symbols): Fix handling of stabs continuations, use xmalloc and xrealloc.
1998-10-10 * rs6000-tdep.c: Don't include tm.h twice.Mark Alexander2-1/+4
1998-10-08 * gdbtk-hooks.c (gdbtk_add_hooks): Install a hook forKeith Seitz2-4/+22
(new) file_changed_hook. (gdbtk_exec_file_changed): Rename to gdbtk_exec_file_display to mimic hook's name. (gdbtk_file_changed): New hook function.
1998-10-08 * main.c (main): Remove calls to {pre,post}_add_symbol_hooks.Keith Seitz2-18/+85
There should be sufficient information/hooks now to eliminate this hack. * exec.c (file_command): Add a new hook here to inform ui's when the exec file has changed. Adding it here allows the ui to be informed after symbol reading. * gdbcore.h: Add declaration of file_changed_hook.
1998-10-08*** empty log message ***Michael Snyder4-0/+62
1998-10-08Forgot to remove this file from .Sanitize.Jason Molenda1-1/+0
1998-10-08 * rs6000-tdep.c (get_saved_register): Define only ifMark Alexander2-0/+27
USE_GENERIC_DUMMY_FRAMES is defined.
1998-10-08Hand sanitization.Andrew Cagney1-0/+2
1998-10-08Add new config options --enable-carp (tempoary) andAndrew Cagney4-236/+506
--enable-targets=... (more permenant). Add dummy target `carp' with associated directory (tempoary). Expect a rewrite down the track.
1998-10-061998-10-06 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda6-278/+348
Eliminate a few warnings from the compiler. * breakpoint.h: Add prototype. * breakpoint.c (do_enable_breakpoint): cast mem_cnt, i to (void). * configure.in: Check if strdup declaration is necessary. * configure: Regenerated. * defs.h: Add prototypes. * gdb_string.h: Only define strdup if necessary. * gdbthread.h: Add prototypes. * printcmd.c: Add prototyptes. (disassemble_command): Remove unused variable 'section'. * symtab.c: Add prototypes. * symtab.h: Include gnu-regex.h, add prototype. * thread.c: Add prototype.
1998-10-06Sanitize anything mentioning CARP.Andrew Cagney1-0/+41
1998-10-06 From David Purves <purves@apogee.com>:Stan Shebs2-12/+29
* stabsread.c (rs6000_builtin_type): Create a complex float instead of an error. (read_sun_floating_type): Similarly. (read_range_type): Create a complex float if self_subrange is true.
1998-10-05 * c-lang.c (emit_char c_printchar c_printstr), c-lang.h (c_printstr)Stu Grossman16-106/+233
ch-lang.c (chill_printstr chill_printchar) c-valprint.c (c_val_print) ch-valprint.c (chill_val_print) expprint.c (print_subexp) f-lang.c (f_printstr f_printchar emit_char) f-valprint.c (f_val_print) jv-lang.c (java_printchar java_emit_char) jv-valprint.c (java_value_print java_val_print) language.c (unk_lang_printchar unk_lang_printstr unk_lang_emit_char) language.h (struct language_defn LA_PRINT_STRING LA_EMIT_CHAR) m2-lang.c (m2_printstr m2_printchar emit_char) printcmd.c (print_formatted) scm-lang.c (scm_printstr) valprint.c (val_print_string) value.h (val_print_string): Add emit_char routines to language_desc struct to allow finer control over language specific character output issues. Add character width arg to printstr routines to allow handling of wchar_t/Unicode strings. Fix c_printstr to handle wide characters. Supply width argument to LA_PRINT_STRING and val_print_string. * jv-lang.c (java_object_type dynamics_objfile java_link_class_type get_dynamics_objfile get_java_object_type) jv-lang.h (get_java_object_type): Make lots of things static. * expprint.c (dump_prefix_expression dump_subexp): Move opcode name printing to common routine (op_name). * (dump_subexp): Add support for OP_SCOPE.
1998-10-05Mon Oct 5 00:34:00 1998 Martin M. Hunt <hunt@cygnus.com>Martin Hunt2-0/+95
* gdbtk-cmds.c (gdb_set_bp_addr): New command. Sets a breakpoint at an address. Use this instead of gdb_cmd "break" because the syntax of the break command is broken and doesn't allow you to create a thread-specific BP at an address. Also this is faster.
1998-10-05Sun Oct 4 22:35:47 1998 Martin M. Hunt <hunt@cygnus.com>Martin Hunt2-3/+115
* gdbtk-cmds.c (gdb_set_bp): Add an optional thread number. (gdb_find_bp_at_line): New function. Returns a list of bpnums at the specified line number. (gdb_find_bp_at_addr): New function. Returns a list of bpnums at an address..
1998-10-02The GDB engineers ate Steve's hacks; and there was much rejoicing.Stan Shebs1-44/+0
1998-10-02Search and destroy; kill references to WinGDB bits.Stan Shebs3-10/+8
* configure.host (i[3456]86-*-windows): Remove, no longer used. * mswin: Remove directory, no longer used.
1998-10-02Fri Oct 2 18:52:20 1998 Fernando Nasser <fnasser@cygnus.com>Fernando Nasser2-6/+11
* sol-thread.c: Fixed prototypes and calls to supply_fpregset and fill_fpregset PR 17053
1998-10-02 * gdbtk-hooks.c (gdbtk_exec_file_changed): New function which handlesKeith Seitz3-9/+27
exec_file changes. (gdbtk_add_hooks): Define exec_file_display_hook (to gdbtk_exec_file_changed) * gdbtk-cmds.c (gdb_stop): target_stop is ALWAYS defined, so compare against something a little more meaningful (target_ignore).
1998-10-02 * remote.c (remote_interrupt): Rewrite to use remote_stop.Keith Seitz1-0/+17
(remote_interrupt_twice): Remove. remote_stop now handles it. (remote_stop): New function which handles interrupting the remote target so that CLUI and GUI use the same core functions to achieve the same goal. (remote_wait): Change to handle remote_stop properly. [interrupted_already]: New static global to help remote_stop. [remote_ops, extended_remote_ops]: Add remote_stop for to_stop member. * target.c: Rename static function "ignore" to "target_ignore" and export it so that gdb can determin if some target vector member is actually not defined. Replace all occurances of ignore. * target.h: Export target_ignore.
1998-10-02 * target.c (target_xfer_memory): Handle requests with zeroPeter Schauer3-41/+183
transfer length right away. * values.c (unpack_double): Set up code, length and signedness of type _after_ checking for typedef.
1998-10-01* Fix for PR 16567, brought over from d30v branch.Frank Ch. Eigler2-2/+23
Thu Oct 1 15:39:27 EDT 1998 Frank Ch. Eigler <fche@cygnus.com> * breakpoint.c (bpstat_stop_status): Do not consider an untripped watchpoint as a "hit".
1998-10-01More replacing "exec" with "executable".Andrew Cagney3-3/+5
1998-10-01Replace "exec" with "executable" in messages.Andrew Cagney16-36/+54
1998-10-01 * gdbint.texinfo: Complete overhaul. Group descriptions moreStan Shebs1-0/+6
logically, add more info on generic algorithms, remove much obsolete and/or wrong material.
1998-09-30add sanitization for special sky config argsAngela Marie Thomas1-0/+2
1998-09-29 * gdb.gdbtk/browser.test: Fix tests which incorrectly assumeKeith Seitz1-0/+11
that gdb knows _exactly_ which files belong to the user and which come from libraries.