summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* merge from trunkChristopher Faylor2003-02-0713-167/+6060
|
* merge from trunkChristopher Faylor2003-02-0528-176/+3197
|
* merge from trunkChristopher Faylor2003-02-017-16/+77
|
* * dlfcn.cc (dlerror): Only report load errors once per error.Christopher Faylor2003-02-012-0/+160
|
* merge from trunkChristopher Faylor2003-02-014-161/+456
|
* merge from trunkChristopher Faylor2003-01-313-4/+12
|
* merge from trunkChristopher Faylor2003-01-312-0/+264
|
* merge from trunkChristopher Faylor2003-01-312-2/+9
|
* merge from trunkChristopher Faylor2003-01-305-23/+534
|
* * devices.gperf: Remove obsolete win32 device names.Corinna Vinschen2003-01-282-62/+7
|
* * string.h (strechr): New function.Christopher Faylor2003-01-271-1/+1
|
* merge from trunkChristopher Faylor2003-01-273-7/+9
|
* merge from trunkChristopher Faylor2003-01-276-26/+162
|
* merge from trunkChristopher Faylor2003-01-2612-119/+3514
|
* merge from trunkChristopher Faylor2003-01-266-68/+256
|
* * Makefile.in (DLL_OFILES): Add fhandler_nodevice.o.Christopher Faylor2003-01-257-18/+287
| | | | | | | | | | | * devices.gperf (device::parse): Just set devn to input if device not found -- nonexistent device will be caught later. * dtable.cc (dtable::build_fhandler): Build fhandler_nodevice type when unknown device. * fhandler.h (fhandler_nodevice): New class. (fhandler_union): Add fhandler_nodevice. * path.cc (path_conv::check): Always set device stuff if major/minor are specified.
* clarifyChristopher Faylor2003-01-251-1/+1
|
* clarifyChristopher Faylor2003-01-251-1/+1
|
* merge from trunkChristopher Faylor2003-01-258-30/+1213
|
* merge from trunkChristopher Faylor2003-01-255-1/+75
|
* trunk mergeChristopher Faylor2003-01-2417-12/+5024
|
* * path.cc (normalize_posix_path): Convert win32 path separators to slashes whenChristopher Faylor2003-01-162-1/+252
| | | | full path is specified.
* readdChristopher Faylor2003-01-161-0/+185
|
* merge from trunkChristopher Faylor2003-01-1639-0/+33270
|
* Replace is_fs_device with is_fs_special throughout.Christopher Faylor2003-01-051-16/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (DLL_OFILES): Add fhandler_fifo.o. * devices.h (fh_devices): Renumber some minor numbers to fit in 8 bits. * dtable.cc (dtable::build_fhandler): Handle FH_FIFO. Set errno to ENODEV if device not found. * dtable::find_fifo: Define new function. * dtable.h (dtable::find_fifo): Declare new function. * fhandler.cc (fhandler_base::device_access_denied): Fix O_RDONLY test. (fhandler_base::write): Use output file handle for writing. (fhandler_base::fstat): Use is_fs_special rather than is_fs_device. * fhandler.h (fhandler_base::is_fs_special): Rename from is_fs_device. (fhandler_pipe): Make private elements protected so that fhandler_fifo can use them too. (fhandler_pipe::create): New function derived from make_pipe. (fhandler_fifo): Add more needed elements. (fhandler_pty_master::slave): Add to track slave device. (fhandler_pty_master::get_unit): Define. * fhandler_tty.cc (fhandler_tty_master::init): Register slave device. (fhandler_pty_master::open): Ditto. (symlink_info::parse_device): Handle fifo specially. * pinfo.cc (_pinfo::commune_recv): Initial fifo implementation. (_pinfo::commune_send): Ditto. * pinfo.h (picom): Add PICOM_FIFO. * pipe.cc (fhandler_pipe::close): Close input handle here specifically. (fhandler_pipe::create): Rename from make_pipe. Create fhandlers rather than fds. (pipe): Use fhandler_pipe::create to create pipe. (_pipe): Ditto. * syscalls.cc (mknod): Accommodate fifos.
* * devices.h (_devtype_t): Eliminate.Christopher Faylor2003-01-021-2/+2
| | | | | | | | | | | | | | | | | | | (_mode_t): New typedef. (device::mode): Replace type. * fhandler.h (fhandler_base::device_access_denied): Declare new function. * fhandler.cc (fhandler_base::device_access_denied): Define new function. * fhandler_disk_file.cc (fhandler_base::fstat_helper): Just copy mode directly from dev.mode to st_mode if it is a disk device. * path.cc (path_conv::check): Set device mode from sym mode. (symlink_worker): Let "exists" check happen when file is attempted to be opened, or not, in the case of creating a device. (symlink_info::parse_device): Change device type argument to device mode argument. (mknod_worker): New function. (chmod_device): Ditto. (chmod): Use chmod_device to set protection if it is an fs device. (mknod): Use mknod_worker to actually create the device. Don't take any special action with the protection since it is now implicit.
* * cygwin-gperf: New file.Christopher Faylor2002-12-293-34/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in: Use cygwin-gperf script to build devices.cc. * configure.in: Remove some comments. * configure: Regenerate. * devices.gperf: Remove max unit determination from FH_TTY. Add /dev/kmem. Add /dev/fifo. Add /dev/rawdrive. Remove specific "const device *" declarations since they are now autogenerated. (device::parse): Treat FH_TTY specially. Move logic for determining real tty device to separate function. (device::init): Reduce to nothing. (device::parse): New function taking different arguments. (device::parse): Ditto. (device::tty_to_real_device): New function. * devices.h (struct device): Define above new functions. (device::dev_on_fs): New element. (device::setfs): New function. (device::isfs): Ditto. * dtable.cc (dtable::build_fhandler): Treat FH_TTY specially. * fhandler.cc (fhandler_base::set_name): Make special determination for non-disk-resident devices. * fhandler.h (fhandler_base::isdevice): Renamed from 'is_device'. (fhandler_disk_file::isdevice): Ditto. (fhandler_base::is_auto_device): New function. (fhandler_base::is_fs_device): New function. (fhandler_tty_slave::get_unit): Declare. (fhandler_disk_file::readdir): Take special .lnk consideration for devices as well as symlinks. * fhandler_tty.cc: Use get_unit () rather than dev.minor throughout. (fhandler_tty_slave::get_unit): Define new function. * path.cc (symlink_info::major): New element. (symlink_info::major): Ditto. (symlink_info::devtype): Ditto. (path_conv::check): Handle devices detected by symlink_info::check. (win32_device_name): Eliminate special FH_TTY handling. (symlink): Move bulk of procesing to symlink_worker. (symlink_worker): New function. Handles devices. (symlink_info::parse_device): Parse info from potential device file into symlink_info elements. (symlink_info::check): If contents of .lnk file begin with a ':' then treat the file as a device file. * path.h (isdevice): Renamed from is_device. (is_auto_device): New function. (is_fs_device): Ditto. * syscalls.cc (chown_worker): Allow setting of ownership for on-disk devices. (chmod): Ditto. (mknod): Implement. * winsup.h (symlink_worker): Declare.
* add to branchChristopher Faylor2002-12-282-0/+299
|
* * elf.c (_bfd_elf_make_section_from_shdr): Ignore return fromAlan Modra2008-07-272-11/+18
| | | | | elf_parse_notes. Use bfd_malloc_and_get_section. (elf_parse_notes): Validate note namesz and descsz.
* gdb:Tom Tromey2008-07-275-0/+28
| | | | | | | | | | | PR gdb/1158: * valops.c (value_struct_elt): Treat function-valued field as a static method. gdb/testsuite: * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct. (function_struct, function_struct_ptr): New globals. * gdb.base/callfuncs.exp (do_function_calls): Test calling via a function pointer in a struct.
* gdb:Tom Tromey2008-07-274-9/+35
| | | | | | | | PR gdb/1136: * macroexp.c (get_punctuator) <punctuators>: Rearrange to put longer tokens first. gdb/testsuite: * gdb.base/macscp.exp: Add test for macro lexing bug.
* *** empty log message ***gdbadmin2008-07-271-1/+1
|
* daily updateAlan Modra2008-07-271-1/+1
|
* Support PowerPC single-precision float.Alan Modra2008-07-264-4/+26
|
* Kill cmd_async_ok.Vladimir Prus2008-07-266-32/+10
| | | | | | | | | * cli/cli-decode.h (CMD_ASYNC_OK, set_cmd_async_ok) (get_cmd_async_ok): Remove. * cli/cli-decode.c (set_cmd_async_ok, get_cmd_async_ok): Remove. * cli/cli-cmds.c (init_cli_cmds): Don't use set_cmd_async_ok. * infcmd.c (_initialize_infcmd): Likewise. * thread.c (_initialize_thread): Likewise.
* * mips-tdep.c (mips_n32n64_push_dummy_call): Handle passingJoseph Myers2008-07-262-21/+73
| | | | | | | | | | | 128-bit long doubles in even-odd pairs of FPRs. Do not right-align float arguments for big-endian. (mips_n32n64_return_value): Apply return value convention for structs containing one or two floating-point values to soft-float as well as hard-float. Handle 128-bit long doubles in such structs. (mips_o32_push_dummy_call): Only skip one integer register for a float argument passed in an FPR.
* *** empty log message ***gdbadmin2008-07-261-1/+1
|
* daily updateAlan Modra2008-07-261-1/+1
|
* * acinclude.m4: Remove libide, libgui, and all the other TclKeith Seitz2008-07-253-1277/+3246
| | | | | functions. * tcl.m4: New file.
* gdb:Tom Tromey2008-07-2518-1040/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tui/tui-hooks.c: Include observer.h. (tui_event_default, tui_old_event_hooks, tui_event_hooks): Remove. (tui_bp_created_observer, tui_bp_deleted_observer, tui_bp_modified_observer): New globals. (tui_install_hooks): Use observers, not events. (tui_remove_hooks): Likewise. * mi/mi-cmd-break.c: Include observer.h, not gdb-events.h. (mi_breakpoint_observers_installed, mi_can_breakpoint_notify): New globals. (breakpoint_notify): Check mi_can_breakpoint_notify. (breakpoint_hooks): Remove. (mi_cmd_break_insert): Attach observers. Don't use events. * tracepoint.c: Include observer.h, not gdb-events.h. (tracepoint_operation, trace_pass_command): Notify observer. * interps.c: Don't include gdb-events.h. (clear_interpreter_hooks): Don't call clear_gdb_event_hooks. * gdbarch.c: Rebuild. * gdbarch.sh: Emit include for observer.h, not gdb-events.h. (deprecated_current_gdbarch_select_hack): Notify observer. * breakpoint.h: Don't include gdb-events.h. * breakpoint.c: Don't include gdb-events.h. (condition_command): Notify observer. (commands_command): Likewise. (commands_from_control_command): Likewise. (mention, delete_breakpoint, set_ignore_count): Likewise. (disable_breakpoint, do_enable_breakpoint): Likewise. * Makefile.in (gdb_events_h): Remove. (breakpoint_h): Update. (COMMON_OBS): Remove gdb-events.o. (gdb-events.o): Remove. (breakpoint.o, gdbarch.o, interps.o, tracepoint.o, gdbtk-bp.o, gdbtk-hooks.o, mi-cmd-break.o, tui-hooks.o): Update. * gdb-events.c: Remove. * gdb-events.h: Remove. * gdb-events.sh: Remove. gdb/doc: * observer.texi (GDB Observers): Document new observers: breakpoint_created, breakpoint_deleted, breakpoint_modified, tracepoint_created, tracepoint_deleted, tracepoint_modified, architecture_changed. gdb/gdbtk: * generic/gdbtk-hooks.c: Include observer.h, not gdb-events.h. (gdbtk_add_hooks): Use observers, not events. (gdbtk_architecture_changed): Add argument, for observer. * generic/gdbtk-bp.c: Include observer.h. (gdb_set_bp): Notify observer. (gdb_set_bp_addr): Likewise.
* *** empty log message ***gdbadmin2008-07-251-1/+1
|
* daily updateAlan Modra2008-07-251-1/+1
|
* * elf32-mips.c (elf_backend_write_section): Define.Daniel Jacobowitz2008-07-242-0/+5
|
* * remote.c (remote_threads_extra_info): Don't query the remotePedro Alves2008-07-242-0/+11
| | | | server about info on the internally added main thread.
* merge from gccDJ Delorie2008-07-243-75/+86
|
* * nto-procfs.c (procfs_attach): Populate initial thread list.Aleksandar Ristovski2008-07-242-1/+7
| | | | (procfs_wait): Return new pid, built from the inferior status.
* * elf.c (_bfd_elf_map_sections_to_segments): Catch off by oneNick Clifton2008-07-242-1/+6
| | | | error assigning sections to segments.
* daily updateAlan Modra2008-07-241-1/+1
|
* *** empty log message ***gdbadmin2008-07-241-1/+1
|
* * configure.ac (CONFIG_INITS): Delete long obsoleted variable.Thiago Jung Bauermann2008-07-233-2/+5
| | | | * configure: Regenerate.