summaryrefslogtreecommitdiff
path: root/gdb/event-loop.c
Commit message (Collapse)AuthorAgeFilesLines
* * NEWS: Updated.Tom Tromey2001-11-271-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.
* * arch-utils.c (#include "gdbthread.h"): Removed.J.T. Conklin2001-03-271-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. -------------------------------------------------------------------
* * event-loop.c (toplevel) [!HAVE_POLL] [NO_FD_SET]: Remove unusedEli Zaretskii2001-03-261-46/+0
| | | | definitions for SELECT, NBBY, FD_SETSIZE, NFDBITS, and MASK_SIZE.
* Move realoc() decl to utils.c. s/realloc()/xrealloc()/.Andrew Cagney2001-03-201-2/+3
|
* 2001-03-06 J.T. Conklin <jtc@redback.com>jimb_gnu_v3_branchpointJ.T. Conklin2001-03-071-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.
* Update/correct copyright notices.Kevin Buettner2001-03-061-1/+1
|
* Add __FILE__ and __LINE__ parameter to internal_error() /Andrew Cagney2001-02-081-8/+16
| | | | internal_verror().
* 2001-01-31 David Smith <dsmith@redhat.com>David Smith2001-01-311-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.
* Replace free() with xfree().Kevin Buettner2000-12-151-6/+6
|
* Corrected spelling errors in comments:David Anderson2000-09-011-3/+3
| | | | adn -> and, Is->Are, occures->occurs
* Check for <sys/poll.h>.Andrew Cagney2000-07-051-0/+6
|
* 2000-03-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-03-231-23/+23
| | | | * event-loop.c (handle_file_event): Run through indent.
* 2000-03-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-03-231-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-04 Eli Zaretskii <eliz@is.elta.co.il>Elena Zannoni2000-03-201-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-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-03-061-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-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-02-211-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.
* import gdb-1999-12-13 snapshotJason Molenda1999-12-141-1/+1
|
* import gdb-1999-11-08 snapshotJason Molenda1999-11-091-57/+51
|
* import gdb-1999-10-04 snapshotJason Molenda1999-10-051-41/+3
|
* import gdb-1999-09-28 snapshotJason Molenda1999-09-281-60/+79
|
* import gdb-1999-09-21Jason Molenda1999-09-221-52/+421
|
* import gdb-1999-09-13 snapshotJason Molenda1999-09-131-13/+24
|
* import gdb-1999-08-16 snapshotJason Molenda1999-08-161-7/+11
|
* import gdb-1999-07-19 snapshotJason Molenda1999-07-191-1/+1
|
* import gdb-1999-07-07 post reformatJason Molenda1999-07-071-11/+12
|
* import gdb-1999-07-05 snapshotJason Molenda1999-07-051-7/+9
|
* import gdb-1999-06-28 snapshotJason Molenda1999-06-281-2/+41
|
* import gdb-1999-06-21 snapshotJason Molenda1999-06-211-12/+14
|
* import gdb-1999-06-14 snapshotJason Molenda1999-06-141-1/+2
|
* import gdb-1999-05-25 snapshotJason Molenda1999-05-251-2/+1
|
* Initial revisionStan Shebs1999-05-111-0/+741