aboutsummaryrefslogtreecommitdiff
path: root/gdb/event-loop.c
AgeCommit message (Collapse)AuthorFilesLines
2002-09-302002-09-30 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-3/+5
* event-loop.c (start_event_loop): Rename variable 'result' to 'gdb_result', to avoid conflicts with upcoming intepreters changes.
2002-09-10 * event-loop.c (gdb_do_one_event): Make public.Stephane Carrez1-2/+1
* event-loop.h (gdb_do_one_event): Declare.
2002-05-14 * event-loop.c (create_file_handler): Don't do anything butKeith Seitz1-36/+37
update data when we are given a fd which we are already monitoring.
2001-11-27 * NEWS: Updated.Tom Tromey1-0/+8
* event-loop.c (start_event_loop): Call after_char_processing_hook. * event-top.h (after_char_processing_hook): Declare. * event-top.c (rl_callback_read_char_wrapper): Call after_char_processing_hook. (after_char_processing_hook): New global. * top.c (operate_saved_history): New global. (gdb_rl_operate_and_get_next): New function. (init_main): Add the operate-and-get-next defun. (gdb_rl_operate_and_get_next_completion): New function.
2001-03-27* arch-utils.c (#include "gdbthread.h"): Removed.J.T. Conklin1-1/+0
(#include "symfile.h"): Removed. (XMALLOC): Removed unused macro. * breakpoint.c (tbreak_command): Removed local declaration. (awatch_command, do_enable_breakpoint, set_breakpoint_count): Remove duplicate declarations. (bpstat_should_step, bpstat_have_active_hw_watchpoints) (remove_solib_event_breakpoints): Fix indentation botch. * c-typeprint.c (#include "command.h"): Removed. (#include "gdbcmd.h"): Removed. * ch-exp.c (ch_terminal_match_float_literal, parse_expr) (parse_primval, parse_untyped_expr, parse_opt_untyped_expr): Removed duplicate declarations. * ch-typeprint.c (#include "command.h"): Removed. (#include "gdbcmd.h"): Removed. * corefile.c (#include "frame.h"): Removed (#include "symfile.h"): Removed. (#include "language.h"): Removed. * dbxread.c (#include "command.h"): Removed. * environ.c (#include "gdbcore.h"): Removed. * event-loop.c (#include "top.h"): Removed. * f-typeprint.c (#include "command.h"): Removed. (#include "gdbcmd.h"): Removed. (#include "language.h"): Removed. (#include "typeprint.h"): Removed. (#include "frame.h"): Removed. * gdbtypes.h (print_type_scalar): Removed declaration. * infcmd.c (#include "completer.h"): Removed. * language.c (#include "frame.h"): Removed. * m2-typeprint.c (#include "command.h"): Removed. (#include "gdbcmd.h"): Removed. (#include "language.h"): Removed. * m2-valprint.c (#include "valprint.h"): Removed. * p-typeprint.c (#include "command.h"): Removed. (#include "gdbcmd.h"): Removed. * p-valprint.c (#include "typeprint.h"): Removed. * parse.c (#include "linespec.h"): Removed. * regcache.c (#include "frame.h"): Removed. * remote.c (#include "frame.h"): Removed. (getpkt_sane): Make static. * source.c (#include "completer.h"): Removed. * stack.c (#include "symfile.h"): Removed. (#include "objfiles.h"): Removed. * symfile.c (#include "completer.h"): Removed. * tracepoint.c (#include "completer.h"): Removed. * values.c (#include "frame.h"): Removed. * varobj.c (#include "valprint.h"): Removed. * wrapper.c (#include "frame.h"): Removed. * memattr.c (create_mem_region): Removed unused variable. * remote-nrom.c: Removed spurious semicolon after init_nrom_ops. -------------------------------------------------------------------
2001-03-26 * event-loop.c (toplevel) [!HAVE_POLL] [NO_FD_SET]: Remove unusedEli Zaretskii1-46/+0
definitions for SELECT, NBBY, FD_SETSIZE, NFDBITS, and MASK_SIZE.
2001-03-20Move realoc() decl to utils.c. s/realloc()/xrealloc()/.Andrew Cagney1-2/+3
2001-03-072001-03-06 J.T. Conklin <jtc@redback.com>J.T. Conklin1-1/+0
* symtab.h (decode_line_1): Removed declaration. * symfile.c (#include <assert.h>): Removed. * arch-utils.c (#include <ctype.h>): Removed. * c-typeprint.c: Likewise. * dbxread.c: Likewise. * gdbtypes.c: Likewise. * target.c: Likewise. * os9kread.c: Likewise. * c-valprint.c (#include "demangle.h"): Removed. * ch-typeprint.c: Likewise. * eval.c: Likewise. * f-typeprint.c: Likewise. * f-valprint.c: Likewise. * m2-typeprint.c: Likewise. * typeprint.c: Likewise. * p-typeprint.c: Likewise. * valarith.c: Likewise. * valprint.c: Likewise. * m2-typeprint.c (#include "gdb_string.h"): Removed. * nlmread.c: Likewise. * mdebugread.c (#include "gdb-stabs.h"): Removed. * minsyms.c: Likewise. * mipsread.c: Likewise. * nlmread.c: Likewise. * m2-typeprint.c (#include "obstack.h"): Removed. * m2-valprint.c: Likewise. * event-loop.c (#include <setjmp.h>): Removed.
2001-03-06Update/correct copyright notices.Kevin Buettner1-1/+1
2001-02-08Add __FILE__ and __LINE__ parameter to internal_error() /Andrew Cagney1-8/+16
internal_verror().
2001-01-312001-01-31 David Smith <dsmith@redhat.com>David Smith1-2/+2
* event-loop.c: Change inclusion of string.h to gdb_string.h and updated the copyright notice. * ser-pipe.c: Ditto. * mi/mi-cmds.c: Ditto. * mi/mi-console.c: Ditto. * mi/mi-getopt.c: Ditto. * mi/mi-parse.c: Ditto.
2000-12-15Replace free() with xfree().Kevin Buettner1-6/+6
2000-09-01Corrected spelling errors in comments:David Anderson1-3/+3
adn -> and, Is->Are, occures->occurs
2000-07-05Check for <sys/poll.h>.Andrew Cagney1-0/+6
2000-03-232000-03-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni1-23/+23
* event-loop.c (handle_file_event): Run through indent.
2000-03-232000-03-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni1-206/+244
From Philippe De Muyter <phdm@macqel.be> * event-loop.c (sys/types.h): File now included unconditionally. (use_poll): New variable.. (gdb_notifier): poll- and select-versions merged. (add_file_handler): If HAVE_POLL, check whether poll is usable, and reset `use_poll' if not. (create_file_handler): Select poll- or select-version according to `use_poll'. (delete_file_handler, handle_file_event): Likewise. (gdb_wait_for_event, poll_timers): Likewise.
2000-03-202000-03-04 Eli Zaretskii <eliz@is.elta.co.il>Elena Zannoni1-63/+54
* event-loop.c (top-level) [NO_FD_SET]: Deprecate this branch. Print an error at compile time if we are to use select, but FD_SET is not available. (SELECT_MASK, NBBY, FD_SETSIZE, NFDBITS, MASK_SIZE): Define only if HAVE_POLL is not defined and NO_FD_SET *is* defined. (create_file_handler) [!HAVE_POLL]: Use FD_SET and FD_CLR. (delete_file_handler) [!HAVE_POLL]: Use FD_CLR and FD_ISSET. (gdb_wait_for_event) [!HAVE_POLL]: Copy fd_set sets directly instead of using memcpy and memset. Use FD_ISSET. * config/i386/xm-go32.h (fd_mask): Remove typedef.
2000-03-062000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni1-2/+5
From Eli Zaretskii <eliz@is.elta.co.il>: * event-loop.c (poll_timers): Don't compare delta.tv_sec with zero, since time_t might be unsigned.
2000-02-212000-02-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni1-6/+6
From Philippe De Muyter <phdm@macqel.be> * event-loop.c (handle_file_event): In case of poll, enable printing of informational message if an error/exception is detected on the file descriptor.
1999-12-14import gdb-1999-12-13 snapshotJason Molenda1-1/+1
1999-11-09import gdb-1999-11-08 snapshotJason Molenda1-57/+51
1999-10-05import gdb-1999-10-04 snapshotJason Molenda1-41/+3
1999-09-28import gdb-1999-09-28 snapshotJason Molenda1-60/+79
1999-09-22import gdb-1999-09-21Jason Molenda1-52/+421
1999-09-13import gdb-1999-09-13 snapshotJason Molenda1-13/+24
1999-08-16import gdb-1999-08-16 snapshotJason Molenda1-7/+11
1999-07-19import gdb-1999-07-19 snapshotJason Molenda1-1/+1
1999-07-07import gdb-1999-07-07 post reformatJason Molenda1-11/+12
1999-07-05import gdb-1999-07-05 snapshotJason Molenda1-7/+9
1999-06-28import gdb-1999-06-28 snapshotJason Molenda1-2/+41
1999-06-21import gdb-1999-06-21 snapshotJason Molenda1-12/+14
1999-06-14import gdb-1999-06-14 snapshotJason Molenda1-1/+2
1999-05-25import gdb-1999-05-25 snapshotJason Molenda1-2/+1
1999-05-11import gdb-1999-05-10Stan Shebs1-0/+741