summaryrefslogtreecommitdiffstats
path: root/gdb/remote.c
Commit message (Collapse)AuthorAgeFilesLines
...
* 2000-10-13 Fernando Nasser <fnasser@cygnus.com>Fernando Nasser2000-10-131-2/+8
| | | | | | * remote.c (putpkt_binary): Call read_frame, not getpkt. Log message. (read_frame): Do not call error() on communication error when reading checksum, but return failure instead and log message.
* * dcache.c (dcache_info): Output a cache line's state vector so itJ.T. Conklin2000-09-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lines up under the data vector. * dcache.c (dcache_read_line): New function. (dcache_peek_byte): Use it. (dcache_alloc): Return NULL if write of reclaimed cache line fails. (dcache_peek_byte, dcache_poke_byte): Return failure if dcache_alloc() returns a NULL data block pointer. (dcache_xfer_memory): Don't force writeback unless we were writing. * monitor.c (monitor_expect): Change places where immediate_quit is set to 1 or 0 to increments and decrements respectively. This allows such changes to nest properly. * ocd.c (ocd_start_remote): Likewise. * remote-adapt.c (expect): Likewise. * remote-array.c (expect): Likewise. * remote-eb.c (expect): Likewise. * remote-e7000.c (e7000_start_remote): Likewise. * remote-mips.c (mips_expect_timeout, mips_getstring): Likewise. * remote-nrom.c (expect): Likewise. * remote-os9k.c (expect): Likewise. * remote-sds.c (sds_start_remote): Likewise. * remote-st.c (expect): Likewise. * remote-utils.c (sr_expect): Likewise. * remote.c (remote_start_remote): Likewise. * tracepoint.c (read_actions): Likewise. * remote-mips.c (mips_getstring): Balance changes to immediate_quit.
* 2000-08-20 Michael Chastain <chastain@redhat.com>Andrew Cagney2000-08-241-2/+15
| | | | | * remote.c (read_frame): Handle SERIAL_TIMEOUT while reading checksum.
* * MAINTAINERS: Add myself as dcache.c maintainer.J.T. Conklin2000-08-181-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | * remote-nindy.c (nindy_load): Invalidate dcache. * dcache.c (dcache_invd): Renamed from dcache_flush. The term flush with respect to caches usually implies that data will be written to memory. (dcache_init, dcache_xfer_memory): Updated. * monitor.c (flush_monitor_dcache, monitor_resume, monitor_load): Updated. * ocd.c (ocd_open, ocd_resume, bdm_reset_command): Updated. * remote-bug.c (bug_load, bug_resume): Updated. * remote-nindy.c (nindy_open, nindy_resume): Updated. * remote-sds.c (sds_open, sds_resume): Updated. * remote-utils.c (gr_open): Updated. * remote.c (remote_open_1, remote_resume, remote_async_resume, remote_cisco_open): Updated. * wince.c (child_create_inferior, child_resume): Updated. * monitor.c (monitor_open): Free dcache before creating a new one. * dcache.c (dcache_free): New function. * dcache.h (dcache_free): New prototype. -------------------------------------------------------------------
* * monitor.c (monitor_open): If a dcache has already been created,J.T. Conklin2000-08-101-2/+8
| | | | | | | | | | | | | | | invalidate it rather than creating another. * ocd.c (ocd_open): Likewise. * remote-nindy.c (nindy_open): Likewise. * remote-sds.c (sds_open): Likewise. * remote-utils.c (gr_open): Likewise. * remote.c (remote_open_1, remote_cisco_open): Likewise. * dcache.c (dcache_alloc): Changed to take address of line as an argument, and to invalidate cache line before returning. (dcache_peek_byte): Updated. (dcache_poke_byte): Updated. -------------------------------------------------------------------
* 2000-08-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-08-071-6/+6
| | | | | | | | | | | | | | | | | | | | * objfiles.h (SECT_OFF_BSS): Don't detect invalid sect_index_bss here, let the users of the macro do it. * symtab.h (ANOFFSET): Detect here if the section index is not initialized. * xcoffread.c (find_targ_sec): Don't treat .bss as special, because some objfiles may not have that section at all. * coffread.c (cs_to_section): Ditto. * elfread.c (elf_symtab_read): Detect an uninitialized index value. (elfstab_offset_sections): The macro ANOFFSET cannot be used as an lvalue anymore. * remote.c (get_offsets, remote_cisco_objfile_relocate): Don't use ANOFFSET as an lvalue. * objfiles.c (objfile_relocate, objfile_relocate): Don't use ANOFFSET as an lvalue. * symfile.c (default_symfile_offsets): Don't use ANOFFSET as an lvalue.
* Re-implement ``set/show remote Z-packet ...'' commands so that each ZAndrew Cagney2000-08-041-144/+392
| | | | packet sub-type can be explicitly controled.
* Use add_set_auto_boolean_cmd() to implement ``set remote ?-packet''Andrew Cagney2000-08-021-47/+18
| | | | command.
* Protoization.Kevin Buettner2000-07-301-318/+130
|
* * remote-nindy.c (nindy_fetch_word, nindy_store_word): RemovedJ.T. Conklin2000-06-191-35/+0
| | | | | | | | | | | | | | | | | | (nindy_xfer_inferior_memory): Use dcache_xfer_memory() instead of breaking transfer into chunks and using nindy_fetch_word() and nindy_store_word(). * remote-bug.c (bug_xfer_memory): Use dcache_xfer_memory() instead of breaking transfer into chunks and using gr_fetch_word() and gr_store_word(). * remote.c (remote_fetch_word, remote_store_word): Removed. * remote-utils.h (gr_fetch_word, gr_store_word): Removed. * remote-utils.c (gr_fetch_word, gr_store_word): Removed. * dcache.h (dcache_fetch, dcache_poke, dcache_poke_block): Removed. * dcache.c (dcache_fetch, dcache_poke): Removed.
* Eliminate use of PARAMS.Kevin Buettner2000-06-121-2/+1
|
* Change signature of function add_set_enum_cmd() so that it usesAndrew Cagney2000-06-081-5/+5
| | | | | constant character pointers. Update everything. As a consequence fix infrun's follow-fork plugging a small memory leak.
* Eliminate PARAMS from function pointer declarations.Kevin Buettner2000-06-041-6/+5
|
* PARAMS removal.Kevin Buettner2000-05-281-149/+144
|
* Fix signature of add_set_enum_cmd. Change VAR parameter to char**.Andrew Cagney2000-05-161-1/+1
| | | | Cleanup signature of add_set_cmd. Change VAR parameter to void*.
* Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-05-041-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | * objfiles.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS, SECT_OFF_RODATA): Define as functions of OBJFILE. Add sect_index_text, sect_index_data, sect_index_rodata, sect_index_bss to objfile structure. * gdb-stabs.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS, SECT_OFF_RODATA): Remove. * objfiles.c (allocate_objfile): Initialize sect_index_{text,data,bss,rodata} to -1, for error detection. * symfile.c (default_symfile_offsets): Initialize sect_index_{text,data,bss,rodata} from bfd information. * xcoffread.c (xcoff_symfile_offsets): Ditto. * somread.c (som_symfile_offsets): Initialize sect_index_{text,data,bss,rodata}. * coffread.c, dbxread.c, elfread.c, hp-psymtab-read.c, hp-symtab-read.c, hpread.c, mdebugread.c, minsyms.c, mipsread.c, objfiles.c, os9kread.c, pa64solib.c, partial-stab.h, remote-os9k.c, remote-vx.c, remote.c, rs6000-nat.c, somsolib.c, stabsread.c, symfile.c, xcoffread.c: Update use of SECT_OFF_{TEXT,DATA,BSS,RODATA} to depend on the current objfile. * xcoffread.c: Add new field objfile to find_targ_sec_arg.
* * remote.c (REMOTE_TRANSLATE_XFER_ADDRESS), mem-break.cAndrew Cagney2000-04-171-5/+0
| | | | | | | | | | | | | | | | | | | | | | (MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT), target.h (BREAKPOINT_FROM_PC), valops.c (COERCE_FLOAT_TO_DOUBLE), gdbarch.sh (D10V_MAKE_DADDR, D10V_MAKE_IADDR, FRAMELESS_FUNCTION_INVOCATION, REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW, REGISTER_NAME), findvar.c (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Delete default definition. Handled by gdbarch. * gdbarch.sh: Make multi-arch defaults, defaults for non- multi-arch targets. (REGISTER_NAME, COERCE_FLOAT_TO_DOUBLE, REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW, D10V_MAKE_DADDR, D10V_MAKE_IADDR, BREAKPOINT_FROM_PC, MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT, REMOTE_TRANSLATE_XFER_ADDRESS, FRAMELESS_FUNCTION_INVOCATION): Provide default/legacy implementation. (REGISTER_NAMES, CALL_DUMMY): Allow legacy definition. * gdbarch.h, gdbarch.c: Re-generate.
* Fix thread-extra-info name. qfThreadExtraInfo ->qThreadExtraInfo.Andrew Cagney2000-03-291-1/+1
|
* 2000-03-20 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2000-03-211-19/+133
| | | | | | | | | | | | * remote.c (remote_threads_extra_info): new function. Implement the extra thread info query for "info threads". (remote_threads_info): clean up a bit. (use_threadinfo_query, use_threadextra_query): new variables. Control whether GDB will use the new or old protocol for thread info queries. (remote_open_1): initialize new variables. (remote_async_open_1): ditto. (remote_cisco_open): ditto.
* 2000-02-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-02-181-2/+2
| | | | | | | * remote.c (remote_async_detach): Use target_mourn_inferior(), to make sure that all is cleaned up after we disconnect from the target. (remote_detach): Ditto.
* Replace ../include/wait.h with gdb_wait.h.Andrew Cagney2000-02-091-1/+1
|
* From JTC: Reduce default remote_timeout to two. Flush defunct code.Andrew Cagney2000-02-091-16/+0
|
* From JTC: Handle NAK from target stub.Andrew Cagney2000-02-091-0/+4
|
* import gdb-2000-02-02 snapshotJason Molenda2000-02-031-0/+6
|
* import gdb-2000-02-01 snapshotJason Molenda2000-02-021-5/+26
|
* import gdb-2000-01-10 snapshotJason Molenda2000-01-111-3/+6
|
* import gdb-1999-12-21 snapshotJason Molenda1999-12-221-8/+12
|
* import gdb-1999-12-13 snapshotJason Molenda1999-12-141-1/+4
|
* import gdb-1999-12-06 snapshotJason Molenda1999-12-071-107/+116
|
* import gdb-1999-11-08 snapshotJason Molenda1999-11-091-55/+266
|
* import gdb-1999-10-25 snapshotJason Molenda1999-10-261-6/+17
|
* import gdb-1999-10-18 snapshotJason Molenda1999-10-191-114/+115
|
* import gdb-1999-10-11 snapshotJason Molenda1999-10-121-15/+31
|
* import gdb-1999-10-04 snapshotJason Molenda1999-10-051-31/+55
|
* import gdb-1999-09-28 snapshotJason Molenda1999-09-281-68/+150
|
* import gdb-1999-09-21Jason Molenda1999-09-221-80/+58
|
* import gdb-1999-09-13 snapshotJason Molenda1999-09-131-2/+2
|
* import gdb-1999-09-08 snapshotStan Shebs1999-09-091-27/+14
|
* import gdb-1999-08-30 snapshotJason Molenda1999-08-311-2/+0
|
* import gdb-1999-08-23 snapshotJason Molenda1999-08-231-1/+8
|
* import gdb-1999-08-16 snapshotJason Molenda1999-08-161-2/+11
|
* import gdb-1999-08-09 snapshotJason Molenda1999-08-091-274/+401
|
* import gdb-1999-07-26 snapshotJason Molenda1999-07-271-40/+279
|
* import gdb-1999-07-19 snapshotJason Molenda1999-07-191-1/+1
|
* import gdb-1999-07-12 snapshotJason Molenda1999-07-121-4/+9
|
* import gdb-1999-07-07 post reformatJason Molenda1999-07-071-451/+465
|
* import gdb-1999-07-07 pre reformatJason Molenda1999-07-071-4/+3
|
* import gdb-1999-07-05 snapshotJason Molenda1999-07-051-10/+666
|
* import gdb-1999-06-28 snapshotJason Molenda1999-06-281-27/+33
|
* import gdb-1999-06-14 snapshotJason Molenda1999-06-141-55/+750
|
OpenPOWER on IntegriCloud