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