aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
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.
1998-09-28Add brace missing from previous delta.Nick Clifton2-1/+5
1998-09-25Merge with armelf980813:Keith Seitz4-7/+55
* rdi-share/unixcomm.c: If using cygwin32, also use the SERPORT and PARPORT defines for win32. (Unix_MatchValidSerialDevice): For cygwin32, valid serial port names start with "com", not "/dev/tty". (Unix_OpenSerial): Do not use O_NONBLOCK on cygwin32. * rdi-share/devsw.c (DevSW_Close): Free the device's state (SwitcherState) so that the device may be reopened. * remote-rdi.c (mywritec): Send all output through gdb's *_unfiltered functions, ignoring non-ASCII chars, so that non-tty UI's can snarf the output from fputs_hook. (mywrite): Ditto. (arm_rdi_open): Set inferior_pid. (arm_rdi_detach): Pop the target off the target stack so that users can attach and detach multiple times. (arm_rdi_close): Close the opened device and reset inferior_pid, too.
1998-09-25 * gdbtk.c (gdbtk_wait): Don't run the timer for ice targets.Keith Seitz3-2/+44
* v850ice.c (WM_ADDR_TO_SYM): New message. (v850ice_wndproc): Add handler for WM_SOURCE. (v850ice_wait): Call the ui_loop_hook occasionally. (ice_cont): Acknowledge message before doing anything. (ice_stepi): Ack message and let gdbtk do stepping. (ice_nexti): Ack message and let gdbtk do stepping. (view_source): New function ICE calls to display source code.
1998-09-251998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda3-8/+13
* configure.in: Change --enable-warnings to --enable-build-warnings. * configure: Updated.
1998-09-25Ack, accidentally checked in a configure generated with an obsoleteJason Molenda1-290/+372
version of autoconf.
1998-09-251998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda3-104/+111
* configure.in (WARN_CFLAGS): Add -Wmissing-prototypes. * configure: Regenerated.
1998-09-251998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda4-392/+357
* configure.in: Add --enable-warnings. Adjust whitespace of other --with and --enable options so that configure --help lines up correctly. * aclocal.m4: Ditto. * Makefile.in (WARN_CFLAGS): Add. Set by configure. * configure: Regenerated.
1998-09-24 * remote-rdi.c: Fix formatting, remove some commented-out code.Stan Shebs2-78/+47
(init_rdi_ops): Omit needless initializations.
1998-09-23Allow full 64 bits of an address to be specified in an `M' or `n' packet.Andrew Cagney2-0/+25
Add backward compatibility variable `set remoteaddresssize' to handle regressions.
1998-09-23* remote.c (_initialize_remote, packet_command, print_packet): PrettyAndrew Cagney2-21/+12
* print code. Delete reference to EMC!
1998-09-23* remote.c (packet_command): Test REMOTE_DESC to determine if remoteAndrew Cagney2-4/+8
connection is open.
1998-09-23 Patch from Dawn Perchik <dawn@cygnus.com>:Mark Alexander2-6/+112
* rs6000-tdep.c (pop_frame): Handle generic dummy frames. (push_arguments): Likewise. (frame_saved_pc): Likewise. (rs6000_frame_chain): Likewise. (ppc_push_return_address): New function. (get_saved_register): New function. * config/powerpc/tm-ppc-eabi.h: Add generic dummy frame macros.
1998-09-22 * defs.h utils.c (fputc_filtered): New function. Does the obvious...Stu Grossman3-57/+45
* jv-lang.c (java_printchar): Fix output of chars > 0xff. Fold java_emit_char into java_printchar. * language.h (PRINT_LITERAL_FORM): Reformat for readability.
1998-09-21Fix info float test for arm-elf toolchainsNick Clifton2-35/+62
1998-09-21Support big endian as well as little endian breakpoints.Nick Clifton1-0/+8
1998-09-21Added sanitize-ide markersDrew Moseley4-51/+61
1998-09-21 * incorporate SKY-B changes (makes dual maintenance easier).Ron Unrau1-0/+9
* txvu-tdep.c (check_overlap): new function to guarantee that overlays are either mapped or unmapped in their entirety. * txvu-tdep.c (compress_blockvector): compress blockvectors correctly
1998-09-18 * gdbtk-cmds.c (get_frame_name): Demangle function names, too.Keith Seitz2-1/+12
1998-09-18Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+8
* gdb.trace/*.exp: remove "remote_download" command.
1998-09-18 * sol-thread.c (sol_thread_notice_signals): Use PIDGET whenPeter Schauer2-1/+6
passing pid down to procfs_notice_signals.
1998-09-16 * stabsread.c (resolve_symbol_reference): Return 1 on success, 0 onStu Grossman2-5/+29
failure. * (define_symbol): Check return value from resolve_symbol_reference, and drop symbol if it fails.
1998-09-16 * gdb.trace/configure.in(AC_INIT): typoFelix Lee3-2/+7
* gdb.trace/configure: regenerated
1998-09-15 * stabsread.c: Make all complaints static.Stu Grossman1-69/+89
* Fix formatting of live range splitting code. * (resolve_symbol_reference define_symbol resolve_live_range): Change errors to complaints so that bad live range symbols won't abort the entire symbol table. Handle errors by aborting just the current symbol. * (ref_init): Goes away. Folded into ref_add(). * (REF_MAP_SIZE): Put parens around parameter so that args like `1 + 2' get handled correctly (yes, this was a real bug). * (ref_add): Remove check for allocation failures. Not necessary when using xrealloc(). Fix pointer arithmetic problem when clearing memory. This and the previous patch prevent random SEGV's when there are lots of live range symbols.
1998-09-15Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder26-2/+5878
* lib/<emc-support.exp trace-support.exp}: New files. * configure.in: add new test directory gdb.trace. * gdb.trace/{configure configure.in Makefile.in}: New files. * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files. * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files. * gdb.trace/{collection.c collection.exp tfind.exp }: New files. * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files. * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files. * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files. * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
1998-09-15prevent multiple attempts at closing remote connection.Nick Clifton2-3/+17
1998-09-15Use value_at_lazy() to examine memory values. For x/i this is veryAndrew Cagney1-0/+10
important as it stops the specified address being fetched twice - once by value_at() and once somewhere in the disassembler.
1998-09-15Mon Sep 14 20:00:57 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+4
* dejagnu/baseboards/m68k-emc.exp: New file. * dejagnu/config/m68k-emc.exp: New file. * gdb/testsuite/config/m68k-emc.exp: New file.
1998-09-13Sun Sep 13 01:34:59 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+5
* blockframe.c (find_pc_sect_partial_function): use bfd section of msymbol for end of section comparison.
1998-09-11Fri Sep 11 14:02:49 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-10/+8
* tracepoint.c: clean up several unused variables and such.
1998-09-11Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+21
* gdb.c++/classes.exp: Change all regular expressions to match arbitrary combinations of newline/carriage-return, so that they will work equally well on Unix and Windows. * gdb.c++/inherit.exp: ditto. * gdb.c++/virtfunc.exp: ditto.
1998-09-11Fri Sep 11 12:38:34 EDT 1998 Zdenek Radouch (radouch@cygnus.com)Zdenek Radouch1-0/+5
* arm-tdep.c (arm_push_arguments): fixed frame construction
1998-09-11Thu Sep 10 22:10:29 1998 Jim Ingham <jingham@cygnus.com>Jim Ingham2-1/+6
*gdbtk-cmds.c (gdb_disassemble): Make sure the symtab's linetable is not null before trying to use it...