01e4156ecd385e4ef259e3d89f521d2c90edf73f
[external/binutils.git] / gdb / ChangeLog
1 2009-02-06  Jim Blandy  <jimb@codesourcery.com>
2             Daniel Jacobowitz  <dan@codesourcery.com>
3             Vladimir Prus  <vladimir@codesourcery.com>
4             Pedro Alves  <pedro@codesourcery.com>
5
6         * defs.h (enum lval_type): New value: lval_computed.
7         * value.h (struct lval_funcs): New type.
8         (allocate_computed_value, value_computed_funcs)
9         (value_computed_closure): New declarations.
10         * value.c (struct value): Add a structure to the location union
11         for computed lvalues, containing 'funcs' and 'closure' members.
12         (allocate_computed_value, value_computed_funcs)
13         (value_computed_closure): New functions.
14         (value_free): For computed lvalues, call the closure's
15         'free_closure' function before freeing the value itself.
16         (value_copy): If we're copying an lval_computed value, call the
17         closure's 'copy_closure' function.
18         (set_value_component_location): If the original value is a
19         computed lvalue, then call the closure's 'copy_closure' function.
20         (value_of_internalvar): If an internal variable's value is a
21         computed lvalue, make retrieving its value produce an equivalent
22         computed lvalue.
23         * valops.c (value_fetch_lazy): Unlazy computed lvalues by calling
24         their read function.
25         (value_assign): Assign to computed lvalues by calling their write
26         function.
27
28 2009-02-06  Pedro Alves  <pedro@codesourcery.com>
29
30         * linux-nat.c (linux_nat_wait): Adjust.
31         (linux_nat_pid_to_str): Adjust.  Remove call to thread_db_init.
32         * linux-nat.h (thread_db_init): Delete declaration.
33         * linux-thread-db.c (target_beneath): Delete.
34         (thread_db_init): Delete.
35         (thread_db_detach): Use find_target_beneath.
36         (thread_db_wait): Adjust interface.  Use find_target_beneath.
37         (thread_db_mourn_inferior): Use find_target_beneath.
38         (thread_db_can_async_p, thread_db_is_async_p, thread_db_async)
39         (thread_db_async_mask): Delete.
40         (thread_db_pid_to_str): Adjust interface.  Use
41         find_target_beneath.
42         (thread_db_get_thread_local_address): Adjust interface.  Use
43         find_target_beneath.
44         (init_thread_db_ops): Delete references to delete functions.
45         * target.c (update_current_target): Don't inherit or default
46         to_wait.  Don't inherit to_pid_to_str and
47         to_get_thread_local_address.
48         (target_translate_tls_address): Look for a pushed target that
49         implements to_get_thread_local_address, and use it instead of
50         checking for target_get_thread_local_address_p.
51         (target_wait, target_pid_to_str): Reimplement as functions.
52         (dummy_pid_to_str): New.
53         (init_dummy_target): Register it.
54         (debug_to_wait): Delete.
55         * target.h (struct target_ops): Make to_wait, to_pid_to_str and
56         to_get_thread_local_address accept a pointer to struct target_ops.
57         (target_wait): Delete macro, and declare as function.
58         (target_pid_to_str): Likewise.
59         (target_get_thread_local_address)
60         (target_get_thread_local_address_p): Delete.
61         (noprocess): Add NORETURN and ATTR_NORETURN tags.
62         * inf-ptrace.c (inf_ptrace_wait): Adjust.
63         (inf_ptrace_pid_to_str): New.
64         (inf_ptrace_target): Use inf_ptrace_pid_to_str.
65         * aix-thread.c (aix_thread_wait, aix_thread_pid_to_str): Adjust.
66         * bsd-kvm.c (bsd_kvm_pid_to_str): Adjust.
67         * bsd-uthread.c (bsd_uthread_wait, bsd_uthread_pid_to_str):
68         Adjust.
69         * corelow.c (core_pid_to_str): Adjust.
70         * darwin-nat.c (darwin_wait, darwin_pid_to_str): Adjust.
71         * dec-thread.c (dec_thread_wait, dec_thread_pid_to_str): Adjust.
72         * gnu-nat.c (gnu_wait, gnu_pid_to_str): Adjust.
73         * go32-nat.c (go32_wait, go32_pid_to_str): Adjust.
74         * hpux-thread.c (hpux_thread_wait): Adjust.
75         * inf-ttrace.c (inf_ttrace_wait, inf_ttrace_pid_to_str): Adjust.
76         * monitor.c (monitor_wait, monitor_pid_to_str): Adjust.
77         * nto-procfs.c (procfs_wait, procfs_pid_to_str): Adjust.
78         * procfs.c (procfs_pid_to_str): Adjust.
79         * remote-m32r-sdi.c (m32r_wait, m32r_pid_to_str): Adjust.
80         * remote-mips.c (mips_wait): Adjust.
81         * remote-sim.c (gdbsim_wait, gdbsim_pid_to_str): Adjust.
82         * remote.c (remote_wait, remote_pid_to_str)
83         (remote_get_thread_local_address): Adjust.
84         * rs6000-nat.c (rs6000_wait): Adjust.
85         * sol-thread.c (procfs_pid_to_str): Adjust declaration.
86         (sol_thread_wait, solaris_pid_to_str): Adjust.
87         * spu-linux-nat.c (spu_child_wait): Adjust.
88         * windows-nat.c (windows_wait, windows_pid_to_str): Adjust.
89
90 2009-02-06  Tom Tromey  <tromey@redhat.com>
91
92         * Makefile.in (SUBDIR_PYTHON_OBS): Add python-cmd.o.
93         (SUBDIR_PYTHON_SRCS): Add python-cmd.c.
94         (python-cmd.o): New target.
95         * cli/cli-decode.c (set_cmd_completer): Add self parameter to
96         completer prototype.
97         (add_cmd): Initialize destroyer member of cmd_list_element. Use
98         make_symbol_completion_list_fn as completer.
99         (delete_cmd): Call destroyer if one is set.
100         * cli/cli-decode.h (cmd_list_element): Add cmd parameter to
101         completer member.  Add destroyer member.
102         (set_cmd_completer): Add self parameter to
103         completer prototype.
104         * command.h (set_cmd_completer): Add cmd parameter to
105         completer prototype.
106         * completer.c (noop_completer, filename_completer,
107         location_completer, expression_completer, command_completer): Adapt
108         to new completer prototype.
109         (complete_line_internal): Pass new parameter to completer function.
110         * completer.h (noop_completer, filename_completer,
111         location_completer, expression_completer, command_completer): Adapt
112         prototypes to new completer prototype.
113         * interps.c (interpreter_completer): Adapt to new completer
114         prototype.
115         * python/python-cmd.c: New file.
116         * python/python-internal.h (gdbpy_initialize_commands): Add
117         prototype.
118         (gdbpy_doc_cst): Add forward declaration.
119         * python/python.c (gdbpy_doc_cst): Declare.
120         (_initialize_python): Call gdbpy_initialize_commands.  Initialize
121         gdbpy_doc_cst.
122         * symtab.c (make_symbol_completion_list_fn): New function.
123         * symtab.h (make_symbol_completion_list_fn): Add prototype.
124
125 2009-02-06  Pedro Alves  <pedro@codesourcery.com>
126
127         * target.c (target_get_osdata): Check for equal or higher than
128         process_stratum, not dummy_stratum.
129
130 2009-02-06  Pedro Alves  <pedro@codesourcery.com>
131
132         * remote.c (extended_remote_can_run): Delete.
133         (init_remote_ops): Don't register it.
134         * target.c (target_get_osdata): Don't check for target_can_run.
135         Instead any target that has already been pushed, otherwise
136         fallback to the default run target.
137
138 2009-02-06  Pedro Alves  <pedro@codesourcery.com>
139
140         * target.c (target_create_inferior, target_detach)
141         (target_mourn_inferior, target_attach, target_close): Do target
142         debug output.
143         (debug_to_attach, debug_to_detach, debug_to_create_inferior)
144         (debug_to_mourn_inferior, debug_to_close): Delete.
145         (setup_target_debug): Adjust.
146
147 2009-02-05  Pedro Alves  <pedro@codesourcery.com>
148
149         * target.h (target_stopped_data_address_p): Delete declaration,
150         and don't define as macro.
151         * target.c (target_stopped_data_address_p): Delete.
152
153 2009-02-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
154             Tom Tromey  <tromey@redhat.com>
155
156         * python/python-utils.c (target_string_to_unicode): New function.
157         * python/python-internal.h (target_string_to_unicode): New prototype.
158         * python/python-value.c (valpy_string): New function.
159         (value_object_methods): Add `string' entry.
160
161 2009-02-05  Pedro Alves  <pedro@codesourcery.com>
162
163         * target.h (target_tid_to_str): Delete.
164         * thread.c (print_thread_info, thread_apply_all_command)
165         (thread_apply_command, thread_command, do_captured_thread_select):
166         Use target_pid_to_str instead of target_tid_to_str.
167         * linux-fork.c (delete_fork_command): Likewise.
168
169 2009-02-05  Pedro Alves  <pedro@codesourcery.com>
170
171         * frame.c (has_stack_frames): Make public.
172         (get_prev_frame): Don't allow a NULL this_frame anymore.
173         * frame.h (has_stack_frames): Declare.
174         * varobj.c (find_frame_addr_in_frame_chain): Don't ever pass NULL
175         to get_prev_frame, instead start at get_current_frame.
176         (varobj_create): Check has_stack_frames before getting any frame;
177         eliminate one usage of deprecated_safe_get_selected_frame.
178
179 2009-02-05  Tom Tromey  <tromey@redhat.com>
180             Thiago Jung Bauermann  <bauerman@br.ibm.com>
181
182         * python/python.c (GdbMethods): Move to bottom of file.
183         (get_parameter, execute_gdb_command, gdbpy_write,
184         gdbpy_flush): Remove forward declarations.
185         (eval_python_from_control_command): Fix error checking of function
186         PyRun_SimpleString.  Fix error string.
187         (python_command): Likewise.
188         (execute_gdb_command): Added from_tty argument.
189
190 2009-02-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
191
192         * language.h (language_dfn): Add la_get_string member.
193         (LA_GET_STRING): New macro.
194         (default_get_string): New prototype.
195         * language.c (default_get_string): New function.
196         (unknown_language_defn, auto_language_defn, local_language_defn): Use
197         default_get_string for la_get_string.
198         * c-lang.c (c_get_string): New function.
199         (c_language_defn, cplus_language_defn, asm_language_defn): Use
200         c_get_string for la_get_string.
201         (minimal_language_defn): Likewise
202         * ada-lang.c (ada_language_defn): Likewise.
203         * f-lang.c (f_language_defn): Use default_get_string for
204         la_get_string.
205         * jv-lang.c (java_language_defn): Likewise.
206         * m2-lang.c (m2_language_defn): Likewise.
207         * objc-lang.c (objc_language_defn): Likewise.
208         * p-lang.c (p_language_defn): Likewise.
209         * scm-lang.c (scm_language_defn): Likewise.
210         * typeprint.c (type_to_string): New function.
211         * value.h (type_to_string): New prototype.
212         * valprint.c (val_print_string): Factor out code for reading string
213         from the inferior into its own function.  Put 2 spaces after period
214         in comments.
215         (read_string): New function.
216         * valprint.h (read_string): New prototype.
217
218 2009-01-07  Pierre Muller  <muller@ics.u-strasbg.fr>
219             Tom Tromey  <tromey@redhat.com>
220
221         PR breakpoints/8079:
222         * breakpoint.c (print_one_breakpoint): Use exp_string field
223         to display expression of watchpoints.
224         (mention): Likewise.
225         (watch_command_1): Remove trailing whitespace from expression.
226         * printcmd.c (struct display) <exp_string>: New field.
227         (display_command): Set exp_string.
228         (free_display): Free exp_string.
229         (clear_displays): Use free_display.
230         (do_one_display): Print exp_string.
231         (display_info): Likewise.
232
233 2009-02-04  Tom Tromey  <tromey@redhat.com>
234             Thiago Jung Bauermann  <bauerman@br.ibm.com>
235             Phil Muldoon  <pmuldoon@redhat.com>
236
237         * python/python-internal.h (gdbpy_get_value_from_history): Rename
238         prototype to gdbpy_history.
239         (gdbpy_is_string): Declare.
240         (python_string_to_host_string): Declare.
241         * python/python-utils.c (gdbpy_is_string): New function.
242         (unicode_to_encoded_string): New function.
243         (unicode_to_target_string): Use it.
244         (python_string_to_host_string): New function.
245         * python/python-value.c (valpy_address): New function.
246         (convert_value_from_python): Use gdbpy_is_string.  Change to throw
247         Python exception instead of a GDB exception on error.  Properly check
248         Python booleans.
249         (valpy_getitem): Convert field name to host string.  Handle array
250         accesses.  Adapt to new behaviour of convert_value_from_python.
251         (valpy_new): Adapt to new behaviour of convert_value_from_python.
252         (enum valpy_opcode) <VALPY_LSH, VALPY_RSH, VALPY_BITAND,
253         VALPY_BITXOR, VALPY_BITOR>: New constants.
254         (valpy_binop): Update.  Adapt to new behaviour of
255         convert_value_from_python.
256         (valpy_invert): New function.
257         (valpy_lsh): Likewise.
258         (valpy_rsh): Likewise.
259         (valpy_and): Likewise.
260         (valpy_or): Likewise.
261         (valpy_xor): Likewise.
262         (valpy_richcompare): Call convert_value_from_python instead of doing
263         conversions itself.
264         (is_intlike, valpy_int, valpy_long, valpy_float): New functions.
265         (gdbpy_get_value_from_history): Rename
266         function to gdbpy_history.
267         (gdbpy_initialize_values): Don't set tp_new.
268         (value_object_type): Add valpy_new.
269         (value_object_methods): Add `address' entry.
270         (value_object_as_number): Update for new methods.
271         * python/python.c (GdbMethods): Rename entry from
272         `get_value_from_history' to `history'.
273
274 2009-02-04  Jerome Guitton  <guitton@adacore.com>
275
276         * ada-lang.c (ada_template_to_fixed_record_type_1): Check size
277         of type to guard against a crash.
278
279 2009-02-04  Jerome Guitton  <guitton@adacore.com>
280
281         * value.c (value_from_contents_and_address): Always return
282         a lval_memory value, even if address is null.
283
284 2009-02-04  Tristan Gingold  <gingold@adacore.com>
285
286         * i386-darwin-tdep.c (i386_darwin_sigcontext_addr): New function.
287         (amd64_darwin_sigcontext_addr): Ditto.
288         (darwin_dwarf_signal_frame_p): Ditto.
289         (i386_darwin_init_abi): Handle signal frames, use the const for
290         sc_num_regs.
291         (x86_darwin_init_abi_64): Ditto.
292
293 2009-02-04  Tristan Gingold  <gingold@adacore.com>
294
295         * i386-tdep.c (i386_sigtramp_p): Make it public.
296         * i386-tdep.h (i386_sigtramp_p): Declare.
297
298 2009-02-04  Tristan Gingold  <gingold@adacore.com>
299
300         * machoread.c (macho_symfile_read): Read minsymtab also from
301         shared libraries.
302         (macho_symfile_read): Try to read dwarf2 frame info from main
303         object file, but not from OSO files.
304         (macho_symfile_offsets): Update section names for latest BFD
305         changes.
306         * i386-darwin-tdep.c (i386_darwin_init_abi): Call set_solib_ops.
307         (x86_darwin_init_abi_64): Ditto.
308         * solib-darwin.c: New file.
309         * solib-darwin.h: New file.
310         * configure.tgt: Add solib.o solib-darwin.o for Darwin.
311
312 2009-02-04  Tristan Gingold  <gingold@adacore.com>
313
314         * solist.h (struct target_so_ops): Comment fallback behavior for
315         operation same.
316
317 2009-02-03  Tom Tromey  <tromey@redhat.com>
318
319         * completer.c (add_struct_fields): Check type_name against NULL
320         before use.
321
322 2009-02-03  Joel Brobecker  <brobecker@adacore.com>
323
324         * MAINTAINERS: Update Elena's email address.
325
326 2009-02-02  Joel Brobecker  <brobecker@adacore.com>
327
328         * breakpoint (update_watchpoint): Minor comment adjustment.
329
330 2009-02-02  Tom Tromey  <tromey@redhat.com>
331
332         PR gdb/9594:
333         * completer.c (count_struct_fields): Count method names.
334         (add_struct_fields): Add matching method names.
335
336 2009-02-02  Doug Evans  <dje@google.com>
337
338         * configure.ac (gdbkt): Check both no_tcl/no_tk first, before
339         doing any further tcl/tk configury.  Don't configure gdbtk if
340         tcl or tk check fails.
341         * aclocal.m4: Regenerate.
342         * configure: Regenerate.
343
344 2009-02-02  Tom Tromey  <tromey@redhat.com>
345
346         PR exp/9059:
347         * valops.c (find_overload_match): Follow typedefs before taking
348         address of object argument.
349
350 2009-02-01  Doug Evans  <dje@google.com>
351
352         * target.h (target_waitstatus_to_string): Declare.
353         * target.c (target_waitstatus_to_string): New function.  Copied from
354         debug_to_wait.  Add missing entries for TARGET_WAITKIND_SYSCALL_ENTRY,
355         TARGET_WAITKIND_SYSCALL_RETURN, TARGET_WAITKIND_IGNORE,
356         TARGET_WAITKIND_NO_HISTORY.
357         (debug_to_wait): Call it.
358         * infrun.c (wait_for_inferior): If debug_infrun, print result of
359         target_wait.
360         (fetch_inferior_event): Ditto.
361
362 2009-01-30  Tom Tromey  <tromey@redhat.com>
363
364         * Makefile.in (HFILES_NO_SRCDIR): Remove i386-cygwin-tdep.h.
365
366 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
367
368         PR 8145.
369         * thread.c (do_captured_list_thread_ids): Report the current
370         thread id.
371
372 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
373
374         * breakpoint.c (create_breakpoint, create_breakpoints)
375         (break_command_really, set_breakpoint): New parameter enabled.
376         (create_breakpoint, break_command_really): Make breakpoint
377         disabled if so requested.
378         * breakpoint.h (set_breakpoint): New parameter enabled.
379         * mi/mi-cmd-break.c (mi_cmd_break_insert): Handle the -d option.
380
381 2009-01-28  Doug Evans  <dje@google.com>
382
383         * amd64-tdep.h (amd64_displaced_step_copy_insn): Declare.
384         (amd64_displaced_step_fixup): Declare.
385         * amd64-tdep.c: #include opcode/i386.h, dis-asm.h.
386         (amd64_arch_regmap): Move out of amd64_analyze_stack_align
387         and make static global.
388         (amd64_arch_regmap_len): New static global.
389         (amd64_arch_reg_to_regnum): New function.
390         (struct amd64_insn): New struct.
391         (struct displaced_step_closure): New struct.
392         (onebyte_has_modrm,twobyte_has_modrm): New static globals.
393         (rex_prefix_p,skip_prefixes)
394         (amd64_insn_length_fprintf,amd64_insn_length_init_dis)
395         (amd64_insn_length,amd64_get_unused_input_int_reg)
396         (amd64_get_insn_details,fixup_riprel,fixup_displaced_copy)
397         (amd64_displaced_step_copy_insn)
398         (amd64_absolute_jmp_p,amd64_absolute_call_p,amd64_ret_p)
399         (amd64_call_p,amd64_breakpoint_p,amd64_syscall_p)
400         (amd64_displaced_step_fixup): New functions.
401         * amd64-linux-tdep.c: #include arch-utils.h.
402         (amd64_linux_init_abi): Install displaced stepping support.
403
404 2009-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
405             Jerome Guitton  <guitton@adacore.com>
406
407         * configure, config.in: Regenerated.
408         * configure.ac: Add --with-system-gdbinit.
409         * main.c (get_init_files): New.
410         (captured_main): Use get_init_files.  Load system gdbinit before
411         $HOME/.gdbinit.
412         (print_gdb_help): Print location of init files.
413
414 2009-01-28  Pedro Alves  <pedro@codesourcery.com>
415
416         * corefile.c (generic_search): Delete disabled code.
417         * gdbcore.h (generic_search): Delete declaration.
418
419 2009-01-26  Pedro Alves  <pedro@codesourcery.com>
420
421         * linux-nat.c (linux_child_follow_fork): Copy attach_flag from the
422         parent to the child.
423         * inf-ttrace.c (inf_ttrace_follow_fork): Likewise.
424         * inf-ptrace.c (inf_ptrace_follow_fork): Likewise.  Use
425         remove_breakpoints to remove breakpoints from the parent.
426
427 2009-01-26  Pedro Alves  <pedro@codesourcery.com>
428
429         PR backtrace/9458, PR backtrace/8864:
430         * frame.c (create_new_frame): Update the frame's cached PC before
431         finding its unwinder.  Use frame_id_build to build the new frame's
432         id.
433         * stack.c (parse_frame_specification_1): Correct setting ``addrs''
434         array values from the ``args'' array values.
435
436 2009-01-26  Pedro Alves  <pedro@codesourcery.com>
437
438         * gdbtypes.c (alloc_type, alloc_type_instance, create_range_type)
439         (create_array_type, create_set_type, init_flags_type)
440         (copy_type_recursive): Replace pairs of calls to XALLOC and memset
441         with a call to XZALLOC or XCALLOC, and pairs of calls to
442         obstack_alloc and memset with a call to OBSTACK_ZALLOC.
443
444 2009-01-26  Pedro Alves  <pedro@codesourcery.com>
445
446         Add "maint set|show internal-error|internal-warning quit|corefile
447         ask|yes|no" commands.
448
449         PR gdb/7580:
450         * utils.c (internal_problem_ask, internal_problem_yes)
451         (internal_problem_no, internal_problem_modes): New.
452         (struct internal_problem): Remove FIXME.  Make should_quit and
453         should_dump_core types to char *.
454         (internal_vproblem, internal_error_problem)
455         (internal_warning_problem): Adjust.
456         (set_internal_problem_cmd, show_internal_problem_cmd): New dummy
457         functions.
458         (add_internal_problem_command): New.
459         (_initialize_utils): New.
460
461 2009-01-25  Pedro Alves  <pedro@codesourcery.com>
462
463         * infcmd.c (program_info): Use paddress instead of casting stop_pc
464         to unsigned long.
465
466 2009-01-24  Pedro Alves  <pedro@codesourcery.com>
467
468         * infrun.c (normal_stop): Don't call
469         deprecated_update_frame_pc_hack.
470         * frame.c (deprecated_update_frame_pc_hack)
471         (deprecated_update_frame_base_hack): Delete, and ...
472         (create_new_frame): ... inline here.
473         * frame.h (deprecated_update_frame_pc_hack)
474         (deprecated_update_frame_base_hack): Delete declarations.
475
476 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
477
478         * cli/cli-decode.c (add_setshow_zuinteger_cmd): New.
479         * cli/cli-setshow.c (do_setshow_command): Handle it.
480         * command.h (enum var_types): Add var_zuinteger.
481         (add_setshow_zuinteger_cmd): Declare.
482
483         * valprint.c (_initialize_valprint): Change the set input-radix
484         and set output-radix commands to zuinteger type.
485
486 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
487
488         PR gdb/9664:
489         * infrun.c (normal_stop): Tag threads as stopped, and run the
490         hook-stop before printing the stack frame.
491
492 2009-01-22  Pedro Alves  <pedro@codesourcery.com>
493
494         PR c++/9631:
495         * gnu-v3-abi.c (gnuv3_baseclass_offset): Call check_typedef on
496         vbasetype.
497
498 2009-01-20  Kazu Hirata  <kazu@codesourcery.com>
499
500         * gdb/procfs.c (info_mappings_callback): Cast map->pr_size to
501         unsigned long.
502
503 2009-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
504
505         PR gdb/9346
506         * infcmd.c (signal_command): Do not specify a resume PC.
507
508 2009-01-19  Doug Evans  <dje@google.com>
509
510         * dummy-frame.c (dummy_frame): Replace regcache member with
511         caller_state.
512         (dummy_frame_push): Replace caller_regcache arg with caller_state.
513         All callers updated.
514         (remove_dummy_frame,pop_dummy_frame,lookup_dummy_frame): New fns.
515         (dummy_frame_pop): Rewrite.  Verify requested frame is in the
516         dummy frame stack.  Restore program state.
517         (cleanup_dummy_frames): Rewrite.
518         (dummy_frame_sniffer): Update.  Make static.
519         * dummy-frame.h (regcache,frame_info): Delete forward decls.
520         (inferior_thread_state): New forward decl.
521         (dummy_frame_push): Update prototype.
522         * frame.c (frame_pop): dummy_frame_pop now does all the work for
523         DUMMY_FRAMEs.
524         * infcall.c (breakpoint_auto_delete_contents): Delete.
525         (get_function_name,run_inferior_call): New fns.
526         (call_function_by_hand): Simplify by moving some code to
527         get_function_name, run_inferior_call.  Inferior function call wrapped
528         in TRY_CATCH so there's less need for cleanups and all exits from
529         proceed are handled similarily.  Detect program exit.
530         Detect program stopping in a different thread.
531         Make error messages more consistent.
532         * inferior.h (inferior_thread_state): Declare (opaque type).
533         (save_inferior_thread_state,restore_inferior_thread_state,
534         make_cleanup_restore_inferior_thread_state,
535         discard_inferior_thread_state, get_inferior_thread_state_regcache):
536         Declare.
537         (save_inferior_status): Update prototype.
538         * infrun.c: (normal_stop): When stopped for the completion of an
539         inferior function call, verify the expected stack frame kind.
540         (inferior_thread_state): New struct.
541         (save_inferior_thread_state,restore_inferior_thread_state,
542         do_restore_inferior_thread_state_cleanup,
543         make_cleanup_restore_inferior_thread_state,
544         discard_inferior_thread_state,
545         get_inferior_thread_state_regcache): New functions.
546         (inferior_status): Move stop_signal, stop_pc, registers to
547         inferior_thread_state.  Remove restore_stack_info.
548         (save_inferior_status): Remove arg restore_stack_info.
549         All callers updated.  Remove saving of state now saved by
550         save_inferior_thread_state.
551         (restore_inferior_status): Remove restoration of state now done by
552         restore_inferior_thread_state.
553         (discard_inferior_status): Remove freeing of registers, now done by
554         discard_inferior_thread_state.
555
556 2009-01-18  Pedro Alves  <pedro@codesourcery.com>
557
558         * tui/tui-disasm.c (tui_vertical_disassem_scroll): Scroll one line
559         at a time, times NUM_TO_SCROLL.
560         * tui/tui-winsource.c (tui_horizontal_source_scroll): Don't try to
561         fetch the selected frame if there is no stack.
562
563 2009-01-18  Pedro Alves  <pedro@codesourcery.com>
564
565         PR gdb/9747:
566         * gdbthread.h (finish_thread_state, finish_thread_state_cleanup):
567         Declare.
568         * thread.c (finish_thread_state, finish_thread_state_cleanup): New.
569         * infrun.c (wait_for_inferior, fetch_inferior_event): If an error
570         is thrown while handling an event, finish the thread state.
571         (normal_stop): Use finish_thread_state cleanup.
572         * infcmd.c (run_command_1): If an error is thrown while starting
573         the inferior, finish the thread state.
574
575 2009-01-18  Pedro Alves  <pedro@codesourcery.com>
576
577         * tui/tui-winsource.c (tui_update_breakpoint_info): In asm layout,
578         skip breakpoints without a location (pending breakpoints).
579
580 2009-01-18  Pedro Alves  <pedro@codesourcery.com>
581
582         PR build/9186:
583         * hppa-hpux-tdep.c (hppa_hpux_write_pc): Remove 'return'.
584
585 2009-01-18  Nick Roberts  <nickrob@snap.net.nz>
586
587         * thread.c (thread_command): Move call to annotate_thread_changed
588         to...
589         (do_captured_thread_select): ... here, to avoid printing an
590         annotation if the thread change generates an exception.
591
592 2009-01-16  Joel Brobecker  <brobecker@adacore.com>
593
594         * NEWS: Document x86_64/MinGW as a new native configuration.
595
596 2009-01-16  Joel Brobecker  <brobecker@adacore.com>
597
598         * NEWS: Move the documentation of "info os processes" to
599         the appropriate section (documenting the new commands).
600
601 2009-01-15  Doug Evans  <dje@google.com>
602
603         * target.h (target_signal_to_string): Make return type const char *.
604         (target_signal_to_name): Ditto.
605         (target_signal_from_name): Make arg const char *.
606         * infrun.c (sig_print_info): Update.
607         * signals/signals.c (signals): Make array and struct members const.
608         (target_signal_to_string): Make return type const char *.
609         (target_signal_to_name): Ditto.
610         (target_signal_from_name): Make arg const char *.
611
612 2009-01-15  Ulrich Weigand  <uweigand@de.ibm.com>
613             Tristan Gingold  <gingold@adacore.com>
614
615         * solist.h (struct target_so_ops): New member bfd_open.
616         (solib_find): Add prototype.
617         (solib_bfd_fopen): Add prototype.
618         * solib.c (solib_find, solib_bfd_fopen): New functions, extracted
619         from solib_bfd_open.
620         (solib_bfd_open): Use ops->bfd_open override if present.  Call
621         solib_find and solib_bfd_open otherwise.
622
623         * objfiles.h (OBJF_KEEPBFD): New define.
624         * objfiles.c (free_objfile): Do not close BFD if OBJF_KEEPBFD
625         objfile flag is set.
626         * solib.c (symbol_add_stub): Do not allocate second BFD for
627         shared library; use OBJF_KEEPBFD flag on solib objfile.
628
629 2009-01-15  Ulrich Weigand  <uweigand@de.ibm.com>
630
631         * frame.c (get_frame_arch): Abort if called with NULL this_frame.
632
633 2009-01-15  Ulrich Weigand  <uweigand@de.ibm.com>
634
635         * value.h (address_of_variable): Add prototype.
636         (locate_var_value): Remove prototype.
637
638         * findvar.c (read_var_value): Do not attempt to default frame
639         to selected frame.
640         (locate_var_value): Remove function.
641         * valops.c (value_of_variable): Retrieve selected frame for
642         symbols that require a frame when called with NULL block.
643         * valops.c (address_of_variable): New function.
644
645         * eval.c (evaluate_subexp_for_address): Call address_of_variable
646         instead of calling locate_var_value.
647         (evaluate_subexp_with_coercion): Likewise.
648
649 2009-01-14  Daniel Jacobowitz  <dan@codesourcery.com>
650
651         * NEWS: Document "define" for prefixed commands.
652         * cli/cli-cmds.c (show_user): Update calls to show_user_1.  Call
653         show_user_1 for prefix commands.
654         * cli/cli-decode.c (help_cmd_list): Recurse for "help user-defined".
655         * cli/cli-script.c (validate_comname): Rewrite to handle prefix
656         commands.  Return the containing command list.
657         (define_command, document_command): Update to handle prefix commands.
658         (show_user_1): Add prefix and name arguments.  Handle prefix
659         commands.
660         * cli/cli-script.h (show_user_1): Update prototype.
661
662 2009-01-14  Kai Tietz  <kai.tietz@onevision.com>
663
664         * mingw-ser.c (console_select_thread): Add return to make
665         compiler happy.
666         (pipe_select_thread): Likewise.
667         (file_select_thread): Likewise.
668
669 2009-01-14  Pedro Alves  <pedro@codesourcery.com>
670
671         * mi/mi-main.c (mi_cmd_execute): Clean up parenthesis mess from
672         previous change.
673
674 2009-01-14  Pedro Alves  <pedro@codesourcery.com>
675
676         * remote.c (extended_remote_mourn_1): Invalidate our notion of
677         current general thread.
678
679 2009-01-14  Pedro Alves  <pedro@codesourcery.com>
680
681         * mi/mi-main.c (mi_cmd_execute): Also allow -list-thread-groups
682         without a live selected thread.
683
684 2009-01-14  Joel Brobecker  <brobecker@adacore.com>
685
686         Update the copyright notice of some of the files I missed
687         in the previous copyright update.
688
689 2009-01-14  Joel Brobecker  <brobecker@adacore.com>
690
691         * windows-nat.c (handle_unload_dll): Use %p to print the DLL
692         base address instead of casting it to DWORD.
693
694 2009-01-13  Ulrich Weigand  <uweigand@de.ibm.com>
695
696         * dwarf2loc.c (dwarf2_evaluate_loc_desc): Do not call get_frame_arch
697         for NULL frame pointers.
698
699 2009-01-13  Mark Kettenis  <kettenis@gnu.org>
700
701         * utils.c (host_address_to_string): Reimplement in a way that
702         avoids the cast of the address to long.
703
704 2009-01-13  Joel Brobecker  <brobecker@adacore.com>
705
706         * mdebugread.c (parse_symbol): Save the symbol private data
707         using SYMBOL_VALUE_BYTES instead of SYMBOL_VALUE.
708         (psymtab_to_symtab_1): Likewise.
709         (parse_procedure): Declare variable "e" only in the scope
710         where it is used. Extract the symbol private data using
711         SYMBOL_VALUE_BYTES.
712
713 2009-01-13  Jim Blandy  <jimb@codesourcery.com>
714
715         Abstract out common code for copying value locations.
716
717         * value.h (set_value_component_location): New declaration.
718         * value.c (set_value_component_location): New function.
719         (value_primitive_field): Use it.
720         * valarith.c (value_subscript, value_subscripted_rvalue): Same.
721         * valops.c (search_struct_field, value_slice): Same.
722         * ada-lang.c (coerce_unspec_val_to_type)
723         (ada_value_primitive_packed_val): Same.
724
725 2009-01-13  Joel Brobecker  <brobecker@adacore.com>
726
727         * MAINTAINERS (GLOBAL MAINTAINERS): Add Tom Tromey.
728
729 2009-01-12  Christopher Faylor  <me+cygwin@cgf.cx>
730
731         * amd64-windows-nat.c Rename gdb-specific win32_* to windows_*
732         throughout.
733         * i386-cygwin-tdep.c: Ditto.
734         * i386-windows-nat.c: Ditto.
735         * windows-nat.h: Ditto.
736         * windows-tdep.c: Ditto.
737         * windows-tdep.h: Ditto.
738         * windows-nat.c: Ditto.
739         (cygwin_load_start): Redefine as CORE_ADDR.
740         (cygwin_load_end): Ditto.
741         (windows_make_so): Coerce result of address arithmetic to to uintptr_t
742         before coercing to CORE_ADDR to avoid a compiler warning.
743         (handle_exception): Define addr as CORE_ADDR and coerce
744         ExceptionAddress to uintptr_t before assigining to avoid a compiler
745         warning.
746         * config/djgpp/fnchange.lst: Add mappings for recently renamed windows
747         files.
748
749 2009-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
750
751         Fix linking with --enable-targets=all:
752         * Makefile.in (ALL_TARGET_OBS): Add windows-tdep.o.
753         (HFILES_NO_SRCDIR): Add windows-tdep.h.
754         (ALLDEPFILES): Add windows-tdep.c.
755
756 2009-01-11  Christ Faylor  <me.gdb@cgf.cx>
757
758         * win32-nat.h: Delete.
759         * windows-nat.h: Rename from win32-nat.h.
760         * win32-nat.c: Delete.
761         * windows-nat.c: Rename from win32-nat.c.
762         * win32-termcap.c: Delete.
763         * windows-termcap.c: Rename from win32-termcap.c.
764         * amd64-windows-nat.c: Handle rename from win32-nat.h -> windows-nat.h.
765         * configure.ac: Handle rename from win32-termcap.c ->
766         windows-termcap.c.
767         * configure: Regenerate.
768         * gdb_curses.h: Change comment to reflect rename from win32-termcap.c
769         -> windows-termcap.c.
770         * i386-cygwin-tdep.c: Handle rename from win32-tdep.h ->
771         windows-tdep.h.
772         * i386-windows-nat.c: Refect rename from win32-nat.h -> windows-nat.h.
773         * windows-nat.c: Ditto.  Also reflect rename from from win32-tdep.h ->
774         windows-tdep.h.
775         (win32_make_so): Handle cygwin compiler warning due to change of
776         load_addr from DWORD to LPVOID.
777         (handle_load_dll): Use %p in format string to properly print address
778         and avoid a compiler warning.
779         (DEBUG_EXCEPTION_SIMPLE): Ditto.
780         (handle_exception): Ditto.
781         * windows-tdep.c: Handle rename from win32-tdep.h -> windows-tdep.h.
782         * config/i386/cygwin.mh: Handle rename from win32-nat.o ->
783         windows-nat.o.
784         * config/i386/mingw.mh: Ditto.
785         * config/i386/mingw64.mh: Ditto.
786
787 2009-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
788
789         * f-typeprint.c (f_type_print_varspec_suffix): Convert the autovariable
790         arrayprint_recurse_level to a parameter.  Update all the callers.  New
791         comment at autovariables.
792
793 2009-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
794
795         * gdbtypes.c (make_qualified_type, replace_type): Reformat to the GNU
796         coding style.
797
798 2009-01-11  Joel Brobecker  <brobecker@adacore.com>
799
800         * target.c (target_xfer_partial): Use host_address_to_string to
801         print the address of readbuf and writebuf. Cast the address of
802         elements inside the myaddr buffer into intptr_t.
803         (deprecated_debug_xfer_memory): Use paddress to print memaddr.
804         Cast the address of elements inside the myaddr buffer into
805         intptr_t.
806
807 2009-01-11  Joel Brobecker  <brobecker@adacore.com>
808
809         * amd64-windows-nat.c, amd64-windows-tdep.c: New files.
810         * config/i386/mingw64.mh, config/i386/nm-cygwin64.h: New files.
811         * configure.host, configure.tgt: Add handling for x86_64/windows.
812         * config/djgpp/fnchange.lst: Add entries for amd64-windows-nat.c
813         and amd64-windows-tdep.c.
814
815 2009-01-11  Joel Brobecker  <brobecker@adacore.com>
816
817         * win32-tdep.h, win32-tdep.c: New files.
818         * i386-cygwin-tdep.h: Delete.
819         * i386-cygwin-tdep.c: Include win32-tdep.h instead of
820         i386-cygwin-tdep.h.
821         (win32_xfer_shared_library): Delete.  Moved to win32-tdep.c.
822         * win32-nat.c: Likewise.
823         * configure.tgt: Add win32-tdep.o to the list of target object
824         files for i386-cygwin and i386-mingw targets.
825
826 2009-01-11  Joel Brobecker  <brobecker@adacore.com>
827
828         * win32-nat.h: New file.
829         * win32-nat.c (mappings): Initialize to NULL.
830         (win32_set_context_register_offsets): New function.
831         * i386-windows-nat.c: New file.
832         (mappings): Moved here from win32-nat.c.
833         (_initialize_i386_windows_nat): New function.
834         * config/i386/mingw.mh (NATDEPFILES): Add i386-windows-nat.o.
835         * config/i386/cygwin.mh (NATDEPFILES): Likewise.
836
837 2009-01-09  Andreas Schwab  <schwab@suse.de>
838
839         * Makefile.in (init.c): Set LANG/LC_ALL to C, not c.
840
841 2009-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
842
843         * gdbtypes.c (append_composite_type_field): Correct the location of
844         appended fields.
845
846 2009-01-09  Pedro Alves  <pedro@codesourcery.com>
847
848         * defs.h (deprecated_error_hook): Delete declaration.
849         * interps.c (clear_interpreter_hooks): Adjust.
850         * remote-sim.c (gdb_os_error): Don't try to call
851         deprecated_error_hook.  No need to call exit anymore.
852         * top.c (deprecated_error_hook): Delete.
853
854 2009-01-09  Joel Brobecker  <brobecker@adacore.com>
855
856         * arch-utils.c (gdbarch_update_p): Use host_address_to_string
857         to print the address of the gdbarch pointer.
858
859 2009-01-09  Joel Brobecker  <brobecker@adacore.com>
860
861         * gdbarch.sh: Fix all the compilation errors on amd64-windows
862         due to casting a pointer to a long when printing a function
863         address. Instead, use host_address_to_string to convert our
864         address to a string.
865         * gdbarch.c: Regenerate.
866
867 2009-01-09  Joel Brobecker  <brobecker@adacore.com>
868
869         * event-top.c (async_disconnect, async_stop_sig): use "raise"
870         instead of "kill" to raise a signal.
871
872 2009-01-09  Joel Brobecker  <brobecker@adacore.com>
873
874         * win32-nat.c (get_module_name): Change the type of parameter
875         "base_address" to LPVOID.  Remove unnecessary cast.
876         (struct lm_info): Change type of load_addr to LPVOID.
877         (win32_make_so): Change the type of parameter "load_addr"
878         to LPVOID.  Remove some unnecessary casts.
879         (handle_unload_dll): Change the type of "lpBaseOfDll" to LPVOID.
880         (win32_xfer_shared_libraries): Add missing cast.
881
882 2009-01-09  Joel Brobecker  <brobecker@adacore.com>
883
884         * win32-nat.c (has_detach_ability, set_process_privilege):
885         Cast the result of GetProcAddress to (void *) to avoid
886         a compilation warning.
887
888 2009-01-09  Joel Brobecker  <brobecker@adacore.com>
889
890         * win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if not
891         already defined.
892
893 2009-01-09  Joel Brobecker  <brobecker@adacore.com>
894
895         * win32-nat.c (get_image_name, win32_xfer_memory): Fix type
896         definition of local variable "done".
897         (info_w32_command, handle_exception): Remove unnecessary cast.
898
899 2009-01-09  Joel Brobecker  <brobecker@adacore.com>
900
901         * win32-nat.c (kernel32_DebugSetProcessKillOnExit): Renames
902         DebugSetProcessKillOnExit.  Update all uses in this file.
903         (kernel32_DebugActiveProcessStop): Renames DebugActiveProcessStop.
904         Update all uses in this file.
905
906 2009-01-09  Joel Brobecker  <brobecker@adacore.com>
907
908         * win32-nat.c (do_initial_win32_stuff): Add new ops parameter,
909         and use it when pushing the target.
910         (win32_attach, win32_create_inferior): Update call to
911         do_initial_win32_stuff.
912         (win32_detach, win32_mourn_inferior): Use our ops parameter
913         instead of the global win32_ops to unpush the target.
914
915 2009-01-09  Joel Brobecker  <brobecker@adacore.com>
916
917         * ser-mingw.c (ser_windows_open): Use proper type when casting
918         in call to _open_osfhandle.
919
920 2009-01-09  Kai Tietz  <kai.tietz@onevision.com>
921
922         * coff-pe-read.c (read_pe_exported_syms): Fix typo.
923
924 2009-01-09  Joel Brobecker  <brobecker@adacore.com>
925
926         * CONTRIBUTE: Minor reformatting.
927
928 2009-01-08  Kai Tietz  <kai.tietz@onevision.com>
929
930         * MAINTAINERS: Add myself to Write After Approval.
931         * coff-pe-read.c (read_pe_exported_syms): Enable read of PE+
932         export directory.
933
934 2009-01-08  Nathan Froyd  <froydnj@codesourcery.com>
935
936         * remote-sim.c (gdb_os_error): Mark as a noreturn function.
937         Call exit to make it obvious to GCC.
938
939 2009-01-08  Tom Tromey  <tromey@redhat.com>
940
941         PR breakpoints/9350:
942         * varobj.c (varobj_invalidate): Unconditionally free
943         all_rootvarobj.
944         * symfile.c (syms_from_objfile): Free local_addr when returning
945         normally.
946         * exec.c (exec_file_attach): Do cleanups before returning.
947         (exec_file_command): Likewise.
948         * corefile.c (reopen_exec_file): Do cleanups before returning.
949         * breakpoint.c (insert_breakpoint_locations): Do cleanups before
950         returning. 
951         (do_vec_free): New function.
952         (update_global_location_list): Make a cleanup for old_locations.
953         Do cleanups before returning.  Remove unused variable 'e'.
954         (find_condition_and_thread): Free result of parsing the
955         expression.
956         (print_it_typical): Do cleanups before returning.
957         (breakpoint_re_set_one): Always free sals.sals.
958
959 2009-01-08  Joel Brobecker  <brobecker@adacore.com>
960             Emi Suzuki  <emi-suzuki@tjsys.co.jp>
961  
962         * breakpoint.c (do_enable_breakpoint): Use update_watchpoint for
963         watchpoints.
964
965 2009-01-07  Doug Evans  <dje@google.com>
966
967         * top.c (gdb_prompt_string): Delete, unused.
968
969 2009-01-07  Pedro Alves  <pedro@codesourcery.com>
970
971         Delete ONE_PROCESS_WRITETEXT leftovers.
972
973         * breakpoint.c (insert_bp_location): Delete process_warning
974         argument.  Adjust.
975         (insert_breakpoint_locations): Adjust.
976         (reattach_breakpoints): Adjust.
977         * infrun.c (normal_stop): Drop "It might be running in another
978         process" notice.
979
980 2009-01-07  Stan Shebs  <stan@codesourcery.com>
981
982         * config/pa/linux.mh (XDEPFILES): Remove.
983
984 2009-01-07  Doug Evans  <dje@google.com>
985
986         * cli/cli-cmds.c (set_debug): Fix cut-n-paste error.
987
988 2009-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
989
990         * f-typeprint.c (f_type_print_base <TYPE_CODE_STRUCT>): Fix output
991         spacing, a regression from 2008-04-22.
992
993 2009-01-07  Joel Brobecker  <brobecker@adacore.com>
994
995         * utils.c (gdb_print_host_address): Adjust implementation to
996         reuse host_address_to_string. Move comment explaining the conversion
997         from host address to string from here...
998         (host_address_to_string): ... to there.
999
1000 2009-01-07  Emi Suzuki  <emi-suzuki@tjsys.co.jp>
1001
1002         * MAINTAINERS: Add myself for write after approval privileges.
1003
1004 2009-01-06  Tom Tromey  <tromey@redhat.com>
1005
1006         * value.c (set_internalvar): Use value_free, not xfree.
1007
1008 2009-01-06  Jim Blandy  <jimb@red-bean.com>
1009
1010         Check return values of functions declared with warn_unused_result
1011         attribute in GLIBC 2.8.
1012         * cli/cli-cmds.c (pwd_command): Check return value from getcwd.
1013         * inflow.c (check_syscall): New function.
1014         (new_tty): Use check_syscall to check return values from open and dup.
1015         * linux-nat.c (linux_nat_info_proc_cmd): Check return value from fgets.
1016         * main.c (captured_main): Call cwd after setting up gdb_stderr;
1017         check for errors from getcwd.
1018         * mi/mi-cmd-env.c (mi_cmd_env_pwd): Check return value from getcwd.
1019         * ui-file.c (stdio_file_write): Ignore return value from fwrite.
1020         (stdio_file_fputs): Same.
1021         * utils.c (internal_vproblem): abort if last-ditch error message
1022         write fails.
1023
1024         * top.c (gdb_init): Don't set the current directory here; that's
1025         already been done in captured_main.
1026
1027 2009-01-06  Sandra Loosemore  <sandra@codesourcery.com>
1028
1029         * ser-tcp.c: Adjust includes.
1030         (tcp_set_cmdlist, tcp_show_cmdlist): Declare.
1031         (tcp_auto_retry, tcp_retry_limit): Declare.
1032         (TIMEOUT): Remove, in favor of tcp_retry_limit.
1033         (POLL_INTERVAL): Increase to 5, in favor of backoff logic.
1034         (wait_for_connect): New function.
1035         (net_open): Use it.  Add auto-retry logic.
1036         (set_tcp_cmd, show_tcp_cmd): New functions.
1037         (_initialize_ser_tcp): Initialize new "set/show tcp auto-retry"
1038         and "set/show tcp connect-timeout" commands.
1039         * NEWS: Document new commands.
1040
1041 2009-01-05  Tom Tromey  <tromey@redhat.com>
1042
1043         * python/python-internal.h (Py_ssize_t): Define as int.
1044
1045 2009-01-05  Jim Blandy  <jimb@red-bean.com>
1046
1047         * MAINTAINERS: Fix my e-mail address as steering committee member.
1048
1049 2009-01-03  Joel Brobecker  <brobecker@adacore.com>
1050
1051         Updated copyright notices for most files.
1052
1053 2009-01-03  Joel Brobecker  <brobecker@adacore.com>
1054
1055         * top.c (print_gdb_version): Update copyright year.
1056
1057 2009-01-03  Joel Brobecker  <brobecker@adacore.com>
1058
1059         * config/djgpp/fnchange.lst: Add entry for ChangeLog-2008.
1060
1061 2009-01-01  Pedro Alves  <pedro@codesourcery.com>
1062
1063         PR breakpoints/9681:
1064         * exceptions.h (enum errors): New error type, MEMORY_ERROR.
1065         * corefile.c (memory_error): Rewrite to throw a MEMORY_ERROR.
1066         * breakpoint.c (fetch_watchpoint_value): Ignore MEMORY_ERRORs, but
1067         retrow all other exceptions.
1068
1069 For older changes see ChangeLog-2008.
1070 \f
1071 Local Variables:
1072 mode: change-log
1073 left-margin: 8
1074 fill-column: 74
1075 version-control: never
1076 coding: utf-8
1077 End: