summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Backport:gdb-csl-symbian-6_4_50_20060226-12gdb-csl-symbian-20060226-branchDaniel Jacobowitz2006-10-023-9/+13
| | | | | | | | 2006-06-15 Daniel Jacobowitz <dan@codesourcery.com> * Makefile.def (fixincludes): Correct extra_configure_flags typo. (expat): Don't install. Don't build shared libraries. * Makefile.in: Regenerated.
* gdb/Daniel Jacobowitz2006-09-281-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * buildsym.c, symtab.c: Add local hack for FILENAME_CMP testing. * utils.c (cygwin_filename_cmp): New. Backport: 2006-04-21 Frederic Riss <frederic.riss@st.com> * dwarf2read.c (dwarf2_start_subfile): Change prototype to accept compilation directory as last argument. Always pass comp_dir as second argument to start_subfile and prepend dirname to the filename when necessary. Remove now superfluous search for pre-existing subfile. (dwarf_decode_lines): Pass the compilation directory to dwarf2_start_subfile. gdb/testsuite/ * config/symbian.exp (gdb_target_symbian): Handle a running target. (gdb_load): Add return value. * gdb.base/completion.exp: Test arg rather than a. Handle very small lists of symbols. * gdb.base/list.exp: Differentiate run behavior based on use_gdb_stub. * gdb.base/maint.exp: Accept local symbols. Accept missing .data. * gdb.base/remote.exp: Update packet limits. * gdb.base/varargs.exp: Don't pass an empty list item. * lib/gdb.exp (fullname_syntax): Recognize forward slashes in DOS paths. Backport: 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com> * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not native. 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com> * gdb.stabs/exclfwd.exp: Skip the test if configure did not enable stabs testing. 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> * gdb.mi/mi-basics.exp: Add missing serial number to expected output in some mi_gdb_test statements. * gdb.mi/mi2-basics.exp: Likewise.
* gdb/testsuite/Daniel Jacobowitz2006-09-251-0/+7
| | | | | | * gdb.arch/thumb-prologue.c: Update breakpoint mechanism. Restore lr before returning for completeness. * gdb.arch/thumb-prologue.exp: Update to set a breakpoint.
* * infrun.c (handle_inferior_event): Always clear stop_stack_dummy.Daniel Jacobowitz2006-09-211-0/+6
| | | | Don't check it for load events.
* gdb/testsuite/Daniel Jacobowitz2006-09-151-0/+6
| | | | | * config/symbian.exp (cyg_to_win): New. (symbian_compile): Use it. Handle c++ and incdir.
* gdb/testsuite/Daniel Jacobowitz2006-09-151-0/+7
| | | | | | * gdb.base/commands.exp (bp_deleted_in_command_test) (temporary_breakpoint_commands): Allow run.c without a pathname. * gdb.base/ending-run.exp: Allow E32Main.
* gdb/testsuite/Daniel Jacobowitz2006-09-151-0/+7
| | | | | | * config/symbian.exp (infer_host_exec): Cope with MI. (mi_target_gdb_load): New. * lib/mi-support.exp: Use mi_target_gdb_load.
* gdb/testsuite/Daniel Jacobowitz2006-09-151-0/+9
| | | | | | | | * gdb.base/args.c (main): Add breakpoint marker. * gdb.base/args.exp: Use args_test for tests. Add new tests which really test empty arguments. (args_load): Delete. (args_test): New.
* * remote.c (remote_start_remote, extended_remote_attach_1)Daniel Jacobowitz2006-08-301-0/+6
| | | | (extended_remote_mourn_1, extended_remote_run): Use only rs->buf.
* * config/symbian.exp (symbian_compile): Fail after unknown options.gdb-csl-symbian-6_4_50_20060226-11Daniel Jacobowitz2006-08-231-0/+7
| | | | | Copy ELF files from the build tree. * gdb.asm/asm-source.exp: Use untested.
* * config/symbian.exp: New file.Daniel Jacobowitz2006-08-171-0/+5
|
* * objfiles.c (init_entry_point_info): Handle shared objectsDaniel Jacobowitz2006-08-171-0/+6
| | | | with entry points.
* gdb/Daniel Jacobowitz2006-07-111-0/+8
| | | | | | | * symfile.c (symfile_section_offset_from_segment): Correct last change. * solib.c (solib_open): Always set errno.
* * symfile.c (symfile_map_offsets_to_segments): Don't warnDaniel Jacobowitz2006-07-111-0/+7
| | | | | for empty sections. (symfile_section_offset_from_segment): Likewise.
* * gdb/remote.c (remote_hostio_write): Correct buffer lengthgdb-csl-symbian-6_4_50_20060226-10Daniel Jacobowitz2006-06-021-0/+5
| | | | calculation.
* * gdb/exec.c (exec_set_section_address): Always update theDaniel Jacobowitz2006-06-011-0/+11
| | | | | | | | | | section's address. * gdb/objfiles.c (objfile_relocate): Also relocate the target sections table. * gdb/Makefile.in (objfiles.o): Update. * gdb/remote.c (remote_xfer_partial): Fail if the target is not running.
* * gdb/remote.c (remote_download_command): Use FILEIO_O_TRUNC.gdb-csl-symbian-6_4_50_20060226-9Daniel Jacobowitz2006-06-011-0/+4
|
* * gdb/remote.c (remote_hostio_parse_result): Check for strtolDaniel Jacobowitz2006-06-011-0/+5
| | | | errors.
* * gdb/doc/gdb.texinfo (Host I/O Packets): Mention explicit negativeDaniel Jacobowitz2006-06-011-0/+5
| | | | signs.
* * gdb/remote.c (remote_download_command): Correct short writeDaniel Jacobowitz2006-05-311-0/+5
| | | | handling.
* * gdb/remote.c (remote_fileio_errno_to_host)gdb-csl-symbian-6_4_50_20060226-8Daniel Jacobowitz2006-05-231-0/+6
| | | | | (remote_hostio_error): Rename argument to errnum. (_initialize_remote): Update calls to add_packet_config_cmd.
* * gdb/remote.c: Include "gdb/fileio.h".Daniel Jacobowitz2006-05-231-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (PACKET_Fopen, PACKET_Fread, PACKET_Fwrite, PACKET_Fclose): New enums. (remote_escape_output, remote_unescape_input): New functions. (remote_write_bytes): Use remote_escape_output. (readchar): Do not mask off the high bit. (read_frame): Print binary packets correctly. (getpkt_sane): Likewise. Return the number of bytes read or -1. (remote_buffer_add_string, remote_buffer_add_bytes) (remote_buffer_add_int, remote_hostio_parse_result) (remote_hostio_send_command, remote_hostio_open) (remote_hostio_write, remote_hostio_read) (remote_hostio_close, remote_fileio_errno_to_host) (remote_hostio_error, fclose_cleanup, remote_download_command) (remote_upload_command): New functions. (_initialize_remote): Register new packets and remote-upload and remote-download commands. * gdb/doc/gdb.texinfo (File Transfer): New section. (Remote Configuration): Document Host I/O packet commands. (Host I/O Packets): New section. (Packets): Mention overloading of F prefix. * gdb/gdbserver/Makefile.in (OBS): Add hostio.o. (hostio.o): New rule. * gdb/gdbserver/hostio.c: New file. * gdb/gdbserver/remote-utils.c (putpkt_binary): New function, broken out from putpkt. (putpkt): Use it. (readchar): Do not mask the high bits. Correct the buffer type. * gdb/gdbserver/server.c (main): Leave space for a trailing zero in the packet buffer. Save the length of the received packet. Handle Host I/O requests. Optionally call putpkt_binary. * gdb/gdbserver/server.h (handle_f_hostio, putpkt_binary): New prototypes.
* * gdb/frame.c (get_prev_frame): Move check for pc == 0 ...Daniel Jacobowitz2006-05-101-0/+5
| | | | (get_prev_frame_1): ... to here.
* * gdb/bsd-uthread.c (bsd_uthread_solib_loaded): Always pass 0 forDaniel Jacobowitz2006-05-091-0/+16
| | | | | | | | | | | | | | | from_tty. * gdb/remote.c (remote_get_shared_libraries): Don't call solib_add. * gdb/solib.c: Include "exceptions.h". (solib_map_sections): Throw NOT_FOUND_ERROR if appropriate. (symbol_add_stub): Delete. (solib_read_symbols): Use TRY_CATCH. Inline symbol_add_stub. Use current from_tty, not a copy from the so_list. Don't warn a second time for a missing library. (update_solib_list): Don't save from_tty. Use TRY_CATCH. Print out a single warning for all missing libraries. * gdb/solist.h (struct so_list): Remove from_tty. * gdb/Makefile.in (solib.o): Update.
* * gdb/remote.c (remote_get_shared_libraries): Check for NULL ops.Daniel Jacobowitz2006-05-081-0/+5
| | | | (remote_wait): Handle ",nop" on DLL packets and "dll:dll" response.
* * gdb/solib-target.c (solib_target_remove_one_solib): Correct loopDaniel Jacobowitz2006-05-081-0/+5
| | | | logic.
* * arm-tdep.c (thumb_heuristic_function_start): New function.Daniel Jacobowitz2006-04-241-0/+6
| | | | | (thumb_scan_prologue): Use it. (arm_prologue_this_id): Adjust LOWEST_PC check.
* Merge from parent branch.Daniel Jacobowitz2006-04-191-0/+27
|
* * buildsym.c (start_subfile): Handle producer.Daniel Jacobowitz2006-04-171-0/+17
| | | | | | | | | | | | | | | | (record_producer): New function. * buildsym.h (struct subfile): Include producer. (record_producer): New prototype. * dwarf2-frame.c (struct dwarf2_cie): Add version. (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and armcc_cfa_offsets_reversed. (execute_cfa_program): Handle armcc_cfa_offsets_sf. (dwarf2_frame_find_quirks): New function. (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed. (decode_frame_entry_1): Record the CIE version. * dwarf2read.c (read_file_scope): Save the producer. * symtab.h (struct symtab): Rename unused version member to producer.
* Add experimental support for SymbianOS-related protocol features.Daniel Jacobowitz2006-04-121-0/+128
|
* Backport remote protocol alloca / infinite length incoming cleanups.Daniel Jacobowitz2006-04-121-0/+50
|
* Merge to branch:Daniel Jacobowitz2006-04-111-0/+115
| | | | http://sourceware.org/ml/gdb-patches/2006-04/msg00139.html
* Backport:Daniel Jacobowitz2006-04-111-0/+7
| | | | | | 2006-04-07 Daniel Jacobowitz <dan@codesourcery.com> * remote.c (remote_wait): Convert warning to error before parsing corrupt packets.
* * bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Accept moregdb-csl-symbian-20060226-branchpointDaniel Jacobowitz2006-04-112-3/+8
| | | | mapping symbols.
* Backport:Daniel Jacobowitz2006-04-112-2/+12
| | | | | | 2006-03-09 Paul Brook <paul@codesourcery.com> * bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Recognise additional mapping symbols.
* Merge XML and VFP support to this branch.gdb-csl-20060226-branch-merge-to-csl-local-1Daniel Jacobowitz2006-04-035-2/+405
|
* * gdb/config/m68k/monitor.mt (TDEPFILES): Remove unneededNathan Sidwell2006-03-311-0/+4
| | | | | monitors. (DEPRECATED_TM_FILE): Remove.
* Add ChangeLog entries to the right branch.Daniel Jacobowitz2006-03-311-0/+104
|
* * gdb/m68k-tdep.c (M68K_FPREG_SIZE): Define.Nathan Sidwell2006-03-311-0/+5
| | | | | | (REGISTER_BYTES_FP): Use it. * gdb/configure.tgt (m68k-*-uclinux*): target is linux.
* * gdb/remote.c (remote_fetch_registers): Revert bogus change.Nathan Sidwell2006-03-311-0/+2
|
* * gdb/remote.c (remote_fetch_registers): Don't warn about shortNathan Sidwell2006-03-311-0/+3
| | | | register packet if we've not set the expected value.
* missing changelogNathan Sidwell2006-03-311-0/+3
|
* * gdb/gdbserver/Makefile.in (reg-cf.o, reg-cf.c): New targets.Nathan Sidwell2006-03-311-0/+12
| | | | | | | | | | | * gdb/gdbserver/configure.srv (m68k*-*-uclinux*): New target. * gdb/gdbserver/linux-low.c (linux_create_inferior): Use vfork on mmuless systems. (linux_resume_one_process): Remove extraneous cast. (linux_read_offsets): New. (linux_target_op): Add linux_read_offsets on mmuless systems. * gdb/gdbserver/server.c (handle_query): Add qOffsets logic. * gdb/gdbserver/target.h (struct target_ops): Add read_offsets.
* * libiberty/configure.ac: Add cygpath for mingw hosts.Mark Mitchell2006-03-311-0/+7
| | | | | | * libiberty/configure: Rebuilt. * libiberty/Makefile.in: Add cygpath. * libiberty/cygpath.c: New.
* * libiberty/configure.ac: Add cygpath for mingw hosts.Mark Mitchell2006-03-314-2/+299
| | | | | | * libiberty.configure: Rebuilt. * libiberty/Makefile.in: Add cygpath. * libiberty/cygpath.c: New.
* 2006-03-30 Paul Brook <paul@codesourcery.com>Paul Brook2006-03-301-0/+6
| | | | | | Backport form mainline. * gdb/testsuite/gdb.mi/mi-until.exp: kfail broken until command. * gdb/testsuite/gdb.mi/mi2-until.exp: Ditto.
* * gdb/m68k-tdep.c (M68K_FPREG_TYPE, M68K_LONG_DOUBLE_FORMAT,Nathan Sidwell2006-03-291-0/+8
| | | | | | | M68K_RETURN_FP0): New. Set for Coldfire. (m68k_register_type, m68k_register_to_value, m68k_svr4_extract_return_value, m68k_svr4_store_return_value, m68k_gdbarch_init): Use them.
* * libiberty/pex-win32.c (pex_win32_exec_child): Close stdout/stderrMark Mitchell2006-03-271-0/+7
| | | | in parent.
* * gdb/ser-mingw.c (net_windows_state): Add mutex.Mark Mitchell2006-03-221-0/+10
| | | | | | | | | (net_windows_select_thread): Grab lock around access to read_event. (net_windows_wait_handle): Do not reset the read_event. (net_windows_open): Create a mutex. (net_windows_read_prim): New function. (_initialize_ser_windows): Use it.
* * libiberty/pex-common.c (pex_run): Close the write end of theMark Mitchell2006-03-212-0/+7
| | | | pipe after starting the child.