]> Git Repo - binutils.git/blame - gdb/ChangeLog
do not use python<version> subdir when including Python .h file
[binutils.git] / gdb / ChangeLog
CommitLineData
ac534cba
JB
12011-01-31 Joel Brobecker <[email protected]>
2
3 * configure.ac: Remove fallback behavior for building
4 against Python. Remove tweaking of Python include path.
5 Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution.
6 (AC_TRY_LIBPYTHON): Adjust program used in linking test.
7 If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS.
8 Always restore CPPFLAGS and LIBS after linking test.
9 * configure: Regenerated.
10 * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@.
11 (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@.
12 * python/python-internal.h: Adjust includes of Python .h files.
13
c2f0d045
JB
142011-01-31 Joel Brobecker <[email protected]>
15
16 * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
17 in error message.
18
6b0c4c1f
JB
192011-01-31 Joel Brobecker <[email protected]>
20
21 * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
22 value test.
23
672c9795
YQ
242011-01-31 Yao Qi <[email protected]>
25
26 * arm-linux-nat.c: Update calls to regcache_register_status
27 instead of regcache_valid_p.
28 * aix-thread.c: Likewise.
29 * i386gnu-nat.c: Likewise.
30
80b23b6a
JK
312011-01-29 Jan Kratochvil <[email protected]>
32
33 Fix crash.
34 * valops.c (compare_parameters): Verify TYPE_NFIELDS before
35 touching TYPE_FIELD_ARTIFICIAL.
36
4cd712bd
RE
372011-01-28 Richard Earnshaw <[email protected]>
38
39 * MAINTAINERS: Move myself from Responsible Maintainers to Authorized
40 Committers.
41
ffd5ec24
PA
422011-01-28 Pedro Alves <[email protected]>
43
44 * tracepoint.c (tfile_xfer_partial): If there's no traceframe
45 selected, don't try iterating over the traceframe's blocks.
46 (tfile_has_stack): If there's no traceframe selected, then there's
47 no stack.
48 (tfile_has_registers): If there's no traceframe selected, then
49 there's no registers.
50
e8c9e0a1
PA
512011-01-28 Pedro Alves <[email protected]>
52
53 * target.c (memory_xfer_partial): No need to restore shadows if we
54 haven't read anything.
55
de15c4ab
PA
562011-01-28 Pedro Alves <[email protected]>
57
58 * mips-tdep.c (mips_print_register): Use get_frame_register_value
59 and val_print_scalar_formatted.
60
9f41c731
PA
612011-01-27 Pedro Alves <[email protected]>
62
63 * tracepoint.c (tfile_read): New.
64 (tfile_open): Use it.
65 (tfile_get_traceframe_address): Use it.
66 (tfile_trace_find): Use it.
67 (walk_blocks_callback_func): New typedef.
68 (match_blocktype): New function.
69 (traceframe_walk_blocks): New function.
70 (traceframe_find_block_type): New function.
71 (tfile_fetch_registers, tfile_xfer_partial)
72 (tfile_get_trace_state_variable_value): Use
73 traceframe_find_block_type and tfile_read.
74
cdefc55d
KB
752011-01-26 Kevin Buettner <[email protected]>
76
77 * remote-mips.c: Add internationalization mark ups. Remove
78 trailing \n from already marked up strings.
79
a81766d8
TT
802011-01-26 Tom Tromey <[email protected]>
81
82 * python/py-prettyprint.c (print_string_repr): Clear
83 'addressprint' option when calling val_print_string.
84 (print_children): Handle Val_pretty_default. Clear 'addressprint'
85 option when calling val_print_string.
86
74aedc46
TT
872011-01-26 Tom Tromey <[email protected]>
88
89 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
90 GDB_PY_LL_ARG.
91 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
92 macros.
93 (gdb_py_longest, gdb_py_ulongest): New typedefs.
94 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
95 (gdb_py_long_as_ulongest): New defines.
96 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
97 (gdb_py_int_as_long): Declare.
98 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
99 GDB_PY_LL_ARG, gdb_py_object_from_longest.
100 (valpy_long): Add comment.
101 * python/py-utils.c (get_addr_from_python): Use
102 gdb_py_long_as_ulongest. Handle overflow properly.
103 (gdb_py_object_from_longest): New function.
104 (gdb_py_object_from_ulongest): Likewise.
105 (gdb_py_int_as_long): Likewise.
106 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
107 * python/py-symtab.c (salpy_get_pc): Use
108 gdb_py_long_from_ulongest.
109 (salpy_get_line): Use PyInt_FromLong.
110 * python/py-param.c (set_parameter_value): Use
111 gdb_py_int_as_long.
112 * python/py-lazy-string.c (stpy_get_address): Use
113 gdb_py_long_from_ulongest.
114 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
115 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
116 * python/py-breakpoint.c (bppy_set_thread): Use
117 gdb_py_int_as_long.
118 (bppy_set_task): Likewise.
119 (bppy_set_ignore_count): Likewise.
120 (bppy_set_hit_count): Likewise.
121 * python/py-block.c (blpy_get_start): Use
122 gdb_py_object_from_ulongest.
123 (blpy_get_end): Likewise.
124 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
125
e4f6d2ec
TJB
1262011-01-25 Mathieu Lacage <[email protected]>
127
128 PR/symtab 11766:
129 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
130 * gdb/solib.c (solib_read_symbols): Check for addr_low in
131 equality test for objfile, initialize addr_low if needed.
132
b30aa278
PA
1332011-01-25 Pedro Alves <[email protected]>
134
135 * tui/tui-regs.c (tui_register_format): Remove dead code.
136
ab2188aa
PA
1372011-01-25 Pedro Alves <[email protected]>
138
139 * printcmd.c (print_formatted): Use val_print_scalar_formatted
140 instead of print_scalar_formatted.
141 (print_scalar_formatted): Don't handle 's' format strings here,
142 and add an assertion that we never see such format here.
143 * valprint.h (val_print_scalar_formatted): Declare.
144 * valprint.c (val_print_scalar_formatted): New.
145 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
146 instead of print_scalar_formatted.
147 * jv-valprint.c (java_val_print): Ditto.
148 * p-valprint.c (pascal_val_print): Ditto.
149 * ada-valprint.c (ada_val_print_1): Ditto.
150 * f-valprint.c (f_val_print): Ditto.
151 * infcmd.c (registers_info): Ditto.
152 * m2-valprint.c (m2_val_print): Ditto.
153
66d61a4c
PA
1542011-01-25 Pedro Alves <[email protected]>
155
156 * m2-valprint.c (print_unbounded_array): Pass
157 value_contents_for_printing rather than value_contents, to
158 m2_print_array_contents. Also pass in the value.
159
831adc1f
JK
1602011-01-25 Jan Kratochvil <[email protected]>
161
162 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
163 (save_gdb_index_command): Switch to .gdb_index version 4.
164
20622269
PA
1652011-01-25 Pedro Alves <[email protected]>
166
167 * mi/mi-main.c (get_register): Use get_frame_register_value rather
168 than frame_register, and always pass a valid value to val_print.
169
585fdaa1
PA
1702011-01-25 Pedro Alves <[email protected]>
171
172 Centralize printing "<optimized out>".
173
174 * valprint.h (val_print_optimized_out): Declare.
175 * cp-valprint.c (cp_print_value_fields): Use
176 val_print_optimized_out.
177 * jv-valprint.c (java_print_value_fields): Ditto.
178 * p-valprint.c (pascal_object_print_value_fields): Ditto.
179 * printcmd.c (print_formatted): Ditto.
180 * valprint.c (valprint_check_validity): Ditto.
181 (value_check_printable): Ditto.
182 (val_print_optimized_out): New.
183
29ec5263
PA
1842011-01-25 Pedro Alves <[email protected]>
185
186 * infcmd.c (default_print_registers_info): Allocate values so to
187 never pass a NULL value to val_print.
188
de4127a3
PA
1892011-01-25 Pedro Alves <[email protected]>
190
191 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
192 boolean. Make sure to always pass a value that matches the
193 contents buffer to callees. Preserve `address' for following
194 iterations.
195 * value.c (value_contents_for_printing_const): New.
196 (value_address): Constify value argument.
197 * value.h (value_contents_for_printing_const): Declare.
198 (value_address): Constify value argument.
199
ee99023e
PA
2002011-01-25 Pedro Alves <[email protected]>
201
202 * regcache.c (struct regcache_descr): Rename
203 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
204 and sizeof_cooked_register_valid_p to
205 sizeof_cooked_register_status.
206 (init_regcache_descr): Adjust.
207 (struct regcache): Rename register_valid_p field to
208 register_status.
209 (regcache_xmalloc_1, regcache_xfree, regcache_save)
210 (do_cooked_read): Adjust.
211 (regcache_valid_p): Rename to ...
212 (regcache_register_status): ... this. Adjust.
213 (regcache_invalidate): Adjust.
214 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
215 Adjust.
216 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
217 as unavailable, not valid.
218 (regcache_dump): Adjust.
219 * regcache.h (enum register_status): New.
220 (regcache_register_status): Declare.
221 (regcache_invalidate): Delete declaration.
222 * corelow.c (get_core_registers): Adjust.
223 * tracepoint.c (tfile_fetch_registers): Adjust.
224 * trad-frame.c (REG_VALUE): Rename to ...
225 (TF_REG_VALUE): ... this.
226 (REG_UNKNOWN): Rename to ...
227 (TF_REG_UNKNOWN): ... this.
228 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
229 * mi/mi-main.c (register_changed_p): Adjust.
230
99e42fd8
PA
2312011-01-25 Pedro Alves <[email protected]>
232
233 * regcache.c (struct regcache_descr): Remove outdated comment.
234 (init_regcache_descr): Remove sizeof_raw_register_valid_p
235 overallocate hack.
236 (regcache_xmalloc): Rename to ...
237 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
238 Allocate the regcache type accordingly.
239 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
240 (regcache_xfree): Asser the source is also readonly. Copy sizeof
241 cooked registers, not raw.
242 (regcache_dup_no_passthrough): Delete.
243 (get_thread_arch_regcache): Use regcache_xmalloc_1.
244 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
245 mention obsolete write_register_bytes.
246 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
247
f7605bc2
PA
2482011-01-25 Pedro Alves <[email protected]>
249
250 Stop remote_read_bytes from handling partial reads itself.
251
252 * remote-fileio.c: Include target.h.
253 (remote_fileio_write_bytes): Delete.
254 (remote_fileio_func_open, remote_fileio_func_write)
255 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
256 target_read_memory.
257 (remote_fileio_func_stat): Use target_read_memory and
258 target_write_memory.
259 (remote_fileio_func_gettimeofday): Use target_write_memory.
260 (remote_fileio_func_system): Use target_read_memory.
261 * remote.c (remote_write_bytes): Make it static.
262 (remote_read_bytes): Don't handle partial reads here.
263 * remote.h (remote_read_bytes): Delete declaration.
264
efc0eabd
PA
2652011-01-25 Pedro Alves <[email protected]>
266
267 Simplify XML parsing a bit.
268
269 * xml-support.h (gdb_xml_parse_quick): Declare.
270 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
271 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
272 parameter.
273 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
274 gdb_xml_create_parser_and_cleanup_1.
275 (gdb_xml_parse_quick): New.
276 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
277 * osdata.c (osdata_parse): Ditto.
278 * remote.c (remote_threads_info): Ditto.
279 * solib-target.c (solib_target_parse_libraries): Ditto.
280 * xml-syscall.c (syscall_parse_xml): Ditto.
281 * xml-tdesc.c (tdesc_parse_xml): Ditto.
282
314d366a
KB
2832011-01-24 Kevin Buettner <[email protected]>
284
285 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
286 with remote-mips.o added to gdb_target_obs.
287 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
288
a491d753
PA
2892011-01-24 Pedro Alves <[email protected]>
290
291 * ada-valprint.c (val_print_packed_array_elements): Pass the
292 correct struct value to val_print.
293 (ada_val_print_1): Ditto.
294
490f124f
PA
2952011-01-24 Pedro Alves <[email protected]>
296
297 Don't lose embedded_offset in printing routines throughout.
298
299 * valprint.h (val_print_array_elements): Change prototype.
300 * valprint.c (val_print_array_elements): Add `embedded_offset'
301 parameter, and adjust to pass it down to val_print, while passing
302 `valaddr' or `address' unmodified. Take embedded_offset into
303 account when checking repetitions.
304 * c-valprint.c (c_val_print): Pass embedded_offset to
305 val_print_array_elements instead of adjusting `valaddr' and
306 `address'.
307 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
308 embedded_offset to val_print_array_elements instead of adjusting
309 `valaddr'.
310 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
311 * p-valprint.c (pascal_val_print): Pass embedded_offset to
312 val_print_array_elements and pascal_object_print_value_fields
313 instead of adjusting `valaddr'.
314 (pascal_object_print_value_fields): Add `offset' parameter, and
315 adjust to use it.
316 (pascal_object_print_value): Add `offset' parameter, and adjust to
317 use it.
318 (pascal_object_print_static_field): Use
319 value_contents_for_printing/value_embedded_offset, rather than
320 value_contents.
321 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
322 parameter, and adjust to use it. Use
323 value_contents_for_printing/value_embedded_offset, rather than
324 value_contents.
325 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
326 (ada_val_print_array): Add `offset' parameter, and adjust to use
327 it.
328 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
329 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
330 Instead work with offsets. Use
331 value_contents_for_printing/value_embedded_offset, rather than
332 value_contents. Change `defer_val_int' local type to CORE_ADDR,
333 and use value_from_pointer to extract a target pointer, rather
334 than value_from_longest.
335 (print_variant_part): Add `offset' parameter. Replace
336 `outer_valaddr' parameter by a new `outer_offset' parameter.
337 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
338 (ada_value_print): Use
339 value_contents_for_printing/value_embedded_offset, rather than
340 value_contents.
341 (print_record): Add `offset' parameter, and adjust to pass it
342 down.
343 (print_field_values): Add `offset' parameter. Replace
344 `outer_valaddr' parameter by a new `outer_offset' parameter.
345 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
346 Use value_contents_for_printing/value_embedded_offset, rather than
347 value_contents.
348 * d-valprint.c (dynamic_array_type): Use
349 value_contents_for_printing/value_embedded_offset, rather than
350 value_contents.
351 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
352 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
353 (java_print_value_fields): Take `offset' into account. Don't
354 re-adjust `valaddr'. Instead pass down adjusted offsets.
355 (java_val_print): Take `embedded_offset' into account. Pass it to
356 java_print_value_fields.
357 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
358 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
359 down adjusted offsets.
360 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
361 (f_val_print): Take `embedded_offset' into account.
362
7bfc9434
JB
3632011-01-21 Joel Brobecker <[email protected]>
364
365 * inflow.c: Include "gdbcmd.h".
366 (interactive_mode): New static global, moved here from top.c.
367 (show_interactive_mode): New function, moved here from top.c.
368 use gdb_has_a_terminal instead of input_from_terminal_p to
369 determine the current mode.
370 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
371 setting.
372 (_initialize_inflow): Add the "set/show interactive-mode"
373 commands. Moved here from top.c, after having adjusted slightly
374 the help text.
375 * top.c (interactive_mode, show_interactive_mode): Delete, moved
376 to inflow.c.
377 (input_from_terminal_p): Remove handling of "interactive-mode"
378 setting, moved to infow.c.
379 (init_main): Remove creation of the "set/show interactive-mode"
380 commands, moved to inflow.c.
381
44603653
JB
3822011-01-19 Joel Brobecker <[email protected]>
383
384 * NEWS: Add entry for native ia64-hpux support.
385
4694da01
TT
3862011-01-19 Tom Tromey <[email protected]>
387
388 PR mi/8618:
389 * thread.c (free_thread): Free 'name'.
390 (print_thread_info): Emit thread name. Change CLI output.
391 (thread_name_command): New function.
392 (do_captured_thread_select): Emit newline.
393 (_initialize_thread): Register 'thread name' command.
394 * target.h (struct target_ops) <to_thread_name>: New field.
395 (target_thread_name): New macro.
396 * target.c (update_current_target): Handle to_thread_name.
397 * python/py-infthread.c (thpy_get_name): New function.
398 (thpy_set_name): Likewise.
399 (thread_object_getset): Add "name".
400 * linux-nat.c (linux_nat_thread_name): New function.
401 (linux_nat_add_target): Set to_thread_name.
402 * gdbthread.h (struct thread_info) <name>: New field.
403
10d44370
JB
4042011-01-18 Joel Brobecker <[email protected]>
405
406 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
407 (ada_val_print_1): Likewise.
408
e3acb115
JB
4092011-01-18 Joel Brobecker <[email protected]>
410
411 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
412 upper limit address is not greater than the function end address
413 when the upper limit could not be computed using the debugging
414 info.
415
dc92e161
TT
4162011-01-17 Tom Tromey <[email protected]>
417
418 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
419 get_regcomp_error.
420 * utils.c: Include gdb_regex.h.
421 (do_regfree_cleanup): New function.
422 (make_regfree_cleanup): Likewise.
423 (get_regcomp_error): Likewise.
424 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
425
f55af66d
TT
4262011-01-17 Tom Tromey <[email protected]>
427
428 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
429 re_compile_fastmap.
430
a5a44b53
PM
4312011-01-17 Pierre Muller <[email protected]>
432
433 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
434 for internal variables.
435 (last_was_structop): New static variable.
436 (COMPLETE): New token.
437 (field_exp): New rule to group all '.' suffix handling.
438 Add mark_struct_expression calls when approriate to be able
439 to correctly find fields for completion.
440 (yylex): Adapt to handle field completion and set INTVAR when
441 required.
442
2c291032
YQ
4432011-01-14 Yao Qi <[email protected]>
444
445 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
446 save_reggroup, restore_reggroup and all_reggroup.
447
447b483c
JB
4482011-01-14 Joel Brobecker <[email protected]>
449
450 * ada-valprint. (ada_printchar): Use the correct type length
451 in call to ada_emit_char.
452 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
453
7b64a93b
PM
4542011-01-14 Pierre Muller <[email protected]>
455
456 * solib-som.h (hpux_major_release): Declare variable here.
457 * solib-som.c: Remove <sys/utsname.h> header.
458 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
459 (hpux_major_release): Make global, change default value to
460 DEFAULT_HPUX_MAJOR_RELEASE.
461 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
462 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
463 Add "solib-som.h" header.
464 (set_hpux_major_release): New function.
465 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
466
4e18c053
MF
4672011-01-14 Mike Frysinger <[email protected]>
468
469 * configure.tgt (*-*-uclinux*): Match more Linux os targets
470
a9df6b22
JB
4712011-01-14 Joel Brobecker <[email protected]>
472
473 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
474 new-line at end of warning message.
475 (ia64_hpux_store_register): Remove trailing new-line at end of
476 error message.
477 * ia64-hpux-tdep.c: Rephrase comment.
478 * solib-ia64-hpux.c (struct dld_info): Change type of field
479 dld_flags from "long long" to ULONGEST.
480
ecb956dd
PA
4812011-01-14 Pedro Alves <[email protected]>
482
483 * target.h (deprecated_child_ops): Delete declaration.
484 * target.c (deprecated_child_ops): Delete definition.
485
76adfcae
PA
4862011-01-14 Pedro Alves <[email protected]>
487
488 * Makefile.in (hpux-thread.o): Delete rule.
489 * configure.ac: Don't check for HPUX DCE threads support.
490 * configure, config.in: Regenerate.
491 * hppa-hpux-nat.c (child_suppress_run): Delete.
492 (hppa_hpux_child_can_run): Delete.
493 (_initialize_hppa_hpux_nat): Don't override to_can_run.
494 * hpux-thread.c: Delete.
495
042e866e
JB
4962011-01-13 Joel Brobecker <[email protected]>
497
498 * hpux-thread.c (hpux_pid_to_str): Delete.
499
4ffa5a33
JB
5002011-01-13 Joel Brobecker <[email protected]>
501
502 * ada-valprint.c (ada_emit_char): Remove strange code.
503 Check that c is <= UCHAR_MAX before passing it to isascii.
504 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
505
de8fa76c
JB
5062011-01-13 Joel Brobecker <[email protected]>
507
508 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
509 to the case where instream is stdin.
510
c4de7027
JB
5112011-01-13 Joel Brobecker <[email protected]>
512
513 * ia64-tdep.h (struct regcache): Forward declare.
514 (struct ia64_infcall_ops): New struct type.
515 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
516 and "infcall_ops".
517 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
518 Renames ia64_find_global_pointer.
519 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
520 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
521 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
522 methods.
523 (ia64_infcall_ops): New static global constant.
524 (ia64_gdbarch_init): Set tdep->infcall_ops.
525 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
526 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
527 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
528 (ia64_hpux_dummy_code): New static global constant.
529 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
530 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
531 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
532 New function.
533 (ia64_hpux_infcall_ops): New static global constant.
534 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
535 for inferior function calls to work properly on ia64-hpux.
536
77ca787b
JB
5372011-01-13 Joel Brobecker <[email protected]>
538
539 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
540 * ia64-tdep.h (struct frame_info): forward declaration.
541 (struct gdbarch_tdep): Add field size_of_register_frame.
542 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
543 to determine the size of the register frame.
544 (ia64_size_of_register_frame): New function.
545 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
546 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
547 (IA64_HPUX_UREG_REASON): New macro.
548 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
549 New functions.
550 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
551 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
552 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
553 objects.
554
92c9a463
JB
5552011-01-13 Joel Brobecker <[email protected]>
556
557 Add support for ia64-hpux.
558 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
559 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
560
561 * configure.host: Add handling for ia64-hpux hosts. Add associated
562 floatformats.
563 * configure.tgt: Add handling for ia64-hpux targets.
564 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
565 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
566 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
567
f688d93f
JB
5682011-01-13 Joel Brobecker <[email protected]>
569
570 [ttrace] Compute thread list immediately after attach.
571 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
572 New subprogram.
573 (inf_ttrace_attach): Use it.
574
1b89e62f
JB
5752011-01-13 Joel Brobecker <[email protected]>
576
577 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
578 if we could not determine the frame's function address. Instead,
579 use the frame's PC, and then continue.
580
3e5e6e2a
JB
5812011-01-13 Joel Brobecker <[email protected]>
582
583 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
584 not already defined.
585
825d6d8a
JB
5862011-01-13 Joel Brobecker <[email protected]>
587
588 * ia64-tdep.c (ia64_struct_type_p): New function.
589 (ia64_extract_return_value): Handle integral values that are
590 less than 8 bytes long.
591 (ia64_push_dummy_call): Likewise.
592
7458e667
JB
5932011-01-13 Joel Brobecker <[email protected]>
594
595 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
596 floatformat_ia64_ext.
597 (floatformat_ia64_ext_big): New static const.
598 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
599
1b05df00
TT
6002011-01-12 Tom Tromey <[email protected]>
601
602 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
603 messages.
604 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
605 (mi_cmd_thread_list_ids): Likewise.
606 (mi_cmd_data_list_changed_registers): Likewise.
607 (mi_cmd_data_list_register_values): Likewise.
608 (mi_cmd_data_write_register_values): Likewise.
609 (mi_cmd_data_evaluate_expression): Likewise.
610 (mi_cmd_data_read_memory): Likewise.
611 (mi_cmd_data_read_memory_bytes): Likewise.
612 (mi_cmd_data_write_memory): Likewise.
613 (mi_cmd_enable_timings): Likewise.
614 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
615 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
616 (mi_cmd_var_delete): Likewise.
617 (mi_cmd_var_set_format): Likewise.
618 (mi_cmd_var_show_format): Likewise.
619 (mi_cmd_var_info_num_children): Likewise.
620 (mi_cmd_var_list_children): Likewise.
621 (mi_cmd_var_info_type): Likewise.
622 (mi_cmd_var_info_expression): Likewise.
623 (mi_cmd_var_show_attributes): Likewise.
624 (mi_cmd_var_assign): Likewise.
625 (mi_cmd_var_update): Likewise.
626 (mi_cmd_enable_pretty_printing): Likewise.
627 (mi_cmd_var_set_update_range): Likewise.
628 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
629 messages.
630 (mi_cmd_target_file_put): Likewise.
631 (mi_cmd_target_file_delete): Likewise.
632 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
633 messages.
634 (mi_cmd_stack_info_depth): Likewise.
635 (mi_cmd_stack_list_locals): Likewise.
636 (mi_cmd_stack_list_args): Likewise.
637 (mi_cmd_stack_select_frame): Likewise.
638 (mi_cmd_stack_select_frame): Likewise.
639 (mi_cmd_stack_info_frame): Likewise.
640 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
641 messages.
642 (mi_cmd_file_list_exec_source_files): Likewise.
643 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
644 (mi_cmd_env_cd): Likewise.
645 (mi_cmd_env_path): Likewise.
646 (mi_cmd_env_dir): Likewise.
647 (mi_cmd_inferior_tty_show): Likewise.
648 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
649 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
650 (mi_cmd_break_watch): Likewise.
651
ad422571
TJB
6522011-01-12 Thiago Jung Bauermann <[email protected]>
653
654 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
655 (ppc_linux_insert_hw_breakpoint): Likewise.
656 (ppc_linux_remove_hw_breakpoint): Likewise.
657 (ppc_linux_insert_watchpoint): Likewise.
658
c2ff108b
JK
6592011-01-12 Andrew Burgess <[email protected]>
660 Jan Kratochvil <[email protected]>
661
662 PR fortran/11104 and DWARF unbound arrays detection.
663 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
664 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
665 unspecified upper bound.
666 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
667 variables array_size_array, tmp_type and offset_item. New variable
668 array. Remove call to f77_get_upperbound. New variables array_type
669 and index. Call value_subscripted_rvalue for each dimenasion. Remove
670 the final call to deprecated_set_value_type.
671
41e8491f
JK
6722011-01-12 Jan Kratochvil <[email protected]>
673
674 Make value allocations more lazy.
675 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
676 instead of allocate_value and set_value_lazy when possible.
677 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
678 instead of allocate_value and set_value_lazy.
679 * findvar.c (value_of_register_lazy): Likewise.
680 (read_var_value): Remove V preallocation, call just check_typedef in
681 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
682 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
683 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
684 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
685 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
686 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
687 the end, remove set_value_lazy there.
688 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
689 instead of allocate_value and set_value_lazy when possible.
690 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
691 * value.c (allocate_computed_value): Use allocate_value_lazy instead
692 of allocate_value and set_value_lazy.
693 (value_from_contents_and_address): Use allocate_value_lazy instead of
694 allocate_value and set_value_lazy when possible.
695
b716877b
AB
6962011-01-12 Andrew Burgess <[email protected]>
697
698 * disasm.c (dump_insns): Support dumping opcodes for MI.
699 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
700 dumping of instruction opcodes.
701
d5ae309f
JB
7022011-01-09 Robert Millan <[email protected]> (tiny patch)
703
704 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
705 appropiately.
706
98871305
TT
7072011-01-11 Tom Tromey <[email protected]>
708
709 * thread.c (do_captured_thread_select): Emit newline before
710 printing frame.
711
c378eb4e
MS
7122011-01-11 Michael Snyder <[email protected]>
713
714 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
715 * score-tdep.c: Ditto.
716 * score-tdep.h: Ditto.
717 * ser-base.c: Ditto.
718 * ser-go32.c: Ditto.
719 * serial.c: Ditto.
720 * serial.h: Ditto.
721 * ser-mingw.c: Ditto.
722 * ser-pipe.c: Ditto.
723 * ser-tcp.c: Ditto.
724 * ser-unix.c: Ditto.
725 * sh64-tdep.c: Ditto.
726 * shnbsd-nat.c: Ditto.
727 * sh-tdep.c: Ditto.
728 * sh-tdep.h: Ditto.
729 * solib.c: Ditto.
730 * solib-darwin.c: Ditto.
731 * solib-frv.c: Ditto.
732 * solib.h: Ditto.
733 * solib-irix.c: Ditto.
734 * solib-osf.c: Ditto.
735 * solib-pa64.c: Ditto.
736 * solib-som.c: Ditto.
737 * solib-spu.c: Ditto.
738 * solib-sunos.c: Ditto.
739 * solib-svr4.c: Ditto.
740 * solist.h: Ditto.
741 * sol-thread.c: Ditto.
742 * somread.c: Ditto.
743 * source.c: Ditto.
744 * source.h: Ditto.
745 * sparc64-linux-tdep.c: Ditto.
746 * sparc64-tdep.c: Ditto.
747 * sparc-linux-nat.c: Ditto.
748 * sparc-linux-tdep.c: Ditto.
749 * sparc-sol2-nat.c: Ditto.
750 * sparc-sol2-tdep.c: Ditto.
751 * sparc-tdep.c: Ditto.
752 * sparc-tdep.h: Ditto.
753 * spu-tdep.c: Ditto.
754 * stabsread.c: Ditto.
755 * stabsread.h: Ditto.
756 * stack.c: Ditto.
757 * symfile.c: Ditto.
758 * symfile.h: Ditto.
759 * symmisc.c: Ditto.
760 * symtab.c: Ditto.
761 * symtab.h: Ditto.
762 * target.c: Ditto.
763 * target-descriptions.c: Ditto.
764 * target-descriptions.h: Ditto.
765 * target.h: Ditto.
766 * target-memory.c: Ditto.
767 * terminal.h: Ditto.
768 * thread.c: Ditto.
769 * top.c: Ditto.
770 * tracepoint.c: Ditto.
771 * tracepoint.h: Ditto.
772 * trad-frame.h: Ditto.
773 * typeprint.c: Ditto.
774
581e13c1
MS
7752011-01-11 Michael Snyder <[email protected]>
776
777 * ui-file.c: Comment cleanup, mostly periods and spaces.
778 * ui-file.h: Ditto.
779 * ui-out.c: Ditto.
780 * ui-out.h: Ditto.
781 * utils.c: Ditto.
782 * v850-tdep.c: Ditto.
783 * valarith.c: Ditto.
784 * valops.c: Ditto.
785 * valprint.c: Ditto.
786 * valprint.h: Ditto.
787 * value.c: Ditto.
788 * value.h: Ditto.
789 * varobj.c: Ditto.
790 * varobj.h: Ditto.
791 * vax-tdep.c: Ditto.
792 * vec.c: Ditto.
793 * vec.h: Ditto.
794 * version.h: Ditto.
795 * windows-nat.c: Ditto.
796 * windows-tdep.c: Ditto.
797 * xcoffread.c: Ditto.
798 * xcoffsolib.c: Ditto.
799 * xml-support.c: Ditto.
800 * xstormy16-tdep.c: Ditto.
801 * xtensa-tdep.c: Ditto.
802 * xtensa-tdep.h: Ditto.
803
90e4670f
TJB
8042011-01-11 Thiago Jung Bauermann <[email protected]>
805
806 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
807 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
808
e09342b5
TJB
8092011-01-11 Sergio Durigan Junior <[email protected]>
810 Thiago Jung Bauermann <[email protected]>
811
812 Implement support for PowerPC BookE ranged watchpoints.
813 * breakpoint.h
814 (struct breakpoint_ops) <resources_needed>: New method.
815 Initialize to NULL in all existing breakpoint_ops instances.
816 (struct breakpoint) <exact>: New field.
817 (target_exact_watchpoints): Declare external global.
818 * breakpoint.c (target_exact_watchpoints): New global flag.
819 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
820 b->enable_state to bp_enabled before calling
821 hw_watchpoint_used_count.
822 (hw_watchpoint_used_count): Iterate over all bp_locations in a
823 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
824 if available.
825 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
826 if the watchpoint is exact.
827 (resources_needed_watchpoint): New function.
828 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
829 (watch_command_1): Set b->exact if the user asked for an exact
830 watchpoint and one can be set.
831 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
832 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
833 the user asks for an exact watchpoint and one can be set. Return
834 number of needed debug registers to watch the expression.
835 * gdbtypes.c (is_scalar_type): New function, based on
836 valprint.c:scalar_type_p.
837 (is_scalar_type_recursive): New function.
838 * gdbtypes.h (is_scalar_type_recursive): Declare.
839 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
840 handle regions when ranged watchpoints are available.
841 (create_watchpoint_request): New function.
842 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
843 create_watchpoint_request.
844 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
845 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
846 `set powerpc' and `show powerpc' commands.
847 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
848 Mention documentation comment in the target macro.
849 (target_region_ok_for_hw_watchpoint): Document return value.
850
9fa40276
TJB
8512011-01-11 Thiago Jung Bauermann <[email protected]>
852
853 * breakpoint.c (update_watchpoint): Decide on using a software or
854 hardware watchpoint after the bp_locations are created.
855
77b06cd7
TJB
8562010-01-11 Thiago Jung Bauermann <[email protected]>
857
858 Convert hardware watchpoints to use breakpoint_ops.
859 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
860 <insert_location>: ... this. Return int instead of void.
861 Accept pointer to struct bp_location instead of pointer to
862 struct breakpoint. Adapt all implementations.
863 (breakpoint_ops) <remove>: Rename to...
864 <remove_location>: ... this. Accept pointer to struct bp_location
865 instead of pointer to struct breakpoint. Adapt all implementations.
866 * breakpoint.c (insert_catchpoint): Delete function.
867 (insert_bp_location): Call the watchpoint or catchpoint's
868 breakpoint_ops.insert method.
869 (remove_breakpoint_1): Call the watchpoint or catchpoint's
870 breakpoint_ops.remove method.
871 (insert_watchpoint, remove_watchpoint): New functions.
872 (watchpoint_breakpoint_ops): New structure.
873 (watch_command_1): Initialize the OPS field.
874 * inf-child.c (inf_child_insert_fork_catchpoint)
875 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
876 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
877 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
878 Delete functions.
879 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
880 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
881 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
882 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
883 * target.c (update_current_target): Change default implementation of
884 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
885 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
886 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
887 to_set_syscall_catchpoint to return_one.
888 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
889 (debug_to_insert_exec_catchpoint): Report return value.
890 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
891 (to_insert_exec_catchpoint): Change declaration to return int instead
892 of void.
893
9b20d036
MS
8942011-01-11 Michael Snyder <[email protected]>
895
896 * arm-tdep.c: Internationalization.
897 * c-lang.c: Ditto.
898 * charset.c: Ditto.
899 * fork-child.c: Ditto.
900 * nto-procfs.c: Ditto.
901 * ppc-sysv-tdep.c: Ditto.
902 * procfs.c: Ditto.
903 * remote-mips.c: Ditto.
904 * remote.c: Ditto.
905 * rs6000-nat.c: Ditto.
906 * rs6000-tdep.c: Ditto.
907 * target.c: Ditto.
908 * valops.c: Ditto.
909 * value.c: Ditto.
910 * xml-support.c: Ditto.
911 * mi/mi-cmd-break.c: Ditto.
912 * mi/mi-cmd-var.c: Ditto.
913 * mi/mi-interp.c: Ditto.
914 * mi/mi-main.c: Ditto.
915
dae477fe
AB
9162011-01-11 Andrew Burgess <[email protected]>
917
918 * remote-sim.c (gdbsim_store_register): Update API to
919 sim_store_register to check more error conditions.
920
0df8b418
MS
9212011-01-10 Michael Snyder <[email protected]>
922
923 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
924 * nto-tdep.c: Ditto.
925 * nto-tdep.h: Ditto.
926 * objc-exp.y: Ditto.
927 * objc-lang.c: Ditto.
928 * objfiles.c: Ditto.
929 * objfiles.h: Ditto.
930 * observer.c: Ditto.
931 * opencl-lang.c: Ditto.
932 * osabi.c: Ditto.
933 * parse.c: Ditto.
934 * parser-defs.h: Ditto.
935 * p-exp.y: Ditto.
936 * p-lang.c: Ditto.
937 * posix-hdep.c: Ditto.
938 * ppcbug-rom.c: Ditto.
939 * ppc-linux-nat.c: Ditto.
940 * ppc-linux-tdep.c: Ditto.
941 * ppc-linux-tdep.h: Ditto.
942 * ppcnbsd-tdep.c: Ditto.
943 * ppcobsd-tdep.c: Ditto.
944 * ppcobsd-tdep.h: Ditto.
945 * ppc-sysv-tdep.c: Ditto.
946 * ppc-tdep.h: Ditto.
947 * printcmd.c: Ditto.
948 * proc-abi.c: Ditto.
949 * proc-flags.c: Ditto.
950 * procfs.c: Ditto.
951 * proc-utils.h: Ditto.
952 * progspace.h: Ditto.
953 * prologue-value.c: Ditto.
954 * prologue-value.h: Ditto.
955 * psympriv.h: Ditto.
956 * psymtab.c: Ditto.
957 * p-typeprint.c: Ditto.
958 * p-valprint.c: Ditto.
959 * ravenscar-sparc-thread.c: Ditto.
960 * ravenscar-thread.c: Ditto.
961 * ravenscar-thread.h: Ditto.
962 * record.c: Ditto.
963 * regcache.c: Ditto.
964 * regcache.h: Ditto.
965 * remote.c: Ditto.
966 * remote-fileio.c: Ditto.
967 * remote-fileio.h: Ditto.
968 * remote.h: Ditto.
969 * remote-m32r-sdi.c: Ditto.
970 * remote-mips.c: Ditto.
971 * remote-sim.c: Ditto.
972 * rs6000-aix-tdep.c: Ditto.
973 * rs6000-nat.c: Ditto.
974 * rs6000-tdep.c: Ditto.
975
0d7a18f7
MS
9762011-01-10 Michael Snyder <[email protected]>
977
978 * charset.c (validate): Internationalization.
979 * coffread.c (read_one_sym): Ditto.
980 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
981 * h8300-tdep.c (H8300_extract_return_value): Ditto.
982 * inflow.c (new_tty): Ditto.
983 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
984 * m32c-tdep.c (m32c_return_value): Ditto.
985 * mep-tdep.c (mep_store_return_value): Ditto.
986 * score-tdep.c (score7_fetch_insn): Ditto.
987 * ser-mingw.c (pipe_windows_open): Ditto.
988 * sh64-tdep.c (sh64_extract_return_value): Ditto.
989 * spu-tdep.c (spu_register_type): Ditto.
990 * tracepoint.c (trace_find_command): Ditto.
991 * valarith.c (value_pos): Ditto.
992
9a153e0b
JB
9932011-01-10 Joel Brobecker <[email protected]>
994
995 * ada-valprint.c (printstr): Minor comment reformatting.
996
35ecd2d6
MS
9972011-01-08 Michael Snyder <[email protected]>
998
999 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
1000 markup.
1001
1777feb0
MS
10022011-01-08 Michael Snyder <[email protected]>
1003
1004 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
1005 * hppa-hpux-tdep.c: Ditto.
1006 * hppa-linux-nat.c: Ditto.
1007 * hppa-linux-tdep.c: Ditto.
1008 * hppanbsd-tdep.c: Ditto.
1009 * hppa-tdep.c: Ditto.
1010 * hppa-tdep.h: Ditto.
1011 * hpux-thread.c: Ditto.
1012 * i386-cygwin-tdep.c: Ditto.
1013 * i386-darwin-nat.c: Ditto.
1014 * i386gnu-nat.c: Ditto.
1015 * i386-linux-nat.c: Ditto.
1016 * i386-linux-tdep.c: Ditto.
1017 * i386-nat.c: Ditto.
1018 * i386-nat.h: Ditto.
1019 * i386nbsd-tdep.c: Ditto.
1020 * i386-sol2-nat.c: Ditto.
1021 * i386-stub.c: Ditto.
1022 * i386-tdep.c: Ditto.
1023 * i386-tdep.h: Ditto.
1024 * i387-tdep.c: Ditto.
1025 * ia64-linux-nat.c: Ditto.
1026 * ia64-linux-tdep.c: Ditto.
1027 * ia64-tdep.c: Ditto.
1028 * infcall.c: Ditto.
1029 * infcall.h: Ditto.
1030 * infcmd.c: Ditto.
1031 * inferior.c: Ditto.
1032 * inferior.h: Ditto.
1033 * infloop.c: Ditto.
1034 * inflow.c: Ditto.
1035 * infrun.c: Ditto.
1036 * interps.c: Ditto.
1037 * interps.h: Ditto.
1038 * iq2000-tdep.c: Ditto.
1039 * irix5-nat.c: Ditto.
1040 * jit.c: Ditto.
1041 * jit.h: Ditto.
1042 * jv-exp.y: Ditto.
1043 * jv-lang.c: Ditto.
1044 * jv-lang.h: Ditto.
1045 * jv-typeprint.c: Ditto.
1046 * jv-valprint.c: Ditto.
1047 * language.c: Ditto.
1048 * language.h: Ditto.
1049 * linespec.c: Ditto.
1050 * linux-fork.c: Ditto.
1051 * linux-nat.c: Ditto.
1052 * linux-thread-db.c: Ditto.
1053 * lm32-tdep.c: Ditto.
1054
025bb325
MS
10552011-01-08 Michael Snyder <[email protected]>
1056
1057 * m2-exp.y: Comment cleanup, mostly periods and spaces.
1058 * m2-lang.c: Ditto.
1059 * m2-typeprint.c: Ditto.
1060 * m2-valprint.c: Ditto.
1061 * m32c-tdep.c: Ditto.
1062 * m32r-linux-nat.c: Ditto.
1063 * m32r-rom.c: Ditto.
1064 * m32r-tdep.c: Ditto.
1065 * m32r-tdep.h: Ditto.
1066 * m68hc11-tdep.c: Ditto.
1067 * m58klinux-nat.c: Ditto.
1068 * m68k-tdep.c: Ditto.
1069 * m88k-tdep.c: Ditto.
1070 * m88k-tdep.h: Ditto.
1071 * machoread.c: Ditto.
1072 * macrocmd.c: Ditto.
1073 * macroexp.c: Ditto.
1074 * macrotab.c: Ditto.
1075 * main.c: Ditto.
1076 * maint.c: Ditto.
1077 * mdebugread.c: Ditto.
1078 * mdebugread.h: Ditto.
1079 * memattr.c: Ditto.
1080 * memattr.h: Ditto.
1081 * memory-map.h: Ditto.
1082 * mep-tdep.c: Ditto.
1083 * microblaze-rom.c: Ditto.
1084 * microblaze-tdep.c: Ditto.
1085 * minsyms.c: Ditto.
1086 * mips-irix-tdep.c: Ditto.
1087 * mips-linux-nat.c: Ditto.
1088 * mips-linux-tdep.c: Ditto.
1089 * mips-linux-tdep.h: Ditto.
1090 * mipsnbsd-nat.c: Ditto.
1091 * mipsnbsd-tdep.c: Ditto.
1092 * mipsread.c: Ditto.
1093 * mips-tdep.c: Ditto.
1094 * mips-tdep.h: Ditto.
1095 * mn10300-linux-tdep.c: Ditto.
1096 * mn10300-tdep.c: Ditto.
1097 * mn10300-tdep.h: Ditto.
1098 * monitor.c: Ditto.
1099 * monitor.h: Ditto.
1100 * moxie-tdep.c: Ditto.
1101 * moxie-tdep.h: Ditto.
1102 * mt-tdep.c: Ditto.
1103
1642781b
MF
11042011-01-08 Mike Frysinger <[email protected]>
1105
1106 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
1107
394b0adb
JB
11082011-01-08 Robert Millan <[email protected]>
1109
1110 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
1111
b670013c
MS
11122011-01-07 Michael Snyder <[email protected]>
1113
1114 * charset.c (_initialize_charset): Fix typo in string.
1115
a743e542
MS
11162011-01-07 Michael Snyder <[email protected]>
1117
1118 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
1119 for i18n.
1120 * tui/tui-layout.c (tui_set_layout_for_display_command):
1121 Split line so that operator goes to beginning of line.
1122 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
1123 assignment out of if statement.
1124
0963b4bd
MS
11252011-01-07 Michael Snyder <[email protected]>
1126
1127 * ada-lang.c: Comment cleanup, mostly periods and spaces.
1128 * ada-lang.h: Ditto.
1129 * ada-tasks.c: Ditto.
1130 * ada-valprint.c: Ditto.
1131 * aix-threads.c: Ditto.
1132 * alpha-linux-nat.c: Ditto.
1133 * alpha-linux-tdep.c: Ditto.
1134 * alpha-mdebug-tdep.c: Ditto.
1135 * alpha-nat.c: Ditto.
1136 * alpha-osf1-tdep.c: Ditto.
1137 * alpha-tdep.c: Ditto.
1138 * alphabsd-nat.c: Ditto.
1139 * alphabsd-tdep.c: Ditto.
1140 * amd64-darwin-tdep.c: Ditto.
1141 * amd64-linux-nat.c: Ditto.
1142 * amd64-linux-tdep.c: Ditto.
1143 * amd64-sol2-tdep.c: Ditto.
1144 * amd64-tdep.c: Ditto.
1145 * amd64-fbsd-tdep.c: Ditto.
1146 * amd64-nbsd-tdep.c: Ditto.
1147 * amd64-obsd-tdep.c: Ditto.
1148 * amd64-linux-nat.c: Ditto.
1149 * amd64-linux-tdep.c: Ditto.
1150 * arm-tdep.c: Ditto.
1151 * arm-tdep.h: Ditto.
1152 * armnbsd-nat.c: Ditto.
1153 * avr-tdep.c: Ditto.
1154 * bfin-tdep.c: Ditto.
1155 * bsd-kvm.c: Ditto.
1156 * c-typeprintc: Ditto.
1157 * c-valprint.c: Ditto.
1158 * coff-pe-read.h: Ditto.
1159 * coffreead.c: Ditto.
1160 * cris-tdep.c: Ditto.
1161 * d-lang.c: Ditto.
1162 * darwin-nat-info.c: Ditto.
1163 * darwin-nat.c: Ditto.
1164 * dbug-rom.c: Ditto.
1165 * dbxread.c: Ditto.
1166 * dcache.c: Ditto.
1167 * dcache.h: Ditto.
1168 * dec-thread.c: Ditto.
1169 * defs.h: Ditto.
1170 * demangle.c: Ditto.
1171 * dicos-tdep.c: Ditto.
1172 * dictionary.c: Ditto.
1173 * dictionary.h: Ditto.
1174 * dink32-rom.c: Ditto.
1175 * disasm.c: Ditto.
1176 * doublest.c: Ditto.
1177 * dsrec.c: Ditto.
1178 * dummy-frame.c: Ditto.
1179 * dwarf2-frame.c: Ditto.
1180 * dwarf2expr.c: Ditto.
1181 * dwarf2loc.c: Ditto.
1182 * dwarf2read.c: Ditto.
1183 * elfread.c: Ditto.
1184 * environ.c: Ditto.
1185 * eval.c: Ditto.
1186 * event-top.h: Ditto.
1187 * exceptions.c: Ditto.
1188 * exceptions.h: Ditto.
1189 * exec.c: Ditto.
1190 * expprint.c: Ditto.
1191 * expression.h: Ditto.
1192 * f-exp.y: Ditto.
1193 * f-lang.c: Ditto.
1194 * f-lang.h: Ditto.
1195 * f-typeprint.c: Ditto.
1196 * f-valprint.c: Ditto.
1197 * fbsd-nat.c: Ditto.
1198 * findvar.c: Ditto.
1199 * fork-child.c: Ditto.
1200 * frame.c: Ditto.
1201 * frame.h: Ditto.
1202 * frv-linux-tdep.c: Ditto.
1203 * frv-tdep.c: Ditto.
1204 * gcore.c: Ditto.
1205 * gdb-stabs.h: Ditto.
1206 * gdb_assert.h: Ditto.
1207 * gdb_string.h: Ditto.
1208 * gdb_thread_db.h: Ditto.
1209 * gdb_wait.h: Ditto.
1210 * gdbarch.sh: Ditto.
1211 * gdbcore.h: Ditto.
1212 * gdbthread.h: Ditto.
1213 * gdbtypes.c: Ditto.
1214 * gdbtypes.h: Ditto.
1215 * gnu-nat.c: Ditto.
1216 * gnu-nat.h: Ditto.
1217 * gnu-v2-abi.c: Ditto.
1218 * gnu-v3-abi.c: Ditto.
1219 * go32-nat.c: Ditto.
1220 * gdbarch.c: Regenerate.
1221 * gdbarch.h: Regenerate.
1222
ac74f770
MS
12232011-01-07 Michael Snyder <[email protected]>
1224
1225 * ax-gdb.c: Adjust some long output strings.
1226 * breakpoint.c: Ditto.
1227 * charset.c: Ditto.
1228 * cp-abi.c: Ditto.
1229 * infcall.c: Ditto.
1230 * infrun.c: Ditto.
1231 * linux-nat.c: Ditto.
1232 * solib-pa64.c: Ditto.
1233 * solib-som.c: Ditto.
1234
d8e22779
TT
12352011-01-06 Tom Tromey <[email protected]>
1236
1237 PR python/12367:
1238 * NEWS: Add item.
1239 * python/python.c (GdbMethods): Add "newest_frame" method.
1240 * python/python-internal.h (gdbpy_newest_frame): Declare.
1241 * python/py-frame.c (gdbpy_newest_frame): New function.
1242
a255712f
PP
12432010-01-06 Paul Pluzhnikov <[email protected]>
1244
1245 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
1246 * jit.c (jit_debug): New variable.
1247 (show_jit_debug): New function.
1248 (struct target_buffer): Use ULONGEST.
1249 (bfd_open_from_target_memory): Likewise.
1250 (jit_register_code, jit_inferior_init): Add debug output.
1251 (_initialize_jit): Register "debug jit" command.
1252
ccfc3d6e
TT
12532011-01-06 Tom Tromey <[email protected]>
1254
1255 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
1256 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
1257 and ARCH_FRAME.
1258
57126e4a
TT
12592011-01-06 Tom Tromey <[email protected]>
1260
1261 * python/py-frame.c (frapy_block): Use get_frame_block.
1262
16dfc9ce
JB
12632011-01-06 Joel Brobecker <[email protected]>
1264
1265 Do not stop on SIGPRIO signals by default
1266 * infrun.c (_initialize_infrun): Unset signal_stop and
1267 signal_print for TARGET_SIGNAL_PRIO.
1268
b1ce2347
JB
12692011-01-06 Joel Brobecker <[email protected]>
1270
1271 * ada-tasks.c: Fix style violation in comment.
1272
8f7e195f
JB
12732011-01-06 Joel Brobecker <[email protected]>
1274
1275 * linespec.c (decode_compound, find_method): Remove trailing \n
1276 at end of error string.
1277 * solib-irix.c (irix_current_sos): Likewise.
1278 * varobj.c (uninstall_variable): Likewise.
1279
e9bdf92c
JB
12802011-01-06 Joel Brobecker <[email protected]>
1281
1282 * copyright.py: New script.
1283 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
1284 Launch emacs without exec'ing. Call copyright.py afterwards.
1285
3e43a32a
MS
12862011-01-05 Michael Snyder <[email protected]>
1287
1288 * addrmap.c: Shorten lines of >= 80 columns.
1289 * arch-utils.c: Ditto.
1290 * arch-utils.h: Ditto.
1291 * ax-gdb.c: Ditto.
1292 * ax-general.c: Ditto.
1293 * bcache.c: Ditto.
1294 * blockframe.c: Ditto.
1295 * breakpoint.c: Ditto.
1296 * buildsym.c: Ditto.
1297 * c-lang.c: Ditto.
1298 * c-typeprint.c: Ditto.
1299 * charset.c: Ditto.
1300 * coffread.c: Ditto.
1301 * command.h: Ditto.
1302 * corelow.c: Ditto.
1303 * cp-abi.c: Ditto.
1304 * cp-namespace.c: Ditto.
1305 * cp-support.c: Ditto.
1306 * dbug-rom.c: Ditto.
1307 * dbxread.c: Ditto.
1308 * defs.h: Ditto.
1309 * dfp.c: Ditto.
1310 * dfp.h: Ditto.
1311 * dictionary.c: Ditto.
1312 * disasm.c: Ditto.
1313 * doublest.c: Ditto.
1314 * dwarf2-frame.c: Ditto.
1315 * dwarf2expr.c: Ditto.
1316 * dwarf2loc.c: Ditto.
1317 * dwarf2read.c: Ditto.
1318 * elfread.c: Ditto.
1319 * eval.c: Ditto.
1320 * event-loop.c: Ditto.
1321 * event-loop.h: Ditto.
1322 * exceptions.h: Ditto.
1323 * exec.c: Ditto.
1324 * expprint.c: Ditto.
1325 * expression.h: Ditto.
1326 * f-lang.c: Ditto.
1327 * f-valprint.c: Ditto.
1328 * findcmd.c: Ditto.
1329 * frame-base.c: Ditto.
1330 * frame-unwind.c: Ditto.
1331 * frame-unwind.h: Ditto.
1332 * frame.c: Ditto.
1333 * frame.h: Ditto.
1334 * gcore.c: Ditto.
1335 * gdb-stabs.h: Ditto.
1336 * gdb_assert.h: Ditto.
1337 * gdb_dirent.h: Ditto.
1338 * gdb_obstack.h: Ditto.
1339 * gdbcore.h: Ditto.
1340 * gdbtypes.c: Ditto.
1341 * gdbtypes.h: Ditto.
1342 * inf-ttrace.c: Ditto.
1343 * infcall.c: Ditto.
1344 * infcmd.c: Ditto.
1345 * inflow.c: Ditto.
1346 * infrun.c: Ditto.
1347 * inline-frame.h: Ditto.
1348 * language.c: Ditto.
1349 * language.h: Ditto.
1350 * libunwind-frame.c: Ditto.
1351 * libunwind-frame.h: Ditto.
1352 * linespec.c: Ditto.
1353 * linux-nat.c: Ditto.
1354 * linux-nat.h: Ditto.
1355 * linux-thread-db.c: Ditto.
1356 * machoread.c: Ditto.
1357 * macroexp.c: Ditto.
1358 * macrotab.c: Ditto.
1359 * main.c: Ditto.
1360 * maint.c: Ditto.
1361 * mdebugread.c: Ditto.
1362 * memattr.c: Ditto.
1363 * minsyms.c: Ditto.
1364 * monitor.c: Ditto.
1365 * monitor.h: Ditto.
1366 * objfiles.c: Ditto.
1367 * objfiles.h: Ditto.
1368 * osabi.c: Ditto.
1369 * p-typeprint.c: Ditto.
1370 * p-valprint.c: Ditto.
1371 * parse.c: Ditto.
1372 * printcmd.c: Ditto.
1373 * proc-events.c: Ditto.
1374 * procfs.c: Ditto.
1375 * progspace.c: Ditto.
1376 * progspace.h: Ditto.
1377 * psympriv.h: Ditto.
1378 * psymtab.c: Ditto.
1379 * record.c: Ditto.
1380 * regcache.c: Ditto.
1381 * regcache.h: Ditto.
1382 * remote-fileio.c: Ditto.
1383 * remote.c: Ditto.
1384 * ser-mingw.c: Ditto.
1385 * ser-tcp.c: Ditto.
1386 * ser-unix.c: Ditto.
1387 * serial.c: Ditto.
1388 * serial.h: Ditto.
1389 * solib-frv.c: Ditto.
1390 * solib-irix.c: Ditto.
1391 * solib-osf.c: Ditto.
1392 * solib-pa64.c: Ditto.
1393 * solib-som.c: Ditto.
1394 * solib-sunos.c: Ditto.
1395 * solib-svr4.c: Ditto.
1396 * solib-target.c: Ditto.
1397 * solib.c: Ditto.
1398 * somread.c: Ditto.
1399 * source.c: Ditto.
1400 * stabsread.c: Ditto.
1401 * stabsread.c: Ditto.
1402 * stack.c: Ditto.
1403 * stack.h: Ditto.
1404 * symfile-mem.c: Ditto.
1405 * symfile.c: Ditto.
1406 * symfile.h: Ditto.
1407 * symmisc.c: Ditto.
1408 * symtab.c: Ditto.
1409 * symtab.h: Ditto.
1410 * target-descriptions.c: Ditto.
1411 * target-memory.c: Ditto.
1412 * target.c: Ditto.
1413 * target.h: Ditto.
1414 * terminal.h: Ditto.
1415 * thread.c: Ditto.
1416 * top.c: Ditto.
1417 * tracepoint.c: Ditto.
1418 * tracepoint.h: Ditto.
1419 * ui-file.c: Ditto.
1420 * ui-file.h: Ditto.
1421 * ui-out.h: Ditto.
1422 * user-regs.c: Ditto.
1423 * user-regs.h: Ditto.
1424 * utils.c: Ditto.
1425 * valarith.c: Ditto.
1426 * valops.c: Ditto.
1427 * valprint.c: Ditto.
1428 * valprint.h: Ditto.
1429 * value.c: Ditto.
1430 * varobj.c: Ditto.
1431 * varobj.h: Ditto.
1432 * vec.h: Ditto.
1433 * xcoffread.c: Ditto.
1434 * xcoffsolib.c: Ditto.
1435 * xcoffsolib.h: Ditto.
1436 * xml-syscall.c: Ditto.
1437 * xml-tdesc.c: Ditto.
1438
9a2b4c1b
MS
14392011-01-05 Michael Snyder <[email protected]>
1440
1441 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
1442 * cli/cli-decode.c: Ditto.
1443 * cli/cli-dump.c: Ditto.
1444 * cli/cli-logging.c: Ditto.
1445 * cli/cli-script.c: Ditto.
1446 * cli/cli-setshow.c: Ditto.
1447 * common/signals.c: Ditto.
1448 * mi/mi-cmd-break.c: Ditto.
1449 * mi/mi-cmd-disas.c: Ditto.
1450 * mi/mi-cmd-stack.c: Ditto.
1451 * mi/mi-cmd-var.c: Ditto.
1452 * mi/mi-cmds.c: Ditto.
1453 * mi/mi-common.h: Ditto.
1454 * mi/mi-console.c: Ditto.
1455 * mi/mi-interp.c: Ditto.
1456 * mi/mi-main.c: Ditto.
1457 * osf-share/cma_attr.c: Ditto.
1458 * osf-share/cma_deb_core.h: Ditto.
1459 * osf-share/cma_debug_client.h: Ditto.
1460 * osf-share/cma_handle.h: Ditto.
1461 * osf-share/cma_mutex.h: Ditto.
1462 * osf-share/cma_stack_int.h: Ditto.
1463 * osf-share/cma_tcb_defs.h: Ditto.
1464 * python/py-auto-load.c: Ditto.
1465 * python/py-breakpoint.c: Ditto.
1466 * python/py-cmd.c: Ditto.
1467 * python/py-frame.c: Ditto.
1468 * python/py-objfile.c: Ditto.
1469 * python/py-param.c: Ditto.
1470 * python/py-progspace.c: Ditto.
1471 * python/py-symbol.c: Ditto.
1472 * python/py-value.c: Ditto.
1473 * python/python-internal.h: Ditto.
1474 * python/python.c: Ditto.
1475 * tui/tui-data.c: Ditto.
1476 * tui/tui-disasm.c: Ditto.
1477 * tui/tui-hooks.c: Ditto.
1478 * tui/tui-io.c: Ditto.
1479 * tui/tui-layout.c: Ditto.
1480 * tui/tui-regs.c: Ditto.
1481 * tui/tui-source.c: Ditto.
1482 * tui/tui-stack.c: Ditto.
1483 * tui/tui-win.c: Ditto.
1484 * tui/tui-windata.c: Ditto.
1485 * tui/tui-winsource.c: Ditto.
1486
44944448
JB
14872011-01-05 Joel Brobecker <[email protected]>
1488
1489 * configure.ac, gdb.1: Copyright year update.
1490
ebedcab5
JK
14912011-01-03 Jan Kratochvil <[email protected]>
1492
1493 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
1494 this_pc_in_block, morestack_msym and morestack_name. Check for
1495 "__morestack" minimal symbol there.
1496
e5cc9f32
JB
14972011-01-03 Joel Brobecker <[email protected]>
1498
1499 * symfile.c (find_sym_fns): Add call to dont_repeat.
1500
7b6bb8da
JB
15012011-01-01 Joel Brobecker <[email protected]>
1502
1503 Copyright year update in most files (performed by copyright.sh).
1504
71ce852c
JB
15052011-01-01 Joel Brobecker <[email protected]>
1506
1507 * top.c (print_gdb_version): Update copyright year in version output.
0e2de366 1508
c3c1ebe8 1509For older changes see ChangeLog-2010.
c906108c
SS
1510\f
1511Local Variables:
1512mode: change-log
1513left-margin: 8
1514fill-column: 74
1515version-control: never
57da7796 1516coding: utf-8
c906108c 1517End:
This page took 2.779697 seconds and 4 git commands to generate.