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