aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2006-02-23 * doublest.h: Conditionalize DOUBLEST on PRINTF_HAS_LONG_DOUBLEDaniel Jacobowitz7-24/+26
also. (DOUBLEST_FORMAT): Rename to DOUBLEST_PRINT_FORMAT. (DOUBLEST_SCAN_FORMAT): New. * ada-lex.l (PRINTF_HAS_LONG_DOUBLE): Remove redefinitions. (processReal): Use DOUBLEST_SCAN_FORMAT. * c-exp.y (parse_number): Likewise. * jv-exp.y (parse_number): Likewise. * objc-exp.y (parse_number): Likewise. * p-exp.y (parse_number): Likewise.
2006-02-23 * event-top.c (async_do_nothing, async_disconnect)Daniel Jacobowitz2-5/+23
(async_stop_sig, async_float_handler): Remove duplicated prototypes. (handle_sighup): Guard prototype with SIGHUP. (async_do_nothing): Guard function and prototype with SIGQUIT || SIGHUP. (async_disconnect): Guard prototype with SIGHUP. (async_stop_sig): Guard prototype with STOP_SIGNAL.
2006-02-23 * maint.c (maintenance_dump_me): Remove unnecessary prototype.Daniel Jacobowitz2-2/+4
2006-02-23 * win32-termcap.c (tputs): Return 0.Daniel Jacobowitz3-2/+10
2006-02-23 * gdb.base/default.exp: Allow ';' as a directory separator.Daniel Jacobowitz2-3/+7
2006-02-23*** empty log message ***gdbadmin1-1/+1
2006-02-22*** empty log message ***gdbadmin1-1/+1
2006-02-21* configure.ac: Introduce ---enable-werror, which adds -Werror toMark Kettenis3-2/+48
the compiler command line. Enabled by default. Disable with --disable-werror. * configure regenerate.
2006-02-21 * elfread.c (elf_symtab_read): Skip symbols which BFD considersDaniel Jacobowitz2-1/+12
special.
2006-02-212006-02-21 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs4-29/+65
* defs.h (directory_switch): Add prototype. * main.c (captured_main): Use directory_switch() instead of directory_command() to add directories from the -d switch. * source.c (directory_switch): New function. (add_path): Use buildargv() to parse spaces in filenames properly. Strip multiple trailing '/' rather than just one.
2006-02-212006-02-21 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs4-23/+21
* symfile.c (add_symbol_file_command): Use buildargv(), instead of hand decoding the command line, to allow use of quotes and spaces. (_initialize_symfile): Reorganize the help message for add-symbol-file such that 'help files' shows a better message. testsuite/ * gdb.base/help.exp (help add-symbol-file): Update.
2006-02-212006-02-21 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs6-21/+90
* symfile.c (generic_load): Use buildargv() and tilde_expand() to parse file names with quoting, spaces and tildes properly. (load_command): Quote all special characters before calling target_load() such that buildargv() doesn't break file names. (_initialize_symfile): Mention the load offset in the help for the load command. * remote-sim.c: Include readline.h. (gdbsim_load): Use buildargv and tilde_expand() to parse file names with quoting, spaces and tildes properly. * target.h (target_load): Comment the parameters better. * Makefile.in (remote_sim.o): Add readline.h dependency. testsuite/ * gdb.base/help.exp (help load): Update expected results.
2006-02-212006-02-21 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs2-120/+178
* sh-tdep.c (sh_generic_show_regs): Reformat both code and output. (sh3_show_regs, sh2e_show_regs, sh2a_show_regs): Likewise. (sh2a_nofpu_show_regs, sh3e_show_regs, sh3_dsp_show_regs): Likewise. (sh4_show_regs, sh4_nofpu_show_regs, sh_dsp_show_regs): Likewise.
2006-02-21*** empty log message ***gdbadmin1-1/+1
2006-02-20 * linux-nat.c (lin_thread_get_thread_signals): Default to __SIGRTMINDaniel Jacobowitz2-3/+14
and __SIGRTMIN + 1.
2006-02-20 * remote.c: Add an enumeration for configurable remoteDaniel Jacobowitz2-296/+181
packets. (remote_protocol_packets, set_remote_protocol_packet_cmd) (show_remote_protocol_packet_cmd): New. (remote_protocol_vcont) (set_remote_protocol_vcont_packet_cmd) (show_remote_protocol_vcont_packet_cmd) (remote_protocol_qSymbol) (set_remote_protocol_qSymbol_packet_cmd) (show_remote_protocol_qSymbol_packet_cmd) (remote_protocol_P, set_remote_protocol_P_packet_cmd) (show_remote_protocol_P_packet_cmd) (remote_protocol_Z) (set_remote_protocol_Z_software_bp_packet_cmd) (show_remote_protocol_Z_software_bp_packet_cmd) (set_remote_protocol_Z_hardware_bp_packet_cmd) (show_remote_protocol_Z_hardware_bp_packet_cmd) (set_remote_protocol_Z_write_wp_packet_cmd) (show_remote_protocol_Z_write_wp_packet_cmd) (set_remote_protocol_Z_read_wp_packet_cmd) (show_remote_protocol_Z_read_wp_packet_cmd) (set_remote_protocol_Z_access_wp_packet_cmd) (show_remote_protocol_Z_access_wp_packet_cmd) (remote_protocol_binary_download) (set_remote_protocol_binary_download_cmd) (show_remote_protocol_binary_download_cmd) (remote_protocol_qPart_auxv) (set_remote_protocol_qPart_auxv_packet_cmd) (show_remote_protocol_qPart_auxv_packet_cmd) (remote_protocol_qGetTLSAddr) (set_remote_protocol_qGetTLSAddr_packet_cmd) (show_remote_protocol_qGetTLSAddr_packet_cmd) (remote_protocol_p) (set_remote_protocol_p_packet_cmd) (show_remote_protocol_p_packet_cmd): Delete. (init_all_packet_configs): Simplify. (set_remote_protocol_Z_packet_cmd) (show_remote_protocol_Z_packet_cmd) (remote_check_symbols, remote_vcont_probe, remote_vcont_resume) (remote_fetch_registers, remote_prepare_to_store) (remote_store_registers, check_binary_download) (remote_write_bytes, remote_insert_breakpoint) (remote_remove_breakpoint, remote_insert_watchpoint) (remote_remove_watchpoint, remote_insert_hw_breakpoint) (remote_remove_hw_breakpoint, remote_xfer_partial) (remote_get_thread_local_address): Update for packet array. (_initialize_remote): Likewise; also update for common set/show commands.
2006-02-20 * symfile.c (place_section): Correct retry logic.Daniel Jacobowitz2-3/+8
2006-02-20* win32_nat.c (cygwin_load_start): New variable.Christopher Faylor3-250/+388
(cygwin_load_end): Ditto. (have_saved_context): Ditto. (saved_context): Ditto. (max_dll_name_len): Delete obsolete variable. (do_win32_fetch_inferior_registers): Use context saved from cygwin1.dll if we are in a cygwin signal rather than a windows signal. (solib_symbols_add): Detect and store beginning and end of cygwin DLL if dll being loaded is the cygwin DLL. (register_loaded_dll): Remove calculation of max_dll_name_len. (win32_clear_solib): Ditto. (handle_load_dll): Delete obsolete variable. Remove unneeded call to solib_add. (handle_output_debug_string): Detect and store signal information sent by Cygwin here. (handle_exception): Silently pass on errors in the cygwin DLL. Return -1 on first pass exception. (win32_continue): Remove spurious clearing of continue_status. (get_win32_debug_event): Deal differently first chance exception.
2006-02-20*** empty log message ***gdbadmin1-1/+1
2006-02-19Reviewed and approved by Daniel JacobowitzFred Fish3-2/+8
2006-02-19 Fred Fish <fnf@specifix.com> * gdb.base/pc-fp.exp (get_valueofx): Don't print environment specifix hex value as part of results. * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
2006-02-192006-02-19 Randolph Chung <tausq@debian.org>Randolph Chung2-1/+6
* hppa-tdep.c (hppa_in_solib_call_trampoline): Only use if no unwind entry.
2006-02-19*** empty log message ***gdbadmin1-1/+1
2006-02-18 2006-02-16 Fred Fish <fnf@specifix.com>Fred Fish3-47/+18
* eval.c (evaluate_subexp_standard): For OP_TYPE, return a non lval value zero, of the appropriate type, when avoiding side effects. * typeprint.c (ptype_eval): Remove function and declaration. (ptype_command): Simplify to just a call to whatis_exp.
2006-02-18 2006-02-17 Fred Fish <fnf@specifix.com>Fred Fish2-18/+21
* gdb.texinfo (Symbols): Update descriptions of 'whatis' and 'ptype' commands to reflect the fact that the only significant difference between them is that ptype prints the complete type description instead of just the name.
2006-02-18 2006-02-16 Fred Fish <fnf@specifix.com>Fred Fish3-0/+33
* gdb.base/whatis.c: Define variables using typedefs char_addr, ushort_addr, and slong_addr, so the typedefs are not optimized away. * gdb.base/whatis.exp: Add tests using type name for struct type, union type, enum type, and typedef.
2006-02-18*** empty log message ***gdbadmin1-1/+1
2006-02-17*** empty log message ***gdbadmin1-1/+1
2006-02-16*** empty log message ***gdbadmin1-1/+1
2006-02-152006-02-15 Paul Brook <paul@codesourcery.com>Paul Brook2-5/+10
* arm-tdep.c (arm_skip_prologue, thumb_get_next_pc, arm_get_next_pc): Load insn opcodes as unsigned values.
2006-02-15 * linux-low.c (regsets_store_inferior_registers): Read the regsetDaniel Jacobowitz2-3/+22
from the target before filling it.
2006-02-15*** empty log message ***gdbadmin1-1/+1
2006-02-14Update copyright noticeAlexandre Oliva11-18/+18
2006-02-14* doublest.h (DOUBLEST): Use long double only if we can scanAlexandre Oliva12-84/+43
it in. Undefine HAVE_LONG_DOUBLE otherwise. (DOUBLEST_FORMAT): New. * c-exp.y (parse_number): Use it. * jv-exp.y (parse_number): Likewise. * objc-exp.y (parse_number): Likewise. * p-exp.y (parse_number): Likewise. * varobj.c (free_variable): Silence type-punning warnings. * tui/tui-data.h (struct tui_list): Change type of list member. * tui/tui-data.c: Remove no-longer-needed type casts. (source_windows): Silence type-punning warnings. * tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Likewise.
2006-02-14Fix PR breakpoints/2080.Mark Kettenis2-3/+61
* i386-tdep.c (struct i386_frame_cache): Add stack_align member. (i386_analyze_stack_align): New function. (i386_analyze_prologue): Use i386_analyze_stack_align. (i386_frame_cache): Deal with stack realignment.
2006-02-14Use more functions from gdb-ui.el.Nick Roberts1-285/+40
(gdb-break-list-regexp): Match "what" field if present. (gdb-stack-list-frames-regexp): Match "from" field if present. (gdb-stack-list-frames-handler): Present output like "info breakpoints" so regexps can be shared with gdb-ui
2006-02-14*** empty log message ***Nick Roberts1-0/+8
2006-02-14*** empty log message ***gdbadmin1-1/+1
2006-02-13* gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.Mark Kettenis3-2/+58
2006-02-13gdb/testsuite/ChangeLog:Jim Blandy2-16/+12
2006-02-13 Jim Blandy <jimb@redhat.com> * gdb.base/scope.exp (test_at_main): Remove logic to handle the case where it takes two "next" commands to skip past the init call.
2006-02-13Reviewed and approved by Jim BlandyFred Fish2-2/+18
2006-02-12 Fred Fish <fnf@specifix.com> * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple to handle cases where it takes two "next" commands to skip past the init call.
2006-02-13 * gdbint.texinfo (Watchpoints): DeleteWu Zhou2-7/+5
TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT.
2006-02-13*** empty log message ***gdbadmin1-1/+1
2006-02-12*** empty log message ***gdbadmin1-1/+1
2006-02-11*** empty log message ***gdbadmin1-1/+1
2006-02-10 * NEWS: Mention native Windows support.Daniel Jacobowitz20-138/+1181
* Makefile.in (gdb_select_h, ser_tcp_h): New. (ALLDEPFILES): Add ser-mingw.c. (event-loop.o, inflow.o, mingw-hdep.o, posix-hdep.o, ser-base.o) (ser-tcp.o, ser-unix.o): Update. (ser-mingw.o): New rule. * configure: Regenerated. * configure.ac: Add ser-mingw.o for mingw32. * ser-mingw.c: New file. * event-loop.c: Include "gdb_select.h". (gdb_select): Remove, moved to mingw-hdep.c and posix-hdep.c. * ser-base.c: Include "gdb_select.h". (ser_base_wait_for): Use gdb_select. * serial.c (serial_for_fd): New function. (serial_fdopen): Try "terminal" before "hardwire". Initialize the allocated struct serial. (serial_wait_handle): New function. * serial.h (serial_for_fd, serial_wait_handle): New prototypes. (struct serial_ops) [USE_WIN32API]: Add wait_handle. * gdb_select.h: New file. * ser-tcp.c: Include "ser-tcp.h". Remove unused "ser-unix.h" include. (net_close, net_read_prim, net_write_prim): Make global. (net_open): Likewise. Pass an exception set to select. Whitespace fix. Document why we can not use gdb_select. (_initialize_ser_tcp) [USE_WIN32API]: Do not register TCP support here. * ser-tcp.h: New file. * inflow.c (gdb_has_a_terminal): Don't initialize stdin_serial here. (handle_sigio): Use gdb_select. (initialize_stdin_serial): New function. * terminal.h (initialize_stdin_serial): New prototype. * top.c (gdb_init): Call initialize_stdin_serial. * mingw-hdep.c (gdb_select): New function, moved from gdb_select in event-loop.c. Add exception condition support. Use serial_for_fd and serial_wait_handle. Fix timeout handling. * posix-hdep.c: Include "gdb_select.h". (gdb_select): New function. * remote-st.c (connect_command): Use gdb_select. * ser-unix.c: Include "gdb_select.h". (hardwire_send_break, wait_for): Use gdb_select.
2006-02-10 * Makefile.in (mingw-hdep.o, posix-hdep.o): New dependencies.Daniel Jacobowitz8-395/+364
(ALLDEPFILES): Add mingw-hdep.c and posix-hdep.c. * configure.ac: Add gdb_host_obs to CONFIG_OBS. Set gdb_host_obs to posix-hdep.o by default. * configure: Regenerated. * configure.host: Document gdb_host_obs. Add an entry for i[34567]86-*-mingw32*. * mingw-hdep.c, posix-hdep.c: New files. * utils.c (safe_strerror): Remove, moved to posix-hdep.o.
2006-02-10 * defs.h (gdb_osabi): New enum value GDB_OSABI_AIX.Joel Brobecker8-12/+103
* osabi.c (gdb_osabi_name): Add name of new value GDB_OSABI_AIX. * rs6000-tdep.h: New file. * rs6000-tdep.c: Include "rs6000-tdep.h". (rs6000_gdbarch_init): Remove enabling of software single step. Will be done in the AIX-specific initialization routine. * rs6000-aix-tdep.c: New file. * config/powerpc/aix.mt (TDEPFILES): Add rs6000-aix-tdep.o. * Makefile.in (rs6000_tdep_h): New variable. (rs6000-tdep.o): Update dependencies. (rs6000-aix-tdep.o): New rule.
2006-02-10 * aix-thread.c (_initialize_aix_thread): Use add_setshow_boolean_cmdJoel Brobecker2-1/+7
instead of add_setshow_zinteger_cmd to defined the aix-thread boolean setting.
2006-02-10Update to reflect changes in Emacs 22.0.50.Nick Roberts1-7/+9
2006-02-10*** empty log message ***Nick Roberts1-0/+4