| 1 | 2005-01-13 Michael Snyder <msnyder@redhat.com> |
| 2 | |
| 3 | * cli-out.c: Whitespace tweaks. |
| 4 | * breakpoint.c: Whitespace tweaks. |
| 5 | * cli/cli-interp.c: Tweak comments, per coding standard. |
| 6 | |
| 7 | 2005-01-13 Andrew Cagney <cagney@gnu.org> |
| 8 | |
| 9 | * breakpoint.c (gdb_breakpoint_query): Update, use |
| 10 | catch_exceptions_with_msg. |
| 11 | (do_captured_breakpoint): Add uiout parameter. |
| 12 | (gdb_breakpoint): Update, use catch_exceptions_with_msg. |
| 13 | * mi/mi-main.c (mi_cmd_thread_select): Pass mi_error_message to |
| 14 | gdb_thread_select. Return MI_CMD_ERROR instead of |
| 15 | MI_CMD_CAUGHT_ERROR. |
| 16 | (mi_cmd_thread_list_ids): Ditto for gdb_list_thread_ids. |
| 17 | (enum captured_mi_execute_command_actions): Delete |
| 18 | EXECUTE_COMMAND_DISPLAY_ERROR. |
| 19 | (captured_mi_execute_command): Delete code handling |
| 20 | MI_CMD_CAUGHT_ERROR. |
| 21 | (mi_execute_command): Don't check for |
| 22 | EXECUTE_COMMAND_DISPLAY_ERROR. |
| 23 | * mi/mi-cmd-break.c (breakpoint_notify): Update call to |
| 24 | gdb_breakpoint_query. |
| 25 | (mi_cmd_break_insert): Pass mi_error_message to gdb_breakpoint. |
| 26 | * mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_CAUGHT_ERROR. |
| 27 | * gdb.h (gdb_thread_select, gdb_list_thread_ids) |
| 28 | (gdb_breakpoint, gdb_breakpoint_query): Add error_message |
| 29 | parameter. |
| 30 | * thread.c (thread_command): Update call. |
| 31 | (gdb_thread_select, gdb_list_thread_ids): Update, call |
| 32 | catch_exceptions_with_msg. |
| 33 | |
| 34 | * mi/mi-main.c (mi_execute_command): Use catch_exception, |
| 35 | eliminate call to error_last_message. |
| 36 | (captured_mi_execute_command): Change return type to void. |
| 37 | |
| 38 | 2005-01-12 Andrew Cagney <cagney@gnu.org> |
| 39 | |
| 40 | * exceptions.c (exception_none): New variable. |
| 41 | * Makefile.in: Update dependencies. |
| 42 | * interps.c: Include "exceptions.h". |
| 43 | (interpreter_exec_cmd, interp_exec): Update to return "struct |
| 44 | exception" |
| 45 | * exceptions.h (no_exception): Declare. |
| 46 | * tui/tui-interp.c (tui_exec): Update to return "struct exception" |
| 47 | * mi/mi-interp.c: Include "exceptions.h". |
| 48 | (mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return |
| 49 | 'struct exception". |
| 50 | * cli/cli-interp.c (cli_interpreter_exec, safe_execute_command) |
| 51 | (do_captured_execute_command): Update to use catch_exception. |
| 52 | * interps.h: Include "exceptions.h". |
| 53 | (interp_exec_ftype, interp_exec): Return "struct exception". |
| 54 | |
| 55 | * exceptions.h (throw_reason): Rename throw_exception. |
| 56 | (enum errors, struct exception): Define. |
| 57 | (catch_exception_ftype): Define. |
| 58 | (catch_exception, throw_exception): Declare. |
| 59 | * exceptions.c (throw_exception): Rewrite. |
| 60 | (throw_reason): New function. |
| 61 | (struct catcher, catcher_state_machine): Replace "reason" with |
| 62 | "exception", delete "gdberrmsg". |
| 63 | (catch_exception): New function. |
| 64 | (catcher_init): Replace "gdberrmsg" parameter with "exception". |
| 65 | (catch_errors, catch_exceptions_with_msg): Re-implement passing |
| 66 | exception to catcher_init. |
| 67 | * utils.c (error_silent, error_stream_1): Use throw_reason. |
| 68 | (internal_verror, quit): Ditto. |
| 69 | * breakpoint.c (insert_catchpoint, break_command_1): Ditto. |
| 70 | * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto. |
| 71 | * remote.c (remote_open_1, interrupt_query): Ditto. |
| 72 | |
| 73 | 2005-01-12 Mark Kettenis <kettenis@gnu.org> |
| 74 | |
| 75 | * i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h", |
| 76 | "regcache.h", "gdb_assert.h" and "bsd-uthread.h". |
| 77 | (i386fbsd_jmp_buf_reg_offset): New variable. |
| 78 | (i386fbsd_supply_uthread, i386fbsd_collect_uthread): New |
| 79 | functions. |
| 80 | (i386fbsdaout_init_abi): Set supply_uthread and collect_uthread. |
| 81 | * Makefile.in (i386fbsd-tdep.o): Update dependency. |
| 82 | * config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o. |
| 83 | |
| 84 | * bsd-uthread.h: New file. |
| 85 | * bsd-uthread.c: New file. |
| 86 | * Makefile.in (bsd_uthread_h): New variable. |
| 87 | (ALLDEPFILES): Add bsd-uthread.c. |
| 88 | (bsd-uthread.o): New dependency. |
| 89 | |
| 90 | * solib.h Update copyright year. |
| 91 | (struct so_list): Forward declaration. |
| 92 | (solib_read_symbols): New prototype. |
| 93 | * solib.c (solib_read_symbols): New function. |
| 94 | (solib_add): Call solib_read_symbols to read in symbols. |
| 95 | (update_solib_list): Call observer_notify_solib_loaded. |
| 96 | |
| 97 | * i386bsd-nat.c: Update copyright year. Don't include |
| 98 | <sys/param.h> and <sys/user.h>. |
| 99 | (register_u_addr, kernel_u_size): Remove functions. |
| 100 | * config/i386/obsd.mh (NAT_FILE): Remove. |
| 101 | * config/i386/obsdaout.mh (NAT_FILE): Set to solib.h. |
| 102 | * config/i386/nm-obsd.h: Remove file. |
| 103 | |
| 104 | 2005-01-12 Andrew Cagney <cagney@gnu.org> |
| 105 | |
| 106 | * exceptions.c: Include "gdb_string.h". |
| 107 | (enum catcher_state, struct catcher): Define. |
| 108 | (current_catcher): New global, replaces catch_return; |
| 109 | (catch_return): Delete. |
| 110 | (throw_exception): Use current_catcher->buf; |
| 111 | (catcher_init, catcher_pop, catcher_state_machine): New functions. |
| 112 | (catcher): Delete. |
| 113 | (struct catch_errors_args): Delete. |
| 114 | (do_catch_errors): Delete. |
| 115 | (catch_exceptions): Replace body with call to |
| 116 | catch_exceptions_with_msg. |
| 117 | (catcher): Delete. |
| 118 | (catch_exceptions_with_msg, catch_errors): Re-implement using |
| 119 | catcher_state_machine. |
| 120 | |
| 121 | * exceptions.h (enum return_reason, RETURN_MASK) |
| 122 | (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL) |
| 123 | (return_mask, throw_exception, catch_exceptions_ftype) |
| 124 | (catch_exceptions_with_msg, catch_errors_ftype, catch_errors) |
| 125 | (catch_command_errors_ftype, catch_command_errors): Move to |
| 126 | exceptions.h. |
| 127 | * exceptions.c, exceptions.h: New files. |
| 128 | * top.c: Do not include <setjmp.h>. |
| 129 | (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return) |
| 130 | (throw_exception, catcher, catch_exceptions) |
| 131 | (catch_exceptions_with_msg, struct catch_errors_args) |
| 132 | (do_catch_errors, catch_errors, struct captured_command_args) |
| 133 | (do_captured_command, catch_command_errors): Move to exceptions.c. |
| 134 | * wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h". |
| 135 | * tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto. |
| 136 | * symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto. |
| 137 | * remote-sds.c, remote-mips.c, remote-fileio.c: Ditto. |
| 138 | * remote-e7000.c, objc-lang.c, ocd.c: Ditto. |
| 139 | * remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto. |
| 140 | * main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto. |
| 141 | * hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto. |
| 142 | * corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto. |
| 143 | * ada-valprint.c, ada-lang.c: Ditto. |
| 144 | * Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and |
| 145 | exceptions.o. Update all dependencies. |
| 146 | |
| 147 | 2005-01-11 Mark Kettenis <kettenis@gnu.org> |
| 148 | |
| 149 | * config/i386/nm-fbsd.h: Update copyright year. |
| 150 | Don't include "config/nm-bsd.h". |
| 151 | (KERNEL_U_SIZE): Remove macro. |
| 152 | (kernel_u_size): Remove prototype. |
| 153 | |
| 154 | * config/vax/nbsdaout.mh (NAT_FILE): Remove. |
| 155 | * config/vax/nm-nbsdaout.h: Remove file. |
| 156 | |
| 157 | 2005-01-10 Elena Zannoni <ezannoni@redhat.com> |
| 158 | |
| 159 | * MAINTAINERS: Remove self from sh/sh64 maintainership. |
| 160 | |
| 161 | 2005-01-10 Andrew Cagney <cagney@gnu.org> |
| 162 | |
| 163 | * MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit |
| 164 | changes to PowerPC, and Andrew Cagney as lead PowerPC GNU/Linux |
| 165 | maintainer. |
| 166 | |
| 167 | * MAINTAINERS: Hans-Peter Nilsson and Orjan Friberg can commit |
| 168 | changes to CRIS. |
| 169 | |
| 170 | * MAINTAINERS: Remove "Maintenance Only". Spell out that CAN |
| 171 | COMMIT means can approve). |
| 172 | |
| 173 | 2005-01-10 Mark Kettenis <kettenis@gnu.org> |
| 174 | |
| 175 | * vax-nat.c: Update copyright year. Include "inf-ptrace.h". |
| 176 | (vax_register_u_offset): Make statuc. |
| 177 | (_initialize_vax_nat): Construct and add target vector. |
| 178 | * config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and |
| 179 | inftarg.o. Add inf-ptrace.o. |
| 180 | * Makefile.in (vax-nat.o): Update dependencies. |
| 181 | |
| 182 | * inf-ptrace.h: Update copyright year. Sync comment with |
| 183 | inf-ptrace.c. |
| 184 | (inf_ptrace_trad_target): New prototype. |
| 185 | * inf-ptrace.c: Update copyright year. Include "regcache.h" and |
| 186 | "gdb_assert.h" |
| 187 | (inf_ptrace_target): Add comment. |
| 188 | (inf_ptrace+register_u_offset): New variable. |
| 189 | (inf_ptrace_fetch_register, inf_ptrace_fetch_registers) |
| 190 | (inf_ptrace_store_register, inf_ptrace_store_registers) |
| 191 | (inf_ptrace_trad_target): New functions. |
| 192 | * Makefile.in (inf-ptrace.o): Update dependencies. |
| 193 | |
| 194 | 2005-01-09 Mark Kettenis <kettenis@gnu.org> |
| 195 | |
| 196 | * configure.ac: Provide prerequisite headers when checking |
| 197 | <link.h>, <sys/proc.h> and <sys/user.h>. |
| 198 | * configure: Regenerate. |
| 199 | |
| 200 | 2005-01-08 Mark Kettenis <kettenis@gnu.org> |
| 201 | |
| 202 | * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set to |
| 203 | tm-ppc-eabi.h instead of the removed tm-nbsd.h. |
| 204 | |
| 205 | 2005-01-07 Mark Kettenis <kettenis@gnu.org> |
| 206 | |
| 207 | * config/ia64/tm-linux.h: Tweak comment. Update copyright year. |
| 208 | Don't include "tm-ia64.h". |
| 209 | * config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove. |
| 210 | * config/ia64/tm-ia64.h: Remove. Move contents ... |
| 211 | * ia64-tdep.h: ... here. Update copyright year. |
| 212 | |
| 213 | 2005-01-07 Andrew Cagney <cagney@gnu.org> |
| 214 | |
| 215 | * configure.ac: Rename configure.in, require autoconf 2.59. |
| 216 | * configure: Re-generate. |
| 217 | |
| 218 | * configure.tgt: Disable arm*-*-*, thumb*-*-*, strongarm*-*-*, |
| 219 | xscale-*-* and i[34567]86-*-netware* code adding rdi-share or nlm |
| 220 | to configdirs. |
| 221 | |
| 222 | * configure.in: Replace configdirs with multiple references to |
| 223 | AC_CONFIG_SUBDIRS. |
| 224 | * configure: Re-generate. |
| 225 | |
| 226 | 2005-01-05 Andreas Schwab <schwab@suse.de> |
| 227 | |
| 228 | * ia64-tdep.c: Include "osabi.h". |
| 229 | (native_find_global_pointer): Delete. |
| 230 | (ia64_find_global_pointer): Renamed from |
| 231 | generic_elf_find_global_pointer. |
| 232 | (FIND_GLOBAL_POINTER): Delete. Change all users to call |
| 233 | ia64_find_global_pointer instead. |
| 234 | (ia64_gdbarch_init): Call gdbarch_init_osabi. Remove references |
| 235 | to ia64_linux_sigcontext_register_address and |
| 236 | ia64_linux_write_pc. Don't set tdep->find_global_pointer. |
| 237 | (_initialize_ia64_tdep): Call gdbarch_register instead of |
| 238 | deprecated register_gdbarch_init. |
| 239 | (struct gdbarch_tdep): Remove find_global_pointer field and move |
| 240 | to ... |
| 241 | * ia64-tdep.h (struct gdbarch_tdep): ... here. |
| 242 | (ia64_linux_sigcontext_register_address): Remove declaration. |
| 243 | (ia64_linux_getunwind_table): Likewise. |
| 244 | (ia64_linux_write_pc): Likewise. |
| 245 | * ia64-linux-tdep.c: Include "osabi.h". |
| 246 | (ia64_linux_sigcontext_register_address): Make static. |
| 247 | (ia64_linux_write_pc): Likewise. |
| 248 | (ia64_linux_init_abi): New. |
| 249 | (_initialize_ia64_linux_tdep): New. |
| 250 | * Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on |
| 251 | $(osabi_h). |
| 252 | |
| 253 | 2005-01-05 Kevin Buettner <kevinb@redhat.com> |
| 254 | |
| 255 | * ia64-tdep.c (ia64_gdbarch_init): Eliminate dependency on |
| 256 | functions in ia64-aix-tdep.c. |
| 257 | * ia64-tdep.h (ia64_aix_sigcontext_register_address): Remove |
| 258 | function defined in ia64-aix-tdep.c. |
| 259 | * ia64-aix-tdep.c: Remove file. |
| 260 | * config/ia64/linux.mt (TDEPFILES): Remove ia64-aix-tdep.o from |
| 261 | this list. |
| 262 | * Makefile.in (ia64-aix-tdep.o): Delete. |
| 263 | |
| 264 | 2005-01-05 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr> |
| 265 | |
| 266 | Committed by Andrew Cagney. |
| 267 | * ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup. |
| 268 | * alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup. |
| 269 | * amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup. |
| 270 | * arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup. |
| 271 | * armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup. |
| 272 | * aix-thread.c (_initialize_aix_thread): Get rid of the |
| 273 | deprecated_add_show_from_set call. |
| 274 | * alpha-tdep.c (_initialize_alpha_tdep): Ditto. |
| 275 | * arm-tdep.c (_initialize_arm_tdep): Ditto. |
| 276 | * command.h (add_setshow_enum_cmd): Add arguments for returning |
| 277 | new list elements. |
| 278 | * cli/cli-decode.c (add_setshow_enum_cmd): Ditto. |
| 279 | * mips-tdep.c (_initialize_mips_tdep): Modify calls to |
| 280 | add_setshow_enum_cmd. |
| 281 | |
| 282 | 2005-01-04 Mark Kettenis <kettenis@gnu.org> |
| 283 | |
| 284 | * configure.host (ia64-*-aix*): Remove. |
| 285 | * configure.tgt (ia64-*-aix*): Remove. |
| 286 | * config/ia64/aix.mh: Remove file. |
| 287 | * config/ia64/aix.mt: Remove file. |
| 288 | * config/ia64/tm-aix.h: Remove file. |
| 289 | * ia64-aix-nat.c: Remove file. |
| 290 | * Makefile.in (ia64-aix-nat.o): Remove dependency. |
| 291 | |
| 292 | * config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o. |
| 293 | Add back inf-ptrace.o. |
| 294 | |
| 295 | 2005-01-04 Andrew Cagney <cagney@gnu.org> |
| 296 | |
| 297 | * version.in: Change format from 6.3.50_2005-01-04-cvs to |
| 298 | 6.3.50.20050104-cvs. |
| 299 | |
| 300 | 2005-01-04 Andreas Schwab <schwab@suse.de> |
| 301 | |
| 302 | * breakpoint.c (break_command_1): Always free err_msg before |
| 303 | returning when an exception was caught. |
| 304 | |
| 305 | 2005-01-01 Joel Brobecker <brobecker@gnat.com> |
| 306 | |
| 307 | * hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion |
| 308 | in register number for addil instruction. |
| 309 | |
| 310 | For older changes see ChangeLog-2004. |
| 311 | \f |
| 312 | Local Variables: |
| 313 | mode: change-log |
| 314 | left-margin: 8 |
| 315 | fill-column: 74 |
| 316 | version-control: never |
| 317 | End: |