summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Backport:gdb-csl-symbian-6_4_50_20060226-12gdb-csl-symbian-20060226-branchcvs/gdb-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-2816-138/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-253-6/+27
| | | | | | * 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-212-2/+10
| | | | Don't check it for load events.
* gdb/testsuite/Daniel Jacobowitz2006-09-152-7/+26
| | | | | * config/symbian.exp (cyg_to_win): New. (symbian_compile): Use it. Handle c++ and incdir.
* gdb/testsuite/Daniel Jacobowitz2006-09-153-4/+15
| | | | | | * 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-153-1/+58
| | | | | | * 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-153-33/+55
| | | | | | | | * 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-302-20/+22
| | | | (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-233-3/+25
| | | | | Copy ELF files from the build tree. * gdb.asm/asm-source.exp: Use untested.
* * config/symbian.exp: New file.Daniel Jacobowitz2006-08-172-0/+239
|
* * objfiles.c (init_entry_point_info): Handle shared objectsDaniel Jacobowitz2006-08-172-0/+12
| | | | with entry points.
* gdb/Daniel Jacobowitz2006-07-113-3/+18
| | | | | | | * 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-112-2/+9
| | | | | 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-022-1/+6
| | | | calculation.
* * gdb/exec.c (exec_set_section_address): Always update theDaniel Jacobowitz2006-06-015-4/+34
| | | | | | | | | | 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-012-2/+7
|
* * gdb/remote.c (remote_hostio_parse_result): Check for strtolDaniel Jacobowitz2006-06-012-2/+9
| | | | errors.
* * gdb/doc/gdb.texinfo (Host I/O Packets): Mention explicit negativeDaniel Jacobowitz2006-06-012-4/+11
| | | | signs.
* * gdb/remote.c (remote_download_command): Correct short writeDaniel Jacobowitz2006-05-312-8/+26
| | | | handling.
* * gdb/remote.c (remote_fileio_errno_to_host)gdb-csl-symbian-6_4_50_20060226-8Daniel Jacobowitz2006-05-232-25/+15
| | | | | (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-238-36/+1326
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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-102-12/+25
| | | | (get_prev_frame_1): ... to here.
* * gdb/bsd-uthread.c (bsd_uthread_solib_loaded): Always pass 0 forDaniel Jacobowitz2006-05-096-51/+103
| | | | | | | | | | | | | | | 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-082-6/+48
| | | | (remote_wait): Handle ",nop" on DLL packets and "dll:dll" response.
* * gdb/solib-target.c (solib_target_remove_one_solib): Correct loopDaniel Jacobowitz2006-05-082-2/+6
| | | | logic.
* * arm-tdep.c (thumb_heuristic_function_start): New function.Daniel Jacobowitz2006-04-242-4/+35
| | | | | (thumb_scan_prologue): Use it. (arm_prologue_this_id): Adjust LOWEST_PC check.
* Merge from parent branch.Daniel Jacobowitz2006-04-193-8/+116
|
* * buildsym.c (start_subfile): Handle producer.Daniel Jacobowitz2006-04-176-11/+100
| | | | | | | | | | | | | | | | (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-1227-299/+2019
|
* No, really, check in the RIGHT patch!Daniel Jacobowitz2006-04-1211-366/+92
| | | | [Revert half of changes from previous commit.]
* Actually include patch, not just changelog.Daniel Jacobowitz2006-04-1213-322/+646
|
* Backport remote protocol alloca / infinite length incoming cleanups.Daniel Jacobowitz2006-04-121-0/+50
|
* Merge to branch:Daniel Jacobowitz2006-04-1141-362/+510
| | | | http://sourceware.org/ml/gdb-patches/2006-04/msg00139.html
* Backport:Daniel Jacobowitz2006-04-112-1/+8
| | | | | | 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-0351-487/+8160
|
* * gdb/config/m68k/monitor.mt (TDEPFILES): Remove unneededNathan Sidwell2006-03-312-2/+5
| | | | | 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-313-3/+10
| | | | | | (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-312-1/+3
|
* * gdb/remote.c (remote_fetch_registers): Don't warn about shortNathan Sidwell2006-03-312-1/+4
| | | | register packet if we've not set the expected value.
* missing changelogNathan Sidwell2006-03-311-0/+3
|
* * gdb/gdbserver/linux-low.c (linux_read_offsets): Remove debuggingNathan Sidwell2006-03-311-2/+0
| | | | printf.
* * gdb/gdbserver/Makefile.in (reg-cf.o, reg-cf.c): New targets.Nathan Sidwell2006-03-317-1/+130
| | | | | | | | | | | * 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-303-0/+12
| | | | | | 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-292-9/+28
| | | | | | | 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.