| 1 | 2003-06-13 Mark Kettenis <kettenis@gnu.org> |
| 2 | |
| 3 | From Kelley Cook <kelleycook@wideopenwest.com>: |
| 4 | * configure.srv: Accept i[34567]86 variants. |
| 5 | |
| 6 | 2003-06-05 Daniel Jacobowitz <drow@mvista.com> |
| 7 | |
| 8 | * linux-low.c (linux_wait_for_event): Correct comment typos. |
| 9 | (linux_resume_one_process): Call check_removed_breakpoint. |
| 10 | (linux_send_signal): New function. |
| 11 | (linux_target_ops): Add linux_send_signal. |
| 12 | * remote-utils.c (putpkt, input_interrupt): Use send_signal instead |
| 13 | of kill. |
| 14 | * target.h (struct target_ops): Add send_signal. |
| 15 | |
| 16 | 2003-05-29 Jim Blandy <jimb@redhat.com> |
| 17 | |
| 18 | * linux-low.c (usr_store_inferior_registers): Transfer buf in |
| 19 | PTRACE_XFER_TYPE-sized chunks, not int-sized chunks. Otherwise, |
| 20 | if 'int' is smaller than PTRACE_XFER_TYPE, you end up throwing |
| 21 | away part of the register's value. |
| 22 | |
| 23 | 2003-04-24 Andrew Cagney <cagney@redhat.com> |
| 24 | |
| 25 | * low-nbsd.c (fetch_inferior_registers): |
| 26 | (store_inferior_registers): |
| 27 | |
| 28 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
| 29 | |
| 30 | * linux-low.c (linux_create_inferior): Use __SIGRTMIN. |
| 31 | (linux_wait_for_event, linux_init_signals): Likewise. |
| 32 | |
| 33 | 2003-03-17 Daniel Jacobowitz <drow@mvista.com> |
| 34 | |
| 35 | * configure.in: Check for stdlib.h. |
| 36 | * configure: Regenerated. |
| 37 | * config.in: Regenerated. |
| 38 | |
| 39 | 2003-01-04 Andreas Schwab <schwab@suse.de> |
| 40 | |
| 41 | * linux-m68k-low.c (m68k_num_regs): Define to 29 instead of 31. |
| 42 | |
| 43 | 2003-01-02 Andrew Cagney <ac131313@redhat.com> |
| 44 | |
| 45 | * Makefile.in: Remove obsolete code. |
| 46 | |
| 47 | 2002-11-20 Daniel Jacobowitz <drow@mvista.com> |
| 48 | |
| 49 | * linux-s390-low.c (s390_regmap): Check GPR_SIZE instead of |
| 50 | defined(PT_FPR0_HI). |
| 51 | |
| 52 | 2002-11-17 Stuart Hughes <seh@zee2.com> |
| 53 | |
| 54 | * linux-arm-low.c (arm_num_regs): Increase. |
| 55 | (arm_regmap): Include status register. |
| 56 | |
| 57 | 2002-11-17 Daniel Jacobowitz <drow@mvista.com> |
| 58 | |
| 59 | * linux-low.c (register_addr): Remove incorrect -1 check. |
| 60 | |
| 61 | 2002-08-29 Daniel Jacobowitz <drow@mvista.com> |
| 62 | |
| 63 | * linux-low.c (linux_create_inferior): Call setpgid. Return |
| 64 | the new PID. |
| 65 | (unstopped_p, linux_signal_pid): Remove. |
| 66 | (linux_target_ops): Remove linux_signal_pid. |
| 67 | * remote-utils.c (putpkt, input_interrupt): Use signal_pid |
| 68 | global instead of target method. |
| 69 | * target.h (struct target_ops): Remove signal_pid. Update comment |
| 70 | for create_inferior. |
| 71 | * server.c (signal_pid): New variable. |
| 72 | (create_inferior): Set signal_pid. Block SIGTTOU and SIGTTIN in |
| 73 | gdbserver. Set the child to be the foreground process group. |
| 74 | (attach_inferior): Set signal_pid. |
| 75 | |
| 76 | 2002-08-23 Daniel Jacobowitz <drow@mvista.com> |
| 77 | |
| 78 | * ChangeLog: New file, with entries from gdb/ChangeLog after GDB 5.2. |
| 79 | |
| 80 | 2002-08-20 Jim Blandy <jimb@redhat.com> |
| 81 | |
| 82 | * Makefile.in (LDFLAGS): Allow the configure script to establish a |
| 83 | default for this. |
| 84 | |
| 85 | 2002-08-01 Andrew Cagney <cagney@redhat.com> |
| 86 | |
| 87 | * Makefile.in: Make chill references obsolete. |
| 88 | |
| 89 | 2002-07-24 Kevin Buettner <kevinb@redhat.com> |
| 90 | |
| 91 | * configure.in (unistd.h): Add to AC_CHECK_HEADERS list. |
| 92 | * configure: Regenerate. |
| 93 | * config.in: Regenerate. |
| 94 | |
| 95 | 2002-07-09 David O'Brien <obrien@FreeBSD.org> |
| 96 | |
| 97 | * gdbreplay.c (stdlib.h, unistd.h): Conditionaly include. |
| 98 | (perror_with_name, remote_close, remote_open, expect, play): Static. |
| 99 | |
| 100 | 2002-07-04 Michal Ludvig <mludvig@suse.cz> |
| 101 | |
| 102 | * linux-x86-64-low.c (x86_64_regmap): Make it an array of |
| 103 | byte offsets instead of an array of indexes. |
| 104 | (x86_64_store_gregset, x86_64_store_fpregset): Parameter made const. |
| 105 | |
| 106 | 2002-06-13 Daniel Jacobowitz <drow@mvista.com> |
| 107 | |
| 108 | * regcache.c: Add comment. |
| 109 | |
| 110 | 2002-06-11 Daniel Jacobowitz <drow@mvista.com> |
| 111 | |
| 112 | * thread-db.c: New file. |
| 113 | * proc-service.c: New file. |
| 114 | * acinclude.m4: New file. |
| 115 | * Makefile.in: Add GDBSERVER_LIBS, gdb_proc_service_h, |
| 116 | proc-service.o, and thread-db.o. |
| 117 | (linux-low.o): Add USE_THREAD_DB. |
| 118 | * acconfig.h: Add HAVE_PRGREGSET_T, HAVE_PRFPREGSET_T, |
| 119 | HAVE_LWPID_T, HAVE_PSADDR_T, and PRFPREGSET_T_BROKEN. |
| 120 | * aclocal.m4: Regenerated. |
| 121 | * config.in: Regenerated. |
| 122 | * configure: Regenerated. |
| 123 | * configure.in: Check for proc_service.h, sys/procfs.h, |
| 124 | thread_db.h, and linux/elf.h headrs. |
| 125 | Check for lwpid_t, psaddr_t, prgregset_t, prfpregset_t, and |
| 126 | PRFPREGSET_T_BROKEN. Introduce srv_thread_depfiles and USE_THREAD_DB. |
| 127 | Check for -lthread_db and thread support. |
| 128 | * configure.srv: Enable thread_db support for ARM, i386, MIPS, |
| 129 | PowerPC, and SuperH. |
| 130 | * i387-fp.c: Constify arguments. |
| 131 | * i387-fp.h: Likewise. |
| 132 | * inferiors.c: (struct thread_info): Renamed from |
| 133 | `struct inferior_info'. Remove PID member. Use generic inferior |
| 134 | list header. All uses updated. |
| 135 | (inferiors, signal_pid): Removed. |
| 136 | (all_threads): New variable. |
| 137 | (get_thread): Define. |
| 138 | (add_inferior_to_list): New function. |
| 139 | (for_each_inferior): New function. |
| 140 | (change_inferior_id): New function. |
| 141 | (add_inferior): Removed. |
| 142 | (remove_inferior): New function. |
| 143 | (add_thread): New function. |
| 144 | (free_one_thread): New function. |
| 145 | (remove_thread): New function. |
| 146 | (clear_inferiors): Use for_each_inferior and free_one_thread. |
| 147 | (find_inferior): New function. |
| 148 | (find_inferior_id): New function. |
| 149 | (inferior_target_data): Update argument type. |
| 150 | (set_inferior_target_data): Likewise. |
| 151 | (inferior_regcache_data): Likewise. |
| 152 | (set_inferior_regcache_data): Likewise. |
| 153 | * linux-low.c (linux_bp_reinsert): Remove. |
| 154 | (all_processes, stopping_threads, using_thrads) |
| 155 | (struct pending_signals, debug_threads, pid_of): New. |
| 156 | (inferior_pid): Replace with macro. |
| 157 | (struct inferior_linux_data): Remove. |
| 158 | (get_stop_pc, add_process): New functions. |
| 159 | (linux_create_inferior): Restore SIGRTMIN+1 before calling exec. |
| 160 | Use add_process and add_thread. |
| 161 | (linux_attach_lwp): New function, based on old linux_attach. Use |
| 162 | add_process and add_thread. Set stop_expected for new threads. |
| 163 | (linux_attach): New function. |
| 164 | (linux_kill_one_process): New function. |
| 165 | (linux_kill): Kill all LWPs. |
| 166 | (linux_thread_alive): Use find_inferior_id. |
| 167 | (check_removed_breakpoints, status_pending_p): New functions. |
| 168 | (linux_wait_for_process): Renamed from linux_wait_for_one_inferior. |
| 169 | Update. Use WNOHANG. Wait for cloned processes also. Update process |
| 170 | struct for the found process. |
| 171 | (linux_wait_for_event): New function. |
| 172 | (linux_wait): Use it. Support LWPs. |
| 173 | (send_sigstop, wait_for_sigstop, stop_all_processes) |
| 174 | (linux_resume_one_process, linux_continue_one_process): New functions. |
| 175 | (linux_resume): Support LWPs. |
| 176 | (REGISTER_RAW_SIZE): Remove. |
| 177 | (fetch_register): Use register_size instead. Call supply_register. |
| 178 | (usr_store_inferior_registers): Likewise. Call collect_register. |
| 179 | Fix recursive case. |
| 180 | (regsets_fetch_inferior_registers): Improve error message. |
| 181 | (regsets_store_inferior_registers): Add debugging. |
| 182 | (linux_look_up_symbols): Call thread_db_init if USE_THREAD_DB. |
| 183 | (unstopped_p, linux_signal_pid): New functions. |
| 184 | (linux_target_ops): Add linux_signal_pid. |
| 185 | (linux_init_signals): New function. |
| 186 | (initialize_low): Call it. Initialize using_threads. |
| 187 | * regcache.c (inferior_regcache_data): Add valid |
| 188 | flag. |
| 189 | (get_regcache): Fetch registers lazily. Add fetch argument |
| 190 | and update all callers. |
| 191 | (regcache_invalidate_one, regcache_invalidate): New |
| 192 | functions. |
| 193 | (new_register_cache): Renamed from create_register_cache. |
| 194 | Return the new regcache. |
| 195 | (free_register_cache): Change argument to a void *. |
| 196 | (registers_to_string, registers_from_string): Call get_regcache |
| 197 | with fetch flag set. |
| 198 | (register_data): Make static. Pass fetch flag to get_regcache. |
| 199 | (supply_register): Call get_regcache with fetch flag clear. |
| 200 | (collect_register): Call get_regcache with fetch flag set. |
| 201 | (collect_register_as_string): New function. |
| 202 | * regcache.h: Update. |
| 203 | * remote-utils.c (putpkt): Flush after debug output and use |
| 204 | stderr. |
| 205 | Handle input interrupts while waiting for an ACK. |
| 206 | (input_interrupt): Use signal_pid method. |
| 207 | (getpkt): Flush after debug output and use stderr. |
| 208 | (outreg): Use collect_register_as_string. |
| 209 | (new_thread_notify, dead_thread_notify): New functions. |
| 210 | (prepare_resume_reply): Check using_threads. Set thread_from_wait |
| 211 | and general_thread. |
| 212 | (look_up_one_symbol): Flush after debug output. |
| 213 | * server.c (step_thread, server_waiting): New variables. |
| 214 | (start_inferior): Don't use signal_pid. Update call to mywait. |
| 215 | (attach_inferior): Update call to mywait. |
| 216 | (handle_query): Handle qfThreadInfo and qsThreadInfo. |
| 217 | (main): Don't fetch/store registers explicitly. Use |
| 218 | set_desired_inferior. Support proposed ``Hs'' packet. Update |
| 219 | calls to mywait. |
| 220 | * server.h: Update. |
| 221 | (struct inferior_list, struct_inferior_list_entry): New. |
| 222 | * target.c (set_desired_inferior): New. |
| 223 | (write_inferior_memory): Constify. |
| 224 | (mywait): New function. |
| 225 | * target.h: Update. |
| 226 | (struct target_ops): New signal_pid method. |
| 227 | (mywait): Removed macro, added prototype. |
| 228 | |
| 229 | * linux-low.h (regset_func): Removed. |
| 230 | (regset_fill_func, regset_store_func): New. |
| 231 | (enum regset_type): New. |
| 232 | (struct regset_info): Add type field. Use new operation types. |
| 233 | (struct linux_target_ops): stop_pc renamed to get_pc. |
| 234 | Add decr_pc_after_break and breakpoint_at. |
| 235 | (get_process, get_thread_proess, get_process_thread) |
| 236 | (strut process_info, all_processes, linux_attach_lwp) |
| 237 | (thread_db_init): New. |
| 238 | |
| 239 | * linux-arm-low.c (arm_get_pc, arm_set_pc, |
| 240 | arm_breakpoint, arm_breakpoint_len, arm_breakpoint_at): New. |
| 241 | (the_low_target): Add new members. |
| 242 | * linux-i386-low.c (i386_store_gregset, i386_store_fpregset) |
| 243 | (i386_store_fpxregset): Constify. |
| 244 | (target_regsets): Add new kind identifier. |
| 245 | (i386_get_pc): Renamed from i386_stop_pc. Simplify. |
| 246 | (i386_set_pc): Add debugging. |
| 247 | (i386_breakpoint_at): New function. |
| 248 | (the_low_target): Add new members. |
| 249 | * linux-mips-low.c (mips_get_pc, mips_set_pc) |
| 250 | (mips_breakpoint, mips_breakpoint_len, mips_reinsert_addr) |
| 251 | (mips_breakpoint_at): New. |
| 252 | (the_low_target): Add new members. |
| 253 | * linux-ppc-low.c (ppc_get_pc, ppc_set_pc) |
| 254 | (ppc_breakpoint, ppc_breakpoint_len, ppc_breakpoint_at): New. |
| 255 | (the_low_target): Add new members. |
| 256 | * linux-sh-low.c (sh_get_pc, sh_set_pc) |
| 257 | (sh_breakpoint, sh_breakpoint_len, sh_breakpoint_at): New. |
| 258 | (the_low_target): Add new members. |
| 259 | * linux-x86-64-low.c (target_regsets): Add new kind |
| 260 | identifier. |
| 261 | |
| 262 | 2002-05-15 Daniel Jacobowitz <drow@mvista.com> |
| 263 | |
| 264 | From Martin Pool <mbp@samba.org>: |
| 265 | * server.c (gdbserver_usage): New function. |
| 266 | (main): Call it. |
| 267 | |
| 268 | 2002-05-14 Daniel Jacobowitz <drow@mvista.com> |
| 269 | |
| 270 | * mem-break.c (reinsert_breakpoint_by_bp): Correct typo |
| 271 | stop_at -> stop_pc. |
| 272 | |
| 273 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
| 274 | |
| 275 | * Makefile.in: Remove obsolete code. |
| 276 | |
| 277 | 2002-04-24 Michal Ludvig <mludvig@suse.cz> |
| 278 | |
| 279 | * linux-low.c (regsets_fetch_inferior_registers), |
| 280 | (regsets_store_inferior_registers): Removed cast to int from |
| 281 | ptrace() calls. |
| 282 | * regcache.h: Added declaration of struct inferior_info. |
| 283 | |
| 284 | 2002-04-20 Daniel Jacobowitz <drow@mvista.com> |
| 285 | |
| 286 | * inferiors.c (struct inferior_info): Add regcache_data. |
| 287 | (add_inferior): Call create_register_cache. |
| 288 | (clear_inferiors): Call free_register_cache. |
| 289 | (inferior_regcache_data, set_inferior_regcache_data): New functions. |
| 290 | * regcache.c (struct inferior_regcache_data): New. |
| 291 | (registers): Remove. |
| 292 | (get_regcache): New function. |
| 293 | (create_register_cache, free_register_cache): New functions. |
| 294 | (set_register_cache): Don't initialize the register cache here. |
| 295 | (registers_to_string, registers_from_string, register_data): Call |
| 296 | get_regcache. |
| 297 | * regcache.h: Add prototypes. |
| 298 | * server.h: Likewise. |
| 299 | |
| 300 | 2002-04-20 Daniel Jacobowitz <drow@mvista.com> |
| 301 | |
| 302 | * mem-break.c: New file. |
| 303 | * mem-break.h: New file. |
| 304 | * Makefile.in: Add mem-break.o rule; update server.h |
| 305 | dependencies. |
| 306 | * inferiors.c (struct inferior_info): Add target_data |
| 307 | member. |
| 308 | (clear_inferiors): Free target_data member if set. |
| 309 | (inferior_target_data, set_inferior_target_data): New functions. |
| 310 | * linux-i386-low.c (i386_breakpoint, i386_breakpoint_len) |
| 311 | (i386_stop_pc, i386_set_pc): New. Add to the_low_target. |
| 312 | * linux-low.c (linux_bp_reinsert): New variable. |
| 313 | (struct inferior_linux_data): New. |
| 314 | (linux_create_inferior): Use set_inferior_target_data. |
| 315 | (linux_attach): Likewise. Call add_inferior. |
| 316 | (linux_wait_for_one_inferior): New function. |
| 317 | (linux_wait): Call it. |
| 318 | (linux_write_memory): Add const. |
| 319 | (initialize_low): Call set_breakpoint_data. |
| 320 | * linux-low.h (struct linux_target_ops): Add breakpoint |
| 321 | handling members. |
| 322 | * server.c (attach_inferior): Remove extra add_inferior |
| 323 | call. |
| 324 | * server.h: Include mem-break.h. Update inferior.c |
| 325 | prototypes. |
| 326 | * target.c (read_inferior_memory) |
| 327 | (write_inferior_memory): New functions. |
| 328 | * target.h (read_inferior_memory) |
| 329 | (write_inferior_memory): Change macros to prototypes. |
| 330 | (struct target_ops): Update comments. Add const to write_memory |
| 331 | definition. |
| 332 | |
| 333 | 2002-04-11 Daniel Jacobowitz <drow@mvista.com> |
| 334 | |
| 335 | * linux-low.c (usr_store_inferior_registers): Support |
| 336 | registers which are allowed to fail to store. |
| 337 | * linux-low.h (linux_target_ops): Likewise. |
| 338 | * linux-ppc-low.c (ppc_regmap): Support FPSCR. |
| 339 | (ppc_cannot_store_register): FPSCR may not be storable. |
| 340 | |
| 341 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> |
| 342 | |
| 343 | * server.h: Include <string.h> if HAVE_STRING_H. |
| 344 | * ChangeLog: Correct paths in last ChangeLog entry. |
| 345 | |
| 346 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> |
| 347 | |
| 348 | * linux-low.h: Remove obsolete prototypes. |
| 349 | (struct linux_target_ops): New. |
| 350 | (extern the_low_target): New. |
| 351 | * linux-low.c (num_regs, regmap): Remove declarations. |
| 352 | (register_addr): Use the_low_target explicitly. |
| 353 | (fetch_register): Likewise. |
| 354 | (usr_fetch_inferior_registers): Likewise. |
| 355 | (usr_store_inferior_registers): Likewise. |
| 356 | * linux-arm-low.c (num_regs): Remove. |
| 357 | (arm_num_regs): Define. |
| 358 | (arm_regmap): Renamed from regmap, made static. |
| 359 | (arm_cannot_fetch_register): Renamed from cannot_fetch_register, |
| 360 | made static. |
| 361 | (arm_cannot_store_register): Renamed from cannot_store_register, |
| 362 | made static. |
| 363 | (the_low_target): New. |
| 364 | * linux-i386-low.c (num_regs): Remove. |
| 365 | (i386_num_regs): Define. |
| 366 | (i386_regmap): Renamed from regmap, made static. |
| 367 | (i386_cannot_fetch_register): Renamed from cannot_fetch_register, |
| 368 | made static. |
| 369 | (i386_cannot_store_register): Renamed from cannot_store_register, |
| 370 | made static. |
| 371 | (the_low_target): New. |
| 372 | * linux-ia64-low.c (num_regs): Remove. |
| 373 | (ia64_num_regs): Define. |
| 374 | (ia64_regmap): Renamed from regmap, made static. |
| 375 | (ia64_cannot_fetch_register): Renamed from cannot_fetch_register, |
| 376 | made static. |
| 377 | (ia64_cannot_store_register): Renamed from cannot_store_register, |
| 378 | made static. |
| 379 | (the_low_target): New. |
| 380 | * linux-m68k-low.c (num_regs): Remove. |
| 381 | (m68k_num_regs): Define. |
| 382 | (m68k_regmap): Renamed from regmap, made static. |
| 383 | (m68k_cannot_fetch_register): Renamed from cannot_fetch_register, |
| 384 | made static. |
| 385 | (m68k_cannot_store_register): Renamed from cannot_store_register, |
| 386 | made static. |
| 387 | (the_low_target): New. |
| 388 | * linux-mips-low.c (num_regs): Remove. |
| 389 | (mips_num_regs): Define. |
| 390 | (mips_regmap): Renamed from regmap, made static. |
| 391 | (mips_cannot_fetch_register): Renamed from cannot_fetch_register, |
| 392 | made static. |
| 393 | (mips_cannot_store_register): Renamed from cannot_store_register, |
| 394 | made static. |
| 395 | (the_low_target): New. |
| 396 | * linux-ppc-low.c (num_regs): Remove. |
| 397 | (ppc_num_regs): Define. |
| 398 | (ppc_regmap): Renamed from regmap, made static. |
| 399 | (ppc_cannot_fetch_register): Renamed from cannot_fetch_register, |
| 400 | made static. |
| 401 | (ppc_cannot_store_register): Renamed from cannot_store_register, |
| 402 | made static. |
| 403 | (the_low_target): New. |
| 404 | * linux-s390-low.c (num_regs): Remove. |
| 405 | (s390_num_regs): Define. |
| 406 | (s390_regmap): Renamed from regmap, made static. |
| 407 | (s390_cannot_fetch_register): Renamed from cannot_fetch_register, |
| 408 | made static. |
| 409 | (s390_cannot_store_register): Renamed from cannot_store_register, |
| 410 | made static. |
| 411 | (the_low_target): New. |
| 412 | * linux-sh-low.c (num_regs): Remove. |
| 413 | (sh_num_regs): Define. |
| 414 | (sh_regmap): Renamed from regmap, made static. |
| 415 | (sh_cannot_fetch_register): Renamed from cannot_fetch_register, |
| 416 | made static. |
| 417 | (sh_cannot_store_register): Renamed from cannot_store_register, |
| 418 | made static. |
| 419 | (the_low_target): New. |
| 420 | * linux-x86-64-low.c (x86_64_regmap): Renamed from regmap. |
| 421 | (the_low_target): New. |
| 422 | |
| 423 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> |
| 424 | |
| 425 | * Makefile.in: Add stamp-h target. |
| 426 | * configure.in: Create stamp-h. |
| 427 | * configure: Regenerated. |
| 428 | |
| 429 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> |
| 430 | |
| 431 | * inferiors.c: New file. |
| 432 | * target.c: New file. |
| 433 | * target.h: New file. |
| 434 | * Makefile.in: Add target.o and inferiors.o. Update |
| 435 | dependencies. |
| 436 | * linux-low.c (inferior_pid): New static variable, |
| 437 | moved from server.c. |
| 438 | (linux_create_inferior): Renamed from create_inferior. |
| 439 | Call add_inferior. Return 0 on success instead of a PID. |
| 440 | (linux_attach): Renamed from myattach. |
| 441 | (linux_kill): Renamed from kill_inferior. Call clear_inferiors (). |
| 442 | (linux_thread_alive): Renamed from mythread_alive. |
| 443 | (linux_wait): Renamed from mywait. Call clear_inferiors () if the |
| 444 | child dies. |
| 445 | (linux_resume): Renamed from myresume. Add missing ``return 0''. |
| 446 | (regsets_store_inferior_registers): Correct error message. |
| 447 | Add missing ``return 0''. |
| 448 | (linux_fetch_registers): Renamed from fetch_inferior_registers. |
| 449 | (linux_store_registers): Renamed from store_inferior_registers. |
| 450 | (linux_read_memory): Renamed from read_inferior_memory. |
| 451 | (linux_write_memory): Renamed from write_inferior_memory. |
| 452 | (linux_target_ops): New structure. |
| 453 | (initialize_low): Call set_target_ops (). |
| 454 | * remote-utils.c (unhexify): New function. |
| 455 | (hexify): New function. |
| 456 | (input_interrupt): Send signals to ``signal_pid''. |
| 457 | * server.c (inferior_pid): Remove. |
| 458 | (start_inferior): Update create_inferior call. |
| 459 | (attach_inferior): Call add_inferior. |
| 460 | (handle_query): New function. |
| 461 | (main): Call handle_query for `q' packets. |
| 462 | * server.h: Include "target.h". Remove obsolete prototypes. |
| 463 | Add prototypes for "inferiors.c", "target.c", hexify, and unhexify. |
| 464 | |
| 465 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> |
| 466 | |
| 467 | * Makefile.in: Add WARN_CFLAGS. Update configury |
| 468 | dependencies. |
| 469 | * configure.in: Check for <string.h> |
| 470 | * configure: Regenerate. |
| 471 | * config.in: Regenerate. |
| 472 | * gdbreplay.c: Include needed system headers. |
| 473 | (remote_open): Remove strchr prototype. |
| 474 | * linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS. |
| 475 | * regcache.c (supply_register): Change buf argument to const void *. |
| 476 | (supply_register_by_name): Likewise. |
| 477 | (collect_register): Change buf argument to void *. |
| 478 | (collect_register_by_name): Likewise. |
| 479 | * regcache.h: Add missing prototypes. |
| 480 | * remote-utils.c: Include <arpa/inet.h> for inet_ntoa. |
| 481 | * server.c (handle_query): New function. |
| 482 | (attached): New static variable, moved out of main. |
| 483 | (main): Quiet longjmp clobber warnings. |
| 484 | * server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes. |
| 485 | * utils.c (error): Remove NORETURN. |
| 486 | (fatal): Likewise. |
| 487 | |