Add Python support for GDB events.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
2 Oguz Kayral <oguzkayral@gmail.com>
3
4 * python/py-inferior.c (python_on_normal_stop): New function.
5 (python_on_resume): New function.
6 (python_inferior_exit): New function.
7 (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and
8 inferior_exit observers.
9 * python/py-evtregistry.c: New file.
10 * python/py-threadevent.c : New file.
11 * python/py-event.c: New file.
12 * python/py-evts.c: New file.
13 * python/py-continueevent.c: New file.
14 * python/py-bpevent.c: New file.
15 * python/py-signalevent.c: New file.
16 * python/py-exetiedevent.c: New file.
17 * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function.
18 Move struct breakpoint_object from here...
19 * python/python-internal.h: ... to here.
20 * python/py-event.h: New file.
21 * python/py-events.h: New file.
22 * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o,
23 py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o,
24 py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o.
25 (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c,
26 py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c,
27 py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c.
28 Add build rules for all the above.
29
30 2011-02-04 Tom Tromey <tromey@redhat.com>
31
32 * dwarf2read.c (dwarf2_section_empty_p): New function.
33 (dwarf2_read_section): Use dwarf2_section_empty_p.
34 (dwarf2_section_size): New function.
35 (dwarf2_get_section_info): Unconditionally read section.
36 (dwarf2_read_index): Use dwarf2_section_empty_p.
37 (partial_read_comp_unit_head): Use dwarf2_section_size.
38 (dwarf2_symbol_mark_computed): Likewise.
39
40 2011-02-04 David Daney <ddaney@caviumnetworks.com>
41
42 * NEWS: Add item for "catch syscall" on mips*-linux* targets.
43
44 2011-02-04 David Daney <ddaney@caviumnetworks.com>
45
46 * mips-linux-tdep.c: Include xml-syscall.h.
47 (mips_linux_get_syscall_number): New function.
48 (mips_linux_init_abi): Add calls to
49 mips_linux_get_syscall_number() and set_xml_syscall_file_name().
50 * data-directory/Makefile.in (SYSCALLS_FILES): Add
51 mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml
52 * syscalls/mips-n32-linux.xml: New file.
53 * syscalls/mips-n64-linux.xml: New file.
54 * syscalls/mips-o32-linux.xml: New file.
55
56 2011-02-04 Ulrich Weigand <ulrich.weigand@linaro.org>
57
58 * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries.
59 Complain about inverted range entries.
60 (dwarf2_record_block_ranges): Likewise.
61
62 2011-02-04 Thiago Jung Bauermann <bauerman@br.ibm.com>
63
64 Fix some typos.
65 * breakpoint.c (update_watchpoint): Fix name of the
66 update_global_location_list function.
67 (print_one_breakpoint): Fix typo.
68 (_initialize_breakpoint): Remove extra space in hbreak help
69 string.
70 * breakpoint.h (struct bp_location) <length>: Fix field
71 description.
72
73 2011-02-04 Pedro Alves <pedro@codesourcery.com>
74
75 * regcache.c (registers_changed_ptid): Don't explictly always
76 clear `current_regcache'. Only clear current_thread_ptid and
77 current_thread_arch when PTID matches. Only reinit the frame
78 cache if PTID matches the current inferior_ptid. Move alloca(0)
79 call to ...
80 (registers_changed): ... here.
81
82 2011-02-03 Ulrich Weigand <ulrich.weigand@linaro.org>
83
84 * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that
85 starts with __stack_chk_guard as stack guard symbol.
86
87 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
88
89 * disasm.c (compare_lines): Handle the end of sequence markers
90 within the line table to better support disassembling over
91 compilation unit boundaries.
92
93 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
94
95 * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB
96 arguments. Skip in-prologue calls to glibc __aeabi_read_tp
97 implementation even if no symbols are available.
98 (thumb_analyze_prologue): Update call to skip_prologue_function.
99 (arm_analyze_prologue): Likewise.
100
101 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
102
103 * arm-tdep.c: Include "observer.h".
104 (arm_prologue_this_id): Use frame PC if get_frame_func returns 0.
105 (arm_exidx_data_key): New static variable.
106 (struct arm_exidx_entry, arm_exidx_entry_s): New data types.
107 (struct arm_exidx_data): Likewise.
108 (arm_exidx_data_free): New function.
109 (arm_compare_exidx_entries): Likewise.
110 (arm_obj_section_from_vma): Likewise.
111 (arm_exidx_new_objfile): Likewise.
112 (arm_find_exidx_entry): Likewise.
113 (arm_exidx_fill_cache): Likewise.
114 (arm_exidx_unwind_sniffer): Likewise.
115 (arm_exidx_unwind): New global variable.
116 (arm_gdbarch_init): Append unwinder arm_exidx_unwind.
117 (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile
118 observer. Register arm_exidx_data_key as objfile data.
119
120 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
121
122 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break
123 due to accessing uninitialized variable. Fix indentation.
124
125 2011-02-02 Pedro Alves <pedro@codesourcery.com>
126
127 * c-valprint.c (c_value_print): When doing virtual base pointer
128 adjustment, create a new value with adjusted contents rather than
129 changing the contents of the value being printed (and getting it
130 wrong).
131
132 2011-02-02 Pedro Alves <pedro@codesourcery.com>
133
134 * xml-support.c (xml_find_attribute): New.
135 (xinclude_start_include): Use it.
136 * xml-support.h (xml_find_attribute): Declare.
137 * memory-map.c (memory_map_start_memory)
138 (memory_map_start_property): Use xml_find_attribute.
139 * osdata.c (osdata_start_osdata, osdata_start_column): Use
140 xml_find_attribute.
141 * remote.c (start_thread): Use xml_find_attribute.
142 * solib-target.c (library_list_start_segment)
143 (library_list_start_section, library_list_start_library)
144 (library_list_start_list): Use xml_find_attribute.
145 * xml-tdesc.c (tdesc_start_target, tdesc_start_feature)
146 (tdesc_start_union, tdesc_start_struct, tdesc_start_flags)
147 (tdesc_start_field): Use xml_find_attribute.
148
149 2011-02-02 Ulrich Weigand <uweigand@de.ibm.com>
150
151 * opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
152 (BUILD_OCL_VTYPES): Update.
153
154 2011-02-02 Joel Brobecker <brobecker@adacore.com>
155
156 * configure.ac: Work around non-GNU sed limitation when computing
157 python version number.
158 * configure: Regenerate.
159
160 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
161
162 Fix debug printing of TYPE_INSTANCE.
163 * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New.
164 (dump_subexp_body_standard) <TYPE_INSTANCE>: New.
165
166 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
167
168 Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL,
169 OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME,
170 OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT.
171 * ada-operator.inc: Rename the file to ...
172 * ada-operator.def: ... here, wrap all the entries by macro OP.
173 * expprint.c (op_name_standard): Remove all the entries. Include
174 "std-operator.def" instead.
175 * expression.h (enum exp_opcode): Include "std-operator.def" and
176 "ada-operator.def". Move all the entries ...
177 * std-operator.def: ... here, wrap all the entries by macro OP.
178
179 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
180
181 * breakpoint.h (remove_jit_event_breakpoints): New prototype.
182 * breakpoint.c (remove_jit_event_breakpoints): New function.
183 * jit.c (jit_descriptor_addr): Delete.
184 (registering_code): Delete.
185 (clear_int): Delete.
186 (jit_inferior_data): New variable.
187 (struct jit_inferior_data): New type.
188 (get_jit_inferior_data): New function.
189 (jit_inferior_data_cleanup): New function.
190 (jit_read_descriptor): Adjust.
191 (jit_register_code): Adjust.
192 (jit_breakpoint_re_set_internal): New function; move code here ...
193 (jit_inferior_init): ... from here.
194 (jit_breakpoint_re_set): Adjust.
195 (jit_reset_inferior_data_and_breakpoints): New function.
196 (jit_inferior_created_observer): Adjust.
197 (jit_inferior_exit_hook): Adjust.
198 (jit_executable_changed_observer): New function.
199 (jit_event_handler): Adjust.
200 (_initialize_jit): Adjust.
201
202 2011-01-31 Michael Snyder <msnyder@vmware.com>
203
204 * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted
205 line.
206
207 2011-01-31 Tom Tromey <tromey@redhat.com>
208
209 PR python/12216:
210 * python/python.c (execute_gdb_command): Call
211 prevent_dont_repeat.
212 * top.c (suppress_dont_repeat): New global.
213 (dont_repeat): Use it.
214 (prevent_dont_repeat): New function.
215 * command.h (prevent_dont_repeat): Declare.
216
217 2011-01-31 Tom Tromey <tromey@redhat.com>
218
219 * infcmd.c (finish_backward): Use breakpoint_set_silent.
220 * python/py-breakpoint.c (bppy_set_silent): Use
221 breakpoint_set_silent.
222 (bppy_set_thread): Use breakpoint_set_thread.
223 (bppy_set_task): Use breakpoint_set_task.
224 * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread)
225 (breakpoint_set_task): Declare.
226 (make_breakpoint_silent): Remove.
227 * breakpoint.c (breakpoint_set_silent): New function.
228 (breakpoint_set_thread): Likewise.
229 (breakpoint_set_task): Likewise.
230 (make_breakpoint_silent): Remove.
231
232 2011-01-31 Tom Tromey <tromey@redhat.com>
233
234 * breakpoint.h (user_breakpoint_p): Declare.
235 * breakpoint.c (user_breakpoint_p): New function.
236 (breakpoint_1): Use it.
237 (save_breakpoints): Likewise.
238
239 2011-01-31 Joel Brobecker <brobecker@adacore.com>
240
241 * configure.ac: Add handling of Python distribution on Windows.
242 * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED
243 sysconfig variables are not defined, then do not use them.
244 On Windows, if LIBPL is not defined, then use prefix + '/libs'
245 instead. On Windows, return all paths using forward-slashes
246 rather than backslashes.
247
248 2011-01-31 Joel Brobecker <brobecker@adacore.com>
249
250 * configure.ac: Remove fallback behavior for building
251 against Python. Remove tweaking of Python include path.
252 Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution.
253 (AC_TRY_LIBPYTHON): Adjust program used in linking test.
254 If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS.
255 Always restore CPPFLAGS and LIBS after linking test.
256 * configure: Regenerated.
257 * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@.
258 (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@.
259 * python/python-internal.h: Adjust includes of Python .h files.
260
261 2011-01-31 Joel Brobecker <brobecker@adacore.com>
262
263 * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
264 in error message.
265
266 2011-01-31 Joel Brobecker <brobecker@adacore.com>
267
268 * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
269 value test.
270
271 2011-01-31 Yao Qi <yao@codesourcery.com>
272
273 * arm-linux-nat.c: Update calls to regcache_register_status
274 instead of regcache_valid_p.
275 * aix-thread.c: Likewise.
276 * i386gnu-nat.c: Likewise.
277
278 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
279
280 Fix crash.
281 * valops.c (compare_parameters): Verify TYPE_NFIELDS before
282 touching TYPE_FIELD_ARTIFICIAL.
283
284 2011-01-28 Richard Earnshaw <rearnsha@arm.com>
285
286 * MAINTAINERS: Move myself from Responsible Maintainers to Authorized
287 Committers.
288
289 2011-01-28 Pedro Alves <pedro@codesourcery.com>
290
291 * tracepoint.c (tfile_xfer_partial): If there's no traceframe
292 selected, don't try iterating over the traceframe's blocks.
293 (tfile_has_stack): If there's no traceframe selected, then there's
294 no stack.
295 (tfile_has_registers): If there's no traceframe selected, then
296 there's no registers.
297
298 2011-01-28 Pedro Alves <pedro@codesourcery.com>
299
300 * target.c (memory_xfer_partial): No need to restore shadows if we
301 haven't read anything.
302
303 2011-01-28 Pedro Alves <pedro@codesourcery.com>
304
305 * mips-tdep.c (mips_print_register): Use get_frame_register_value
306 and val_print_scalar_formatted.
307
308 2011-01-27 Pedro Alves <pedro@codesourcery.com>
309
310 * tracepoint.c (tfile_read): New.
311 (tfile_open): Use it.
312 (tfile_get_traceframe_address): Use it.
313 (tfile_trace_find): Use it.
314 (walk_blocks_callback_func): New typedef.
315 (match_blocktype): New function.
316 (traceframe_walk_blocks): New function.
317 (traceframe_find_block_type): New function.
318 (tfile_fetch_registers, tfile_xfer_partial)
319 (tfile_get_trace_state_variable_value): Use
320 traceframe_find_block_type and tfile_read.
321
322 2011-01-26 Kevin Buettner <kevinb@redhat.com>
323
324 * remote-mips.c: Add internationalization mark ups. Remove
325 trailing \n from already marked up strings.
326
327 2011-01-26 Tom Tromey <tromey@redhat.com>
328
329 * python/py-prettyprint.c (print_string_repr): Clear
330 'addressprint' option when calling val_print_string.
331 (print_children): Handle Val_pretty_default. Clear 'addressprint'
332 option when calling val_print_string.
333
334 2011-01-26 Tom Tromey <tromey@redhat.com>
335
336 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
337 GDB_PY_LL_ARG.
338 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
339 macros.
340 (gdb_py_longest, gdb_py_ulongest): New typedefs.
341 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
342 (gdb_py_long_as_ulongest): New defines.
343 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
344 (gdb_py_int_as_long): Declare.
345 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
346 GDB_PY_LL_ARG, gdb_py_object_from_longest.
347 (valpy_long): Add comment.
348 * python/py-utils.c (get_addr_from_python): Use
349 gdb_py_long_as_ulongest. Handle overflow properly.
350 (gdb_py_object_from_longest): New function.
351 (gdb_py_object_from_ulongest): Likewise.
352 (gdb_py_int_as_long): Likewise.
353 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
354 * python/py-symtab.c (salpy_get_pc): Use
355 gdb_py_long_from_ulongest.
356 (salpy_get_line): Use PyInt_FromLong.
357 * python/py-param.c (set_parameter_value): Use
358 gdb_py_int_as_long.
359 * python/py-lazy-string.c (stpy_get_address): Use
360 gdb_py_long_from_ulongest.
361 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
362 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
363 * python/py-breakpoint.c (bppy_set_thread): Use
364 gdb_py_int_as_long.
365 (bppy_set_task): Likewise.
366 (bppy_set_ignore_count): Likewise.
367 (bppy_set_hit_count): Likewise.
368 * python/py-block.c (blpy_get_start): Use
369 gdb_py_object_from_ulongest.
370 (blpy_get_end): Likewise.
371 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
372
373 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr>
374
375 PR/symtab 11766:
376 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
377 * gdb/solib.c (solib_read_symbols): Check for addr_low in
378 equality test for objfile, initialize addr_low if needed.
379
380 2011-01-25 Pedro Alves <pedro@codesourcery.com>
381
382 * tui/tui-regs.c (tui_register_format): Remove dead code.
383
384 2011-01-25 Pedro Alves <pedro@codesourcery.com>
385
386 * printcmd.c (print_formatted): Use val_print_scalar_formatted
387 instead of print_scalar_formatted.
388 (print_scalar_formatted): Don't handle 's' format strings here,
389 and add an assertion that we never see such format here.
390 * valprint.h (val_print_scalar_formatted): Declare.
391 * valprint.c (val_print_scalar_formatted): New.
392 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
393 instead of print_scalar_formatted.
394 * jv-valprint.c (java_val_print): Ditto.
395 * p-valprint.c (pascal_val_print): Ditto.
396 * ada-valprint.c (ada_val_print_1): Ditto.
397 * f-valprint.c (f_val_print): Ditto.
398 * infcmd.c (registers_info): Ditto.
399 * m2-valprint.c (m2_val_print): Ditto.
400
401 2011-01-25 Pedro Alves <pedro@codesourcery.com>
402
403 * m2-valprint.c (print_unbounded_array): Pass
404 value_contents_for_printing rather than value_contents, to
405 m2_print_array_contents. Also pass in the value.
406
407 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
408
409 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
410 (save_gdb_index_command): Switch to .gdb_index version 4.
411
412 2011-01-25 Pedro Alves <pedro@codesourcery.com>
413
414 * mi/mi-main.c (get_register): Use get_frame_register_value rather
415 than frame_register, and always pass a valid value to val_print.
416
417 2011-01-25 Pedro Alves <pedro@codesourcery.com>
418
419 Centralize printing "<optimized out>".
420
421 * valprint.h (val_print_optimized_out): Declare.
422 * cp-valprint.c (cp_print_value_fields): Use
423 val_print_optimized_out.
424 * jv-valprint.c (java_print_value_fields): Ditto.
425 * p-valprint.c (pascal_object_print_value_fields): Ditto.
426 * printcmd.c (print_formatted): Ditto.
427 * valprint.c (valprint_check_validity): Ditto.
428 (value_check_printable): Ditto.
429 (val_print_optimized_out): New.
430
431 2011-01-25 Pedro Alves <pedro@codesourcery.com>
432
433 * infcmd.c (default_print_registers_info): Allocate values so to
434 never pass a NULL value to val_print.
435
436 2011-01-25 Pedro Alves <pedro@codesourcery.com>
437
438 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
439 boolean. Make sure to always pass a value that matches the
440 contents buffer to callees. Preserve `address' for following
441 iterations.
442 * value.c (value_contents_for_printing_const): New.
443 (value_address): Constify value argument.
444 * value.h (value_contents_for_printing_const): Declare.
445 (value_address): Constify value argument.
446
447 2011-01-25 Pedro Alves <pedro@codesourcery.com>
448
449 * regcache.c (struct regcache_descr): Rename
450 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
451 and sizeof_cooked_register_valid_p to
452 sizeof_cooked_register_status.
453 (init_regcache_descr): Adjust.
454 (struct regcache): Rename register_valid_p field to
455 register_status.
456 (regcache_xmalloc_1, regcache_xfree, regcache_save)
457 (do_cooked_read): Adjust.
458 (regcache_valid_p): Rename to ...
459 (regcache_register_status): ... this. Adjust.
460 (regcache_invalidate): Adjust.
461 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
462 Adjust.
463 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
464 as unavailable, not valid.
465 (regcache_dump): Adjust.
466 * regcache.h (enum register_status): New.
467 (regcache_register_status): Declare.
468 (regcache_invalidate): Delete declaration.
469 * corelow.c (get_core_registers): Adjust.
470 * tracepoint.c (tfile_fetch_registers): Adjust.
471 * trad-frame.c (REG_VALUE): Rename to ...
472 (TF_REG_VALUE): ... this.
473 (REG_UNKNOWN): Rename to ...
474 (TF_REG_UNKNOWN): ... this.
475 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
476 * mi/mi-main.c (register_changed_p): Adjust.
477
478 2011-01-25 Pedro Alves <pedro@codesourcery.com>
479
480 * regcache.c (struct regcache_descr): Remove outdated comment.
481 (init_regcache_descr): Remove sizeof_raw_register_valid_p
482 overallocate hack.
483 (regcache_xmalloc): Rename to ...
484 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
485 Allocate the regcache type accordingly.
486 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
487 (regcache_xfree): Asser the source is also readonly. Copy sizeof
488 cooked registers, not raw.
489 (regcache_dup_no_passthrough): Delete.
490 (get_thread_arch_regcache): Use regcache_xmalloc_1.
491 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
492 mention obsolete write_register_bytes.
493 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
494
495 2011-01-25 Pedro Alves <pedro@codesourcery.com>
496
497 Stop remote_read_bytes from handling partial reads itself.
498
499 * remote-fileio.c: Include target.h.
500 (remote_fileio_write_bytes): Delete.
501 (remote_fileio_func_open, remote_fileio_func_write)
502 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
503 target_read_memory.
504 (remote_fileio_func_stat): Use target_read_memory and
505 target_write_memory.
506 (remote_fileio_func_gettimeofday): Use target_write_memory.
507 (remote_fileio_func_system): Use target_read_memory.
508 * remote.c (remote_write_bytes): Make it static.
509 (remote_read_bytes): Don't handle partial reads here.
510 * remote.h (remote_read_bytes): Delete declaration.
511
512 2011-01-25 Pedro Alves <pedro@codesourcery.com>
513
514 Simplify XML parsing a bit.
515
516 * xml-support.h (gdb_xml_parse_quick): Declare.
517 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
518 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
519 parameter.
520 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
521 gdb_xml_create_parser_and_cleanup_1.
522 (gdb_xml_parse_quick): New.
523 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
524 * osdata.c (osdata_parse): Ditto.
525 * remote.c (remote_threads_info): Ditto.
526 * solib-target.c (solib_target_parse_libraries): Ditto.
527 * xml-syscall.c (syscall_parse_xml): Ditto.
528 * xml-tdesc.c (tdesc_parse_xml): Ditto.
529
530 2011-01-24 Kevin Buettner <kevinb@redhat.com>
531
532 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
533 with remote-mips.o added to gdb_target_obs.
534 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
535
536 2011-01-24 Pedro Alves <pedro@codesourcery.com>
537
538 * ada-valprint.c (val_print_packed_array_elements): Pass the
539 correct struct value to val_print.
540 (ada_val_print_1): Ditto.
541
542 2011-01-24 Pedro Alves <pedro@codesourcery.com>
543
544 Don't lose embedded_offset in printing routines throughout.
545
546 * valprint.h (val_print_array_elements): Change prototype.
547 * valprint.c (val_print_array_elements): Add `embedded_offset'
548 parameter, and adjust to pass it down to val_print, while passing
549 `valaddr' or `address' unmodified. Take embedded_offset into
550 account when checking repetitions.
551 * c-valprint.c (c_val_print): Pass embedded_offset to
552 val_print_array_elements instead of adjusting `valaddr' and
553 `address'.
554 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
555 embedded_offset to val_print_array_elements instead of adjusting
556 `valaddr'.
557 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
558 * p-valprint.c (pascal_val_print): Pass embedded_offset to
559 val_print_array_elements and pascal_object_print_value_fields
560 instead of adjusting `valaddr'.
561 (pascal_object_print_value_fields): Add `offset' parameter, and
562 adjust to use it.
563 (pascal_object_print_value): Add `offset' parameter, and adjust to
564 use it.
565 (pascal_object_print_static_field): Use
566 value_contents_for_printing/value_embedded_offset, rather than
567 value_contents.
568 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
569 parameter, and adjust to use it. Use
570 value_contents_for_printing/value_embedded_offset, rather than
571 value_contents.
572 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
573 (ada_val_print_array): Add `offset' parameter, and adjust to use
574 it.
575 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
576 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
577 Instead work with offsets. Use
578 value_contents_for_printing/value_embedded_offset, rather than
579 value_contents. Change `defer_val_int' local type to CORE_ADDR,
580 and use value_from_pointer to extract a target pointer, rather
581 than value_from_longest.
582 (print_variant_part): Add `offset' parameter. Replace
583 `outer_valaddr' parameter by a new `outer_offset' parameter.
584 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
585 (ada_value_print): Use
586 value_contents_for_printing/value_embedded_offset, rather than
587 value_contents.
588 (print_record): Add `offset' parameter, and adjust to pass it
589 down.
590 (print_field_values): Add `offset' parameter. Replace
591 `outer_valaddr' parameter by a new `outer_offset' parameter.
592 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
593 Use value_contents_for_printing/value_embedded_offset, rather than
594 value_contents.
595 * d-valprint.c (dynamic_array_type): Use
596 value_contents_for_printing/value_embedded_offset, rather than
597 value_contents.
598 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
599 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
600 (java_print_value_fields): Take `offset' into account. Don't
601 re-adjust `valaddr'. Instead pass down adjusted offsets.
602 (java_val_print): Take `embedded_offset' into account. Pass it to
603 java_print_value_fields.
604 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
605 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
606 down adjusted offsets.
607 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
608 (f_val_print): Take `embedded_offset' into account.
609
610 2011-01-21 Joel Brobecker <brobecker@adacore.com>
611
612 * inflow.c: Include "gdbcmd.h".
613 (interactive_mode): New static global, moved here from top.c.
614 (show_interactive_mode): New function, moved here from top.c.
615 use gdb_has_a_terminal instead of input_from_terminal_p to
616 determine the current mode.
617 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
618 setting.
619 (_initialize_inflow): Add the "set/show interactive-mode"
620 commands. Moved here from top.c, after having adjusted slightly
621 the help text.
622 * top.c (interactive_mode, show_interactive_mode): Delete, moved
623 to inflow.c.
624 (input_from_terminal_p): Remove handling of "interactive-mode"
625 setting, moved to infow.c.
626 (init_main): Remove creation of the "set/show interactive-mode"
627 commands, moved to inflow.c.
628
629 2011-01-19 Joel Brobecker <brobecker@adacore.com>
630
631 * NEWS: Add entry for native ia64-hpux support.
632
633 2011-01-19 Tom Tromey <tromey@redhat.com>
634
635 PR mi/8618:
636 * thread.c (free_thread): Free 'name'.
637 (print_thread_info): Emit thread name. Change CLI output.
638 (thread_name_command): New function.
639 (do_captured_thread_select): Emit newline.
640 (_initialize_thread): Register 'thread name' command.
641 * target.h (struct target_ops) <to_thread_name>: New field.
642 (target_thread_name): New macro.
643 * target.c (update_current_target): Handle to_thread_name.
644 * python/py-infthread.c (thpy_get_name): New function.
645 (thpy_set_name): Likewise.
646 (thread_object_getset): Add "name".
647 * linux-nat.c (linux_nat_thread_name): New function.
648 (linux_nat_add_target): Set to_thread_name.
649 * gdbthread.h (struct thread_info) <name>: New field.
650
651 2011-01-18 Joel Brobecker <brobecker@adacore.com>
652
653 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
654 (ada_val_print_1): Likewise.
655
656 2011-01-18 Joel Brobecker <brobecker@adacore.com>
657
658 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
659 upper limit address is not greater than the function end address
660 when the upper limit could not be computed using the debugging
661 info.
662
663 2011-01-17 Tom Tromey <tromey@redhat.com>
664
665 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
666 get_regcomp_error.
667 * utils.c: Include gdb_regex.h.
668 (do_regfree_cleanup): New function.
669 (make_regfree_cleanup): Likewise.
670 (get_regcomp_error): Likewise.
671 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
672
673 2011-01-17 Tom Tromey <tromey@redhat.com>
674
675 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
676 re_compile_fastmap.
677
678 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
679
680 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
681 for internal variables.
682 (last_was_structop): New static variable.
683 (COMPLETE): New token.
684 (field_exp): New rule to group all '.' suffix handling.
685 Add mark_struct_expression calls when approriate to be able
686 to correctly find fields for completion.
687 (yylex): Adapt to handle field completion and set INTVAR when
688 required.
689
690 2011-01-14 Yao Qi <yao@codesourcery.com>
691
692 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
693 save_reggroup, restore_reggroup and all_reggroup.
694
695 2011-01-14 Joel Brobecker <brobecker@adacore.com>
696
697 * ada-valprint. (ada_printchar): Use the correct type length
698 in call to ada_emit_char.
699 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
700
701 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
702
703 * solib-som.h (hpux_major_release): Declare variable here.
704 * solib-som.c: Remove <sys/utsname.h> header.
705 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
706 (hpux_major_release): Make global, change default value to
707 DEFAULT_HPUX_MAJOR_RELEASE.
708 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
709 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
710 Add "solib-som.h" header.
711 (set_hpux_major_release): New function.
712 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
713
714 2011-01-14 Mike Frysinger <vapier@gentoo.org>
715
716 * configure.tgt (*-*-uclinux*): Match more Linux os targets
717
718 2011-01-14 Joel Brobecker <brobecker@adacore.com>
719
720 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
721 new-line at end of warning message.
722 (ia64_hpux_store_register): Remove trailing new-line at end of
723 error message.
724 * ia64-hpux-tdep.c: Rephrase comment.
725 * solib-ia64-hpux.c (struct dld_info): Change type of field
726 dld_flags from "long long" to ULONGEST.
727
728 2011-01-14 Pedro Alves <pedro@codesourcery.com>
729
730 * target.h (deprecated_child_ops): Delete declaration.
731 * target.c (deprecated_child_ops): Delete definition.
732
733 2011-01-14 Pedro Alves <pedro@codesourcery.com>
734
735 * Makefile.in (hpux-thread.o): Delete rule.
736 * configure.ac: Don't check for HPUX DCE threads support.
737 * configure, config.in: Regenerate.
738 * hppa-hpux-nat.c (child_suppress_run): Delete.
739 (hppa_hpux_child_can_run): Delete.
740 (_initialize_hppa_hpux_nat): Don't override to_can_run.
741 * hpux-thread.c: Delete.
742
743 2011-01-13 Joel Brobecker <brobecker@adacore.com>
744
745 * hpux-thread.c (hpux_pid_to_str): Delete.
746
747 2011-01-13 Joel Brobecker <brobecker@adacore.com>
748
749 * ada-valprint.c (ada_emit_char): Remove strange code.
750 Check that c is <= UCHAR_MAX before passing it to isascii.
751 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
752
753 2011-01-13 Joel Brobecker <brobecker@adacore.com>
754
755 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
756 to the case where instream is stdin.
757
758 2011-01-13 Joel Brobecker <brobecker@adacore.com>
759
760 * ia64-tdep.h (struct regcache): Forward declare.
761 (struct ia64_infcall_ops): New struct type.
762 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
763 and "infcall_ops".
764 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
765 Renames ia64_find_global_pointer.
766 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
767 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
768 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
769 methods.
770 (ia64_infcall_ops): New static global constant.
771 (ia64_gdbarch_init): Set tdep->infcall_ops.
772 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
773 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
774 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
775 (ia64_hpux_dummy_code): New static global constant.
776 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
777 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
778 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
779 New function.
780 (ia64_hpux_infcall_ops): New static global constant.
781 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
782 for inferior function calls to work properly on ia64-hpux.
783
784 2011-01-13 Joel Brobecker <brobecker@adacore.com>
785
786 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
787 * ia64-tdep.h (struct frame_info): forward declaration.
788 (struct gdbarch_tdep): Add field size_of_register_frame.
789 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
790 to determine the size of the register frame.
791 (ia64_size_of_register_frame): New function.
792 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
793 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
794 (IA64_HPUX_UREG_REASON): New macro.
795 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
796 New functions.
797 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
798 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
799 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
800 objects.
801
802 2011-01-13 Joel Brobecker <brobecker@adacore.com>
803
804 Add support for ia64-hpux.
805 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
806 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
807
808 * configure.host: Add handling for ia64-hpux hosts. Add associated
809 floatformats.
810 * configure.tgt: Add handling for ia64-hpux targets.
811 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
812 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
813 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
814
815 2011-01-13 Joel Brobecker <brobecker@adacore.com>
816
817 [ttrace] Compute thread list immediately after attach.
818 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
819 New subprogram.
820 (inf_ttrace_attach): Use it.
821
822 2011-01-13 Joel Brobecker <brobecker@adacore.com>
823
824 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
825 if we could not determine the frame's function address. Instead,
826 use the frame's PC, and then continue.
827
828 2011-01-13 Joel Brobecker <brobecker@adacore.com>
829
830 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
831 not already defined.
832
833 2011-01-13 Joel Brobecker <brobecker@adacore.com>
834
835 * ia64-tdep.c (ia64_struct_type_p): New function.
836 (ia64_extract_return_value): Handle integral values that are
837 less than 8 bytes long.
838 (ia64_push_dummy_call): Likewise.
839
840 2011-01-13 Joel Brobecker <brobecker@adacore.com>
841
842 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
843 floatformat_ia64_ext.
844 (floatformat_ia64_ext_big): New static const.
845 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
846
847 2011-01-12 Tom Tromey <tromey@redhat.com>
848
849 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
850 messages.
851 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
852 (mi_cmd_thread_list_ids): Likewise.
853 (mi_cmd_data_list_changed_registers): Likewise.
854 (mi_cmd_data_list_register_values): Likewise.
855 (mi_cmd_data_write_register_values): Likewise.
856 (mi_cmd_data_evaluate_expression): Likewise.
857 (mi_cmd_data_read_memory): Likewise.
858 (mi_cmd_data_read_memory_bytes): Likewise.
859 (mi_cmd_data_write_memory): Likewise.
860 (mi_cmd_enable_timings): Likewise.
861 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
862 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
863 (mi_cmd_var_delete): Likewise.
864 (mi_cmd_var_set_format): Likewise.
865 (mi_cmd_var_show_format): Likewise.
866 (mi_cmd_var_info_num_children): Likewise.
867 (mi_cmd_var_list_children): Likewise.
868 (mi_cmd_var_info_type): Likewise.
869 (mi_cmd_var_info_expression): Likewise.
870 (mi_cmd_var_show_attributes): Likewise.
871 (mi_cmd_var_assign): Likewise.
872 (mi_cmd_var_update): Likewise.
873 (mi_cmd_enable_pretty_printing): Likewise.
874 (mi_cmd_var_set_update_range): Likewise.
875 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
876 messages.
877 (mi_cmd_target_file_put): Likewise.
878 (mi_cmd_target_file_delete): Likewise.
879 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
880 messages.
881 (mi_cmd_stack_info_depth): Likewise.
882 (mi_cmd_stack_list_locals): Likewise.
883 (mi_cmd_stack_list_args): Likewise.
884 (mi_cmd_stack_select_frame): Likewise.
885 (mi_cmd_stack_select_frame): Likewise.
886 (mi_cmd_stack_info_frame): Likewise.
887 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
888 messages.
889 (mi_cmd_file_list_exec_source_files): Likewise.
890 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
891 (mi_cmd_env_cd): Likewise.
892 (mi_cmd_env_path): Likewise.
893 (mi_cmd_env_dir): Likewise.
894 (mi_cmd_inferior_tty_show): Likewise.
895 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
896 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
897 (mi_cmd_break_watch): Likewise.
898
899 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
900
901 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
902 (ppc_linux_insert_hw_breakpoint): Likewise.
903 (ppc_linux_remove_hw_breakpoint): Likewise.
904 (ppc_linux_insert_watchpoint): Likewise.
905
906 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
907 Jan Kratochvil <jan.kratochvil@redhat.com>
908
909 PR fortran/11104 and DWARF unbound arrays detection.
910 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
911 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
912 unspecified upper bound.
913 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
914 variables array_size_array, tmp_type and offset_item. New variable
915 array. Remove call to f77_get_upperbound. New variables array_type
916 and index. Call value_subscripted_rvalue for each dimenasion. Remove
917 the final call to deprecated_set_value_type.
918
919 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
920
921 Make value allocations more lazy.
922 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
923 instead of allocate_value and set_value_lazy when possible.
924 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
925 instead of allocate_value and set_value_lazy.
926 * findvar.c (value_of_register_lazy): Likewise.
927 (read_var_value): Remove V preallocation, call just check_typedef in
928 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
929 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
930 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
931 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
932 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
933 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
934 the end, remove set_value_lazy there.
935 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
936 instead of allocate_value and set_value_lazy when possible.
937 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
938 * value.c (allocate_computed_value): Use allocate_value_lazy instead
939 of allocate_value and set_value_lazy.
940 (value_from_contents_and_address): Use allocate_value_lazy instead of
941 allocate_value and set_value_lazy when possible.
942
943 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
944
945 * disasm.c (dump_insns): Support dumping opcodes for MI.
946 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
947 dumping of instruction opcodes.
948
949 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
950
951 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
952 appropiately.
953
954 2011-01-11 Tom Tromey <tromey@redhat.com>
955
956 * thread.c (do_captured_thread_select): Emit newline before
957 printing frame.
958
959 2011-01-11 Michael Snyder <msnyder@vmware.com>
960
961 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
962 * score-tdep.c: Ditto.
963 * score-tdep.h: Ditto.
964 * ser-base.c: Ditto.
965 * ser-go32.c: Ditto.
966 * serial.c: Ditto.
967 * serial.h: Ditto.
968 * ser-mingw.c: Ditto.
969 * ser-pipe.c: Ditto.
970 * ser-tcp.c: Ditto.
971 * ser-unix.c: Ditto.
972 * sh64-tdep.c: Ditto.
973 * shnbsd-nat.c: Ditto.
974 * sh-tdep.c: Ditto.
975 * sh-tdep.h: Ditto.
976 * solib.c: Ditto.
977 * solib-darwin.c: Ditto.
978 * solib-frv.c: Ditto.
979 * solib.h: Ditto.
980 * solib-irix.c: Ditto.
981 * solib-osf.c: Ditto.
982 * solib-pa64.c: Ditto.
983 * solib-som.c: Ditto.
984 * solib-spu.c: Ditto.
985 * solib-sunos.c: Ditto.
986 * solib-svr4.c: Ditto.
987 * solist.h: Ditto.
988 * sol-thread.c: Ditto.
989 * somread.c: Ditto.
990 * source.c: Ditto.
991 * source.h: Ditto.
992 * sparc64-linux-tdep.c: Ditto.
993 * sparc64-tdep.c: Ditto.
994 * sparc-linux-nat.c: Ditto.
995 * sparc-linux-tdep.c: Ditto.
996 * sparc-sol2-nat.c: Ditto.
997 * sparc-sol2-tdep.c: Ditto.
998 * sparc-tdep.c: Ditto.
999 * sparc-tdep.h: Ditto.
1000 * spu-tdep.c: Ditto.
1001 * stabsread.c: Ditto.
1002 * stabsread.h: Ditto.
1003 * stack.c: Ditto.
1004 * symfile.c: Ditto.
1005 * symfile.h: Ditto.
1006 * symmisc.c: Ditto.
1007 * symtab.c: Ditto.
1008 * symtab.h: Ditto.
1009 * target.c: Ditto.
1010 * target-descriptions.c: Ditto.
1011 * target-descriptions.h: Ditto.
1012 * target.h: Ditto.
1013 * target-memory.c: Ditto.
1014 * terminal.h: Ditto.
1015 * thread.c: Ditto.
1016 * top.c: Ditto.
1017 * tracepoint.c: Ditto.
1018 * tracepoint.h: Ditto.
1019 * trad-frame.h: Ditto.
1020 * typeprint.c: Ditto.
1021
1022 2011-01-11 Michael Snyder <msnyder@vmware.com>
1023
1024 * ui-file.c: Comment cleanup, mostly periods and spaces.
1025 * ui-file.h: Ditto.
1026 * ui-out.c: Ditto.
1027 * ui-out.h: Ditto.
1028 * utils.c: Ditto.
1029 * v850-tdep.c: Ditto.
1030 * valarith.c: Ditto.
1031 * valops.c: Ditto.
1032 * valprint.c: Ditto.
1033 * valprint.h: Ditto.
1034 * value.c: Ditto.
1035 * value.h: Ditto.
1036 * varobj.c: Ditto.
1037 * varobj.h: Ditto.
1038 * vax-tdep.c: Ditto.
1039 * vec.c: Ditto.
1040 * vec.h: Ditto.
1041 * version.h: Ditto.
1042 * windows-nat.c: Ditto.
1043 * windows-tdep.c: Ditto.
1044 * xcoffread.c: Ditto.
1045 * xcoffsolib.c: Ditto.
1046 * xml-support.c: Ditto.
1047 * xstormy16-tdep.c: Ditto.
1048 * xtensa-tdep.c: Ditto.
1049 * xtensa-tdep.h: Ditto.
1050
1051 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1052
1053 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
1054 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
1055
1056 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
1057 Thiago Jung Bauermann <bauerman@br.ibm.com>
1058
1059 Implement support for PowerPC BookE ranged watchpoints.
1060 * breakpoint.h
1061 (struct breakpoint_ops) <resources_needed>: New method.
1062 Initialize to NULL in all existing breakpoint_ops instances.
1063 (struct breakpoint) <exact>: New field.
1064 (target_exact_watchpoints): Declare external global.
1065 * breakpoint.c (target_exact_watchpoints): New global flag.
1066 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
1067 b->enable_state to bp_enabled before calling
1068 hw_watchpoint_used_count.
1069 (hw_watchpoint_used_count): Iterate over all bp_locations in a
1070 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
1071 if available.
1072 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
1073 if the watchpoint is exact.
1074 (resources_needed_watchpoint): New function.
1075 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
1076 (watch_command_1): Set b->exact if the user asked for an exact
1077 watchpoint and one can be set.
1078 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
1079 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
1080 the user asks for an exact watchpoint and one can be set. Return
1081 number of needed debug registers to watch the expression.
1082 * gdbtypes.c (is_scalar_type): New function, based on
1083 valprint.c:scalar_type_p.
1084 (is_scalar_type_recursive): New function.
1085 * gdbtypes.h (is_scalar_type_recursive): Declare.
1086 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
1087 handle regions when ranged watchpoints are available.
1088 (create_watchpoint_request): New function.
1089 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
1090 create_watchpoint_request.
1091 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
1092 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
1093 `set powerpc' and `show powerpc' commands.
1094 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1095 Mention documentation comment in the target macro.
1096 (target_region_ok_for_hw_watchpoint): Document return value.
1097
1098 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1099
1100 * breakpoint.c (update_watchpoint): Decide on using a software or
1101 hardware watchpoint after the bp_locations are created.
1102
1103 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1104
1105 Convert hardware watchpoints to use breakpoint_ops.
1106 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
1107 <insert_location>: ... this. Return int instead of void.
1108 Accept pointer to struct bp_location instead of pointer to
1109 struct breakpoint. Adapt all implementations.
1110 (breakpoint_ops) <remove>: Rename to...
1111 <remove_location>: ... this. Accept pointer to struct bp_location
1112 instead of pointer to struct breakpoint. Adapt all implementations.
1113 * breakpoint.c (insert_catchpoint): Delete function.
1114 (insert_bp_location): Call the watchpoint or catchpoint's
1115 breakpoint_ops.insert method.
1116 (remove_breakpoint_1): Call the watchpoint or catchpoint's
1117 breakpoint_ops.remove method.
1118 (insert_watchpoint, remove_watchpoint): New functions.
1119 (watchpoint_breakpoint_ops): New structure.
1120 (watch_command_1): Initialize the OPS field.
1121 * inf-child.c (inf_child_insert_fork_catchpoint)
1122 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
1123 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
1124 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
1125 Delete functions.
1126 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
1127 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
1128 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
1129 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
1130 * target.c (update_current_target): Change default implementation of
1131 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
1132 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
1133 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
1134 to_set_syscall_catchpoint to return_one.
1135 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
1136 (debug_to_insert_exec_catchpoint): Report return value.
1137 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
1138 (to_insert_exec_catchpoint): Change declaration to return int instead
1139 of void.
1140
1141 2011-01-11 Michael Snyder <msnyder@vmware.com>
1142
1143 * arm-tdep.c: Internationalization.
1144 * c-lang.c: Ditto.
1145 * charset.c: Ditto.
1146 * fork-child.c: Ditto.
1147 * nto-procfs.c: Ditto.
1148 * ppc-sysv-tdep.c: Ditto.
1149 * procfs.c: Ditto.
1150 * remote-mips.c: Ditto.
1151 * remote.c: Ditto.
1152 * rs6000-nat.c: Ditto.
1153 * rs6000-tdep.c: Ditto.
1154 * target.c: Ditto.
1155 * valops.c: Ditto.
1156 * value.c: Ditto.
1157 * xml-support.c: Ditto.
1158 * mi/mi-cmd-break.c: Ditto.
1159 * mi/mi-cmd-var.c: Ditto.
1160 * mi/mi-interp.c: Ditto.
1161 * mi/mi-main.c: Ditto.
1162
1163 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
1164
1165 * remote-sim.c (gdbsim_store_register): Update API to
1166 sim_store_register to check more error conditions.
1167
1168 2011-01-10 Michael Snyder <msnyder@vmware.com>
1169
1170 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
1171 * nto-tdep.c: Ditto.
1172 * nto-tdep.h: Ditto.
1173 * objc-exp.y: Ditto.
1174 * objc-lang.c: Ditto.
1175 * objfiles.c: Ditto.
1176 * objfiles.h: Ditto.
1177 * observer.c: Ditto.
1178 * opencl-lang.c: Ditto.
1179 * osabi.c: Ditto.
1180 * parse.c: Ditto.
1181 * parser-defs.h: Ditto.
1182 * p-exp.y: Ditto.
1183 * p-lang.c: Ditto.
1184 * posix-hdep.c: Ditto.
1185 * ppcbug-rom.c: Ditto.
1186 * ppc-linux-nat.c: Ditto.
1187 * ppc-linux-tdep.c: Ditto.
1188 * ppc-linux-tdep.h: Ditto.
1189 * ppcnbsd-tdep.c: Ditto.
1190 * ppcobsd-tdep.c: Ditto.
1191 * ppcobsd-tdep.h: Ditto.
1192 * ppc-sysv-tdep.c: Ditto.
1193 * ppc-tdep.h: Ditto.
1194 * printcmd.c: Ditto.
1195 * proc-abi.c: Ditto.
1196 * proc-flags.c: Ditto.
1197 * procfs.c: Ditto.
1198 * proc-utils.h: Ditto.
1199 * progspace.h: Ditto.
1200 * prologue-value.c: Ditto.
1201 * prologue-value.h: Ditto.
1202 * psympriv.h: Ditto.
1203 * psymtab.c: Ditto.
1204 * p-typeprint.c: Ditto.
1205 * p-valprint.c: Ditto.
1206 * ravenscar-sparc-thread.c: Ditto.
1207 * ravenscar-thread.c: Ditto.
1208 * ravenscar-thread.h: Ditto.
1209 * record.c: Ditto.
1210 * regcache.c: Ditto.
1211 * regcache.h: Ditto.
1212 * remote.c: Ditto.
1213 * remote-fileio.c: Ditto.
1214 * remote-fileio.h: Ditto.
1215 * remote.h: Ditto.
1216 * remote-m32r-sdi.c: Ditto.
1217 * remote-mips.c: Ditto.
1218 * remote-sim.c: Ditto.
1219 * rs6000-aix-tdep.c: Ditto.
1220 * rs6000-nat.c: Ditto.
1221 * rs6000-tdep.c: Ditto.
1222
1223 2011-01-10 Michael Snyder <msnyder@vmware.com>
1224
1225 * charset.c (validate): Internationalization.
1226 * coffread.c (read_one_sym): Ditto.
1227 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
1228 * h8300-tdep.c (H8300_extract_return_value): Ditto.
1229 * inflow.c (new_tty): Ditto.
1230 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
1231 * m32c-tdep.c (m32c_return_value): Ditto.
1232 * mep-tdep.c (mep_store_return_value): Ditto.
1233 * score-tdep.c (score7_fetch_insn): Ditto.
1234 * ser-mingw.c (pipe_windows_open): Ditto.
1235 * sh64-tdep.c (sh64_extract_return_value): Ditto.
1236 * spu-tdep.c (spu_register_type): Ditto.
1237 * tracepoint.c (trace_find_command): Ditto.
1238 * valarith.c (value_pos): Ditto.
1239
1240 2011-01-10 Joel Brobecker <brobecker@adacore.com>
1241
1242 * ada-valprint.c (printstr): Minor comment reformatting.
1243
1244 2011-01-08 Michael Snyder <msnyder@vmware.com>
1245
1246 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
1247 markup.
1248
1249 2011-01-08 Michael Snyder <msnyder@vmware.com>
1250
1251 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
1252 * hppa-hpux-tdep.c: Ditto.
1253 * hppa-linux-nat.c: Ditto.
1254 * hppa-linux-tdep.c: Ditto.
1255 * hppanbsd-tdep.c: Ditto.
1256 * hppa-tdep.c: Ditto.
1257 * hppa-tdep.h: Ditto.
1258 * hpux-thread.c: Ditto.
1259 * i386-cygwin-tdep.c: Ditto.
1260 * i386-darwin-nat.c: Ditto.
1261 * i386gnu-nat.c: Ditto.
1262 * i386-linux-nat.c: Ditto.
1263 * i386-linux-tdep.c: Ditto.
1264 * i386-nat.c: Ditto.
1265 * i386-nat.h: Ditto.
1266 * i386nbsd-tdep.c: Ditto.
1267 * i386-sol2-nat.c: Ditto.
1268 * i386-stub.c: Ditto.
1269 * i386-tdep.c: Ditto.
1270 * i386-tdep.h: Ditto.
1271 * i387-tdep.c: Ditto.
1272 * ia64-linux-nat.c: Ditto.
1273 * ia64-linux-tdep.c: Ditto.
1274 * ia64-tdep.c: Ditto.
1275 * infcall.c: Ditto.
1276 * infcall.h: Ditto.
1277 * infcmd.c: Ditto.
1278 * inferior.c: Ditto.
1279 * inferior.h: Ditto.
1280 * infloop.c: Ditto.
1281 * inflow.c: Ditto.
1282 * infrun.c: Ditto.
1283 * interps.c: Ditto.
1284 * interps.h: Ditto.
1285 * iq2000-tdep.c: Ditto.
1286 * irix5-nat.c: Ditto.
1287 * jit.c: Ditto.
1288 * jit.h: Ditto.
1289 * jv-exp.y: Ditto.
1290 * jv-lang.c: Ditto.
1291 * jv-lang.h: Ditto.
1292 * jv-typeprint.c: Ditto.
1293 * jv-valprint.c: Ditto.
1294 * language.c: Ditto.
1295 * language.h: Ditto.
1296 * linespec.c: Ditto.
1297 * linux-fork.c: Ditto.
1298 * linux-nat.c: Ditto.
1299 * linux-thread-db.c: Ditto.
1300 * lm32-tdep.c: Ditto.
1301
1302 2011-01-08 Michael Snyder <msnyder@vmware.com>
1303
1304 * m2-exp.y: Comment cleanup, mostly periods and spaces.
1305 * m2-lang.c: Ditto.
1306 * m2-typeprint.c: Ditto.
1307 * m2-valprint.c: Ditto.
1308 * m32c-tdep.c: Ditto.
1309 * m32r-linux-nat.c: Ditto.
1310 * m32r-rom.c: Ditto.
1311 * m32r-tdep.c: Ditto.
1312 * m32r-tdep.h: Ditto.
1313 * m68hc11-tdep.c: Ditto.
1314 * m58klinux-nat.c: Ditto.
1315 * m68k-tdep.c: Ditto.
1316 * m88k-tdep.c: Ditto.
1317 * m88k-tdep.h: Ditto.
1318 * machoread.c: Ditto.
1319 * macrocmd.c: Ditto.
1320 * macroexp.c: Ditto.
1321 * macrotab.c: Ditto.
1322 * main.c: Ditto.
1323 * maint.c: Ditto.
1324 * mdebugread.c: Ditto.
1325 * mdebugread.h: Ditto.
1326 * memattr.c: Ditto.
1327 * memattr.h: Ditto.
1328 * memory-map.h: Ditto.
1329 * mep-tdep.c: Ditto.
1330 * microblaze-rom.c: Ditto.
1331 * microblaze-tdep.c: Ditto.
1332 * minsyms.c: Ditto.
1333 * mips-irix-tdep.c: Ditto.
1334 * mips-linux-nat.c: Ditto.
1335 * mips-linux-tdep.c: Ditto.
1336 * mips-linux-tdep.h: Ditto.
1337 * mipsnbsd-nat.c: Ditto.
1338 * mipsnbsd-tdep.c: Ditto.
1339 * mipsread.c: Ditto.
1340 * mips-tdep.c: Ditto.
1341 * mips-tdep.h: Ditto.
1342 * mn10300-linux-tdep.c: Ditto.
1343 * mn10300-tdep.c: Ditto.
1344 * mn10300-tdep.h: Ditto.
1345 * monitor.c: Ditto.
1346 * monitor.h: Ditto.
1347 * moxie-tdep.c: Ditto.
1348 * moxie-tdep.h: Ditto.
1349 * mt-tdep.c: Ditto.
1350
1351 2011-01-08 Mike Frysinger <vapier@gentoo.org>
1352
1353 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
1354
1355 2011-01-08 Robert Millan <rmh@gnu.org>
1356
1357 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
1358
1359 2011-01-07 Michael Snyder <msnyder@vmware.com>
1360
1361 * charset.c (_initialize_charset): Fix typo in string.
1362
1363 2011-01-07 Michael Snyder <msnyder@vmware.com>
1364
1365 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
1366 for i18n.
1367 * tui/tui-layout.c (tui_set_layout_for_display_command):
1368 Split line so that operator goes to beginning of line.
1369 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
1370 assignment out of if statement.
1371
1372 2011-01-07 Michael Snyder <msnyder@vmware.com>
1373
1374 * ada-lang.c: Comment cleanup, mostly periods and spaces.
1375 * ada-lang.h: Ditto.
1376 * ada-tasks.c: Ditto.
1377 * ada-valprint.c: Ditto.
1378 * aix-threads.c: Ditto.
1379 * alpha-linux-nat.c: Ditto.
1380 * alpha-linux-tdep.c: Ditto.
1381 * alpha-mdebug-tdep.c: Ditto.
1382 * alpha-nat.c: Ditto.
1383 * alpha-osf1-tdep.c: Ditto.
1384 * alpha-tdep.c: Ditto.
1385 * alphabsd-nat.c: Ditto.
1386 * alphabsd-tdep.c: Ditto.
1387 * amd64-darwin-tdep.c: Ditto.
1388 * amd64-linux-nat.c: Ditto.
1389 * amd64-linux-tdep.c: Ditto.
1390 * amd64-sol2-tdep.c: Ditto.
1391 * amd64-tdep.c: Ditto.
1392 * amd64-fbsd-tdep.c: Ditto.
1393 * amd64-nbsd-tdep.c: Ditto.
1394 * amd64-obsd-tdep.c: Ditto.
1395 * amd64-linux-nat.c: Ditto.
1396 * amd64-linux-tdep.c: Ditto.
1397 * arm-tdep.c: Ditto.
1398 * arm-tdep.h: Ditto.
1399 * armnbsd-nat.c: Ditto.
1400 * avr-tdep.c: Ditto.
1401 * bfin-tdep.c: Ditto.
1402 * bsd-kvm.c: Ditto.
1403 * c-typeprintc: Ditto.
1404 * c-valprint.c: Ditto.
1405 * coff-pe-read.h: Ditto.
1406 * coffreead.c: Ditto.
1407 * cris-tdep.c: Ditto.
1408 * d-lang.c: Ditto.
1409 * darwin-nat-info.c: Ditto.
1410 * darwin-nat.c: Ditto.
1411 * dbug-rom.c: Ditto.
1412 * dbxread.c: Ditto.
1413 * dcache.c: Ditto.
1414 * dcache.h: Ditto.
1415 * dec-thread.c: Ditto.
1416 * defs.h: Ditto.
1417 * demangle.c: Ditto.
1418 * dicos-tdep.c: Ditto.
1419 * dictionary.c: Ditto.
1420 * dictionary.h: Ditto.
1421 * dink32-rom.c: Ditto.
1422 * disasm.c: Ditto.
1423 * doublest.c: Ditto.
1424 * dsrec.c: Ditto.
1425 * dummy-frame.c: Ditto.
1426 * dwarf2-frame.c: Ditto.
1427 * dwarf2expr.c: Ditto.
1428 * dwarf2loc.c: Ditto.
1429 * dwarf2read.c: Ditto.
1430 * elfread.c: Ditto.
1431 * environ.c: Ditto.
1432 * eval.c: Ditto.
1433 * event-top.h: Ditto.
1434 * exceptions.c: Ditto.
1435 * exceptions.h: Ditto.
1436 * exec.c: Ditto.
1437 * expprint.c: Ditto.
1438 * expression.h: Ditto.
1439 * f-exp.y: Ditto.
1440 * f-lang.c: Ditto.
1441 * f-lang.h: Ditto.
1442 * f-typeprint.c: Ditto.
1443 * f-valprint.c: Ditto.
1444 * fbsd-nat.c: Ditto.
1445 * findvar.c: Ditto.
1446 * fork-child.c: Ditto.
1447 * frame.c: Ditto.
1448 * frame.h: Ditto.
1449 * frv-linux-tdep.c: Ditto.
1450 * frv-tdep.c: Ditto.
1451 * gcore.c: Ditto.
1452 * gdb-stabs.h: Ditto.
1453 * gdb_assert.h: Ditto.
1454 * gdb_string.h: Ditto.
1455 * gdb_thread_db.h: Ditto.
1456 * gdb_wait.h: Ditto.
1457 * gdbarch.sh: Ditto.
1458 * gdbcore.h: Ditto.
1459 * gdbthread.h: Ditto.
1460 * gdbtypes.c: Ditto.
1461 * gdbtypes.h: Ditto.
1462 * gnu-nat.c: Ditto.
1463 * gnu-nat.h: Ditto.
1464 * gnu-v2-abi.c: Ditto.
1465 * gnu-v3-abi.c: Ditto.
1466 * go32-nat.c: Ditto.
1467 * gdbarch.c: Regenerate.
1468 * gdbarch.h: Regenerate.
1469
1470 2011-01-07 Michael Snyder <msnyder@vmware.com>
1471
1472 * ax-gdb.c: Adjust some long output strings.
1473 * breakpoint.c: Ditto.
1474 * charset.c: Ditto.
1475 * cp-abi.c: Ditto.
1476 * infcall.c: Ditto.
1477 * infrun.c: Ditto.
1478 * linux-nat.c: Ditto.
1479 * solib-pa64.c: Ditto.
1480 * solib-som.c: Ditto.
1481
1482 2011-01-06 Tom Tromey <tromey@redhat.com>
1483
1484 PR python/12367:
1485 * NEWS: Add item.
1486 * python/python.c (GdbMethods): Add "newest_frame" method.
1487 * python/python-internal.h (gdbpy_newest_frame): Declare.
1488 * python/py-frame.c (gdbpy_newest_frame): New function.
1489
1490 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1491
1492 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
1493 * jit.c (jit_debug): New variable.
1494 (show_jit_debug): New function.
1495 (struct target_buffer): Use ULONGEST.
1496 (bfd_open_from_target_memory): Likewise.
1497 (jit_register_code, jit_inferior_init): Add debug output.
1498 (_initialize_jit): Register "debug jit" command.
1499
1500 2011-01-06 Tom Tromey <tromey@redhat.com>
1501
1502 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
1503 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
1504 and ARCH_FRAME.
1505
1506 2011-01-06 Tom Tromey <tromey@redhat.com>
1507
1508 * python/py-frame.c (frapy_block): Use get_frame_block.
1509
1510 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1511
1512 Do not stop on SIGPRIO signals by default
1513 * infrun.c (_initialize_infrun): Unset signal_stop and
1514 signal_print for TARGET_SIGNAL_PRIO.
1515
1516 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1517
1518 * ada-tasks.c: Fix style violation in comment.
1519
1520 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1521
1522 * linespec.c (decode_compound, find_method): Remove trailing \n
1523 at end of error string.
1524 * solib-irix.c (irix_current_sos): Likewise.
1525 * varobj.c (uninstall_variable): Likewise.
1526
1527 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1528
1529 * copyright.py: New script.
1530 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
1531 Launch emacs without exec'ing. Call copyright.py afterwards.
1532
1533 2011-01-05 Michael Snyder <msnyder@vmware.com>
1534
1535 * addrmap.c: Shorten lines of >= 80 columns.
1536 * arch-utils.c: Ditto.
1537 * arch-utils.h: Ditto.
1538 * ax-gdb.c: Ditto.
1539 * ax-general.c: Ditto.
1540 * bcache.c: Ditto.
1541 * blockframe.c: Ditto.
1542 * breakpoint.c: Ditto.
1543 * buildsym.c: Ditto.
1544 * c-lang.c: Ditto.
1545 * c-typeprint.c: Ditto.
1546 * charset.c: Ditto.
1547 * coffread.c: Ditto.
1548 * command.h: Ditto.
1549 * corelow.c: Ditto.
1550 * cp-abi.c: Ditto.
1551 * cp-namespace.c: Ditto.
1552 * cp-support.c: Ditto.
1553 * dbug-rom.c: Ditto.
1554 * dbxread.c: Ditto.
1555 * defs.h: Ditto.
1556 * dfp.c: Ditto.
1557 * dfp.h: Ditto.
1558 * dictionary.c: Ditto.
1559 * disasm.c: Ditto.
1560 * doublest.c: Ditto.
1561 * dwarf2-frame.c: Ditto.
1562 * dwarf2expr.c: Ditto.
1563 * dwarf2loc.c: Ditto.
1564 * dwarf2read.c: Ditto.
1565 * elfread.c: Ditto.
1566 * eval.c: Ditto.
1567 * event-loop.c: Ditto.
1568 * event-loop.h: Ditto.
1569 * exceptions.h: Ditto.
1570 * exec.c: Ditto.
1571 * expprint.c: Ditto.
1572 * expression.h: Ditto.
1573 * f-lang.c: Ditto.
1574 * f-valprint.c: Ditto.
1575 * findcmd.c: Ditto.
1576 * frame-base.c: Ditto.
1577 * frame-unwind.c: Ditto.
1578 * frame-unwind.h: Ditto.
1579 * frame.c: Ditto.
1580 * frame.h: Ditto.
1581 * gcore.c: Ditto.
1582 * gdb-stabs.h: Ditto.
1583 * gdb_assert.h: Ditto.
1584 * gdb_dirent.h: Ditto.
1585 * gdb_obstack.h: Ditto.
1586 * gdbcore.h: Ditto.
1587 * gdbtypes.c: Ditto.
1588 * gdbtypes.h: Ditto.
1589 * inf-ttrace.c: Ditto.
1590 * infcall.c: Ditto.
1591 * infcmd.c: Ditto.
1592 * inflow.c: Ditto.
1593 * infrun.c: Ditto.
1594 * inline-frame.h: Ditto.
1595 * language.c: Ditto.
1596 * language.h: Ditto.
1597 * libunwind-frame.c: Ditto.
1598 * libunwind-frame.h: Ditto.
1599 * linespec.c: Ditto.
1600 * linux-nat.c: Ditto.
1601 * linux-nat.h: Ditto.
1602 * linux-thread-db.c: Ditto.
1603 * machoread.c: Ditto.
1604 * macroexp.c: Ditto.
1605 * macrotab.c: Ditto.
1606 * main.c: Ditto.
1607 * maint.c: Ditto.
1608 * mdebugread.c: Ditto.
1609 * memattr.c: Ditto.
1610 * minsyms.c: Ditto.
1611 * monitor.c: Ditto.
1612 * monitor.h: Ditto.
1613 * objfiles.c: Ditto.
1614 * objfiles.h: Ditto.
1615 * osabi.c: Ditto.
1616 * p-typeprint.c: Ditto.
1617 * p-valprint.c: Ditto.
1618 * parse.c: Ditto.
1619 * printcmd.c: Ditto.
1620 * proc-events.c: Ditto.
1621 * procfs.c: Ditto.
1622 * progspace.c: Ditto.
1623 * progspace.h: Ditto.
1624 * psympriv.h: Ditto.
1625 * psymtab.c: Ditto.
1626 * record.c: Ditto.
1627 * regcache.c: Ditto.
1628 * regcache.h: Ditto.
1629 * remote-fileio.c: Ditto.
1630 * remote.c: Ditto.
1631 * ser-mingw.c: Ditto.
1632 * ser-tcp.c: Ditto.
1633 * ser-unix.c: Ditto.
1634 * serial.c: Ditto.
1635 * serial.h: Ditto.
1636 * solib-frv.c: Ditto.
1637 * solib-irix.c: Ditto.
1638 * solib-osf.c: Ditto.
1639 * solib-pa64.c: Ditto.
1640 * solib-som.c: Ditto.
1641 * solib-sunos.c: Ditto.
1642 * solib-svr4.c: Ditto.
1643 * solib-target.c: Ditto.
1644 * solib.c: Ditto.
1645 * somread.c: Ditto.
1646 * source.c: Ditto.
1647 * stabsread.c: Ditto.
1648 * stabsread.c: Ditto.
1649 * stack.c: Ditto.
1650 * stack.h: Ditto.
1651 * symfile-mem.c: Ditto.
1652 * symfile.c: Ditto.
1653 * symfile.h: Ditto.
1654 * symmisc.c: Ditto.
1655 * symtab.c: Ditto.
1656 * symtab.h: Ditto.
1657 * target-descriptions.c: Ditto.
1658 * target-memory.c: Ditto.
1659 * target.c: Ditto.
1660 * target.h: Ditto.
1661 * terminal.h: Ditto.
1662 * thread.c: Ditto.
1663 * top.c: Ditto.
1664 * tracepoint.c: Ditto.
1665 * tracepoint.h: Ditto.
1666 * ui-file.c: Ditto.
1667 * ui-file.h: Ditto.
1668 * ui-out.h: Ditto.
1669 * user-regs.c: Ditto.
1670 * user-regs.h: Ditto.
1671 * utils.c: Ditto.
1672 * valarith.c: Ditto.
1673 * valops.c: Ditto.
1674 * valprint.c: Ditto.
1675 * valprint.h: Ditto.
1676 * value.c: Ditto.
1677 * varobj.c: Ditto.
1678 * varobj.h: Ditto.
1679 * vec.h: Ditto.
1680 * xcoffread.c: Ditto.
1681 * xcoffsolib.c: Ditto.
1682 * xcoffsolib.h: Ditto.
1683 * xml-syscall.c: Ditto.
1684 * xml-tdesc.c: Ditto.
1685
1686 2011-01-05 Michael Snyder <msnyder@vmware.com>
1687
1688 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
1689 * cli/cli-decode.c: Ditto.
1690 * cli/cli-dump.c: Ditto.
1691 * cli/cli-logging.c: Ditto.
1692 * cli/cli-script.c: Ditto.
1693 * cli/cli-setshow.c: Ditto.
1694 * common/signals.c: Ditto.
1695 * mi/mi-cmd-break.c: Ditto.
1696 * mi/mi-cmd-disas.c: Ditto.
1697 * mi/mi-cmd-stack.c: Ditto.
1698 * mi/mi-cmd-var.c: Ditto.
1699 * mi/mi-cmds.c: Ditto.
1700 * mi/mi-common.h: Ditto.
1701 * mi/mi-console.c: Ditto.
1702 * mi/mi-interp.c: Ditto.
1703 * mi/mi-main.c: Ditto.
1704 * osf-share/cma_attr.c: Ditto.
1705 * osf-share/cma_deb_core.h: Ditto.
1706 * osf-share/cma_debug_client.h: Ditto.
1707 * osf-share/cma_handle.h: Ditto.
1708 * osf-share/cma_mutex.h: Ditto.
1709 * osf-share/cma_stack_int.h: Ditto.
1710 * osf-share/cma_tcb_defs.h: Ditto.
1711 * python/py-auto-load.c: Ditto.
1712 * python/py-breakpoint.c: Ditto.
1713 * python/py-cmd.c: Ditto.
1714 * python/py-frame.c: Ditto.
1715 * python/py-objfile.c: Ditto.
1716 * python/py-param.c: Ditto.
1717 * python/py-progspace.c: Ditto.
1718 * python/py-symbol.c: Ditto.
1719 * python/py-value.c: Ditto.
1720 * python/python-internal.h: Ditto.
1721 * python/python.c: Ditto.
1722 * tui/tui-data.c: Ditto.
1723 * tui/tui-disasm.c: Ditto.
1724 * tui/tui-hooks.c: Ditto.
1725 * tui/tui-io.c: Ditto.
1726 * tui/tui-layout.c: Ditto.
1727 * tui/tui-regs.c: Ditto.
1728 * tui/tui-source.c: Ditto.
1729 * tui/tui-stack.c: Ditto.
1730 * tui/tui-win.c: Ditto.
1731 * tui/tui-windata.c: Ditto.
1732 * tui/tui-winsource.c: Ditto.
1733
1734 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1735
1736 * configure.ac, gdb.1: Copyright year update.
1737
1738 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1739
1740 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
1741 this_pc_in_block, morestack_msym and morestack_name. Check for
1742 "__morestack" minimal symbol there.
1743
1744 2011-01-03 Joel Brobecker <brobecker@adacore.com>
1745
1746 * symfile.c (find_sym_fns): Add call to dont_repeat.
1747
1748 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1749
1750 Copyright year update in most files (performed by copyright.sh).
1751
1752 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1753
1754 * top.c (print_gdb_version): Update copyright year in version output.
1755
1756 For older changes see ChangeLog-2010.
1757 \f
1758 Local Variables:
1759 mode: change-log
1760 left-margin: 8
1761 fill-column: 74
1762 version-control: never
1763 coding: utf-8
1764 End:
This page took 0.066463 seconds and 4 git commands to generate.