12011-09-04  Joel Brobecker  <brobecker@adacore.com>
2
3	* NEWS: Add entry for OpenBSD/NetBSD build failure.
4
52011-09-04  Joel Brobecker  <brobecker@adacore.com>
6
7	* version.in: Update GDB version number to 7.3.1.
8
92011-08-26  Marc Khouzam  <marc.khouzam@ericsson.com>
10
11	PR mi/11912
12	* varobj.c (cplus_describe_child): Add the keyword
13	'class' to the output of the method when dealing
14	with a cast to a base class.
15
162011-08-12  Pedro Alves  <pedro@codesourcery.com>
17
18	PR tui/13073
19
20	* tui/tui-regs.c (tui_show_register_group): Skip registers with an
21	empty name.
22	(tui_show_register_group): Don't store a byte buffer in the data
23	element's value.
24	(tui_register_format): Skip registers with an empty name.
25	(tui_get_register): Store a struct value in the data element's
26	value field instead of a byte buffer holding the raw register
27	contents.  Account for optimized-out and unavailable registers
28	when comparing register contents.
29
302011-07-26  Joel Brobecker  <brobecker@adacore.com>
31
32	* version.in: Set version to 7.3.0.20110726-cvs.
33
342011-07-26  Joel Brobecker  <brobecker@adacore.com>
35
36	GDB 7.3 released.
37
382011-07-26  Joel Brobecker  <brobecker@adacore.com>
39
40	* NEWS: Change `since GDB 7.2' into `in GDB 7.3'.
41
422011-07-26  Joel Brobecker  <brobecker@adacore.com>
43
44	* version.in: Update GDB version number to 7.3.
45
462011-07-15  Hui Zhu  <teawater@gmail.com>
47
48	* remote.c (remote_get_trace_status): Initialize p.
49
502011-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
51
52	Work around kgdb.
53	* remote.c (remote_get_trace_status): New variable ex.  Put
54	remote_get_noisy_reply into TRY_CATCH.  Call exception_fprintf for it.
55
562011-07-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
57
58	Fix occasional crash of CTRL-C during DWARF read in.
59	* dwarf2read.c (dwarf2_mark_helper): Return on NULL CU.
60
612011-07-06  Joel Brobecker  <brobecker@adacore.com>
62
63	* version.in: Set version to 7.2.91.20110706-cvs.
64
652011-07-06  Joel Brobecker  <brobecker@adacore.com>
66
67	GDB 7.2.91 released.
68
692011-07-06  Joel Brobecker  <brobecker@adacore.com>
70
71	* version.in: Update GDB version number to 7.2.91.
72
732011-07-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
74
75	* jit.c (jit_inferior_init): Forward declare.
76	(jit_breakpoint_re_set_internal): Call jit_inferior_init.
77
782011-07-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
79
80	Fix false GCC warning.
81	* linespec.c (decode_line_1): Initialize values.
82
832011-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
84
85	* linespec.c (find_method): Accept the function type automatically only
86	if it was specified with parameter types.
87
882011-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
89
90	Stop on first linespec terminator instead of eating what we can.
91	* linespec.c (is_linespec_boundary): New function.
92	(name_end): Remove function.
93	(keep_name_info): New parameter on_boundary, replace the body.
94	(decode_line_1): Provide the parameter to keep_name_info.
95	(decode_compound): Likewise.  Drop the trailing java return type
96	handling.  Twice.
97
982011-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
99
100	Fall back linespec to minimal symbols.
101	* linespec.c (decode_line_1): New variable ex, saved_argptr.  Protect
102	decode_compound by TRY_CATCH, fall back on minsyms if it failed.
103	(find_method, symbol_found): Change error to cplusplus_error.
104
1052011-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
106
107	* symtab.c (symbol_find_demangled_name): Remove DMGL_VERBOSE.
108
1092011-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
110	    Tom Tromey  <tromey@redhat.com>
111
112	* dwarf2read.c (check_physname): New variable.
113	(dwarf2_physname): Prefer DW_AT_linkage_name over dwarf2_compute_name.
114	(show_check_physname): New function.
115	(_initialize_dwarf2_read): Add `check-physname' for check_physname.
116
1172011-07-02  Keith Seitz  <keiths@redhat.com>
118
119	* objc-lang.c (find_methods): Increment objfile_csym earlier.
120
1212011-07-02  Keith Seitz  <keiths@redhat.com>
122
123	PR c++/12750
124	* linespec.c (get_search_block): New function.
125	(find_methods): Add FILE_SYMTATB parameter and use it and
126	get_search_block to pass an appropriate block to
127	lookup_symbol_in_namespace.
128	(decode_line_1): Record if *ARGPTR is single-quote enclosed.
129	Check if *ARGPTR starts with a filename first.
130	If it does, call locate_first_half again to locate the next
131	"first half" of the linespec.
132	Pass FILE_SYMTATB to decode_objc and decode_compound.
133	Swallow the trailing single-quote if IS_SQUOTE_ENCLOSED.
134	(locate_first_half): Stop on the first colon seen.
135	(decode_compound): Add FILE_SYMTAB parameter.
136	Pass FILE_SYMTAB to lookup_prefix_sym and find_method.
137	(lookup_prefix_sym): Add FILE_SYMTAB parameter and use
138	get_search_block with lookup_symbol.
139	(find_method): Add FILE_SYMTAB parameter and pass it to
140	find_methods.
141	(decode_objc): Use get_search_block.
142
1432011-07-02  Keith Seitz  <keiths@redhat.com>
144
145	PR symtab/12704
146	* cp-namespace.c (ANONYMOUS_NAMESPACE_LEN): Remove.
147	(cp_scan_for_anonymous_namespaces): Use CP_ANONYMOUS_NAMESPACE_STR
148	and CP_ANONYMOUS_NAMESPACE_LEN.
149	(cp_is_anonymous): Likewise.
150	* cp-support.h (CP_ANONYMOUS_NAMESPACE_STR): Define.
151	(CP_ANONYMOUS_NAMESPACE_LEN): Define.
152	* dwarf2read.c (namespace_name): Likewise.
153	(fixup_partial_die): Likewise.
154	* linespec.c (decode_compound): If CP_ANONYMOUS_NAMESPACE_STR is
155	seen in the input, keep it.
156
1572011-07-02  Keith Seitz  <keiths@redhat.com>
158
159	PR breakpoint/12803
160	* linespec.c (keep_name_info): Add handling for "volatile" keyword.
161	(decode_compound): Unconditionally call	keep_name_info.
162
1632011-07-02  Tom Tromey  <tromey@redhat.com>
164
165	* tracepoint.c (scope_info): Update.
166	* symtab.c (decode_line_spec): Update.
167	* python/python.c (gdbpy_decode_line): Update.
168	* linespec.h (decode_line_1): Update.
169	* linespec.c (decode_line_1): Remove 'not_found_ptr' argument.
170	(decode_compound, find_method, symtab_from_filename)
171	(decode_variable): Likewise.
172	* cli/cli-cmds.c (edit_command): Update.
173	(list_command): Update.
174	* breakpoint.c (parse_breakpoint_sals): Remove 'not_found_ptr'
175	argument.
176	(create_breakpoint): Update.
177	(until_break_command): Update.
178	(addr_string_to_sals): Update.
179	(decode_line_spec_1): Update.
180
1812011-06-16  Hui Zhu  <teawater@gmail.com>
182
183	* remote.c (remote_trace_set_readonly_regions): Add check for
184	remote_protocol_packets[PACKET_qXfer_traceframe_info].support before
185	output warning.
186
1872011-06-15  Hui Zhu  <teawater@gmail.com>
188
189	* remote.c (remote_trace_set_readonly_regions): Add a check for
190	target_buf_size.
191
1922011-06-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
193
194	* symtab.c (output_partial_symbol_filename): Exchange the filename and
195	fullname parameters order.
196
1972011-06-03  Tom Tromey  <tromey@redhat.com>
198
199	* python/py-inferior.c (python_inferior_exit): Use inferior's exit
200	code fields.
201	* python/py-exitedevent.c (create_exited_event_object): Change
202	type of 'exit_code'.  Optionally add exit_code attribute.
203	(emit_exited_event): Change type of 'exit_code'.
204	* python/py-event.h (emit_exited_event): Update.
205	* mi/mi-interp.c (mi_inferior_exit): Print exit code.
206	* infrun.c (handle_inferior_event): Set exit code fields on
207	inferior.
208	* inferior.h (struct inferior) <has_exit_code, exit_code>: New
209	fields.
210	* inferior.c (exit_inferior_1): Initialize new fields.
211
2122011-05-26  Pedro Alves  <pedro@codesourcery.com>
213
214	* alpha-tdep.c (alpha_cannot_fetch_register): Don't return true
215	for ALPHA_ZERO_REGNUM.
216	(alpha_supply_int_regs): Explicitly supply zero as the value for
217	ALPHA_ZERO_REGNUM in the register cache.
218	* alpha-nat.c (fetch_osf_core_registers): Ditto.
219
2202011-05-24  Pedro Alves  <pedro@codesourcery.com>
221
222	* solib-svr4.c (svr4_solib_create_inferior_hook): Skip setting
223	shared library event breakpoint if there's no execution.
224
2252011-05-23  Tom Tromey  <tromey@redhat.com>
226
227	* c-lang.c (evaluate_subexp_c): Use expect_type if it is not
228	NULL.
229
2302011-05-20  Pedro Alves  <pedro@codesourcery.com>
231
232	* tracepoint.c: Include exceptions.h.
233	(TFILE_PID): Move higher in file.
234	(tfile_open): Delay pushing the tfile target until we're assured
235	the tfile header is present in the file.  Wrap reading the initial
236	newline-terminated lines in TRY_CATCH.  Pop the target if the
237	initial setup failed.  Add the tfile's thread immediately
238	aftwards, before any non-essential setup.  Don't skip
239	post_create_inferior if there are no traceframes present in the
240	file.
241	(tfile_close): Remove redundant check for null before xfree call.
242	(tfile_thread_alive): New function.
243	(init_tfile_ops): Register it as to_thread_alive callback.
244
2452011-05-20  Pedro Alves  <pedro@codesourcery.com>
246
247	* tracepoint.c (tfile_open): Delete #if 0'd code.
248
2492011-05-20  Hui Zhu  <teawater@gmail.com>
250
251	* tracepoint.c (tfile_trace_find): Return directly when num is -1.
252
2532011-05-19  Tom Tromey  <tromey@redhat.com>
254
255	* python/py-inferior.c (python_inferior_exit): Use
256	target_gdbarch.
257	(python_on_resume): Likewise.
258
2592011-05-17  Ulrich Weigand  <ulrich.weigand@linaro.org>
260
261	* arm-tdep.c (arm_gdbarch_init): Enfore correct register number
262	for "fpscr" in target description.
263
2642011-05-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
265
266	* dwarf2read.c (find_slot_in_mapped_hash): New variable back_to,
267	initialize it.  Delay HASH initialization.  Strip the part after open
268	parenthesis for languages with qualifiers.  Call do_cleanups.
269
2702011-05-17  Tom Tromey  <tromey@redhat.com>
271
272	* utils.c (report_command_stats): Don't print `-' for negative
273	number.
274
2752011-05-17  Eric Botcazou  <ebotcazou@adacore.com>
276
277	* ada-lang.c (ada_is_simple_array_type, ada_value_slice_from_ptr)
278	(ada_value_slice, empty_array, to_fixed_array_type): Deal with
279	typedefs.
280
2812011-05-17  Joel Brobecker  <brobecker@adacore.com>
282
283	* breakpoint.h (bpdisp_text): Add declaration.
284	* breakpoint.c (bpdisp_text): Make non-static.
285	* ada-lang.c: #include "mi/mi-common.h".
286	(print_it_exception): Rewrite to improve GDB/MI output.
287
2882011-05-17  Pedro Alves  <pedro@codesourcery.com>
289
290	* arm-tdep.h (struct address_space): Add forward declaration.
291
2922011-05-17  Ulrich Weigand  <ulrich.weigand@linaro.org>
293
294	* arm-tdep.h (arm_insert_single_step_breakpoint): Add prototype.
295	* arm-tdep.c (arm_override_mode): New global.
296	(arm_pc_is_thumb): Respect arm_override_mode.  Remove single-step
297	execution mode heuristics.
298	(thumb_get_next_pc_raw): Remove INSERT_BKTP argument; always insert
299	second single-step breakpoint if needed, using
300	arm_insert_single_step_breakpoint.
301	(arm_get_next_pc_raw): Remove INSERT_BKTP argument.  Only handle
302	ARM execution mode, do not call thumb_get_next_pc_raw.
303	(arm_get_next_pc): Encode execution mode in return value.  Call
304	either arm_get_next_pc_raw or thumb_get_next_pc_raw.
305	(arm_insert_single_step_breakpoint): New function.
306	(arm_software_single_step): Call it.
307	* arm-linux-tdep.c (arm_linux_sigreturn_return_addr): Add IS_THUMB
308	argument to return execution mode of sigreturn target.
309	(arm_linux_syscall_next_pc): Use it.
310	(arm_linux_copy_svc): Update call.
311	(arm_linux_software_single_step): Call
312	arm_insert_single_step_breakpoint.
313
3142011-05-13  Tom Tromey  <tromey@redhat.com>
315
316	* dwarf2expr.c (read_uleb128): Cast intermediate result.
317	(read_sleb128): Likewise.
318
3192011-05-12  Tom Tromey  <tromey@redhat.com>
320
321	* dwarf2read.c (read_common_block): Fix formatting.
322
3232011-05-11  Tom Tromey  <tromey@redhat.com>
324
325	* dwarf2read.c (handle_data_member_location): New function.
326	(dwarf2_add_field): Use it.
327	(read_common_block): Likewise.
328
3292011-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
330
331	* ppc-linux-tdep.c (ppu2spu_prev_register): Handle pseudo registers.
332	(ppu2spu_unwind_register): Mark pseudo registers unavailable.
333	* spu-tdep.c (op_selb): Use correct value.
334
3352011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
336
337	PR 12573
338	* dwarf2read.c (struct dwarf2_cu): New field has_loclist.
339	(producer_is_gcc_ge_4_0): New function.
340	(process_full_comp_unit): Set also symtab->locations_valid.  Move the
341	symtab->language code.
342	(var_decode_location): Set cu->has_loclist.
343	* symtab.c (skip_prologue_sal): New variables saved_pc, force_skip and
344	skip.  Intialize force_skip from locations_valid.  Move the prologue
345	skipping code into two passes.
346	* symtab.h (struct symtab): Make the primary field a bitfield.  New
347	field locations_valid.
348
3492011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
350
351	* symtab.c (compare_symbol_name): New function.
352	(completion_list_add_name, expand_partial_symbol_name): Call it,
353	remove the variable ncmp.
354	(default_make_symbol_completion_list_break_on): Reduce SYM_TEXT_LEN,
355	gdb_assert it.
356
3572011-05-03  Joel Brobecker <brobecker@adacore.com>
358
359        Revert:
360	| 2011-03-07  Michael Snyder  <msnyder@vmware.com>
361	| * elfread.c (elf_symtab_read): Stop memory leak.
362
3632011-04-29  Andrew Gontarek  <andrewg@cray.com>
364
365	* valprint.c (val_print_array_elements): Fixed poor performance
366	of printing very large arrays with repeat_count_threshold set
367	to unlimited.  New comment.
368
3692011-04-29  Pedro Alves  <pedro@codesourcery.com>
370
371	* linux-nat.c (linux_child_remove_fork_catchpoint)
372	(linux_child_remove_vfork_catchpoint)
373	(linux_child_remove_exec_catchpoint): New functions.
374	(linux_target_install_ops): Install them.
375
3762011-04-29  Phil Muldoon  <pmuldoon@redhat.com>
377
378	PR mi/12531
379
380	* varobj.c (install_default_visualizer): Do not install a
381	visualizer if the varobj is CPLUS_FAKE_CHILD.
382	(construct_visualizer): Likewise.
383
3842011-04-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
385
386	Fix Python access to inlined frames.
387	* python/py-frame.c (frapy_read_var): Find BLOCK using get_frame_block.
388	* python/py-symbol.c (gdbpy_lookup_symbol): Likewise.
389
3902011-04-26  Michael Walle  <michael@walle.cc>
391
392	* remote.c (remote_start_remote): Ack packet after sending the
393	interrupt sequence.
394
3952011-04-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
396
397	* elfread.c (elf_symfile_read): Protect dwarf2_initialize_objfile by
398	!objfile_has_partial_symbols.  New comment.
399	* objfiles.c (objfile_has_partial_symbols): Call HAS_SYMBOLS if
400	SYM_READ_PSYMBOLS is not present. Extend the comment.
401	* symfile.h (struct sym_fns): Extend the sym_read_psymbols comment.
402
4032011-04-21  Pierre Muller  <muller@ics.u-strasbg.fr>
404
405	* gdb_wchar.h (USE_INTERMEDIATE_ENCODING_FUNCTION): New macro.
406	(INTERMEDIATE_ENCODING): Change value to intermediate_encoding
407	function call if __STDC_ISO_10646__ macro is defined.
408	(intermediate_encoding): New prototype.
409	* charset.c (your_gdb_wchar_t_is_bogus): New extern test variable
410	to generate compile time error for unsupported gdb_wchar_t size.
411	(ENDIAN_SUFFIX): New macro.
412	(intermediate_encoding): New function.
413
4142011-04-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
415
416	* ada-lang.c (struct add_partial_datum): Update the comment for
417	expand_partial_symbol_name.
418	(ada_add_partial_symbol_completions): Rename to ...
419	(ada_expand_partial_symbol_name): ... here, change return type, update
420	function comment, call symbol_completion_match instead of
421	symbol_completion_add.
422	(ada_make_symbol_completion_list): Use now expand_partial_symbol_names
423	and ada_expand_partial_symbol_name.
424	* dwarf2read.c (dw2_expand_symtabs_matching): Support NULL
425	FILE_MATCHER.
426	(dw2_map_symbol_names): Remove.
427	(dwarf2_gdb_index_functions): Unlist dw2_map_symbol_names.
428	* psymtab.c (map_symbol_names_psymtab): Remove.
429	(expand_symtabs_matching_via_partial): Support NULL FILE_MATCHER.
430	Support KIND == ALL_DOMAIN.  Exchange the NAME_MATCHER and KIND check
431	order.
432	(psym_functions): Unlist map_symbol_names_psymtab.
433	(map_partial_symbol_names): Rename to ...
434	(expand_partial_symbol_names): ... here, change the FUN type, call
435	expand_symtabs_matching with ALL_DOMAIN and NULL FILE_MATCHER now.
436	* psymtab.h (map_partial_symbol_names): Rename to ...
437	(expand_partial_symbol_names): ... here, change the FUN type.
438	* symfile.h (struct quick_symbol_functions): Update the description of
439	expand_symtabs_matching.  Remove map_symbol_names.
440	* symtab.c (search_symbols): Add ALL_DOMAIN to the function comment.
441	(struct add_name_data): Update the comment for
442	expand_partial_symbol_name.
443	(add_partial_symbol_name): Rename to ...
444	(expand_partial_symbol_name): ... here.  Replace
445	completion_list_add_name call by strncmp.
446	(default_make_symbol_completion_list_break_on): Use now
447	expand_partial_symbol_names and expand_partial_symbol_name.
448	* symtab.h (enum search_domain): New element ALL_DOMAIN.
449
4502011-04-20  Pedro Alves  <pedro@codesourcery.com>
451
452	* regcache.c (get_thread_arch_regcache): If creating a regcache for
453	null_ptid, assume and allow a NULL address space, instead of
454	asking the target for the ptid's address space.
455	* infrun.c (ptid_is_pid): Remove assertion.
456
4572011-04-19  Marc Khouzam  <marc.khouzam@ericsson.com>
458
459	* thread.c (any_live_thread_of_process): Prioritize threads
460	that are not executing.
461	* gdbthread.h (any_live_thread_of_process): Update comment
462	as per above change.
463
4642011-04-18  Thiago Jung Bauermann  <bauerman@br.ibm.com>
465
466	* ppc-linux-nat.c (check_condition): Add len output parameter.
467	Set it based on the memory region referenced in the condition
468	expression.  Update all callers.
469
4702011-04-15  Thiago Jung Bauermann  <bauerman@br.ibm.com>
471
472	* breakpoint.c (watch_command_1): Remove colon from exp_string.
473
4742011-04-15  Thiago Jung Bauermann  <bauerman@br.ibm.com>
475
476	* breakpoint.c (save_breakpoints): Verify whether
477	breakpoint_ops.print_recreate is defined before calling it.
478
4792011-04-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
480
481	Fix DW_AT_accessibility compatibility with gcc-4.6+.
482	* dwarf2read.c: Include ctype.h.
483	(producer_is_gxx_lt_4_6, dwarf2_default_access_attribute): New
484	functions.
485	(dwarf2_add_field): Fix new_field->accessibility by calling
486	dwarf2_default_access_attribute.  Restructure setting accessibility
487	vs. virtuality.
488	(dwarf2_add_member_fn): New variable accessibility.  Fix fnp
489	is_private and is_protected by calling
490	dwarf2_default_access_attribute.
491
4922011-04-08  Kevin Buettner  <kevinb@redhat.com>
493
494	* rx-tdep.c (rx_frame_unwind): Add default_frame_unwind_stop_reason
495	to the initialization.
496
4972011-04-08  Steve Ellcey  <sje@cup.hp.com>
498
499	* Add default_frame_unwind_stop_reason value to libunwind_frame_unwind
500	initalization.
501
5022011-04-03  Joel Brobecker  <brobecker@adacore.com>
503
504	* configure.ac: Disable -Werror by default.
505	* configure: Regenerate.
506
5072011-04-03  Joel Brobecker  <brobecker@adacore.com>
508
509	GDB 7.3 branch created (branch timestamp: 2011-04-01 01:00 UTC)
510	* version.in: Bump version to 7.2.90.20110401-cvs.
511
5122011-03-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
513
514	* dwarf2read.c (dwarf2_read_index): Fix .gdb_index version number in
515	the comment.
516
5172011-03-31  Tom Tromey  <tromey@redhat.com>
518
519	* varobj.c (update_dynamic_varobj_children): Properly handle
520	errors from iterator.
521
5222011-03-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
523
524	* dwarf2read.c (dwarf2_name): Initialize DEMANGLED.  Avoid demangling
525	struct linkage name twice.
526
5272011-03-31  Tom Tromey  <tromey@redhat.com>
528
529	* python/py-prettyprint.c (print_stack_unless_memory_error): Add
530	missing ">" to message.
531
5322011-03-31  Tom Tromey  <tromey@redhat.com>
533
534	* varobj.c (instantiate_pretty_printer): Remove duplicate
535	'return'.
536
5372011-03-31  Ulrich Weigand  <ulrich.weigand@linaro.org>
538
539	* i386-tdep.c (i386_frame_prev_register): Unwind SP from memory
540	if neither saved value nor register available (e.g. signal frame).
541
5422011-03-31  Thiago Jung Bauermann  <bauerman@br.ibm.com>
543
544	* macroexp.c (expand): Avoid uninitialized variable
545	compiler warning.
546
5472011-03-31  Thiago Jung Bauermann  <bauerman@br.ibm.com>
548
549	* breakpoint.c (break_range_command): Fix typo in comment.
550
5512011-03-31  Thiago Jung Bauermann  <bauerman@br.ibm.com>
552	    Sergio Durigan Junior  <sergiodj@linux.vnet.ibm.com>
553
554	Implement support for PowerPC BookE ranged breakpoints.
555	* NEWS: Mention support for ranged breakpoints on embedded PowerPC.
556	* breakpoint.h (struct bp_target_info) <length>: New member
557	variable.
558	(struct breakpoint_ops) <breakpoint_hit>: Take struct bp_location
559	instead of struct breakpoint as argument, and also add ASPACE
560	and BP_ADDR arguments.  Update all callers.
561	(struct breakpoint_ops) <print_one_detail>: New method.
562	(struct breakpoint) <addr_string_range_end>: New member variable.
563	* breakpoint.c (breakpoint_location_address_match): Add function
564	prototype.
565	(insert_bp_location): Set bl->target_info.length.
566	(breakpoint_here_p): Call breakpoint_location_address_match.
567	(moribund_breakpoint_here_p): Likewise.
568	(regular_breakpoint_inserted_here_p): Likewise.
569	(breakpoint_thread_match): Likewise.
570	(bpstat_stop_status): Likewise.
571	(bpstat_check_location): Move call to
572	breakpoint_ops.breakpoint_hit to the top.
573	(print_one_breakpoint_location): Call
574	breakpoint_ops.print_one_detail if available.
575	(breakpoint_address_match_range): New function.
576	(breakpoint_location_address_match): Likewise.
577	(breakpoint_locations_match): Compare the length field of the
578	locations too.
579	(hw_breakpoint_used_count): Count resources used by all locations
580	in a breakpoint, and use breakpoint_ops.resources_needed if
581	available.
582	(breakpoint_hit_ranged_breakpoint): New function.
583	(resources_needed_ranged_breakpoint): Likewise.
584	(print_it_ranged_breakpoint): Likewise.
585	(print_one_ranged_breakpoint): Likewise.
586	(print_one_detail_ranged_breakpoint): Likewise.
587	(print_mention_ranged_breakpoint): Likewise.
588	(print_recreate_ranged_breakpoint): Likewise.
589	(ranged_breakpoint_ops): New structure.
590	(find_breakpoint_range_end): New function.
591	(break_range_command): Likewise.
592	(delete_breakpoint): Free addr_string_range_end.
593	(update_breakpoint_locations): Add SALS_END argument.  Update
594	all callers.  Calculate breakpoint length if a non-zero SALS_END
595	is given.  Call breakpoint_locations_match instead of
596	breakpoint_address_match.
597	(reset_breakpoint): Find SaL of the end of the range if B is a
598	ranged breakpoint.
599	(_initialize_breakpoint): Register break-range command.
600	* defs.h (print_core_address): Add function prototype.
601	* ppc-linux-nat.c (ppc_linux_ranged_break_num_registers): New
602	function.
603	(ppc_linux_insert_hw_breakpoint): Support ranged breakpoints.
604	(ppc_linux_remove_hw_breakpoint): Likewise.
605	(_initialize_ppc_linux_nat): Initialize
606	to_ranged_break_num_registers.
607	* target.c (update_current_target): Add comment about
608	to_ranged_break_num_registers.
609	(target_ranged_break_num_registers): New function.
610	* target.h (struct target_ops) <to_ranged_break_num_registers>:
611	New method.
612	(target_ranged_break_num_registers): Add function prototype.
613	* ui-out.c (ui_out_field_core_addr): Move address-printing logic to ...
614	* utils.c (print_core_address): ... here.
615
6162011-03-31  Ulrich Weigand  <uweigand@de.ibm.com>
617
618	* breakpoint.c (addr_string_to_sals): Avoid uninitialized
619	variable compiler warning.
620
6212011-03-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
622
623	* breakpoint.c (breakpoint_re_set_one): Factor out breakpoint-resetting
624	code from here ...
625	(re_set_breakpoint): ... to here ...
626	(addr_string_to_sals): ... and here.
627
6282011-03-29  Pierre Muller  <muller@ics.u-strasbg.fr>
629
630	* Makefile.in (SFILES): Add missing C sources.
631	(HFILES_NO_SRCDIR): Remove gdbserver subdirectory headers.
632	Add missing headers.
633
6342011-03-29  Mike Frysinger  <vapier@gentoo.org>
635
636	* .gitignore: New file.
637
6382011-03-29  Mike Frysinger  <vapier@gentoo.org>
639
640	* NEWS: Mention new cfi device simulation.
641
6422011-03-29  Tom Tromey  <tromey@redhat.com>
643
644	* dwarf2read.c (fixup_partial_die): Handle linkage name on
645	otherwise anonymous types.
646	(dwarf2_name): Likewise.
647	* valops.c (value_struct_elt_for_reference): Refine artificial
648	type logic.  Call error if j==-1.
649
6502011-03-29  Andreas Tobler  <andreast-list@fgznet.ch>
651
652	Fix false GCC warning.
653	* infcall.c (find_function_addr): Initialize funaddr.
654
6552011-03-29  Pierre Muller  <muller@ics.u-strasbg.fr>
656
657	Fix mingw compilation with --enable-targets=all.
658	* remote-mips.c (gdb_usleep.h): Include header.
659	(mips_enter_debug): Use gdb_usleep instead of sleep.
660
6612011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
662
663	Support resolution of STT_GNU_IFUNC via breakpoints.
664	* breakpoint.c (print_it_typical): Support bp_gnu_ifunc_resolver and
665	bp_gnu_ifunc_resolver_return.
666	(bpstat_what): Rename parameter to bs_head, new variable bs, adjust
667	the loop.  Support bp_gnu_ifunc_resolver and
668	bp_gnu_ifunc_resolver_return.  New comment after the loop.  New loop
669	for bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return
670	breakpoints.
671	(bptype_string, print_one_breakpoint_location): Support
672	bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return.
673	(user_settable_breakpoint): Return true also for
674	bp_gnu_ifunc_resolver.
675	(allocate_bp_location): Support bp_gnu_ifunc_resolver and
676	bp_gnu_ifunc_resolver_return.
677	(set_breakpoint_location_function): New parameter explicit_loc,
678	describe it.  Call find_pc_partial_function_gnu_ifunc with new
679	variable IS_GNU_IFUNC and adjust the address for STT_GNU_IFUNC if
680	EXPLICIT_LOC is not set.
681	(set_raw_breakpoint): Set EXPLICIT_LOC for
682	set_breakpoint_location_function.
683	(clone_momentary_breakpoint): Use true for EXPLICIT_LOC of
684	set_breakpoint_location_function.
685	(mention): Support bp_gnu_ifunc_resolver and
686	bp_gnu_ifunc_resolver_return.
687	(add_location_to_breakpoint): Set EXPLICIT_LOC for
688	set_breakpoint_location_function.
689	(update_breakpoint_locations): Remove static.
690	(breakpoint_re_set_one): Support bp_gnu_ifunc_resolver and
691	bp_gnu_ifunc_resolver_return.
692	* breakpoint.h (enum bptype): New fields bp_gnu_ifunc_resolver and
693	bp_gnu_ifunc_resolver_return.
694	(update_breakpoint_locations): New declaration.
695	* elfread.c: Include gdbthread.h and regcache.h.
696	(elf_gnu_ifunc_resolver_stop, elf_gnu_ifunc_resolver_return_stop): New
697	functions.
698	(elf_gnu_ifunc_fns): Install them.
699	* minsyms.c (stub_gnu_ifunc_resolver_stop)
700	(stub_gnu_ifunc_resolver_return_stop): New functions.
701	(stub_gnu_ifunc_fns): Install them.
702	* symtab.h (struct gnu_ifunc_fns): New fields gnu_ifunc_resolver_stop
703	and gnu_ifunc_resolver_return_stop.
704	(gnu_ifunc_resolver_stop, gnu_ifunc_resolver_return_stop): New.
705
7062011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
707
708	STT_GNU_IFUNC reader implementation.
709	* elfread.c: Include gdbtypes.h, value.h and infcall.h.
710	(SYMBOL_GOT_PLT_SUFFIX, elf_rel_plt_read)
711	(elf_objfile_gnu_ifunc_cache_data, struct elf_gnu_ifunc_cache)
712	(elf_gnu_ifunc_cache_hash, elf_gnu_ifunc_cache_eq)
713	(elf_gnu_ifunc_record_cache, elf_gnu_ifunc_resolve_by_cache)
714	(elf_gnu_ifunc_resolve_by_got, elf_gnu_ifunc_resolve_name)
715	(elf_gnu_ifunc_resolve_addr): New.
716	(elf_symfile_read): Call elf_rel_plt_read.
717	(elf_gnu_ifunc_fns): New.
718	(_initialize_elfread): Initialize elf_objfile_gnu_ifunc_cache_data.
719	Install elf_gnu_ifunc_fns.
720	* infcall.c (find_function_return_type): New function.
721	(find_function_addr): Resolve TYPE_GNU_IFUNC functions, if possible.
722	* minsyms.c (stub_gnu_ifunc_resolve_addr)
723	(stub_gnu_ifunc_resolve_name): New functions.
724	(stub_gnu_ifunc_fns, gnu_ifunc_fns_p): New variables.
725	* symtab.h (struct gnu_ifunc_fns, gnu_ifunc_resolve_addr)
726	(gnu_ifunc_resolve_name, gnu_ifunc_fns_p): New.
727
7282011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
729
730	Code cleanup for later STT_GNU_IFUNC support.
731	* infcall.c (find_function_addr): Remove variable code, use explicit
732	dereferences for it.  Move VALUE_TYPE initialization later.
733
7342011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
735
736	GDB find_pc_partial_function support for STT_GNU_IFUNC.
737	* blockframe.c (cache_pc_function_is_gnu_ifunc): New variable.
738	(clear_pc_function_cache): Clear it.
739	(find_pc_partial_function): Rename to ...
740	(find_pc_partial_function_gnu_ifunc): ... this function.  New
741	parameter is_gnu_ifunc_p, describe it.  Set *IS_GNU_IFUNC_P.
742	(find_pc_partial_function): New wrapper for this function.
743	* symtab.h (find_pc_partial_function_gnu_ifunc): New declaration.
744
7452011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
746
747	GDB internal type support for STT_GNU_IFUNC.
748	* elfread.c (record_minimal_symbol): Support mst_text_gnu_ifunc.
749	(elf_symtab_read): Set mst_text_gnu_ifunc for
750	BSF_GNU_INDIRECT_FUNCTION.
751	* eval.c (evaluate_subexp_standard): Support TYPE_GNU_IFUNC.
752	* gdbtypes.c (init_type): Support TYPE_FLAG_GNU_IFUNC,
753	builtin_func_func, nodebug_text_gnu_ifunc_symbol and
754	nodebug_got_plt_symbol.
755	* gdbtypes.h (enum type_flag_value): New entry TYPE_FLAG_GNU_IFUNC.
756	(TYPE_GNU_IFUNC): New.
757	(struct main_type): New field flag_gnu_ifunc.
758	(struct builtin_type): New field builtin_func_func.
759	(struct objfile_type): New fields nodebug_text_gnu_ifunc_symbol and
760	nodebug_got_plt_symbol.
761	* minsyms.c (lookup_minimal_symbol_text): Support mst_text_gnu_ifunc.
762	(in_gnu_ifunc_stub): New.
763	(prim_record_minimal_symbol, find_solib_trampoline_target): Support
764	mst_text_gnu_ifunc.
765	* parse.c (write_exp_msymbol): New variable ifunc_msym.  Detect and
766	support mst_text_gnu_ifunc.  Support mst_slot_got_plt.
767	* solib-svr4.c (svr4_in_dynsym_resolve_code): Return true also for
768	in_gnu_ifunc_stub.
769	* symmisc.c (dump_msymbols): Support mst_text_gnu_ifunc.
770	* symtab.c (search_symbols): Likewise.
771	* symtab.h (enum minimal_symbol_type): New fields mst_text_gnu_ifunc
772	and mst_slot_got_plt.
773	(in_gnu_ifunc_stub): New declaration.
774
7752011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
776
777	Support a ring of related breakpoints.
778	* breakpoint.c (watchpoint_del_at_next_stop): New, move here code from
779	other functions, add gdb_assert.
780	(update_watchpoint, watchpoint_check): Add gdb_assert.  Use
781	watchpoint_del_at_next_stop.
782	(bpstat_check_watchpoint): Use watchpoint_del_at_next_stop.
783	(bpstat_stop_status): Handle ring in related_breakpoint.
784	(set_raw_breakpoint_without_location): Initialize ring in
785	related_breakpoint.
786	(delete_breakpoint): Handle ring in related_breakpoint, use
787	watchpoint_del_at_next_stop.
788	(map_breakpoint_numbers): Handle ring in related_breakpoint.
789
7902011-03-28  Tom Tromey  <tromey@redhat.com>
791
792	PR symtab/12441:
793	* dwarf2read.c (prepare_one_comp_unit): Don't call set_cu_language
794	with `language_minimal'.
795
7962011-03-25  Ulrich Weigand  <ulrich.weigand@linaro.org>
797
798	* arm-tdep.c (arm_elf_make_msymbol_special): Use ARM_SYM_BRANCH_TYPE
799	instead of checking for STT_ARM_TFUNC symbol type.
800
8012011-03-25  Tom Tromey  <tromey@redhat.com>
802
803	* linespec.c (symbol_found): Restore line-based result for
804	non-LOC_LABEL symbols.
805
8062011-03-25  Kai Tietz  <ktietz@redhat.com>
807
808	* tui/tui-source.c (tui_set_source_content): Use filename_cmp
809	instead of strcmp for comparison.
810	(tui_source_is_displayed): Likewise.
811	* tui/tui-winsource.c (tui_update_breakpoint_info): Likewise.
812
8132011-03-24  Mark Wielaard  <mjw@redhat.com>
814
815        * dwarf2read.c (lookup_signatured_type): Use DW_FORM_ref_sig8 in
816        complaint.
817        (skip_one_die): Use DW_FORM_ref_sig8, not DW_FORM_sig8.
818        (find_partial_die_in_comp_unit): Likewise in comment.
819        (read_attribute_value): Likewise.
820        (lookup_die_type): Likewise.
821        (dwarf_form_name): Likewise.
822        (dump_die_shallow): Likewise.
823        (follow_die_ref_or_sig): Likewise.
824
8252011-03-24  Tom Tromey  <tromey@redhat.com>
826
827	PR breakpoints/11816:
828	* linespec.c (decode_line_1): Parse `function:label' linespecs.
829	(decode_compound): Update.
830	(find_function_symbol): New function.
831	(decode_dollar): Update.
832	(decode_label): Add 'function_symbol' parameter.  Handle
833	function-relative labels.
834	(decode_variable): Update.
835	(symbol_found): Add 'function_symbol' parameter.  Use label's PC,
836	not its line.  Set `special_display' and canonical name for
837	labels.
838
8392011-03-24  Tom Tromey  <tromey@redhat.com>
840
841	* linespec.h (struct linespec_result) <special_display>: New
842	field.
843	* breakpoint.h (struct breakpoint) <display_canonical>: New
844	field.
845	* breakpoint.c (print_breakpoint_location): Respect
846	display_canonical.
847	(create_breakpoint_sal): Add 'display_canonical' parameter.
848	(create_breakpoints_sal): Update.
849	(create_breakpoint): Update.
850
8512011-03-24  Tom Tromey  <tromey@redhat.com>
852
853	* symtab.c (decode_line_spec): Update.
854	* linespec.c (build_canonical_line_spec): Change type of
855	'canonical'.
856	(decode_line_2, decode_line_1, decode_objc, decode_compound)
857	(find_method, decode_all_digits, decode_dollar, decode_label)
858	(symbol_found): Likewise.
859	(init_linespec_result): New function.
860	* breakpoint.c (struct captured_parse_breakpoint_args)
861	<canonical_p>: New field, replaces addr_string_p.
862	(create_breakpoints_sal): Add 'canonical' parameter, replacing
863	'addr_string'.
864	(parse_breakpoint_sals): Likewise.
865	(do_captured_parse_breakpoint): Update.
866	(create_breakpoint): Use struct linespec_result.
867	(until_break_command): Update.
868	(breakpoint_re_set_one): Update.
869	(decode_line_spec_1): Update.
870	* linespec.h (struct linespec_result): New.
871	(init_linespec_result): Declare.
872
8732011-03-23  Pedro Alves  <pedro@codesourcery.com>
874
875	* regcache.c (regcache_raw_read): If the target didn't supply a
876	given raw register, mark it as unavailable.
877
8782011-03-23  Kai Tietz  <ktietz@redhat.com>
879
880	* breakpoint.c (clear_command): Use filename_cmp
881	instead of strcmp for comparison.
882	* buildsym.c (watch_main_source_file_lossage): Likewise.
883	(patch_subfile_names): Use IS_DIR_SEPARATOR instead of
884	checking just for slash.
885	* dbxread.c (read_dbx_symtab): Use lbasename instead of
886	strrchr and filename_cmp instead of strcmp for filenames.
887	(add_old_header_file): Use filename_cmp
888	instead of strcmp for comparison.
889	* exec.c (exec_set_section_address): Likewise.
890	* macrotab.c (macro_lookup_inclusion): Likewise.
891	(macro_lookup_inclusion): Likewise.
892	* elfread.c (_initialize_elfread): Likewise.
893	(elfstab_offset_sections): Likewise.
894	(elfstab_offset_sections): Use lbasename instead of
895	strrchr.
896	* mdebugread.c (parse_partial_symbols): Likewise.
897	(arse_partial_symbols): Use filename_(n)cmp instead of
898	str(n)cmp for comparison.
899	* minsyms.c (lookup_minimal_symbol): Likewise.
900	* psymtab.c (read_psymtabs_with_filename): Likewise.
901	* solib.c (solib_read_symbols): Likewise.
902	(reload_shared_libraries_1): Likewise.
903	* symmisc.c (maintenance_print_symbols): Likewise.
904	* symfile.c (separate_debug_file_exists): Likewise.
905	(reread_symbols): Likewise.
906	(find_separate_debug_file_by_debuglink): Likewise.
907	* remote-fileio.c (remote_fileio_func_rename): Likewise.
908	* source.c (add_path): Likewise.
909	* symtab.c (filename_seen): Likewise.
910	(file_matches): Likewise.
911	(print_symbol_info): Likewise.
912	(maybe_add_partial_symtab_filename): Likewise.
913	(make_source_files_completion_list): Likewise.
914	* xml-syscall.c (init_sysinfo): Likewise.
915	* windows-nat.c (_initialize_check_for_gdb_ini): Use
916	IS_DIR_SEPARATOR for checking for trailing path separator.
917
9182011-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
919
920	* dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_entry_value.  New
921	label abort_expression.
922	* dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Handle
923	DWARF_VALUE_OPTIMIZED_OUT.
924
9252011-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
926
927	Code cleanup.
928	* c-typeprint.c (c_type_print_args): Change parameter show_artificial
929	to linkage_name.  Invert its value.  Update the function comment.
930	(c_type_print_varspec_suffix): Invert it at the caller.
931	* dwarf2read.c (dwarf2_compute_name): Invert it at the caller.
932
9332011-03-22  Pedro Alves  <pedro@codesourcery.com>
934
935	* infcmd.c (post_create_inferior): Ignore NOT_AVAILABLE_ERROR
936	errors when reading the `stop_pc'.
937	* printcmd.c (pc_prefix): Use get_frame_pc_if_available instead of
938	get_frame_pc.
939
9402011-03-22  Phil Muldoon  <pmuldoon@redhat.com>
941
942	* NEWS: Document gdb.Write stream keyword.
943
9442011-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
945
946	Revert:
947	2011-03-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
948	* dwarf2read.c (producer_is_gxx_lt_4_6): New function.
949	(dwarf2_add_field): Fix new_field->accessibility for
950	cu->header.version >= 3 while verifying also producer_is_gxx_lt_4_6.
951
9522011-03-22  Phil Muldoon  <pmuldoon@redhat.com>
953
954        PR python/12183
955
956	* python/py-function.c (fnpy_call): Treat GdbErrors differently to
957	other error classes.  Do not print stack trace.
958
9592011-03-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
960
961	* dwarf2read.c (producer_is_gxx_lt_4_6): New function.
962	(dwarf2_add_field): Fix new_field->accessibility for
963	cu->header.version >= 3 while verifying also producer_is_gxx_lt_4_6.
964
9652011-03-21  Ulrich Weigand  <ulrich.weigand@linaro.org>
966
967	* arm-tdep.c (arm_analyze_prologue): Do not abort parsing when
968	encountering a load via a non-SP register.
969
9702011-03-21  Ulrich Weigand  <uweigand@de.ibm.com>
971
972	* tramp-frame.c (tramp_frame_prepend_unwinder): Set stop_reason
973	field in returned unwinder.
974
9752012-03-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
976
977	* ada-lang.c (replace_operator_with_call): Copy also GDBARCH.
978
9792012-03-21  Joel Brobecker  <brobecker@adacore.com>
980
981	* ada-lang.c (replace_operator_with_call): Use xzalloc instead
982	of xmalloc.
983
9842012-03-18  Pedro Alves  <pedro@codesourcery.com>
985
986	* frame.c (frame_unwind_register): Throw an error if unwinding the
987	register failed.
988	* get_prev_frame_1 (get_prev_frame_1): Ask the unwinder if there's
989	an unwind stop reason.
990	(frame_stop_reason_string): Handle UNWIND_UNAVAILABLE.
991	* frame.h (enum unwind_stop_reason) <UNWIND_OUTERMOST,
992	UNWIND_UNAVAILABLE>: New.
993	* inline-frame.c (inline_frame_unwind): Install
994	default_frame_unwind_stop_reason.
995	* frame-unwind.c: Include "exceptions.h".
996	(frame_unwind_find_by_frame): Swallow NOT_AVAILABLE_ERROR errors.
997	(default_frame_unwind_stop_reason): New.
998	* frame-unwind.h (frame_unwind_stop_reason_ftype): New typedef.
999	(default_frame_unwind_stop_reason): Declare.
1000	(struct frame_unwind) <stop_reason>: New function pointer.
1001
1002	* dummy-frame.c: Install default_frame_unwind_stop_reason.
1003	* dwarf2-frame.c: Include exceptions.h.
1004	(struct dwarf2_frame_cache) <unavailable_retaddr>: New field.
1005	(dwarf2_frame_cache): Swallow NOT_AVAILABLE_ERROR errors when
1006	computing the CFA.  If such an error was thrown, set
1007	unavailable_retaddr.
1008	(dwarf2_frame_unwind_stop_reason): New.
1009	(dwarf2_frame_this_id): Don't build a frame id if the CFA was
1010	unavailable.
1011	(dwarf2_frame_unwind): Install dwarf2_frame_unwind_stop_reason.
1012	(dwarf2_signal_frame_unwind): Ditto.
1013
1014	* amd64-tdep.c: Include "exceptions.h".
1015	(struct amd64_frame_cache): New field "base_p".
1016	(amd64_init_frame_cache): Clear it.
1017	(amd64_frame_cache_1): New, factored out from amd64_frame_cache.
1018	Avoid reading registers with functions that throw if the register
1019	is not necessary to compute the frame base.
1020	(amd64_frame_cache): Reimplement wrapping amd64_frame_cache_1, and
1021	swallowing NOT_AVAILABLE_ERROR.
1022	(amd64_frame_unwind_stop_reason): New.
1023	(amd64_frame_this_id): Don't build a frame id if the frame base
1024	was unavailable.
1025	(amd64_frame_unwind): Install amd64_frame_unwind_stop_reason.
1026	(amd64_sigtramp_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set
1027	base_p if the frame base was computable.
1028	(amd64_sigtramp_frame_unwind_stop_reason): New.
1029	(amd64_sigtramp_frame_this_id): Don't build a frame id if the
1030	frame base was unavailable.
1031	(amd64_sigtramp_frame_unwind): Install
1032	amd64_sigtramp_frame_unwind_stop_reason.
1033	(amd64_epilogue_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set
1034	base_p if the frame base was computable.
1035	(amd64_epilogue_frame_unwind_stop_reason): New.
1036	(amd64_epilogue_frame_this_id): Don't build a frame id if the
1037	frame base was unavailable.
1038	(amd64_epilogue_frame_unwind): Install
1039	amd64_epilogue_frame_unwind_stop_reason.
1040	* i386-tdep.c: Include "exceptions.h".
1041	(struct i386_frame_cache): New field "base_p".
1042	(i386_init_frame_cache): Clear it.
1043	(i386_frame_cache_1): New, factored out from amd64_frame_cache.
1044	Avoid reading registers with functions that throw if the register
1045	is not necessary to compute the frame base.
1046	(i386_frame_cache): Reimplement wrapping amd64_frame_cache_1, and
1047	swallowing NOT_AVAILABLE_ERROR.
1048	(i386_frame_unwind_stop_reason): New.
1049	(i386_frame_this_id): Don't build a frame id if the frame base was
1050	unavailable.
1051	(i386_frame_prev_register): Handle unavailable SP.
1052	(i386_frame_unwind): Install i386_frame_unwind_stop_reason.
1053	(i386_epilogue_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set
1054	base_p if the frame base was computable.
1055	(i386_epilogue_frame_unwind_stop_reason): New.
1056	(i386_epilogue_frame_this_id): Don't build a frame id if the frame
1057	base was unavailable.
1058	(i386_epilogue_frame_unwind): Install
1059	i386_epilogue_frame_unwind_stop_reason.
1060	(i386_sigtramp_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set
1061	base_p if the frame base was computable.
1062	(i386_sigtramp_frame_unwind_stop_reason): New.
1063	(i386_sigtramp_frame_this_id): Don't build a frame id if the frame
1064	base was unavailable.
1065	(i386_sigtramp_frame_unwind): Install
1066	i386_sigtramp_frame_unwind_stop_reason.
1067	* sentinel-frame.c (sentinel_frame_prev_register): Use the value
1068	type's size, not the register's.
1069	(sentinel_frame_unwind): Install default_frame_unwind_stop_reason.
1070
1071	* alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind): Install
1072	default_frame_unwind_stop_reason.
1073	* alpha-tdep.c (alpha_sigtramp_frame_unwind)
1074	(alpha_heuristic_frame_unwind): Ditto.
1075	* amd64obsd-tdep.c (amd64obsd_trapframe_unwind): Ditto.
1076	* arm-tdep.c (arm_prologue_unwind, arm_stub_unwind): Ditto.
1077	* avr-tdep.c (avr_frame_unwind): Ditto.
1078	* cris-tdep.c (cris_sigtramp_frame_unwind, cris_frame_unwind):
1079	Ditto.
1080	* frv-linux-tdep.c (frv_linux_sigtramp_frame_unwind): Ditto.
1081	* frv-tdep.c (frv_frame_unwind): Ditto.
1082	* h8300-tdep.c (h8300_frame_unwind): Ditto.
1083	* hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind): Ditto.
1084	* hppa-linux-tdep.c (hppa_linux_sigtramp_frame_unwind): Ditto.
1085	* hppa-tdep.c (hppa_frame_unwind, hppa_fallback_frame_unwind)
1086	(hppa_stub_frame_unwind): Ditto.
1087	* i386obsd-tdep.c (i386obsd_trapframe_unwind): Ditto.
1088	* ia64-tdep.c (ia64_frame_unwind, ia64_sigtramp_frame_unwind)
1089	(ia64_libunwind_frame_unwind)
1090	(ia64_libunwind_sigtramp_frame_unwind): Ditto.
1091	* iq2000-tdep.c (iq2000_frame_unwind): Ditto.
1092	* lm32-tdep.c (lm32_frame_unwind): Ditto.
1093	* m32c-tdep.c (m32c_unwind): Ditto.
1094	* m32r-linux-tdep.c (m32r_linux_sigtramp_frame_unwind): Ditto.
1095	* m32r-tdep.c (m32r_frame_unwind): Ditto.
1096	* m68hc11-tdep.c (m68hc11_frame_unwind): Ditto.
1097	* m68k-tdep.c (m68k_frame_unwind): Ditto.
1098	* m68klinux-tdep.c (m68k_linux_sigtramp_frame_unwind): Ditto.
1099	* m88k-tdep.c (m88k_frame_unwind): Ditto.
1100	* mep-tdep.c (mep_frame_unwind): Ditto.
1101	* microblaze-tdep.c (microblaze_frame_unwind): Ditto.
1102	* mips-tdep.c (mips_insn16_frame_unwind, mips_insn32_frame_unwind)
1103	(mips_stub_frame_unwind): Ditto.
1104	* mn10300-tdep.c (mn10300_frame_unwind): Ditto.
1105	* moxie-tdep.c (moxie_frame_unwind): Ditto.
1106	* mt-tdep.c (mt_frame_unwind): Ditto.
1107	* ppc-linux-tdep.c (ppu2spu_unwind): Ditto.
1108	* ppcobsd-tdep.c (ppcobsd_sigtramp_frame_unwind): Ditto.
1109	* rs6000-tdep.c (rs6000_frame_unwind): Ditto.
1110	* s390-tdep.c (s390_frame_unwind, s390_stub_frame_unwind)
1111	(s390_sigtramp_frame_unwind): Ditto.
1112	* score-tdep.c (score_prologue_unwind): Ditto.
1113	* sh-tdep.c (sh_frame_unwind): Ditto.
1114	* sh64-tdep.c (sh64_frame_unwind): Ditto.
1115	* sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_unwind): Ditto.
1116	* sparc-tdep.c (sparc32_frame_unwind): Ditto.
1117	* sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_unwind): Ditto.
1118	* sparc64-tdep.c (sparc64_frame_unwind): Ditto.
1119	* sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_unwind): Ditto.
1120	* sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_unwind): Ditto.
1121	* sparc64obsd-tdep.c (sparc64obsd_frame_unwind)
1122	(sparc64obsd_trapframe_unwind): Ditto.
1123	* sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_unwind): Ditto.
1124	* sparcobsd-tdep.c (sparc32obsd_sigtramp_frame_unwind): Ditto.
1125	* spu-tdep.c (spu_frame_unwind, spu2ppu_unwind): Ditto.
1126	* v850-tdep.c (v850_frame_unwind): Ditto.
1127	* vax-tdep.c (vax_frame_unwind): Ditto.
1128	* vaxobsd-tdep.c (vaxobsd_sigtramp_frame_unwind): Ditto.
1129	* xstormy16-tdep.c (frame_unwind xstormy16_frame_unwind): Ditto.
1130	* xtensa-tdep.c (xtensa_unwind): Ditto.
1131
11322011-03-18  Pedro Alves  <pedro@codesourcery.com>
1133
1134	* tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Assume
1135	there's always a frame.  Use get_frame_pc_if_available instead of
1136	get_frame_pc, and if there's no PC available, don't look up a
1137	symtab.
1138
11392011-03-18  Pedro Alves  <pedro@codesourcery.com>
1140
1141	* stack.c (print_frame_local_vars, print_frame_arg_vars): Handle
1142	unavailable PC.
1143
11442011-03-18  Pedro Alves  <pedro@codesourcery.com>
1145
1146	* tracepoint.c (set_traceframe_context): Handle unavailable PC
1147	gracefully.
1148
11492011-03-18  Pedro Alves  <pedro@codesourcery.com>
1150
1151	* frame.h (frame_unwind_caller_pc_if_available): Declare.
1152	* frame.c (frame_unwind_caller_pc_if_available): New.
1153	* stack.c (frame_info): Handle unavailable PC.
1154
11552011-03-18  Pedro Alves  <pedro@codesourcery.com>
1156
1157	* frame.c (frame_unwind_pc): Rename to ...
1158	(frame_unwind_pc_if_available): ... this.  New `pc' output
1159	parameter.  Change return type to int.  Gracefully handle
1160	gdbarch_unwind_pc throwing NOT_AVAILABLE_ERROR.  Return 0 if that
1161	happened, or 1 otherwise.
1162	(frame_unwind_pc): Reimplement on top of
1163	frame_unwind_pc_if_available.
1164	(get_frame_func): Rename to ...
1165	(get_frame_func_if_available): New `pc' output parameter.  Change
1166	return type to int.  Gracefully handle the PC not being available.
1167	(get_frame_func): Reimplement on top of
1168	get_frame_func_if_available.
1169	(select_frame): Handle the PC being unavailable.
1170	(get_prev_frame): Handle the PC being unavailable.
1171	(get_frame_pc_if_available): New.
1172	(get_frame_address_in_block_if_available): New.
1173	(find_frame_sal): Handle the frame PC not being available.
1174	* frame.h (get_frame_pc_if_available): Declare.
1175	(get_frame_address_in_block_if_available): Declare.
1176	(get_frame_func_if_available): Declare.
1177	* stack.c (print_frame_info): Handle the PC being unavailable.
1178	(find_frame_funname): Ditto.
1179	(print_frame): Handle the PC being unavailable.
1180	(get_frame_language): Ditto.
1181	* blockframe.c (get_frame_block): Ditto.
1182	* macroscope.c (default_macro_scope): Ditto.
1183	* tui/tui-stack.c (tui_show_frame_info): Ditto.
1184
11852011-03-18  Pedro Alves  <pedro@codesourcery.com>
1186
1187	* dwarf2loc.c (dwarf2_evaluate_loc_desc): Catch
1188	NOT_AVAILABLE_ERROR when evaluating the location expression.
1189
11902011-03-18  Pedro Alves  <pedro@codesourcery.com>
1191
1192	* dwarf2loc.c (read_pieced_value): Handle get_frame_register_bytes
1193	returning that the register piece is unavailable/optimized out.
1194	(write_pieced_value): Handle get_frame_register_bytes returning
1195	that the register piece is unavailable/optimized out when doing a
1196	read-modify write of a bitfield.
1197	* findvar.c (value_from_register): Handle get_frame_register_bytes
1198	returning that the register piece is unavailable/optimized out.
1199	* frame.c (get_frame_register_bytes): New parameters `optimizedp'
1200	and `unavailablep'.  Throw error on bad debug info.  Use
1201	frame_register instead of frame_register_read, to fill in the new
1202	arguments.
1203	* frame.h (get_frame_register_bytes): New parameters `optimizedp'
1204	and `unavailablep'.
1205	* valops.c: (value_assign): Adjust, and handle
1206	get_frame_register_bytes failing.
1207	* spu-tdep.c: Include exceptions.h.
1208	(spu_software_single_step): Adjust, and handle
1209	get_frame_register_bytes failing.
1210	(spu_get_longjmp_target): Ditto.
1211	* gdbarch.sh (register_to_value): Change to return int.  New
1212	parameters `optimizedp' and `unavailablep'.
1213	* gdbarch.h, gdbarch.c: Regenerate.
1214	* i386-tdep.c (i386_register_to_value): Adjust to new
1215	gdbarch_register_to_value interface.
1216	* i387-tdep.c (i387_register_to_value): Ditto.
1217	* i387-tdep.h (i387_register_to_value): Ditto.
1218	* alpha-tdep.c (alpha_register_to_value): Ditto.
1219	* ia64-tdep.c (ia64_register_to_value): Ditto.
1220	* m68k-tdep.c (m68k_register_to_value): Ditto.
1221	* mips-tdep.c (mips_register_to_value): Ditto.
1222	* rs6000-tdep.c (rs6000_register_to_value): Ditto.
1223
12242011-03-18  Pedro Alves  <pedro@codesourcery.com>
1225
1226	* findvar.c (value_of_register): Mark the value as unavailable, if
1227	the register is unavailable.
1228	* frame.h (frame_register_unwind): New `unavailablep' parameter.
1229	(frame_register): New `unavailablep' parameter.
1230	(frame_register_read): Update comment.
1231	* frame.c (frame_register_unwind): New `unavailablep' parameter.
1232	Set it if the register is unavailable.  If the register is
1233	unavailable, clear the output buffer.
1234	(frame_register): New `unavailablep' parameter.  Pass it down.
1235	(frame_unwind_register): Adjust.
1236	(put_frame_register): Adjust.
1237	(frame_register_read): Adjust.  Also return false if the register
1238	is not available.
1239	(frame_register_unwind_location): Adjust.
1240	* sentinel-frame.c (sentinel_frame_prev_register): If the register
1241	is unavailable, mark the value accordingly.
1242	* stack.c (frame_info): Handle unavailable registers.
1243
12442011-03-18  Pedro Alves  <pedro@codesourcery.com>
1245
1246	* mi/mi-main.c (register_changed_p): Handle REG_UNAVAILABLE, and
1247	simplify, using regcache_cooked_read.
1248
12492011-03-18  Pedro Alves  <pedro@codesourcery.com>
1250
1251	* regcache.h (regcache_raw_read, regcache_raw_read_signed)
1252	(regcache_raw_read_unsigned, regcache_raw_read_signed)
1253	(regcache_raw_read_unsigned, regcache_raw_read_part)
1254	(regcache_cooked_read, regcache_cooked_read_signed)
1255	(regcache_cooked_read_unsigned, regcache_cooked_read_part)
1256	(regcache_cooked_read_ftype): Change return to enum
1257	register_status.
1258	* regcache.c: Include exceptions.h
1259	(regcache_save): Adjust to handle REG_UNAVAILABLE registers.
1260	(do_cooked_read): Change return to enum register_status.  Always
1261	forward to regcache_cooked_read.
1262	(regcache_raw_read): Change return to enum register_status.  If
1263	the register is not REG_VALID, memset the buffer.  Return the
1264	register's status.
1265	(regcache_raw_read_signed): Handle non-REG_VALID registers and
1266	return the register's status.
1267	(regcache_raw_read_unsigned): Ditto.
1268	(regcache_cooked_read): Change return to enum register_status.
1269	Assert that with read-only regcaches, the register's status must
1270	be known.  If the regcache is read-only, and the register is not
1271	REG_VALID, memset the buffer.  Return the register's status.
1272	(regcache_cooked_read_signed): Change return to enum
1273	register_status.  Handle non-REG_VALID registers and return the
1274	register's status.
1275	(regcache_cooked_read_unsigned): Change return to enum
1276	register_status.  Handle non-REG_VALID registers and return the
1277	register's status.
1278	(regcache_xfer_part, regcache_raw_read_part)
1279	(regcache_cooked_read_part): Change return to enum
1280	register_status.  Return the register's status.
1281	(regcache_read_pc): Throw NOT_AVAILABLE_ERROR if the register is
1282	unavailable.
1283	(regcache_dump): Handle unavailable cooked registers.
1284	* frame.c (do_frame_register_read): Adjust interface to match
1285	regcache_cooked_read_ftype.
1286	* gdbarch.sh (pseudo_register_read): Change return to enum
1287	register_status.
1288	* gdbarch.h, gdbarch.c: Regenerate.
1289
1290	* i386-tdep.h (i386_pseudo_register_read): Change return to enum
1291	register_status.
1292	* i386-tdep.c (i386_pseudo_register_read): Change return to enum
1293	register_status.  If reading a raw register indicates the raw
1294	register is not valid, return the raw register's status,
1295	otherwise, return REG_VALID.
1296	* amd64-tdep.c (amd64_pseudo_register_read): Change return to enum
1297	register_status.  Handle non-REG_VALID raw registers and return
1298	the register's status.
1299	* arm-tdep.c (arm_neon_quad_read)
1300	(arm_pseudo_read): Change return to enum register_status.  Handle
1301	non-REG_VALID raw registers and return the register's status.
1302	* avr-tdep.c (avr_pseudo_register_read): Ditto.
1303	* frv-tdep.c (frv_pseudo_register_read): Ditto.
1304	* h8300-tdep.c (h8300_pseudo_register_read): Ditto.
1305	* hppa-tdep.c (hppa_pseudo_register_read): Ditto.
1306	* m32c-tdep.c (m32c_move_reg_t): Change return to enum
1307	register_status.
1308	(m32c_raw_read, m32c_raw_write, m32c_banked_read)
1309	(m32c_banked_write, m32c_sb_read, m32c_sb_write, m32c_part_read)
1310	(m32c_part_write, m32c_cat_read, m32c_cat_write)
1311	(m32c_r3r2r1r0_read, m32c_r3r2r1r0_write)
1312	(m32c_pseudo_register_read): Change return to enum
1313	register_status.  Adjust.
1314	* m68hc11-tdep.c (m68hc11_pseudo_register_read): Change return to
1315	enum register_status.  Return the register's status.
1316	* mep-tdep.c (mep_pseudo_cr32_read): Change return to enum
1317	register_status.  Return the register's status.
1318	(mep_pseudo_cr64_read, mep_pseudo_register_read): Ditto.
1319	* mips-tdep.c (mips_pseudo_register_read): Ditto.
1320	* mt-tdep.c (mt_pseudo_register_read): Ditto.
1321	* rs6000-tdep.c (move_ev_register_func): New typedef.
1322	(e500_move_ev_register): Use it.  Change return to enum
1323	register_status.  Return the register's status.
1324	(do_regcache_raw_read): New function.
1325	(do_regcache_raw_write): New function.
1326	(e500_pseudo_register_read): Change return to enum
1327	register_status.  Return the register's status.  Use
1328	do_regcache_raw_read.
1329	(e500_pseudo_register_write): Adjust.  Use do_regcache_raw_write.
1330	(dfp_pseudo_register_read): Change return to enum register_status.
1331	Return the register's status.
1332	(vsx_pseudo_register_read): Ditto.
1333	(efpr_pseudo_register_read): Ditto.
1334	(rs6000_pseudo_register_read): Ditto.
1335	* s390-tdep.c (s390_pseudo_register_read): Change return to enum
1336	register_status.  Return the register's status.
1337	* sh64-tdep.c (pseudo_register_read_portions): New function.
1338	(sh64_pseudo_register_read): Change return to enum
1339	register_status.  Use pseudo_register_read_portions.  Return the
1340	register's status.
1341	* ia64-tdep.c (ia64_pseudo_register_read): Change return to enum
1342	register_status.  Return the register's status.
1343	* sh-tdep.c (pseudo_register_read_portions): New function.
1344	(sh_pseudo_register_read): Change return to enum register_status.
1345	Use pseudo_register_read_portions.  Return the register's status.
1346	* sparc-tdep.c (sparc32_pseudo_register_read): Change return to
1347	enum register_status.  Return the register's status.
1348	* sparc64-tdep.c (sparc64_pseudo_register_read): Ditto.
1349	* spu-tdep.c (spu_pseudo_register_read_spu)
1350	(spu_pseudo_register_read): Ditto.
1351	* xtensa-tdep.c (xtensa_register_read_masked)
1352	(xtensa_pseudo_register_read): Ditto.
1353	* bfin-tdep.c (bfin_pseudo_register_read): Ditto.
1354
13552011-03-18  Pierre Muller  <muller@ics.u-strasbg.fr>
1356
1357	* python/py-value.c (valpy_getitem): Fix formatting of error function
1358	call.
1359
13602011-03-18  Pierre Muller  <muller@ics.u-strasbg.fr>
1361
1362	ARI fixes: Add missing internationalization markups throughout
1363	C source files.
1364	* darwin-nat-info.c: Ditto.
1365	* record.c: Ditto.
1366	* remote.c: Ditto.
1367	* mi/mi-main.c: Ditto.
1368
13692011-03-18  Pierre Muller  <muller@ics.u-strasbg.fr>
1370
1371	ARI fixes: Add missing internationalization markups throughout
1372	yacc files.
1373	* c-exp.y: Ditto.
1374	* cp-name-parser.y: Ditto.
1375	* f-exp.y: Ditto.
1376	* m2-exp.y: Ditto.
1377	* objc-exp.y: Ditto.
1378	* p-exp.y: Ditto.
1379
13802011-03-18  Pierre Muller  <muller@ics.u-strasbg.fr>
1381
1382	ARI fixes: Messages should have no trailing new lines.
1383	* darwin-nat.c (mach_check_error): Remove trailing new line from
1384	warning function call message.
1385	* record.c (bfdcore_read): Idem for error call.
1386
13872011-03-18  Pierre Muller  <muller@ics.u-strasbg.fr>
1388
1389	* common/signals.c (target_signal_from_host): Add _ markup to error
1390	function call message.
1391	(target_signal_to_host): Add _ markup and remove trailing new line
1392	from warning call message.
1393	(target_signal_from_command): Add _ markup to error function call
1394	message.
1395
13962011-03-18  Phil Muldoon  <pmuldoon@redhat.com>
1397
1398        PR python/12149
1399
1400	* python/python.c (gdbpy_write): Accept a stream argument and
1401	operate to the appropriate stream.
1402	(gdbpy_flush): Likewise.
1403	(_initialize_python): Add stream constants.
1404	(finish_python_initialization): Add GdbOutputErrorFile class.
1405
14062011-03-18  Kwok Cheung Yeung  <kcy@codesourcery.com>
1407
1408	* MAINTAINERS: Add myself as a write-after-approval maintainer.
1409
14102011-03-18  Kwok Cheung Yeung  <kcy@codesourcery.com>
1411
1412	* amd64-tdep.c (amd64_relocate_instruction): Fix ordering of arguments
1413        to store_signed_integer.  Add debug message when relocating CALL
1414        instructions.  Fix formatting of debug message.
1415        * i386-tdep.c (i386_relocate_instruction): Ditto.
1416
14172011-03-17  Joel Brobecker  <brobecker@gnat.com>
1418
1419	* target.h (struct target_ops): Remove to_lookup_symbol field.
1420	(target_lookup_symbol): Delete macro.
1421	* target.c (nosymbol, debug_to_lookup_symbol): Delete.
1422	(update_current_target, setup_target_debug): Remove handling
1423	of to_lookup_symbol target_ops field.
1424	* ada-tasks.c (get_known_tasks_addr): Remove use of
1425	target_lookup_symbol.
1426	* coffread.c (coff_symtab_read): Likewise.
1427	* dbxread.c (read_dbx_symtab): Ditto.
1428
14292011-03-17  Joel Brobecker  <brobecker@gnat.com>
1430
1431	PR gdb/12116:
1432	* configure.ac: Add getthrds declaration check.
1433	* configure, config.in: Regenerate.
1434	* aix-thread.c (getthrds): Declare only if not already declared
1435	in procinfo.h.  More declaration out of get_signaled_thread to
1436	global scope.
1437
14382011-03-17  Phil Muldoon  <pmuldoon@redhat.com>
1439
1440	* python/py-symtab.c: Populate symtab_object_methods,
1441	sal_object_methods.
1442	(stpy_is_valid): New function.
1443	(salpy_is_valid): Ditto.
1444	* python/py-symbol.c: Declare symbol_object_methods.  Populate.
1445	(sympy_is_valid): New function.
1446	* python/py-objfile.c: Declare objfile_object_methods.  Populate.
1447	(objfpy_is_valid): New function.
1448	* python/py-inferior.c: Populate inferior_object_methods.
1449	(infpy_is_valid): New function.
1450	* python/py-infthread.c: Populate thread_object_methods.
1451	(thpy_is_valid): New function.
1452	* python/py-block.c: Declare block_object_methods.  Populate.  Declare
1453	block_iterator_object_methods.  Populate.
1454	(blpy_is_valid): New function.
1455	(blpy_iter_is_valid): Ditto.
1456
14572011-03-16  Keith Seitz  <keiths@redhat.com>
1458
1459	* linespec.c (find_methods): Canonicalize NAME before looking
1460	up the symbol.
1461	(name_end): New function.
1462	(keep_name_info): New function.
1463	(decode_line_1): Use keep_name_info.
1464	(decode_compound): Likewise.
1465	* cli/cli-utils.h (remove_trailing_whitespace): New function.
1466	* cli/cli-utils.c (remove_trailing_whitespace): Likewise.
1467
1468	PR c++/12273
1469	* linespec.c (locate_first_half): Keep overload information, too.
1470	(decode_compound): Use a string to represent break characters
1471	to escape the loop.
1472	If P points to a break character, do not increment it.
1473	For C++ and Java, keep overload information and relevant keywords.
1474	If we cannot find a symbol, search the minimal symbols.
1475
1476	PR c++/11734
1477	* linespec.c (decode_compound): Rename SAVED_ARG to
1478	THE_REAL_SAVED_ARG.
1479	Make a copy of THE_REAL_SAVED_ARG in SAVED_ARG and strip
1480	single-quotes.
1481	Pass a valid block to lookup_symbol.
1482	(lookup_prefix_sym): Likewise.
1483	(find_method): Construct search name based on SYM_CLASS instead
1484	of SAVED_ARG.
1485	* psymtab.c (lookup_partial_symbol): Add language parameter.
1486	(lookup_symbol_aux_psymtabs): Likewise.
1487	Don't assume that the psymtab we found was the right one. Search
1488	for the desired symbol in the symtab to be certain.
1489	(psymtab_search_name): New function.
1490	(lookup_partial_symbol): Use psymtab_search_name.
1491	Add language parameter.
1492	(read_symtabs_for_function): Add language parameter and pass to
1493	lookup_partial_symbol.
1494	(find_symbol_file_from_partial): Likewise.
1495
14962011-03-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
1497
1498	PR gdb/12528
1499	* dwarf2read.c (noop_record_line): New function.
1500	(dwarf_decode_lines): Ignore line tables for GCd functions.
1501
15022011-03-16  Pierre Muller  <muller@ics.u-strasbg.fr>
1503
1504	Fix ARI warnings about new lines at the end of messages, which
1505	are unneeded as there is a new line added at the end of the message
1506	automatically.
1507	* darwin-nat.c (darwin_stop_inferior): Ditto.
1508	* dec-thread.c (dec_thread_get_ada_task_ptid): Ditto.
1509	* dfp.c (decimal_to_number): Ditto.
1510	* exec.c (print_section_info): Ditto.
1511	* i386-darwin-nat.c (darwin_set_sstep): Ditto.
1512	* osdata.c (get_osdata): Ditto.
1513	* record.c (bfdcore_write): Ditto.
1514	* remote-mips.c (mips_readchar): Ditto.
1515	* remote.c (read_ptid): Ditto.
1516	* ser-mingw.c (ser_windows_raw): Ditto.
1517	* tracepoint.c (add_local_symbols): Ditto.
1518	* windows-nat.c (fake_create_process): Ditto.
1519
15202011-03-16  Tom Tromey  <tromey@redhat.com>
1521
1522	* tracepoint.c (stop_tracing): Don't declare.
1523	* event-top.c (after_char_processing_hook): Add `(void)'.
1524
15252011-03-16  Phil Muldoon  <pmuldoon@redhat.com>
1526
1527	* NEWS: Add Parameter sub-classing description.
1528
15292011-03-16  Kai Tietz  <ktietz@redhat.com>
1530
1531	* MAINTAINERS: Update my e-mail address.
1532
15332011-03-15  Andreas Tobler  <andreast@fgznet.ch>
1534
1535	* MAINTAINERS: Add myself for write after approval privileges.
1536
15372011-03-15  Michael Snyder  <msnyder@vmware.com>
1538
1539	* frame.c (find_frame_sal): Assert sym is not null.
1540
1541	* dbxread.c (process_one_symbol): Assert 'name' is not null.
1542
1543	* objc-lang.c (selectors_info): Check strchr for null result.
1544
1545	* stabsread.c (define_symbol): Guard against bad stabstring input.
1546
15472011-03-15  Pierre Muller  <muller@ics.u-strasbg.fr>
1548
1549	Remove trailing spaces and tabulations from pascal language
1550	support sources.
1551	p-exp.y: Ditto.
1552	p-lang.c: Ditto.
1553	p-lang.h: Ditto.
1554	p-valprint.c: Ditto.
1555
15562011-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
1557
1558	* dwarf2read.c (dwarf2_get_pc_bounds): Require HIGH strictly higher
1559	than LOW.  Comment it.
1560	(read_partial_die): Call complaint for inappropriate zero LOWPC or
1561	HIGHPC not strictly higher than LOWPC.
1562
15632011-03-15  Pierre Muller  <muller@ics.u-strasbg.fr>
1564
1565	Fix formatting of function declarations returning a pointer in
1566	previous commit.
1567	* varobj.c (varobj_add_child): Ditto.
1568	* hppa-tdep.h (hppa_init_objfile_priv_data): Ditto.
1569	* inferior.h (get_displaced_step_closure_by_addr): Ditto.
1570
15712011-03-15  Ulrich Weigand  <uweigand@de.ibm.com>
1572
1573	* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Add support
1574	for the "generic" vector ABI used with GCC 4.3 and later.
1575	(ppc64_sysv_abi_return_value): Likewise.
1576
15772011-03-15  Ulrich Weigand  <uweigand@de.ibm.com>
1578
1579	* infcall.c (call_function_by_hand): Function return value is
1580	always a non_lval, even when using struct_return.
1581
15822011-03-15  Pedro Alves  <pedro@codesourcery.com>
1583
1584	* printcmd.c (ALL_DISPLAYS_SAFE): New.
1585	(map_display_numbers): New.
1586	(do_delete_display): New.
1587	(undisplay_command): Use map_display_numbers.
1588	(do_enable_disable_display): New.
1589	(enable_disable_display_command): New function.
1590	(enable_display): Delete.
1591	(enable_display_command): New.
1592	(disable_display_command): Reimplement.
1593	(_initialize_printcmd): Adjust "enable display" command to use
1594	`enable_display_command' as callback.
1595
15962011-03-14  Phil Muldoon  <pmuldoon@redhat.com>
1597
1598	* NEWS: Add Python breakpoint 'stop' operation.
1599
16002011-03-14  Phil Muldoon  <pmuldoon@redhat.com>
1601
1602	* NEWS: Delete duplicate entry. Fix typo.
1603
16042011-03-14  Pierre Muller  <muller@ics.u-strasbg.fr>
1605
1606	Fix ARI warning about function names in first column.
1607	Put prototype declaration on same line as return type.
1608	* objc-exp.y: Ditto.
1609	* p-exp.y: Ditto.
1610	* python/py-stopevent.h: Ditto.
1611	For long function names, split parameters to
1612	allow function name on same line as return type.
1613	* solib-pa64.c: Ditto.
1614	* varobj.c: Ditto.
1615	* varobj.h: Ditto.
1616	For long function declaration, use single line.
1617	* hppa-tdep.h: Ditto.
1618	* inferior.h: Ditto.
1619
16202011-03-14  Phil Muldoon  <pmuldoon@redhat.com>
1621
1622	* python/python.h: Declare gdbpy_should_stop and
1623	gdbpy_breakpoint_has_py_cond.
1624	* python/python.c: Add python.h to includes.  Remove python.h from
1625	HAVE_PYTHON definition
1626	(gdbpy_should_stop): New dummy function.
1627	(gdbpy_breakpoint_has_py_cond): New dummy function.
1628	* python/py-breakpoint.c (bppy_init): Rewrite to allow
1629	sub-classing capabilities.
1630	(gdbpy_should_stop): New function.
1631	(gdbpy_breakpoint_has_py_cond): New function.
1632	(local_setattro): New function.
1633	* breakpoint.c (condition_command): Add check for Python 'stop'
1634	operation.
1635	(bpstat_check_breakpoint_conditions): Execute Python 'stop'
1636	operation function as part of stop/continue tests.
1637
16382011-03-14  Tom Tromey  <tromey@redhat.com>
1639
1640	PR gdb/12576:
1641	* dwarf2loc.c (dwarf_expr_dwarf_call): Remove 'return'.
1642	(needs_frame_dwarf_call): Likewise.
1643
16442011-03-14  Pierre Muller  <muller@ics.u-strasbg.fr>
1645
1646	Fix ARI warning about functions without parameters that do not
1647	use (void).
1648	* breakpoint.c (all_tracepoints): Replace () by (void).
1649	* f-exp.y (match_string_literal): Ditto.
1650	(yylex): Ditto.
1651	* m2-exp.y (yylex): Ditto.
1652	* mep-tdep.c (current_me_module): Ditto.
1653	(current_options): Ditto.
1654	(current_cop_data_bus_width): Ditto.
1655	(current_cr_names): Ditto.
1656	(current_cr_is_float): Ditto.
1657	(current_ccr_names): Ditto.
1658	* objc-exp.y (yylex): Ditto.
1659	* p-exp.y (yylex): Ditto.
1660	* remote.c (send_interrupt_sequence): Ditto.
1661	* tracepoint.c (current_trace_status): Ditto.
1662	* python/py-evts.c (gdbpy_initialize_py_events): Ditto.
1663	* python/py-prettyprint.c (push_dummy_python_frame): Ditto.
1664
16652011-03-11  Michael Snyder  <msnyder@vmware.com>
1666
1667	* cli/cli-decode.h (CMD_LIST_AMBIGUOUS): Define.
1668	* cli/cli-decode.c (lookup_cmd_1): Use CMD_LIST_AMBIGUOUS.
1669	(lookup_cmd): Test for CMD_LIST_AMBIGUOUS.
1670	* completer.c (complete_line_internal): Use CMD_LIST_AMBIGUOUS.
1671	* top.c (set_verbose): Use CMD_LIST_AMBIGUOUS.
1672
1673	* event-loop-c (delete_async_signal_handler): Assert prev_ptr.
1674	(delete_async_event_handler): Ditto.
1675
1676	* python/py-breakpoint.c (bppy_set_condition): Stop memory leak.
1677
1678	* python/py-breakpoint.c (bppy_get_commands): Fix memory leak.
1679
1680	* top.c (set_verbose): Assert showcmd was found.
1681
16822011-03-11  Maxim Grigoriev  <maxim2405@gmail.com>
1683
1684	* xtensa-tdep.c (warning_once): Correct style issues.
1685
16862011-03-11  Yao Qi  <yao@codesourcery.com>
1687
1688	* arm-tdep.c (copy_ldr_str_ldrb_strb): Remove redundant statements.
1689
16902011-03-11  Andreas Schwab  <schwab@redhat.com>
1691
1692	* common/aclocal.m4: Remove.
1693
16942011-03-10  Maxim Grigoriev  <maxim2405@gmail.com>
1695
1696	* xtensa-tdep.c (windowing_enabled): Remove inline attribute.
1697	(xtensa_write_register, xtensa_read_register): Likewise.
1698	(xtensa_hextochar): Removed.
1699	(xtensa_init_reggroups): Replace xtensa_hextochar () by explicit code.
1700
17012011-03-10  Maxim Grigoriev  <maxim2405@gmail.com>
1702
1703	* xtensa-tdep.c (xtensa_c0reg_t): Update comments.
1704	(xtensa_call0_frame_cache_t): Update comments.  New fields added.
1705	(xtensa_alloc_frame_cache): Add initialization for new fields.
1706	(xtensa_frame_cache): Change the way how call0_frame_cache () is called.
1707	(warning_once): New function.
1708	(xtensa_insn_kind): New item c0opc_and.
1709	(call0_classify_opcode): Add the case for AND instruction.
1710	(call0_track_op): Change arguments.  New local variable litbase.
1711	Add the case to handle c0opc_and.  Update algorithms for c0opc_mov,
1712	c0opc_l32r, c0opc_s32i to take into account dynamic stack adjustments
1713	in the prologue.
1714	Add cases for c0opc_l32e, c0opc_s32e, c0opc_rfwo, c0opc_rfwu.
1715	(call0_analyze_prologue): Update the comments.  Change arguments.
1716	Add the variety of updates to handle extended prologues, which now can
1717	conduct dynamic stack adjustments.
1718	(call0_frame_cache): Likewise.
1719	(xtensa_skip_prologue): Update call0_analyze_prologue () function call.
1720	(xtensa_gdbarch_init): Initialize xtensa_session_once_reported.
1721
17222011-03-10  Michael Snyder  <msnyder@vmware.com>
1723
1724	* tracepoint.c (cmd_qtv): Discard unused value 'packet'.
1725	(cmd_qtframe): Ditto.
1726	(cmd_qtbuffer): Ditto.
1727	(cmd_bigqtbuffer): Ditto.
1728
17292011-03-10  Tom Tromey  <tromey@redhat.com>
1730
1731	* tracepoint.c (trace_actions_command): Update.
1732	* thread.c (thread_apply_command): Update.
1733	* reverse.c (delete_bookmark_command): Update.
1734	(bookmarks_info): Update.
1735	* printcmd.c (undisplay_command): Update.
1736	* memattr.c (mem_enable_command): Update.
1737	(mem_disable_command): Update.
1738	(mem_delete_command): Update.
1739	* inferior.c (detach_inferior_command): Update.
1740	(kill_inferior_command): Update.
1741	(remove_inferior_command): Update.
1742	* cli/cli-utils.h (struct get_number_or_range_state): New.
1743	(init_number_or_range): Declare.
1744	(get_number_or_range): Update.
1745	* cli/cli-utils.c (init_number_or_range): New function.
1746	(get_number_or_range): Change 'pp' parameter to 'state'.  Remove
1747	static variables.
1748	(number_is_in_list): Update.
1749	* breakpoint.h (get_tracepoint_by_number): Update.
1750	* breakpoint.c (map_breakpoint_numbers): Update for change to
1751	get_number_or_range.
1752	(find_location_by_number): Use get_number, not
1753	get_number_or_range.
1754	(trace_pass_set_count): New function.
1755	(trace_pass_command): Update for change to get_number_or_range.
1756	Rework loop logic.
1757	(get_tracepoint_by_number): Remove 'multi_p' parameter; add
1758	'state' parameter.
1759
17602011-03-10  Phil Muldoon  <pmuldoon@redhat.com>
1761
1762	* python/py-param.c (add_setshow_generic): Add set/show callback
1763	parameters.  Register Python object context.
1764	(get_show_value): New function.
1765	(get_set_value): New function.
1766	(call_doc_function): New function.
1767	(get_doc_string): Move behind get_show_value/get_set_value.
1768
17692011-03-10  Andreas Tobler  <andreast-list@fgznet.ch>
1770
1771	* fbsd-nat.c (fbsd_make_corefile_notes): Constify local `fname'.
1772
17732011-03-09  Maxim Grigoriev  <maxim2405@gmail.com>
1774
1775	* xtensa-tdep.c (xtensa_read_register): Add comment.
1776	(xtensa_write_register): Likewise.
1777	(xtensa_hextochar): Add comment and update to match coding conventions.
1778	(xtensa_frame_cache, xtensa_return_value): Follow coding conventions.
1779	(execute_l32e, execute_s32e, execute_code): Update comments.
1780	(xtensa_exception_handler_t): Update to match coding conventions.
1781	(xtensa_insn_kind): Likewise.
1782
17832011-03-09  Michael Snyder  <msnyder@vmware.com>
1784
1785	* mi-cmd-disas.c (mi_cmd_disassemble): Fix memory leak.
1786
17872011-03-09  Pedro Alves  <pedro@codesourcery.com>
1788
1789	* nto-tdep.c (nto_find_and_open_solib): Constify local `base'.
1790
17912011-03-09  Tom Tromey  <tromey@redhat.com>
1792
1793	* thread.c (restore_selected_frame): Handle frame_level == -1.
1794	(make_cleanup_restore_current_thread): Use
1795	get_selected_frame_if_set.
1796	* frame.h (get_selected_frame_if_set): Declare.
1797	* frame.c (get_selected_frame_if_set): New function.
1798
17992011-03-09  Pedro Alves  <pedro@codesourcery.com>
1800
1801	* cli/cli-cmds.c (shell_escape): Use lbasename.
1802	* coffread.c (coff_start_symtab): Constify parameter.
1803	(complete_symtab): Constify `name' parameter.
1804	(coff_symtab_read): Constify `filestring' local.
1805	(coff_getfilename): Constify return and `result' local.
1806	Use lbasename.
1807	* fbsd-nat.c (fbsd_make_corefile_notes): Use lbasename.
1808	* linux-fork.c (info_checkpoints_command): Use lbasename.
1809	* linux-nat.c (linux_nat_make_corefile_notes): Use lbasename.
1810	* minsyms.c (lookup_minimal_symbol): Use lbasename.
1811	* nto-tdep.c (nto_find_and_open_solib): Use lbasename.
1812	* procfs.c (procfs_make_note_section): Use lbasename.
1813	* tui/tui-io.c (printable_part): Constity return and parameter.
1814	Use lbasename.
1815	(print_filename): Constify parameters, and local `s'.
1816	(tui_rl_display_match_list): Constify local `temp'.
1817
18182011-03-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1819
1820	Revert:
1821	2011-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1822	Fix DWARF-3+ DW_AT_accessibility default assumption.
1823	* dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for
1824	cu->header.version >= 3.
1825
18262011-03-09  Yao Qi  <yao@codesourcery.com>
1827
1828	* common/Makefile.in: Remove.
1829	* common/configure: Remove.
1830	* common/configure.ac: Remove.
1831
18322011-03-09  Yao Qi  <yao@codesourcery.com>
1833
1834	Revert:
1835	2011-02-11  Yao Qi  <yao@codesourcery.com>
1836
1837	* common/Makefile.in: Add copyright header.
1838
1839	2011-02-11  Yao Qi  <yao@codesourcery.com>
1840
1841	* Makefile.in: Remove signals.o from COMMON_OBS.  Link
1842	libcommon.a.
1843	* configure.ac: Add common to sub dir.
1844	* configure: Regenerate.
1845
18462011-03-08  Maxim Grigoriev  <maxim2405@gmail.com>
1847
1848	* xtensa-tdep.c (call0_ret): New function.
1849	(xtensa_skip_prologue): Speed up analysis.
1850
18512011-03-08  Maxim Grigoriev  <maxim2405@gmail.com>
1852
1853	* xtensa-tdep.c (xtensa_register_reggroup_p): Count in all registers
1854	while executing MI command -data-list-changed-registers.
1855
18562011-03-08  Maxim Grigoriev  <maxim2405@gmail.com>
1857
1858	* xtensa-tdep.c (xtensa_read_register): New function.
1859	(xtensa_write_register): New function.
1860	(xtensa_find_register_by_name): New function.
1861	(xtensa_windowed_frame_cache): Update comments in type description.
1862	(xtensa_frame_cache): Likewise.
1863	(xtensa_window_interrupt_insn): New function.
1864	(xtensa_frame_cache): Add analysis for Xtensa Window Exception frames.
1865	(xtensa_insn_kind): Add new instructions.
1866	(rwx_special_register): New function.
1867	(call0_classify_opcode): Add new instructions to the analysis.
1868	(a0_saved, a7_saved, a11_saved): New variables.
1869	(a0_was_saved, a7_was_saved, a11_was_saved): New variables.
1870	(execute_l32e): New function.
1871	(execute_s32e): New function.
1872	(xtensa_exception_handler_t): New type.
1873	(execute_code): New function.
1874	(xtensa_window_interrupt_frame_cache): New function to conduct frame
1875	analysis for Xtensa Window Exception handlers.
1876
18772011-03-08  Maxim Grigoriev  <maxim2405@gmail.com>
1878
1879	* xtensa-tdep.c (TX_PS): New.
1880	(windowing_enabled): Update to count for Call0 ABI.
1881	(xtensa_hextochar): New.
1882	(xtensa_init_reggroups): Make algorithm generic.
1883	(xtensa_frame_cache): Use TX_PS on Tiny Xtensa.
1884
18852011-03-08  Maxim Grigoriev  <maxim2405@gmail.com>
1886
1887	* xtensa-tdep.h (XTENSA_MAX_COPROCESSOR): Update.
1888
18892011-03-08  Michael Snyder  <msnyder@vmware.com>
1890
1891	* i386-tdep.c (i386_follow_jump): Check return value of
1892	target_read_memory.
1893	(i386_analyze_struct_return): Ditto.
1894	(i386_skip_probe): Ditto.
1895	(i386_match_insn): Ditto.
1896	(i386_skip_noop): Ditto.
1897	(i386_analyze_frame_setup): Ditto.
1898	(i386_analyze_register_saves): Ditto.
1899	(i386_skip_prologue): Ditto.
1900	(i386_skip_main_prologue): Ditto.
1901
1902	* target.c (read_whatever_is_readable): Fix memory leak.
1903
1904	* i386-tdep.c (i386_process_record): Document fall through.
1905
19062011-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1907
1908	Fix DWARF-3+ DW_AT_accessibility default assumption.
1909	* dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for
1910	cu->header.version >= 3.
1911
19122011-03-08  Pedro Alves  <pedro@codesourcery.com>
1913
1914	* remote.c (remote_check_symbols): Skip if the target has no
1915	execution.
1916
19172011-03-08  Joel Brobecker  <brobecker@adacore.com>
1918
1919	* target.c (read_whatever_is_readable): Reformat comment,
1920	with a minor typo fix. Minor reformatting of the code.
1921
19222011-03-08  Yao Qi  <yao@codesourcery.com>
1923
1924	* arm-tdep.c: Remove prototype declaration displaced_in_arm_mode.
1925	(displaced_read_reg): Add `dsc' parameter, remove `from' parameter.
1926	Use cached result instead of calling displaced_in_arm_mode again.
1927	(branch_write_pc, alu_write_pc, load_write_pc): Add `dsc' parameter.
1928	(displaced_write_reg, copy_preload, copy_preload_reg): Callers update.
1929	(cleanup_copro_load_store, copy_copro_load_store): Likewise.
1930	(cleanup_branch, copy_bx_blx_reg, copy_alu_imm): Likewise.
1931	(cleanup_alu_reg, copy_alu_reg, cleanup_alu_shifted_reg): Likewise.
1932	(copy_alu_shifted_reg, cleanup_load, cleanup_store): Likewise.
1933	(copy_extra_ld_st, copy_ldr_str_ldrb_strb): Likewise.
1934	(cleanup_block_load_all, cleanup_block_store_pc): Likewise.
1935	(cleanup_block_load_pc, copy_block_xfer): Likewise.
1936	* arm-linux-tdep.c (arm_linux_copy_svc): Callers update.
1937	(arm_catch_kernel_helper_return): Likewise.
1938	* gdb/arm-tdep.h : Update function declarations.
1939
19402011-03-07  Michael Snyder  <msnyder@vmware.com>
1941
1942	* dwarf2loc.c (indirect_pieced_value): Assert 'piece' not null.
1943
1944	* ser-unix.c (hardwire_get_tty_state): Stop memory leak.
1945
1946	* mi/mi-cmd-env.c (_initialize_mi_cmd_env): Free environment.
1947
1948	* elfread.c (elf_symtab_read): Stop memory leak.
1949
1950	* main.c (captured_main): Fix memory leak.
1951
19522011-03-07  Andreas Schwab  <schwab@linux-m68k.org>
1953
1954	* ada-lang.c (compare_names): Call is_name_suffix with string1
1955	instead of string2.
1956
19572011-03-07  Tom Tromey  <tromey@redhat.com>
1958
1959	* xcoffread.c (xcoff_sym_fns): Update.
1960	* symfile.h (struct sym_fns) <sym_read_psymbols>: New field.
1961	(enum symfile_add_flags) <SYMFILE_NO_READ>: New constant.
1962	* symfile.c (syms_from_objfile): Handle SYMFILE_NO_READ.
1963	(symbol_file_add_with_addrs_or_offsets): Likewise.
1964	(reread_symbols): Handle OBJF_PSYMTABS_READ.
1965	* somread.c (som_sym_fns): Update.
1966	* psymtab.h (require_partial_symbols): Declare.
1967	* psymtab.c (require_partial_symbols): New function.
1968	(ALL_OBJFILE_PSYMTABS_REQUIRED): New macro.
1969	(ALL_OBJFILE_PSYMTABS): Undef.
1970	(ALL_PSYMTABS): Move from psympriv.h.
1971	(lookup_partial_symtab, find_pc_sect_psymtab)
1972	(lookup_symbol_aux_psymtabs, relocate_psymtabs)
1973	(find_last_source_symtab_from_partial)
1974	(forget_cached_source_info_partial)
1975	(print_psymtab_stats_for_objfile, read_symtabs_for_function)
1976	(expand_partial_symbol_tables, read_psymtabs_with_filename)
1977	(map_symbol_names_psymtab, map_symbol_filenames_psymtab)
1978	(find_symbol_file_from_partial, map_matching_symbols_psymtab)
1979	(expand_symtabs_matching_via_partial, maintenance_info_psymtabs):
1980	Use ALL_OBJFILE_PSYMTABS_REQUIRED.
1981	* psympriv.h (ALL_PSYMTABS): Move to psymtab.c.
1982	* objfiles.h (OBJF_PSYMTABS_READ): New macro.
1983	* objfiles.c (objfile_has_partial_symbols): Handle lazily-read
1984	psymtabs.
1985	* mipsread.c (ecoff_sym_fns): Update.
1986	* machoread.c (macho_sym_fns): Update.
1987	* elfread.c (elf_symfile_read): Set up for lazy psymtab reading.
1988	(read_psyms): New function.
1989	(elf_sym_fns, elf_sym_fns_gdb_index): Update.
1990	(elf_sym_fns_lazy_psyms): New global.
1991	* dwarf2read.c (dwarf2_initialize_objfile): Don't call
1992	dwarf2_build_psymtabs.
1993	* dbxread.c (aout_sym_fns): Update.
1994	* coffread.c (coff_sym_fns): Update.
1995
19962011-03-07  Tom Tromey  <tromey@redhat.com>
1997
1998	* infrun.c (print_exited_reason): Include inferior id and pid in
1999	message.
2000
20012011-03-07  Tom Tromey  <tromey@redhat.com>
2002
2003	* target.h (struct target_ops) <to_has_execution>: Add ptid_t
2004	parameter.
2005	(target_has_execution_1): Update.
2006	(target_has_execution_current): Declare.
2007	(target_has_execution): Call target_has_execution_current.
2008	(default_child_has_execution): Update.
2009	* target.c (default_child_has_execution): Add 'the_ptid'
2010	parameter.
2011	(target_has_execution_1): Likewise.
2012	(target_has_execution_current): New function.
2013	(add_target): Update.
2014	(init_dummy_target): Update.
2015	* remote-m32r-sdi.c (m32r_has_execution): New function.
2016	(init_m32r_ops): Use it.
2017	* record.c (record_core_has_execution): Now static.  Add
2018	'the_ptid' parameter.
2019	* inferior.c (have_live_inferiors): Don't save current thread.
2020	Use target_has_execution_1.
2021
20222011-03-07  Yao Qi  <yao@codesourcery.com>
2023
2024	* Makefile.in (aclocal_m4_deps): Remove gnulib/m4/memcmp.m4.
2025
20262011-03-07  Joel Brobecker  <brobecker@adacore.com>
2027
2028	* elfread.c (elf_symtab_read): Minor reformatting.
2029
20302011-03-07  Joel Brobecker  <brobecker@adacore.com>
2031
2032	* objc-lang.c (selectors_info): Minor reformatting.
2033
20342011-03-07  Joel Brobecker  <brobecker@adacore.com>
2035
2036	* ada-lang.c (compare_names): Add FALLTHROUGH comment.
2037
20382011-03-07  Joel Brobecker  <brobecker@adacore.com>
2039	    Michael Snyder  <msnyder@vmware.com>
2040
2041	* ada-valprint.c (ada_val_print_array): Move the declaration of
2042	"byte_order" and "elttype" inside the block where these variables
2043	are actually used.  Remove some special handling for the case
2044	where "elttype" and "eltlen" are null.  Replace by a comment
2045	and a couple of assertion checks.
2046
20472011-03-05  Michael Snyder  <msnyder@vmware.com>
2048
2049	* source.c (add_path): Replace semicolon at end of block.
2050	* dwarf2expr.c (execute_stack_op): Ditto.
2051
20522011-03-05  Mike Frysinger  <vapier@gentoo.org>
2053
2054	* bfin-tdep.c: Include sim-regno.h and gdb/sim-bfin.h.
2055	* configure.tgt (bfin-*-*linux*): Define gdb_sim.
2056	(bfin-*-*): Likewise.
2057
20582011-03-05  Michael Snyder  <msnyder@vmware.com>
2059
2060	* dwarf2expr.c (execute_stack_op): Delete superfluous semicolon.
2061	* mdebugread.c (parse_symbol): Ditto.
2062	* parse.c (parse_exp_in_context): Ditto.
2063	* source.c (add_path): Ditto.
2064	* utils.c (gnu_debuglink_crc32): Ditto.
2065	* varobj.c (variable_language): Ditto.
2066
2067	* linux-tdep.c (linux_get_siginfo_type): Stop memory leak.
2068
20692011-03-04  Michael Snyder  <msnyder@vmware.com>
2070
2071	* linux-fork.c (inferior_call_waitptid): Fix copy/paste error.
2072
2073	* symfile.c (simple_overlay_update): Check for null return value
2074	from lookup_minimal_symbol.
2075
2076	* xml-syscall.c (syscall_start_syscall): Assert name is non null.
2077
20782011-03-04  Thiago Jung Bauermann  <bauerman@br.ibm.com>
2079
2080	* eval.c (parse_and_eval_address_1): Remove function.
2081	* linespec.c (decode_indirect): Call parse_to_comma_and_eval
2082	instead of parse_and_eval_address_1.
2083	* value.h (parse_and_eval_address_1): Remove prototype.
2084
20852011-03-04  Michael Snyder  <msnyder@vmware.com>
2086
2087	* remote.c (putpkt_binary): Document that case stmt falls through.
2088
20892011-03-04  Thiago Jung Bauermann  <bauerman@br.ibm.com>
2090
2091	* breakpointc (print_it_typical): Move NULL check from here...
2092	(print_bp_stop_message): ... to here.
2093
20942011-03-04  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>
2095
2096	* breakpoint.c (enable_command): Use break instead of continue,
2097	and fill in a missing break.
2098	(disable_command): Ditto.
2099
21002011-03-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
2101
2102	* inflow.c (terminal_init_inferior_with_pgrp): Copy ttystate.
2103	(terminal_save_ours): Remove misleading comment.
2104	(inflow_inferior_data_cleanup): Free ttystate.
2105	(inflow_inferior_exit): Likewise.
2106	(copy_terminal_info): Copy ttystate.
2107
2108	* serial.c (serial_copy_tty_state): New function.
2109	* serial.h (serial_copy_tty_state): Add prototype.
2110	(struct serial_ops): Add copy_tty_state callback.
2111	* ser-base.c (ser_base_copy_tty_state): New function.
2112	* ser-base.h (ser_base_copy_tty_state): Add prototype.
2113	* ser-go32.c (dos_copy_tty_state): New function.
2114	(dos_ops): Install copy_tty_state callback.
2115	* ser-mingw.c (_initialize_ser_windows): Likewise.
2116	* ser-pipe.c (_initialize_ser_pipe): Likewise.
2117	* ser-unix.c (hardwire_copy_tty_state): New function.
2118	(_initialize_ser_hardwire): Install it.
2119
21202011-03-04  Michael Snyder  <msnyder@vmware.com>
2121
2122	* breakpoint.c (create_breakpoint): Add missing break statement.
2123
2124	Reverting this patch:
2125	* infcall.c (call_function_by_hand): Add break statements for lint.
2126
2127	Reverting this patch:
2128	* cli/cli-script.c (script_from_file): Add break for lint.
2129
21302011-03-04  Michael Snyder  <msnyder@vmware.com>
2131
2132	* solib.c (reload_shared_libraries_1): Close memory leak.
2133
21342011-03-03  Tom Tromey  <tromey@redhat.com>
2135
2136	PR gdb/12538:
2137	* dwarf2read.c (process_psymtab_comp_unit): Handle case where
2138	DW_STRING is NULL.
2139
21402011-03-03  Michael Snyder  <msnyder@vmware.com>
2141
2142	* remote-fileio.c (remote_fileio_func_fstat): Initialize all
2143	fields of struct 'st' to zero.
2144
2145	* tui/tui-winsource.c (tui_update_source_window_as_is): Initialize
2146	sal.pspace before calling set_current_source_symtab_and_line.
2147
21482011-03-03  Yao Qi  <yao@codesourcery.com>
2149
2150	* Makefile.in (configure-common): Remove.  Let Makefile
2151	in dir common to rebuild itself.
2152	(common/Makefile): Likewise.
2153
21542011-03-03  Joel Brobecker  <brobecker@adacore.com>
2155
2156	* utils.c (parse_escape): Add i18n markup in error message.
2157
21582011-03-03  Yao Qi  <yao@codesourcery.com>
2159
2160	* gdb/arm-tdep.c (shifted_reg_val): Replace magic number 15 with
2161	ARM_PC_REGNUM.
2162	(thumb_get_next_pc_raw, arm_get_next_pc_raw): Likewise.
2163	(displaced_write_reg, displaced_read_reg): Likewise.
2164	(copy_ldr_str_ldrb_strb, cleanup_block_load_all): Likewise.
2165	(cleanup_block_load_pc, copy_block_xfer): Likewise.
2166	(cleanup_branch): Replace magic number 14 and 15 with
2167	ARM_LR_REGNUM and ARM_PC_REGNUM respectively.
2168
21692011-03-02  Michael Snyder  <msnyder@vmware.com>
2170
2171	* maint.c (maintenance_do_deprecate): No need to check for NULL.
2172
2173	* cli/cli-script.c (script_from_file): Add break for lint.
2174
2175	* mdebugread.c (parse_partial_symbols): Fix indent.
2176
2177	* target-descriptions.c (tdesc_gdb_type): No need to call
2178	xstrdup, callee saves a copy.
2179
2180	* printcmd.c (print_scalar_formatted): Use strncpy for safety.
2181
2182	* infcall.c (call_function_by_hand): Add break statements for lint.
2183
2184	* utils.c (parse_escape): Escape the escape char.
2185
2186	* python/py-inferior.c (build_inferior_list): Error out if
2187	PyList_Append fails.
2188	(gdbpy_inferiors): Error out if build_inferior_list fails.
2189
2190	* linux-nat.c (linux_nat_xfer_partial): Preserve errno around
2191	a function call.
2192
2193	* record.c (record_restore): Move printf to before error return.
2194
21952011-03-02  Yao Qi  <yao@codesourcery.com>
2196
2197	* arm-tdep.h (struct displaced_step_closure): Add two new fields
2198	is_thumb and insn_size.
2199	* arm-tdep.c (displaced_read_reg): Adjust correct pipeline offset
2200	on both ARM and Thumb mode.
2201	(arm_process_displaced_insn): Set is_thumb and insn_size.
2202	(arm_displaced_init_closure): Handle both 16-bit and 32-bit.
2203	(arm_displaced_step_fixup): Likewise.
2204
22052011-03-01  Michael Snyder  <msnyder@vmware.com>
2206
2207	* cli/cli-dump.c (dump_bfd_file): Check error return and warn.
2208
2209	* jv-lang.c (evaluate_subexp_java): Conditional can't be true.
2210
2211	* dwarf2read.c (dwarf2_compute_name): NAME cannot be null here.
2212
2213	* cli/cli-dump.c (restore_binary_file): Validate ftell return value.
2214
2215	* ada-lang.c (ada_make_symbol_completion_list): Replace malloc
2216	with xmalloc.
2217
2218	* ada-lang.c (aggregate_assign_others): Rename inner scope variable
2219	which shadows function parameter.
2220
2221	* tracepoint.c (create_tsv_from_upload): Superfluous call
2222	to xstrdup.  Callee already calls xstrdup.
2223
2224	* linespec.c (decode_line_1): Remove unnecessary null check.
2225
2226	* tracepoint.c (scope_info): Fix mem leak, remove underused
2227	variable.
2228
2229	* python/py-prettyprint.c (apply_val_pretty_printer): Remove
2230	superfluous null check.
2231
2232	* std-regs.c (value_of_builtin_frame_pc_reg): Frame can't be null.
2233	(value_of_builtin_frame_fp_reg): Ditto.
2234
2235	* event-top.c (display_gdb_prompt): Remove superfluous null check.
2236
2237	* python/py-prettyprint.c (apply_val_pretty_printer): VAL may
2238	be null.
2239
2240	* linespec.c (decode_line_1): Check for null before dereference.
2241
2242	* reverse.c (record_restore): Move null-check to before pointer
2243	dereference.
2244
2245	* python/py-utils.c (gdbpy_obj_to_string): Delete unused variable.
2246
2247	* objc-lang.c (selectors_info): Add explanitory comment.
2248	(classes_info): Ditto.
2249
22502011-03-01  Ulrich Weigand  <ulrich.weigand@linaro.org>
2251
2252	* arm-linux-tdep.c (ARM_LDR_PC_SP_4): Add define.
2253	(arm_linux_restart_syscall_init): Handle both on-stack and in-kernel
2254	versions of the trampoline.  Handle Thumb vs. ARM addresses.
2255	(arm_kernel_linux_restart_syscall_tramp_frame): New global.
2256	(arm_linux_init_abi): Install it.
2257	* arm-tdep.c (arm_psr_thumb_bit): Make global.
2258	* arm-tdep.c (arm_psr_thumb_bit): Add prototype.
2259
22602011-02-28  Michael Snyder  <msnyder@vmware.com>
2261
2262	* ui-out.c (ui_out_field_core_addr): Make local char buffer
2263	a little bigger, to avoid possibility of an overflow.
2264
2265	* breakpoint.c (breakpoint_adjustment_warning): Make local char
2266	buffers a little bigger, to avoid possibility of an overflow.
2267
2268	* coffread.c (coff_getfilename): Add check to avoid overflow.
2269
2270	* objc-lang.c (selectors_info): Add a small safety margin to
2271	avoid overflow.
2272	(classes_info): Error out on too long REGEXP.
2273
2274	* infrun.c (handle_inferior_event): Remove unused function call.
2275
2276	* fork-child.c (fork_inferior): Remove ifdef'd code and
2277	unused variable.
2278
2279	* linux-thread-db.c (attach_thread): Discard unused value.
2280
2281	* linux-nat.c (linux_handle_extended_wait): Delete unused variable.
2282
2283	* remote.c (remote_get_noisy_reply): Discard unused value.
2284	(remote_vcont_resume): Ditto.
2285	(remote_stop_ns): Ditto.
2286
2287	* linespec.c (decode_objc): Delete unused variable.
2288
2289	* tui/tui-regs.c (tui_register_format): Delete unused variable.
2290
2291	* dwarf2read.c (add_partial_symbol): Discard unused values.
2292	(read_base_type): Delete unused variable.
2293
2294	* dbxread.c (read_dbx_symtab): Discard unused value.
2295
2296	* eval.c (evaluate_subexp_standard): Delete unused variable,
2297	and discard unused values.
2298
2299	* infcmd.c (_initialize_infcmd): Discard unused values.
2300
2301	* stabsread.c (rs6000_builtin_type): Missing break statement.
2302
2303	* dbxread.c (process_one_symbol): Discard unused value.
2304
2305	* coffread.c (coff_end_symtab): Delete unused variable.
2306
2307	* dwarf2read.c (dw2_get_file_names): Discard unused value.
2308	(dwarf2_add_typedef): Delete unused variable.
2309	(read_namespace): Ditto.
2310	(dwarf_decode_macros): Ditto.
2311
2312	* m2-lang.c (evaluate_subexp_modula2): Discard unused variable.
2313
2314	* opencl-lang.c (evaluate_subexp_opencl): Discard unused value.
2315
2316	* p-valprint.c (pascal_val_print): Discard unused value.
2317
2318	* utils.c (nquery): Call va_end before return;
2319	(yquery): Ditto.
2320	(query): Ditto.
2321
2322	* proc-service.c (ps_plog): Call va_end before return.
2323
23242011-02-28  Tom Tromey  <tromey@redhat.com>
2325
2326	* python/python.c (gdbpy_value_cst): New global.
2327	(_initialize_python): Initialize it.
2328	* python/python-internal.h (gdbpy_value_cst): Declare.
2329	* python/py-value.c (convert_value_from_python): Use
2330	gdbpy_value_cst.
2331
23322011-02-28  Michael Snyder  <msnyder@vmware.com>
2333
2334	* python/py-cmd.c (cmdpy_init): Fix memory leak.
2335
2336	* breakpoint.c (catch_syscall_completer): Free malloced list.
2337
2338	* jv-lang.c (java_primitive_type_from_name): Add missing break.
2339
2340	* opencl-lang.c (lval_func_check_validity): Rename inner variables.
2341	(lval_func_check_synthetic_pointer): Ditto.
2342	(lval_func_free_closure): Fix use-after-free.
2343
23442011-02-28  Tom Tromey  <tromey@redhat.com>
2345
2346	* psymtab.c (expand_partial_symbol_tables): Use
2347	ALL_OBJFILE_PSYMTABS.
2348
23492011-02-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2350
2351	* objc-lang.c (selectors_info): Error on too long REGEXP.
2352
23532011-02-28  Michael Snyder  <msnyder@vmware.com>
2354
2355	* python/py-param.c (set_parameter_value): Add missing
2356	break statement.
2357
2358	* linux-record.c (record_linux_system_call): Add missing
2359	break statement.
2360
23612011-02-28  Ulrich Weigand  <uweigand@de.ibm.com>
2362
2363	* breakpoint.c (print_one_breakpoint_location): Remove unused
2364	argument PRINT_ADDRESS_BITS.  Update callers.
2365	(print_one_breakpoint): Likewise.
2366
23672011-02-28  Ulrich Weigand  <uweigand@de.ibm.com>
2368
2369	* breakpoint.c (wrap_indent_at_field): New function.
2370	(print_breakpoint_location): Use it instead of WRAP_INDENT argument.
2371	Allocate ui_stream locally instead of using STB argument.
2372	(print_one_breakpoint_location): Update call.
2373	* ui-out.c (ui_out_query_field): New function.
2374	* ui-out.h (ui_out_query_field): Add prototype.
2375
23762011-02-28  Joel Brobecker  <brobecker@adacore.com>
2377
2378	From Michael Snyder  <msnyder@vmware.com>
2379	* ada-exp.y (write_object_renaming): Add FALLTHROUGH comment.
2380
23812011-02-27  Michael Snyder  <msnyder@vmware.com>
2382
2383	* objc-lang.c (selectors_info): Prevent string overrun.
2384
2385	* tui/tui-stack.c (tui_get_function_from_frame): Fix off by one
2386	error in strncpy.
2387
2388	* symtab.c (rbreak_command): Move variable 'file_name' to
2389	outer scope.
2390
2391	* d-valprint.c (dynamic_array_type): Avoid shadowing a function
2392	param with a local variable of the same name.
2393
23942011-02-27  Michael Snyder  <msnyder@vmware.com>
2395
2396	* value.c (value_from_history_ref): New function.
2397	* value.h (value_from_history_ref): Export.
2398	* cli/cli-utils.c (get_number_trailer): Use value_from_history_ref
2399	to parse value history references.
2400	* cli/cli-utils.h (get_number_trailer): Update comment.
2401
24022011-02-27  Michael Snyder  <msnyder@vmware.com>
2403
2404	* inferior.c (detach_inferior_command): Use get_number_or_range.
2405	(kill_inferior_command): Ditto.
2406	(remove_inferior_command): Ditto.
2407	(initialize_inferiors): Make command names plural.
2408	Update help strings.
2409
24102011-02-27  Michael Snyder  <msnyder@vmware.com>
2411
2412	* darwin-nat-info.c: Fix comment typo.
2413	* dwarf2expr.h: Ditto.
2414	* fbsd-nat.c: Ditto.
2415	* fbsd-nat.h: Ditto.
2416	* frame-unwind.h: Ditto.
2417	* frame.h: Ditto.
2418	* hppa-hpux-tdep.c: Ditto.
2419	* i386-linux-nat.c: Ditto.
2420	* linux-nat.c: Ditto.
2421	* nbsd-nat.c: Ditto.
2422	* nbsd-nat.h: Ditto.
2423	* ppc-linux-tdep.c: Ditto.
2424	* serial.c: Ditto.
2425	* ui-file.h: Ditto.
2426	* tui/tui-winsource.c: Ditto.
2427
24282011-02-26  Michael Snyder  <msnyder@vmware.com>
2429
2430	* breakpoint.c (reattach_breakpoints): Avoid resource leak (ui_file).
2431
2432	* maint.c (maintenance_do_deprecate): Plug a memory leak.
2433
2434	* dwarf2loc.c (insert_bits): Avoid shadowing a function param
2435	with a local variable of the same name.
2436
2437	* i387-tdep.c (i387_supply_fxsave): Avoid shadowing a function
2438	param with a local variable of the same name.
2439	(i387_supply_xsave): Ditto.
2440
2441	* linux-low.c (linux_nat_xfer_osdata): Rename local variable so
2442	that it does not shadow a function parameter.
2443
2444	* i386-nat.c (i386_length_and_rw_bits): Document that case
2445	statement is meant to fall through.
2446
2447	* expprint.c (dump_subexp_body_standard): Document that case
2448	statement is meant to fall through.
2449
2450	* amd64-linux-tdep.c (amd64_linux_syscall_record): Delete
2451	dead if statement.  Condition can't be false.
2452
24532011-02-25  Michael Snyder  <msnyder@vmware.com>
2454
2455	* arm-tdep.c: Fix typos in comments.
2456	* bsd-uthread.c: Ditto.
2457	* completer.c: Ditto.
2458	* corelow.c: Ditto.
2459	* cp-namespace.c: Ditto.
2460	* cp-support.c: Ditto.
2461	* cris-tdep.c: Ditto.
2462	* dbxread.c: Ditto.
2463	* dwarf2read.c: Ditto.
2464	* frame.h: Ditto.
2465	* gdbtypes.h: Ditto.
2466	* inferior.h: Ditto.
2467	* mdebugread.c: Ditto.
2468	* mips-tdep.c: Ditto.
2469	* ppc-linux-nat.c: Ditto.
2470	* ppc-linux-tdep.c: Ditto.
2471	* printcmd.c: Ditto.
2472	* sol-thread.c: Ditto.
2473	* solib-frv.c: Ditto.
2474	* solist.h: Ditto.
2475	* sparc64-tdep.c: Ditto.
2476	* spu-tdep.c: Ditto.
2477	* stabsread.c: Ditto.
2478	* symfile.c: Ditto.
2479	* valops.c: Ditto.
2480	* varobj.c: Ditto.
2481	* vax-nat.c: Ditto.
2482	* python/py-block.c: Ditto.
2483	* python/py-symbol.c: Ditto.
2484	* python/py-symtab.c: Ditto.
2485	* python/py-value.c: Ditto.
2486	* tui/tui-win.c: Ditto.
2487
24882011-02-25  Michael Snyder  <msnyder@vmware.com>
2489
2490	* inferior.c (print_inferior): Accept a string instead of an int
2491	for requested_inferiors, and use get_number_or_range to parse it.
2492	(info_inferiors_command): Pass args string to print_inferior.
2493	(initialize_inferiors): Change help string for info inferiors.
2494	* inferior.h (print_inferior): Export prototype change.
2495
24962011-02-25  Tom Tromey  <tromey@redhat.com>
2497
2498	* common/ax.def (invalid2): Set to 0x31.
2499
25002011-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
2501
2502	* dwarf2loc.c (disassemble_dwarf_expression) <DW_OP_breg[0-9]+>: Use
2503	L and plongest.
2504	(disassemble_dwarf_expression) <DW_OP_bregx>: Drop variable offset,
2505	use L and plongest.
2506	(disassemble_dwarf_expression) <DW_OP_fbreg>: Use L and plongest.
2507
25082011-02-24  Michael Snyder  <msnyder@vmware.com>
2509
2510	* Makefile.in (clean): Make clean should remove generated files
2511	observer.h and observer.inc.
2512
25132011-02-24  Joel Brobecker  <brobecker@adacore.com>
2514
2515	Revert the following patch (not approved yet):
2516	2011-02-21  Hui Zhu  <teawater@gmail.com>
2517	* Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h.
2518	* ax-gdb.c (gen_printf_expr_callback): New function.
2519	* ax-gdb.h (gen_printf_expr_callback): Forward declare.
2520	* ax-general.c (ax_memcpy): New function.
2521	(ax_print): Handle "printf".
2522	(ax_reqs): Ditto.
2523	* ax.h (ax_memcpy): Forward declare.
2524	* common/ax.def (invalid2): Removed.
2525	(printf): New entry.
2526	* printcmd.c (printcmd.h): New include.
2527	(string_printf): New function.
2528	(ui_printf): Removed.
2529	(printf_command): Remove static.  Call string_printf.
2530	(eval_command): Call string_printf.
2531	* printcmd.h: New file.
2532	* tracepoint.c (validate_actionline,
2533	encode_actions_1): handle printf_command.
2534
25352011-02-23  Tom Tromey  <tromey@redhat.com>
2536
2537	* ax-general.c (ax_pick): Add missing newline.
2538
25392011-02-23  Michael Snyder  <msnyder@vmware.com>
2540
2541	* breakpoint.c (breakpoint_1): Change first argument from an int
2542	to a char pointer, so that the function now accepts a list of
2543	breakpoints rather than just one.  Use new function
2544	'number_is_in_list' to implement.
2545	(breakpoints_info): Pass char * instead of int to breakpoint_1.
2546	(watchpoints_info): Ditto.
2547	(tracepoints_info): Ditto.
2548	(maintenance_info_breakpoints): Ditto.
2549	(_initialize_breakpoint): Update help strings to reflect the fact
2550	that these functions can now take more than one argument.
2551	* cli/cli-utils.c (number_is_in_list): New function.
2552	* cli/cli-utils.h (number_is_in_list): Export.
2553
25542011-02-23  Michael Snyder  <msnyder@vmware.com>
2555
2556	* memattr.c (mem_enable_command): Use get_number_or_range.
2557	(mem_disable_command): Ditto.
2558	(mem_delete_command): Ditto.
2559	(_initialize_mem): Tweak usage message to reflect multiple
2560	arguments.
2561
25622011-02-22  Doug Evans  <dje@google.com>
2563
2564	Add gdb.lookup_global_symbol python function.
2565	* NEWS: Add entry.
2566	* python/py-symbol.c (gdbpy_lookup_global_symbol): New function.
2567	* python/python-internal.h (gdbpy_lookup_global_symbol): Declare it.
2568	* python/python.c (GdbMethods): Add entry for lookup_global_symbol.
2569
25702011-02-22  Tom Tromey  <tromey@redhat.com>
2571
2572	* language.c (language_class_name_from_physname): Rename
2573	'curr_language' argument to 'lang'; use in body.
2574
25752011-02-22  Michael Snyder  <msnyder@vmware.com>
2576
2577	* cli/cli-utils.c (number_is_in_list): Check for zero return.
2578
25792011-02-22  Pedro Alves  <pedro@codesourcery.com>
2580
2581	* frame-unwind.h: Fix comment to mention the this frame, not the
2582	next.
2583
25842011-02-22  Tom Tromey  <tromey@redhat.com>
2585
2586	* symfile.c (auto_solib_limit): Remove.
2587	* symfile.h (auto_solib_limit): Remove.
2588
25892011-02-22  Joel Brobecker  <brobecker@adacore.com>
2590
2591	* Makefile.in (INSTALLED_LIBS): Delete.  Update comment.
2592
25932011-02-21  Michael Snyder  <msnyder@vmware.com>
2594
2595	* gdbthread.h (print_thread_info): Change prototype.
2596	* thread.c (print_thread_info): Accept char* instead of int for
2597	requested_threads argument.  Use new function number_is_in_list
2598	to determine which threads to list.
2599	(info_threads_command): Pass char* to print_thread_info.
2600	* cli/cli-utils.c (number_is_in_list): New function.
2601	* cli/cli-utils.h (number_is_in_list): Export.
2602	* mi/mi-main.c (mi_cmd_thread_info): Pass char* to
2603	print_thread_info.
2604	(print_one_inferior): Ditto.
2605	(mi_cmd_list_thread_groups): Ditto.
2606
26072011-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
2608
2609	* common/Makefile.in (CFLAGS): New.
2610	(COMPILE): Add $(CFLAGS).
2611
26122011-02-21  Tom Tromey  <tromey@redhat.com>
2613
2614	* breakpoint.c (catch_syscall_command_1): Fix typo.
2615
26162011-02-21  Tom Tromey  <tromey@redhat.com>
2617
2618	* reverse.c: Include cli-utils.h.
2619	* printcmd.c: Include cli-utils.h.
2620	(string_printf): Use skip_spaces.
2621	* cli/cli-utils.h: New file.
2622	* cli/cli-utils.c: New file.
2623	* cli/cli-dump.h (skip_spaces): Move to cli-utils.h.
2624	* cli/cli-dump.c (skip_spaces): Move to cli-utils.c.
2625	* breakpoint.h (get_number, get_number_or_range): Move to
2626	cli-utils.h.
2627	* breakpoint.c: Include cli-utils.h.
2628	(get_number_trailer, get_number, get_number_or_range)
2629	(ep_skip_leading_whitespace): Move to cli-utils.c.
2630	(create_breakpoint_sal, find_condition_and_thread)
2631	(decode_static_tracepoint_spec, watch_command_1)
2632	(watch_maybe_just_location, ep_parse_optional_if_clause)
2633	(catch_fork_command_1, catch_exec_command_1)
2634	(catch_syscall_command_1): Use skip_spaces, skip_to_space.
2635	* Makefile.in (SUBDIR_CLI_OBS): Add cli-utils.o.
2636	(SUBDIR_CLI_SRCS): Add cli-utils.c.
2637	(HFILES_NO_SRCDIR): Add cli-utils.h.
2638	(cli-utils.o): New target.
2639
26402011-02-18  Pierre Muller  <muller@ics.u-strasbg.fr>
2641
2642	* remote.c (remote_close): Reset INFERIOR_PTID to NULL_PTID
2643	before calling discard_all_inferiors.
2644
26452011-02-21  Ulrich Weigand  <uweigand@de.ibm.com>
2646
2647	* opencl-lang.c (STRUCT_OCL_TYPE): Remove.
2648	(struct builtin_opencl_type): Remove.
2649	(builtin_opencl_type): Change return type to "struct type **".
2650	(lookup_opencl_vector_type): Update caller.
2651	(opencl_language_arch_info): Copy primitive type vector from gdbarch.
2652	(build_opencl_types): Install plain array of "struct type *"
2653	instead of "struct builtin_opencl_type".
2654
26552011-02-21  Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2656	    Ulrich Weigand  <uweigand@de.ibm.com>
2657
2658	* arm-linux-nat.c: Include "observer.h" and "gdbthread.h".
2659	(PTRACE_GETHBPREGS, PTRACE_SETHBPREGS): Define.
2660	(struct arm_linux_hwbp_cap): New type.
2661	(arm_linux_get_hwbp_cap): New function.
2662	(arm_linux_get_hw_breakpoint_count): Likewise.
2663	(arm_linux_get_hw_watchpoint_count): Likewise.
2664	(arm_linux_can_use_hw_breakpoint): Likewise.
2665	(arm_hwbp_type): New type.
2666	(arm_hwbp_control_t): Likewise.
2667	(struct arm_linux_hw_breakpoint): Likewise.
2668	(struct arm_linux_thread_points): Likewise.
2669	(arm_threads): New global variable.
2670	(arm_linux_find_breakpoints_by_tid): New function.
2671	(arm_hwbp_control_initialize): Likewise.
2672	(arm_hwbp_control_is_enabled): Likewise.
2673	(arm_hwbp_control_disable): Likewise.
2674	(arm_linux_hw_breakpoint_initialize): Likewise.
2675	(arm_linux_get_hwbp_type): Likewise.
2676	(arm_linux_hw_watchpoint_initialize): Likewise.
2677	(arm_linux_hw_breakpoint_equal): Likewise.
2678	(arm_linux_insert_hw_breakpoint1): Likewise.
2679	(arm_linux_remove_hw_breakpoint1): Likewise.
2680	(arm_linux_insert_hw_breakpoint): Likewise.
2681	(arm_linux_remove_hw_breakpoint): Likewise.
2682	(arm_linux_region_ok_for_hw_watchpoint): Likewise.
2683	(arm_linux_insert_watchpoint): Likewise.
2684	(arm_linux_remove_watchpoint): Likewise.
2685	(arm_linux_stopped_data_address): Likewise.
2686	(arm_linux_stopped_by_watchpoint): Likewise.
2687	(arm_linux_watchpoint_addr_within_range): Likewise.
2688	(arm_linux_new_thread): Likewise.
2689	(arm_linux_thread_exit): Likewise.
2690	(_initialize_arm_linux_nat): Install hardware breakpoint/watchpoint
2691	related target callbacks.  Register arm_linux_new_thread and
2692	arm_linux_thread_exit.
2693	* arm-tdep.h (arm_pc_is_thumb): Add prototype.
2694	* arm-tdep.c (arm_pc_is_thumb): Make global.
2695	(arm_gdbarch_init): Call set_gdbarch_have_nonsteppable_watchpoint.
2696
26972011-02-21  Ulrich Weigand  <uweigand@de.ibm.com>
2698
2699	* breakpoint.c (update_watchpoint): Do not attempt to recreate
2700	per-frame locations while within a function epilogue.
2701
27022011-02-21  Pierre Muller  <muller@ics.u-strasbg.fr>
2703
2704	* ser-mingw.c (ser_windows_close): Reformat comment to better conform
2705	to GNU coding standards.
2706
27072011-02-21  Pierre Muller  <muller@ics.u-strasbg.fr>
2708
2709	Allow use of mingw native on Windows 95 OS.
2710	* ser-mingw.c (CancelIo): New macro for dynamically loaded DLL entry.
2711	(ser_windows_close): Only call CancelIo if function exists.
2712	(_initialize_ser_windows): Use LoadLirary/GetProcAddress
2713	to check for existence of CancelIo function in kernel32 DLL.
2714
27152011-02-21  Hui Zhu  <teawater@gmail.com>
2716
2717	* Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h.
2718	* ax-gdb.c (gen_printf_expr_callback): New function.
2719	* ax-gdb.h (gen_printf_expr_callback): Forward declare.
2720	* ax-general.c (ax_memcpy): New function.
2721	(ax_print): Handle "printf".
2722	(ax_reqs): Ditto.
2723	* ax.h (ax_memcpy): Forward declare.
2724	* common/ax.def (invalid2): Removed.
2725	(printf): New entry.
2726	* printcmd.c (printcmd.h): New include.
2727	(string_printf): New function.
2728	(ui_printf): Removed.
2729	(printf_command): Remove static.  Call string_printf.
2730	(eval_command): Call string_printf.
2731	* printcmd.h: New file.
2732	* tracepoint.c (validate_actionline,
2733	encode_actions_1): handle printf_command.
2734
27352011-02-19  Michael Snyder  <msnyder@vmware.com>
2736
2737	* reverse.c (delete_one_bookmark): Argument is now bookmark
2738	id rather than pointer to bookmark struct.
2739	(delete_bookmark_command): Use get_number_or_range.
2740	(goto_bookmark_command): Parse with get_number instead of strtoul.
2741	(bookmark_1): New function.  Print info for one bookmark.
2742	(bookmarks_info): Use get_number_or_range and bookmark_1.
2743
27442011-02-18  Michael Snyder  <msnyder@vmware.com>
2745
2746	* thread.c (info_threads_command): Re-implement using
2747	get_number_or_range.
2748	(thread_apply_command): Ditto.
2749
27502011-02-18  Tom Tromey  <tromey@redhat.com>
2751
2752	* common/ax.def: New file.
2753	* ax.h (enum agent_op): Use ax.def.
2754	* ax-general.c (aop_map): Use ax.def.
2755
27562011-02-18  Tom Tromey  <tromey@redhat.com>
2757
2758	* ax-general.c (aop_map): Add pick and rot.
2759	* dwarf2loc.c (compile_dwarf_to_ax) <DW_OP_over>: Reimplement.
2760	<DW_OP_rot>: Implement.
2761	* ax.h (enum agent_op) <aop_pick, aop_rot>: New constants.
2762	(ax_pick): Declare.
2763	* ax-general.c (ax_pick): New function.
2764
27652011-02-18  Tom Tromey  <tromey@redhat.com>
2766
2767	* Makefile.in (HFILES_NO_SRCDIR): Don't mention ada-operator.inc.
2768
27692011-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
2770	    Tom Tromey  <tromey@redhat.com>
2771
2772	* cp-support.c (make_symbol_overload_list_namespace): Do not call
2773	make_symbol_overload_list_block with NULL BLOCK.
2774	* valarith.c (unop_user_defined_p): Resolve also TYPE_CODE_TYPEDEF.
2775
27762011-02-18  Pedro Alves  <pedro@codesourcery.com>
2777
2778	* breakpoint.c (get_number_trailer): No longer accept a NULL PP.
2779	* breakpoint.h (get_number_or_range): Declare.
2780	* printcmd.c (ALL_DISPLAYS): Declare.
2781	(delete_display): Reimplement taking a display pointer.
2782	(undisplay_command): Accept a range of displays to delete, using
2783	get_number_or_range.
2784
27852011-02-18  Pierre Muller  <muller@ics.u-strasbg.fr>
2786
2787	* c-valprint.c (c_val_print): Add embedded_offset to address
2788	for arrays of unspecified length.
2789	* p-valprint.c (pascal_val_print): Likewise.
2790
27912011-02-18  Yao Qi  <yao@codesourcery.com>
2792
2793	* gdb/arm-tdep.c (arm_displaced_step_copy_insn): Move code to ...
2794	(arm_process_displaced_insn): .. here. Remove parameter INSN.
2795	(thumb_process_displaced_insn): New.
2796	* gdb/arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Update
2797	call to arm_process_displaced_insn.
2798	* gdb/arm-tdep.h : Update declaration of arm_process_displaced_insn.
2799
28002011-02-17  Tom Tromey  <tromey@redhat.com>
2801
2802	* dwarf2loc.h (dwarf2_compile_expr_to_ax): Declare.
2803	* dwarf2loc.c (dwarf2_compile_expr_to_ax): Rename from
2804	compile_dwarf_to_ax.  No longer static.  Call
2805	dwarf2_compile_cfa_to_ax.
2806	(locexpr_tracepoint_var_ref): Update.
2807	(loclist_tracepoint_var_ref): Update.
2808	* dwarf2-frame.h (dwarf2_compile_cfa_to_ax): Declare.
2809	* dwarf2-frame.c (execute_cfa_program): Remove 'this_frame'
2810	argument; add 'gdbarch' and 'pc'.
2811	(dwarf2_compile_cfa_to_ax): New function.
2812	(dwarf2_frame_cache): Update.
2813
28142011-02-17  Joel Brobecker  <brobecker@adacore.com>
2815
2816	* ada-lang.c (ada_type_of_array): Fix the size of the array
2817	in the case of an unconstrained packed array.
2818
28192011-02-17  Yao Qi  <yao@codesourcery.com>
2820
2821	* common/Makefile.in: Add more targets for make.
2822
28232011-02-16  Tom Tromey  <tromey@redhat.com>
2824
2825	* dwarf2loc.c (unimplemented): Fix typo.
2826
28272011-02-16  Tom Tromey  <tromey@redhat.com>
2828
2829	* dwarf2loc.c (unimplemented): Handle unnamed opcodes.
2830	(compile_dwarf_to_ax) <default>: Use unimplemented.
2831	<DW_OP_deref>: Update.
2832	(disassemble_dwarf_expression): Update.
2833	* dwarf2read.c (dwarf_stack_op_name): Remove 'def' argument.
2834	(decode_locdesc): Update.
2835	* dwarf2expr.h (dwarf_stack_op_name): Update.
2836
28372011-02-16  Tom Tromey  <tromey@redhat.com>
2838
2839	* ax.h (struct aop_map) <name>: Now const.
2840
28412011-02-16  Tom Tromey  <tromey@redhat.com>
2842
2843	* ax-gdb.c.c (gen_expr) <UNOP_MEMVAL>: Handle value kinds other
2844	than axs_rvalue.
2845
28462011-02-16  Yao Qi  <yao@codesourcery.com>
2847
2848	* infrun.c (get_displaced_step_closure_by_addr): New.
2849	* inferior.h: Declare it.
2850	* arm-tdep.c: (arm_pc_is_thumb): Call
2851	get_displaced_step_closure_by_addr.  Adjust MEMADDR if it
2852	returns non-NULL.
2853
28542011-02-16  Pedro Alves  <pedro@codesourcery.com>
2855	    Jan Kratochvil  <jan.kratochvil@redhat.com>
2856
2857	gdb/
2858	* tracepoint.c (memrange_sortmerge): Fix list A's end calculation.
2859
28602011-02-16  Pedro Alves  <pedro@codesourcery.com>
2861	    Jan Kratochvil  <jan.kratochvil@redhat.com>
2862
2863	* value.c (value_contents_copy_raw): Extend describing comment.
2864	Assert that the destination contents we're overwriting are wholly
2865	available.
2866	(value_contents_copy): Extend describing comment.
2867
28682011-02-16  Pedro Alves  <pedro@codesourcery.com>
2869	    Jan Kratochvil  <jan.kratochvil@redhat.com>
2870
2871	* value.c (value_available_contents_eq): Remove redundant local
2872	variables.  Fix available contents comparision.
2873	* value.h (value_available_contents_eq): Extend describing
2874	comment.
2875
28762011-02-16  Yao Qi  <yao@codesourcery.com>
2877
2878	* thread.c (info_threads_command): Add missing i18n markup and remove
2879	trailing newline.
2880
28812011-02-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
2882
2883	* breakpoint.c (longjmp_names): New variable.
2884	(struct breakpoint_objfile_data): New type.
2885	(breakpoint_objfile_key): New variable.
2886	(msym_not_found): New variable.
2887	(msym_not_found_p): New predicate.
2888	(get_breakpoint_objfile_data): New function.
2889	(create_overlay_event_breakpoint): Check per-objfile cache for
2890	symbols first.
2891	(create_longjmp_master_breakpoint): Likewise.
2892	(create_std_terminate_master_breakpoint): Likewise.
2893	(create_exception_master_breakpoint): Likewise.
2894	(_initialize_breakpoint): Register per-objfile data key.
2895
28962011-02-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
2897
2898	* breakpoint.c ((create_overlay_event_breakpoint): Const-propagate
2899	parameter value.
2900	(create_longjmp_master_breakpoint): Loop over longjmp names.
2901	(create_std_terminate_master_breakpoint): Const-propagate parameter
2902	value.
2903	(update_breakpoints_after_exec): Adjust.
2904	(breakpoint_re_set): Adjust.
2905
29062011-02-15  Michael Snyder  <msnyder@vmware.com>
2907
2908	* thread.c (info_threads_command): Process arg as thread id,
2909	or list of thread ids.
2910	(thread_find_command): New command.
2911	(_initialize_thread): Document argument for info threads.
2912	Document 'thread find' command.
2913	* NEWS: Document new command "thread find".
2914
29152011-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
2916
2917	* Makefile.in (ACLOCAL_AMFLAGS): Add `-I ../config'.
2918	* aclocal.m4: Regenerated with aclocal-1.11.1.
2919	* common/configure: Regenerate with autoconf-2.64.
2920
29212011-02-15  Ken Werner  <ken.werner@de.ibm.com>
2922
2923	* opencl-lang.c (build_opencl_types): Set the size of the built-in
2924	bool data type to a size of one byte.
2925
29262011-02-15  Pedro Alves  <pedro@codesourcery.com>
2927	    Jan Kratochvil  <jan.kratochvil@redhat.com>
2928
2929	* target.c (memory_xfer_live_readonly_partial): Document where to
2930	look for interface description.
2931
29322011-02-15  Yao Qi  <yao@codesourcery.com>
2933
2934	PR tdep/12352
2935	* arm-tdep.c (copy_ldr_str_ldrb_strb): Replace PC with SP in
2936	order to store PC value on stack instead of text section.
2937
29382011-02-15  Thiago Jung Bauermann  <bauerman@br.ibm.com>
2939
2940	* rs6000-tdep.c (IS_EFP_PSEUDOREG): Use correct constant for
2941	the EFP register set size.
2942	(efpr_pseudo_register_read): Use regcache_raw_read_part to read
2943	data from the VMX register.
2944	(efpr_pseudo_register_write): Use regcache_raw_write_part to read
2945	and write data from/to the VMX register.
2946
29472011-02-14  Michael Snyder  <msnyder@vmware.com>
2948
2949	* command.h (enum command_class): New class 'no_set_class', for
2950	"show" commands without a corresponding "set" command.
2951	* value.c (_initialize_values): Use 'no_set_class' for "show values".
2952	* copying.c (_initialize_copying): Ditto for "show copying" and
2953	"show warranty".
2954	* cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and
2955	"show version".
2956	* cli/cli-setshow.c (cmd_show_list): Skip "show" commands for
2957	which there is no corresponding "set" command (eg. "show copying").
2958
29592011-02-14  Pedro Alves  <pedro@codesourcery.com>
2960	    Jan Kratochvil  <jan.kratochvil@redhat.com>
2961
2962	* exec.c (section_table_available_memory): Change `len' parameter
2963	type to ULONGEST.
2964	* exec.h (section_table_available_memory): Ditto.
2965	* value.h (read_value_memory): Rename the `offset' parameter to
2966	`embedded_offset'.
2967
29682011-02-14  Pedro Alves  <pedro@codesourcery.com>
2969	    Jan Kratochvil  <jan.kratochvil@redhat.com>
2970
2971	* memrange.c (compare_mem_ranges): Mention sort order in
2972	describing comment.
2973	(normalize_mem_ranges): Add comment.  Fix ra->length calculation.
2974	* tracepoint.c (traceframe_available_memory): Extend comment to
2975	mention what happens to RESULT when the target does not support
2976	the query.
2977
29782011-02-14  Pedro Alves  <pedro@codesourcery.com>
2979	    Jan Kratochvil  <jan.kratochvil@redhat.com>
2980
2981	* value.c (mark_value_bytes_unavailable): Fix indexing the `bef'
2982	range.
2983
29842011-02-14  Pedro Alves  <pedro@codesourcery.com>
2985
2986	* value.c (value_bits_valid, value_bits_synthetic_pointer):
2987	No longer handle NULL values.
2988
29892011-02-14  Pedro Alves  <pedro@codesourcery.com>
2990
2991	* exceptions.h (NOT_AVAILABLE_ERROR): New error.
2992	* value.c: Include "exceptions.h".
2993	(require_available): Throw NOT_AVAILABLE_ERROR instead of a
2994	generic error.
2995	* cp-abi.c: Include gdb_assert.h.
2996	(baseclass_offset): Add `embedded_offset' and `val' parameters.
2997	Assert the method is implemented.  Wrap NOT_AVAILABLE_ERROR
2998	errors.
2999	* cp-abi.h (baseclass_offset): Add `embedded_offset' and `val'
3000	parameters.  No longer returns -1 on error.
3001	(struct cp_abi_ops) <baseclass_offset>: Add `embedded_offset' and
3002	`val' parameters.
3003	* cp-valprint.c: Include exceptions.h.
3004	(cp_print_value): Handle NOT_AVAILABLE_ERROR errors when fetching
3005	the baseclass_offset.  Handle unavailable base classes.  Use
3006	val_print_invalid_address.
3007	* p-valprint.c: Include exceptions.h.
3008	(pascal_object_print_value): Handle NOT_AVAILABLE_ERROR errors
3009	when fetching the baseclass_offset.  No longer expect
3010	baseclass_offset returning -1.  Handle unavailable base classes.
3011	Use val_print_invalid_address.
3012	* valops.c (dynamic_cast_check_1): Rename `contents' parameter to
3013	`valaddr' parameter, and change its type to gdb_byte pointer.  Add
3014	`embedded_offset' and `val' parameters.  Adjust.
3015	(dynamic_cast_check_2): Rename `contents' parameter to `valaddr'
3016	parameter, and change its type to gdb_byte pointer.  Add
3017	`embedded_offset' and `val' parameters.  Adjust.  No longer expect
3018	baseclass_offset returning -1.
3019	(value_dynamic_cast): Use value_contents_for_printing rather than
3020	value_contents.  Adjust.
3021	(search_struct_field): No longer expect baseclass_offset returning
3022	-1.
3023	(search_struct_method): If reading memory from the target is
3024	necessary, wrap it in a new value to pass to baseclass_offset.  No
3025	longer expect baseclass_offset returning -1.
3026	(find_method_list): No longer expect baseclass_offset returning
3027	-1.  Use value_contents_for_printing rather than value_contents.
3028	* valprint.c (val_print_invalid_address): New function.
3029	* valprint.h (val_print_invalid_address): Declare.
3030	* gdbtypes.c (is_unique_ancestor_worker): New `embedded_offset'
3031	and `val' parameters.  No longer expect baseclass_offset returning
3032	-1.  Adjust.
3033	* gnu-v2-abi.c: Include "exceptions.h".
3034	(gnuv2_baseclass_offset): Add `embedded_offset' and `val'
3035	parameters.  Handle unavailable memory.  Recurse through
3036	gnuv2_baseclass_offset directly, rather than through
3037	baseclass_offset.  No longer returns -1 on not found, instead
3038	throw an error.
3039	* gnu-v3-abi.c (gnuv3_baseclass_offset): Add `embedded_offset' and
3040	`val' parameters.  Adjust.
3041
30422011-02-14  Pedro Alves  <pedro@codesourcery.com>
3043
3044	* tracepoint.c (memrange_sortmerge): Don't merge ranges that are
3045	almost but not quite adjacent.
3046
30472011-02-14  Pedro Alves  <pedro@codesourcery.com>
3048
3049	* value.h (value_entirely_available): Declare.
3050	* value.c (value_entirely_available): New function.
3051	* c-valprint.c (c_value_print): Don't try fetching the pointer's
3052	real type if the pointer is unavailable.
3053
30542011-02-14  Pedro Alves  <pedro@codesourcery.com>
3055
3056	* valops.c (value_repeat): Use read_value_memory instead of
3057	read_memory.
3058
30592011-02-14  Pedro Alves  <pedro@codesourcery.com>
3060
3061	* value.h (value_contents_copy, value_contents_copy_raw): Declare.
3062	* value.c (value_contents_copy_raw, value_contents_copy): New
3063	functions.
3064	(value_primitive_field): Use value_contents_copy_raw instead of
3065	memcpy.
3066	* valops.c (value_fetch_lazy): Use value_contents_copy instead of
3067	memcpy.
3068	(value_array, value_slice): Ditto.
3069	* valarith.c (value_subscripted_rvalue): Use
3070	value_contents_copy_raw instead of memcpy.
3071
30722011-02-14  Pedro Alves  <pedro@codesourcery.com>
3073
3074	<unavailable> references.
3075
3076	* valops.c (get_value_at): Use value_from_contents_and_address,
3077	avoiding read_memory.
3078
30792011-02-14  Pedro Alves  <pedro@codesourcery.com>
3080
3081	* c-valprint.c (c_val_print): Print a string with unavailable
3082	contents as an array.
3083
30842011-02-14  Pedro Alves  <pedro@codesourcery.com>
3085
3086	* value.h (unpack_bits_as_long): Delete declaration.
3087	(unpack_value_bits_as_long): Declare.
3088	(unpack_value_field_as_long): Declare.
3089	(value_field_bitfield): Declare.
3090	* value.c (unpack_bits_as_long): Rename to...
3091	(unpack_value_bits_as_long_1): ... this.  Add embedded_offset and
3092	value parameters.  Return the extracted result in a new output
3093	parameter.  If the value contents are unavailable, return false,
3094	otherwise return true.
3095	(unpack_value_bits_as_long): New.
3096	(unpack_field_as_long): Rename to...
3097	(unpack_value_field_as_long_1): ... this.  Add embedded_offset and
3098	Add embedded_offset and value parameters.  Return the extracted
3099	result in a new output parameter. If the value contents are
3100	unavailable, return false, otherwise return true.
3101	(unpack_value_field_as_long): New.
3102	(unpack_field_as_long_1): New.
3103	(unpack_field_as_long): Reimplement as wrapper around
3104	unpack_value_field_as_long_1.
3105	(value_field_bitfield): New function.
3106	* valops.c (value_fetch_lazy): When fetching a bitfield, use
3107	unpack_value_bits_as_long.  Mark the value as unavailable, if it
3108	is unavailable.
3109	* jv-valprint.c (java_print_value_fields): Use
3110	value_field_bitfield.
3111	* p-valprint.c (pascal_object_print_value_fields): Use
3112	value_field_bitfield.
3113	* cp-valprint.c (cp_print_value_fields): Use value_field_bitfield.
3114
31152011-02-14  Pedro Alves  <pedro@codesourcery.com>
3116
3117	* value.c (get_internalvar_integer): Also return the int value of
3118	TYPE_CODE_INT INTERNALVAR_VALUE values.
3119	(set_internalvar): Don't special case TYPE_CODE_INT.
3120
31212011-02-14  Pedro Alves  <pedro@codesourcery.com>
3122
3123	* value.c (struct internalvar) <enum internalvar_kind>: Remove
3124	INTERNALVAR_POINTER.
3125	<pointer>: Delete.
3126	(value_of_internalvar): Remove INTERNALVAR_POINTER handling.
3127	(set_internalvar): Remove special TYPE_CODE_PTR handling.
3128	(preserve_one_internalvar): Remove INTERNALVAR_POINTER handling.
3129
31302011-02-14  Pedro Alves  <pedro@codesourcery.com>
3131
3132	* value.h (value_available_contents_eq): Declare.
3133	* value.c (find_first_range_overlap): New function.
3134	(value_available_contents_eq): New function.
3135	* valprint.c (val_print_array_elements): Use
3136	value_available_contents_eq.
3137	* ada-valprint.c (val_print_packed_array_elements): Use
3138	value_available_contents_eq.
3139	* jv-valprint.c (java_value_print): Use
3140	value_available_contents_eq.
3141
31422011-02-14  Pedro Alves  <pedro@codesourcery.com>
3143
3144	* target.c (target_read_live_memory): New function.
3145	(memory_xfer_live_readonly_partial): New.
3146	(memory_xfer_partial): If reading from a traceframe, fallback to
3147	reading unavailable read-only memory from read-only regions of
3148	live target memory.
3149	* tracepoint.c (disconnect_tracing): Adjust.
3150	(set_current_traceframe): New, factored out from
3151	set_traceframe_number.
3152	(set_traceframe_number): Reimplement to only change the traceframe
3153	number on the GDB side.
3154	(do_restore_current_traceframe_cleanup): Adjust.
3155	(make_cleanup_restore_traceframe_number): New.
3156	(cur_traceframe_number): New global.
3157	(tfile_open): Set cur_traceframe_number to no traceframe.
3158	(set_tfile_traceframe): New function.
3159	(tfile_trace_find): If looking up a traceframe using any method
3160	other than by number, make sure the current tfile traceframe
3161	matches gdb's current traceframe.  Update the current tfile
3162	traceframe if the lookup succeeded.
3163	(tfile_fetch_registers, tfile_xfer_partial)
3164	(tfile_get_trace_state_variable_value): Make sure the remote
3165	traceframe matches gdb's current traceframe.
3166	* remote.c (remote_traceframe_number): New global.
3167	(remote_open_1): Set it to -1.
3168	(set_remote_traceframe): New function.
3169	(remote_fetch_registers, remote_store_registers)
3170	(remote_xfer_memory, remote_xfer_partial)
3171	(remote_get_trace_state_variable_value): Make sure the remote
3172	traceframe matches gdb's current traceframe.
3173	(remote_trace_find): If looking up a traceframe using any method
3174	other than by number, make sure the current remote traceframe
3175	matches gdb's current traceframe.  Update the current remote
3176	traceframe if the lookup succeeded.
3177	* infrun.c (fetch_inferior_event): Adjust.
3178	* tracepoint.h (set_current_traceframe): Declare.
3179	(get_traceframe_number, set_traceframe_number): Add describing
3180	comments.
3181
31822011-02-14  Pedro Alves  <pedro@codesourcery.com>
3183
3184	Mark pieces of values as unavailable if the corresponding memory
3185	is unavailable.
3186
3187	* valops.c: Include tracepoint.h.
3188	(value_fetch_lazy): Use read_value_memory.
3189	(read_value_memory): New.
3190	* value.h (read_value_memory): Declare.
3191	* dwarf2loc.c (read_pieced_value): Use read_value_memory.
3192	* exec.c (section_table_available_memory): New function.
3193	* exec.h (section_table_available_memory): Declare.
3194
31952011-02-14  Pedro Alves  <pedro@codesourcery.com>
3196
3197	* Makefile.in (SFILES): Add memrange.c.
3198	(HFILES_NO_SRCDIR): Add memrange.h.
3199	(COMMON_OBS): Add memrange.o.
3200	* memrange.c: New file.
3201	* memrange.h: New file.
3202	* tracepoint.c: Include memrange.h.
3203	(struct mem_range): Delete.
3204	(mem_range_s): Delete.
3205	(traceframe_available_memory): New function.
3206	* tracepoint.h (traceframe_available_memory): Declare.
3207
32082011-02-14  Pedro Alves  <pedro@codesourcery.com>
3209
3210	* target.h (struct traceframe_info): Forward declare.
3211	(enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO.
3212	(struct target_ops) <to_traceframe_info>: New field.
3213	(target_traceframe_info): New.
3214	* target.c (update_current_target): Inherit and default
3215	to_traceframe_info.
3216	* remote.c (PACKET_qXfer_traceframe_info): New.
3217	(remote_protocol_features): Register qXfer:traceframe-info:read.
3218	(remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO.
3219	(remote_traceframe_info): New.
3220	(init_remote_ops): Install it.
3221	(_initialize_remote): Install "set/show remote traceframe-info"
3222	commands.
3223	* tracepoint.h (parse_traceframe_info): Declare.
3224	* tracepoint.c (struct mem_range): New.
3225	(mem_range_s): New typedef.
3226	(struct traceframe_info): New.
3227	(traceframe_info): New global.
3228	(free_traceframe_info): New function.
3229	(clear_traceframe_info): New function.
3230	(start_tracing, tfind_1, set_traceframe_number): Clear traceframe
3231	info.
3232	(build_traceframe_info): New function.
3233	(tfile_traceframe_info): New function.
3234	(init_tfile_ops): Install tfile_traceframe_info.
3235	(traceframe_info_start_memory, free_result): New functions.
3236	(memory_attributes, traceframe_info_elements): New globals.
3237	(parse_traceframe_info, get_traceframe_info): New functions.
3238	* features/traceframe-info.dtd: New file.
3239	* Makefile.in (XMLFILES): Add traceframe-info.dtd.
3240
32412011-02-14  Pedro Alves  <pedro@codesourcery.com>
3242
3243	Base support for <unavailable> value contents.
3244
3245	* value.h (value_bytes_available): Declare.
3246	(mark_value_bytes_unavailable): Declare.
3247	* value.c (struct range): New struct.
3248	(range_s): New typedef.
3249	(ranges_overlap): New function.
3250	(range_lessthan): New function.
3251	(ranges_contain_p): New function.
3252	(struct value) <unavailable>: New field.
3253	(value_bytes_available): New function.
3254	(mark_value_bytes_unavailable): New function.
3255	(require_not_optimized_out): Constify parameter.
3256	(require_available): New function.
3257	(value_contents_all, value_contents): Require all bytes be
3258	available.
3259	(value_free): Free `unavailable'.
3260	(value_copy): Copy `unavailable'.
3261	* valprint.h (val_print_unavailable): Declare.
3262	* valprint.c (valprint_check_validity): Rename `offset' parameter
3263	to `embedded_offset'.  If printing a scalar, check whether the
3264	value chunk is available.
3265	(val_print_unavailable): New.
3266	(val_print_scalar_formatted): Check whether the value is
3267	available.
3268	* python/py-prettyprint.c (apply_val_pretty_printer): Refuse
3269	pretty-printing unavailable values.
3270
32712011-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
3272
3273	Fix const/volatile qualifiers of C++ types, PR c++/12328.
3274	* c-typeprint.c (c_type_print_args): Update the function comment.  New
3275	variable param_type, initialize it.  Remove const/volatile qualifiers
3276	for language_cplus and !show_artificial.  Use param_type.
3277
32782011-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
3279
3280	* symtab.c (find_pc_sect_line): New variable objfile, initialize it
3281	from S.  Iterate S using ALL_OBJFILE_SYMTABS.  Verify BV for each S.
3282	* symtab.h (struct symtab) <next>: Comment extension.
3283
32842011-02-12  Yao Qi  <yao@codesourcery.com>
3285
3286	* Makefile.in (CLEANDIRS): Remove duplicated common dir.
3287
32882011-02-11  Yao Qi  <yao@codesourcery.com>
3289
3290	* common/Makefile.in: Add copyright header.
3291
32922011-02-11  Pedro Alves  <pedro@codesourcery.com>
3293
3294	* infrun.c (proceed): Move switching out and in of tfind mode from
3295	here ...
3296	(fetch_inferior_event): ... to here.
3297
32982011-02-11  Yao Qi  <yao@codesourcery.com>
3299
3300	* Makefile.in: Remove signals.o from COMMON_OBS.  Link
3301	libcommon.a.
3302	* configure.ac: Add common to sub dir.
3303	* configure: Regenerate.
3304
33052011-02-11  Yao Qi  <yao@codesourcery.com>
3306
3307	Build libcommon.a.
3308
3309	* common/Makefile.in: New.
3310	* common/configure.ac: New.
3311	* common/aclocal.m4: New.
3312	* common/configure: Generate.
3313
33142011-02-10  Pedro Alves  <pedro@codesourcery.com>
3315
3316	* vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right
3317	side of the parenthesis.
3318
3319	Merge from GCC:
3320	2010-07-13  Jakub Jelinek  <jakub@redhat.com>
3321	* vec.h (VEC_block_remove): Fix comment.
3322
33232011-02-08  Michael Snyder  <msnyder@vmware.com>
3324
3325	* linux-nat.c (linux_nat_filter_event): Fix typo in comment.
3326
33272011-02-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
3328
3329	* i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes
3330	in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd,
3331	psubd and paddd.
3332
33332011-02-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
3334
3335	PR 12361.
3336	* i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to
3337	phsubsw.
3338	(i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0.
3339	(i386_process_record) <0x0f3807>: Fix the comment to phsubsw.
3340
33412011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
3342
3343	* dwarf2read.c (read_subroutine_type): Set special calling
3344	convention flag for functions compiled by IBM XL C for OpenCL.
3345	* ppc-sysv-tdep.c: Include "dwarf2.h"
3346	(ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types
3347	calling convention.
3348	(do_ppc_sysv_return_value): Add FUNC_TYPE argument.  Implement
3349	IBM OpenCL vector types calling convention.
3350	(ppc_sysv_abi_return_value): Pass through FUNC_TYPE.
3351	(ppc_sysv_abi_broken_return_value): Likewise.
3352	(ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector
3353	types calling convention.
3354	(ppc64_sysv_abi_return_value): Likewise.
3355	* spu-tdep.c: Include "dwarf2.h"
3356	(spu_return_value): Implement IBM OpenCL vector types calling
3357	convention.
3358
33592011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
3360
3361	* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement
3362	correct ABI for AltiVec vector arguments.
3363
33642011-02-07  Pedro Alves  <pedro@codesourcery.com>
3365
3366	* valprint.c (val_print): Extend comment.
3367	* ada-valprint.c (ada_valprint): Rewrite comment deferring
3368	interface explanation to val_print.
3369	(ada_val_print_array): Adjust comment to current interface.
3370	(print_field_values): Adjust comment to current interface.
3371	* c-valprint.c (c_val_print): Rewrite comment deferring interface
3372	explanation to val_print.
3373	* f-valprint.c (f_val_print): Ditto.
3374	* jv-valprint.c (java_val_print): Ditto.
3375	* m2-valprint.c (m2_val_print): Ditto.
3376	* p-valprint.c (pascal_val_print): Ditto.
3377
33782011-02-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
3379
3380	* breakpoint.c (parse_breakpoint_sals): Fix description.
3381
33822011-02-04  Sami Wagiaalla  <swagiaal@redhat.com>
3383	    Oguz Kayral <oguzkayral@gmail.com>
3384
3385	* python/py-inferior.c (python_on_normal_stop): New function.
3386	(python_on_resume): New function.
3387	(python_inferior_exit): New function.
3388	(gdbpy_initialize_inferior): Add normal_stop, target_resumed, and
3389	inferior_exit observers.
3390	* python/py-evtregistry.c: New file.
3391	* python/py-threadevent.c : New file.
3392	* python/py-event.c: New file.
3393	* python/py-evts.c: New file.
3394	* python/py-continueevent.c: New file.
3395	* python/py-bpevent.c: New file.
3396	* python/py-signalevent.c: New file.
3397	* python/py-exetiedevent.c: New file.
3398	* python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function.
3399	Move struct breakpoint_object from here...
3400	* python/python-internal.h: ... to here.
3401	* python/py-event.h: New file.
3402	* python/py-events.h: New file.
3403	* Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o,
3404	py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o,
3405	py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o.
3406	(SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c,
3407	py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c,
3408	py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c.
3409	Add build rules for all the above.
3410
34112011-02-04  Tom Tromey  <tromey@redhat.com>
3412
3413	* dwarf2read.c (dwarf2_section_empty_p): New function.
3414	(dwarf2_read_section): Use dwarf2_section_empty_p.
3415	(dwarf2_section_size): New function.
3416	(dwarf2_get_section_info): Unconditionally read section.
3417	(dwarf2_read_index): Use dwarf2_section_empty_p.
3418	(partial_read_comp_unit_head): Use dwarf2_section_size.
3419	(dwarf2_symbol_mark_computed): Likewise.
3420
34212011-02-04 David Daney <ddaney@caviumnetworks.com>
3422
3423	* NEWS: Add item for "catch syscall" on mips*-linux* targets.
3424
34252011-02-04 David Daney <ddaney@caviumnetworks.com>
3426
3427	* mips-linux-tdep.c: Include xml-syscall.h.
3428	(mips_linux_get_syscall_number): New function.
3429	(mips_linux_init_abi): Add calls to
3430	mips_linux_get_syscall_number() and set_xml_syscall_file_name().
3431	* data-directory/Makefile.in (SYSCALLS_FILES): Add
3432	mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml
3433	* syscalls/mips-n32-linux.xml: New file.
3434	* syscalls/mips-n64-linux.xml: New file.
3435	* syscalls/mips-o32-linux.xml: New file.
3436
34372011-02-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
3438
3439	* dwarf2read.c (dwarf2_ranges_read): Skip empty range entries.
3440	Complain about inverted range entries.
3441	(dwarf2_record_block_ranges): Likewise.
3442
34432011-02-04  Thiago Jung Bauermann  <bauerman@br.ibm.com>
3444
3445	Fix some typos.
3446	* breakpoint.c (update_watchpoint): Fix name of the
3447	update_global_location_list function.
3448	(print_one_breakpoint): Fix typo.
3449	(_initialize_breakpoint): Remove extra space in hbreak help
3450	string.
3451	* breakpoint.h (struct bp_location) <length>: Fix field
3452	description.
3453
34542011-02-04  Pedro Alves  <pedro@codesourcery.com>
3455
3456	* regcache.c (registers_changed_ptid): Don't explictly always
3457	clear `current_regcache'.  Only clear current_thread_ptid and
3458	current_thread_arch when PTID matches.  Only reinit the frame
3459	cache if PTID matches the current inferior_ptid.  Move alloca(0)
3460	call to ...
3461	(registers_changed): ... here.
3462
34632011-02-03  Ulrich Weigand  <ulrich.weigand@linaro.org>
3464
3465	* arm-tdep.c (arm_skip_stack_protector): Accept any symbol that
3466	starts with __stack_chk_guard as stack guard symbol.
3467
34682011-02-03  Andrew Burgess  <aburgess@broadcom.com>
3469
3470	* disasm.c (compare_lines): Handle the end of sequence markers
3471	within the line table to better support disassembling over
3472	compilation unit boundaries.
3473
34742011-02-02  Ulrich Weigand  <ulrich.weigand@linaro.org>
3475
3476	* arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB
3477	arguments.  Skip in-prologue calls to glibc __aeabi_read_tp
3478	implementation even if no symbols are available.
3479	(thumb_analyze_prologue): Update call to skip_prologue_function.
3480	(arm_analyze_prologue): Likewise.
3481
34822011-02-02  Ulrich Weigand  <ulrich.weigand@linaro.org>
3483
3484	* arm-tdep.c: Include "observer.h".
3485	(arm_prologue_this_id): Use frame PC if get_frame_func returns 0.
3486	(arm_exidx_data_key): New static variable.
3487	(struct arm_exidx_entry, arm_exidx_entry_s): New data types.
3488	(struct arm_exidx_data): Likewise.
3489	(arm_exidx_data_free): New function.
3490	(arm_compare_exidx_entries): Likewise.
3491	(arm_obj_section_from_vma): Likewise.
3492	(arm_exidx_new_objfile): Likewise.
3493	(arm_find_exidx_entry): Likewise.
3494	(arm_exidx_fill_cache): Likewise.
3495	(arm_exidx_unwind_sniffer): Likewise.
3496	(arm_exidx_unwind): New global variable.
3497	(arm_gdbarch_init): Append unwinder arm_exidx_unwind.
3498	(_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile
3499	observer.  Register arm_exidx_data_key as objfile data.
3500
35012011-02-02  Ulrich Weigand  <ulrich.weigand@linaro.org>
3502
3503	* arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break
3504	due to accessing uninitialized variable.  Fix indentation.
3505
35062011-02-02  Pedro Alves  <pedro@codesourcery.com>
3507
3508	* c-valprint.c (c_value_print): When doing virtual base pointer
3509	adjustment, create a new value with adjusted contents rather than
3510	changing the contents of the value being printed (and getting it
3511	wrong).
3512
35132011-02-02  Pedro Alves  <pedro@codesourcery.com>
3514
3515	* xml-support.c (xml_find_attribute): New.
3516	(xinclude_start_include): Use it.
3517	* xml-support.h (xml_find_attribute): Declare.
3518	* memory-map.c (memory_map_start_memory)
3519	(memory_map_start_property): Use xml_find_attribute.
3520	* osdata.c (osdata_start_osdata, osdata_start_column): Use
3521	xml_find_attribute.
3522	* remote.c (start_thread): Use xml_find_attribute.
3523	* solib-target.c (library_list_start_segment)
3524	(library_list_start_section, library_list_start_library)
3525	(library_list_start_list): Use xml_find_attribute.
3526	* xml-tdesc.c (tdesc_start_target, tdesc_start_feature)
3527	(tdesc_start_union, tdesc_start_struct, tdesc_start_flags)
3528	(tdesc_start_field): Use xml_find_attribute.
3529
35302011-02-02  Ulrich Weigand  <uweigand@de.ibm.com>
3531
3532	* opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
3533	(BUILD_OCL_VTYPES): Update.
3534
35352011-02-02  Joel Brobecker  <brobecker@adacore.com>
3536
3537	* configure.ac: Work around non-GNU sed limitation when computing
3538	python version number.
3539	* configure: Regenerate.
3540
35412011-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
3542
3543	Fix debug printing of TYPE_INSTANCE.
3544	* expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New.
3545	(dump_subexp_body_standard) <TYPE_INSTANCE>: New.
3546
35472011-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
3548
3549	Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL,
3550	OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME,
3551	OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT.
3552	* ada-operator.inc: Rename the file to ...
3553	* ada-operator.def: ... here, wrap all the entries by macro OP.
3554	* expprint.c (op_name_standard): Remove all the entries.  Include
3555	"std-operator.def" instead.
3556	* expression.h (enum exp_opcode): Include "std-operator.def" and
3557	"ada-operator.def".  Move all the entries ...
3558	* std-operator.def: ... here, wrap all the entries by macro OP.
3559
35602011-01-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
3561
3562	* breakpoint.h (remove_jit_event_breakpoints): New prototype.
3563	* breakpoint.c (remove_jit_event_breakpoints): New function.
3564	* jit.c (jit_descriptor_addr): Delete.
3565	(registering_code): Delete.
3566	(clear_int): Delete.
3567	(jit_inferior_data): New variable.
3568	(struct jit_inferior_data): New type.
3569	(get_jit_inferior_data): New function.
3570	(jit_inferior_data_cleanup): New function.
3571	(jit_read_descriptor): Adjust.
3572	(jit_register_code): Adjust.
3573	(jit_breakpoint_re_set_internal): New function; move code here ...
3574	(jit_inferior_init): ... from here.
3575	(jit_breakpoint_re_set): Adjust.
3576	(jit_reset_inferior_data_and_breakpoints): New function.
3577	(jit_inferior_created_observer): Adjust.
3578	(jit_inferior_exit_hook): Adjust.
3579	(jit_executable_changed_observer): New function.
3580	(jit_event_handler): Adjust.
3581	(_initialize_jit): Adjust.
3582
35832011-01-31  Michael Snyder  <msnyder@vmware.com>
3584
3585	* m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted
3586	line.
3587
35882011-01-31  Tom Tromey  <tromey@redhat.com>
3589
3590	PR python/12216:
3591	* python/python.c (execute_gdb_command): Call
3592	prevent_dont_repeat.
3593	* top.c (suppress_dont_repeat): New global.
3594	(dont_repeat): Use it.
3595	(prevent_dont_repeat): New function.
3596	* command.h (prevent_dont_repeat): Declare.
3597
35982011-01-31  Tom Tromey  <tromey@redhat.com>
3599
3600	* infcmd.c (finish_backward): Use breakpoint_set_silent.
3601	* python/py-breakpoint.c (bppy_set_silent): Use
3602	breakpoint_set_silent.
3603	(bppy_set_thread): Use breakpoint_set_thread.
3604	(bppy_set_task): Use breakpoint_set_task.
3605	* breakpoint.h (breakpoint_set_silent, breakpoint_set_thread)
3606	(breakpoint_set_task): Declare.
3607	(make_breakpoint_silent): Remove.
3608	* breakpoint.c (breakpoint_set_silent): New function.
3609	(breakpoint_set_thread): Likewise.
3610	(breakpoint_set_task): Likewise.
3611	(make_breakpoint_silent): Remove.
3612
36132011-01-31  Tom Tromey  <tromey@redhat.com>
3614
3615	* breakpoint.h (user_breakpoint_p): Declare.
3616	* breakpoint.c (user_breakpoint_p): New function.
3617	(breakpoint_1): Use it.
3618	(save_breakpoints): Likewise.
3619
36202011-01-31  Joel Brobecker  <brobecker@adacore.com>
3621
3622	* configure.ac: Add handling of Python distribution on Windows.
3623	* python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED
3624	sysconfig variables are not defined, then do not use them.
3625	On Windows, if LIBPL is not defined, then use prefix + '/libs'
3626	instead.  On Windows, return all paths using forward-slashes
3627	rather than backslashes.
3628
36292011-01-31  Joel Brobecker  <brobecker@adacore.com>
3630
3631	* configure.ac: Remove fallback behavior for building
3632	against Python.  Remove tweaking of Python include path.
3633	Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution.
3634	(AC_TRY_LIBPYTHON):  Adjust program used in linking test.
3635	If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS.
3636	Always restore CPPFLAGS and LIBS after linking test.
3637	* configure: Regenerated.
3638	* Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@.
3639	(INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@.
3640	* python/python-internal.h: Adjust includes of Python .h files.
3641
36422011-01-31  Joel Brobecker  <brobecker@adacore.com>
3643
3644	* tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
3645	in error message.
3646
36472011-01-31  Joel Brobecker  <brobecker@adacore.com>
3648
3649	* inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
3650	value test.
3651
36522011-01-31  Yao Qi  <yao@codesourcery.com>
3653
3654	* arm-linux-nat.c: Update calls to regcache_register_status
3655	instead of regcache_valid_p.
3656	* aix-thread.c: Likewise.
3657	* i386gnu-nat.c: Likewise.
3658
36592011-01-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3660
3661	Fix crash.
3662	* valops.c (compare_parameters): Verify TYPE_NFIELDS before
3663	touching TYPE_FIELD_ARTIFICIAL.
3664
36652011-01-28  Richard Earnshaw  <rearnsha@arm.com>
3666
3667	* MAINTAINERS: Move myself from Responsible Maintainers to Authorized
3668	Committers.
3669
36702011-01-28  Pedro Alves  <pedro@codesourcery.com>
3671
3672	* tracepoint.c (tfile_xfer_partial): If there's no traceframe
3673	selected, don't try iterating over the traceframe's blocks.
3674	(tfile_has_stack): If there's no traceframe selected, then there's
3675	no stack.
3676	(tfile_has_registers): If there's no traceframe selected, then
3677	there's no registers.
3678
36792011-01-28  Pedro Alves  <pedro@codesourcery.com>
3680
3681	* target.c (memory_xfer_partial): No need to restore shadows if we
3682	haven't read anything.
3683
36842011-01-28  Pedro Alves  <pedro@codesourcery.com>
3685
3686	* mips-tdep.c (mips_print_register): Use get_frame_register_value
3687	and val_print_scalar_formatted.
3688
36892011-01-27  Pedro Alves  <pedro@codesourcery.com>
3690
3691	* tracepoint.c (tfile_read): New.
3692	(tfile_open): Use it.
3693	(tfile_get_traceframe_address): Use it.
3694	(tfile_trace_find): Use it.
3695	(walk_blocks_callback_func): New typedef.
3696	(match_blocktype): New function.
3697	(traceframe_walk_blocks): New function.
3698	(traceframe_find_block_type): New function.
3699	(tfile_fetch_registers, tfile_xfer_partial)
3700	(tfile_get_trace_state_variable_value): Use
3701	traceframe_find_block_type and tfile_read.
3702
37032011-01-26  Kevin Buettner  <kevinb@redhat.com>
3704
3705	* remote-mips.c: Add internationalization mark ups.  Remove
3706	trailing \n from already marked up strings.
3707
37082011-01-26  Tom Tromey  <tromey@redhat.com>
3709
3710	* python/py-prettyprint.c (print_string_repr): Clear
3711	'addressprint' option when calling val_print_string.
3712	(print_children): Handle Val_pretty_default.  Clear 'addressprint'
3713	option when calling val_print_string.
3714
37152011-01-26  Tom Tromey  <tromey@redhat.com>
3716
3717	* python/python.c (gdbpy_solib_name): Use gdb_py_longest and
3718	GDB_PY_LL_ARG.
3719	* python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
3720	macros.
3721	(gdb_py_longest, gdb_py_ulongest): New typedefs.
3722	(gdb_py_long_from_longest, gdb_py_long_from_ulongest)
3723	(gdb_py_long_as_ulongest): New defines.
3724	(gdb_py_object_from_longest, gdb_py_object_from_ulongest)
3725	(gdb_py_int_as_long): Declare.
3726	* python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
3727	GDB_PY_LL_ARG, gdb_py_object_from_longest.
3728	(valpy_long): Add comment.
3729	* python/py-utils.c (get_addr_from_python): Use
3730	gdb_py_long_as_ulongest.  Handle overflow properly.
3731	(gdb_py_object_from_longest): New function.
3732	(gdb_py_object_from_ulongest): Likewise.
3733	(gdb_py_int_as_long): Likewise.
3734	* python/py-type.c (typy_array): Use gdb_py_int_as_long.
3735	* python/py-symtab.c (salpy_get_pc): Use
3736	gdb_py_long_from_ulongest.
3737	(salpy_get_line): Use PyInt_FromLong.
3738	* python/py-param.c (set_parameter_value): Use
3739	gdb_py_int_as_long.
3740	* python/py-lazy-string.c (stpy_get_address): Use
3741	gdb_py_long_from_ulongest.
3742	* python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
3743	* python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
3744	* python/py-breakpoint.c (bppy_set_thread): Use
3745	gdb_py_int_as_long.
3746	(bppy_set_task): Likewise.
3747	(bppy_set_ignore_count): Likewise.
3748	(bppy_set_hit_count): Likewise.
3749	* python/py-block.c (blpy_get_start): Use
3750	gdb_py_object_from_ulongest.
3751	(blpy_get_end): Likewise.
3752	(gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
3753
37542011-01-25  Mathieu Lacage  <mathieu.lacage@inria.fr>
3755
3756	PR/symtab 11766:
3757	* gdb/objfiles.h (struct objfile) <addr_low>: New field.
3758	* gdb/solib.c (solib_read_symbols): Check for addr_low in
3759	equality test for objfile, initialize addr_low if needed.
3760
37612011-01-25  Pedro Alves  <pedro@codesourcery.com>
3762
3763	* tui/tui-regs.c (tui_register_format): Remove dead code.
3764
37652011-01-25  Pedro Alves  <pedro@codesourcery.com>
3766
3767	* printcmd.c (print_formatted): Use val_print_scalar_formatted
3768	instead of print_scalar_formatted.
3769	(print_scalar_formatted): Don't handle 's' format strings here,
3770	and add an assertion that we never see such format here.
3771	* valprint.h (val_print_scalar_formatted): Declare.
3772	* valprint.c (val_print_scalar_formatted): New.
3773	* c-valprint.c (c_val_print): Use val_print_scalar_formatted
3774	instead of print_scalar_formatted.
3775	* jv-valprint.c (java_val_print): Ditto.
3776	* p-valprint.c (pascal_val_print): Ditto.
3777	* ada-valprint.c (ada_val_print_1): Ditto.
3778	* f-valprint.c (f_val_print): Ditto.
3779	* infcmd.c (registers_info): Ditto.
3780	* m2-valprint.c (m2_val_print): Ditto.
3781
37822011-01-25  Pedro Alves  <pedro@codesourcery.com>
3783
3784	* m2-valprint.c (print_unbounded_array): Pass
3785	value_contents_for_printing rather than value_contents, to
3786	m2_print_array_contents.  Also pass in the value.
3787
37882011-01-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
3789
3790	* dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
3791	(save_gdb_index_command): Switch to .gdb_index version 4.
3792
37932011-01-25  Pedro Alves  <pedro@codesourcery.com>
3794
3795	* mi/mi-main.c (get_register): Use get_frame_register_value rather
3796	than frame_register, and always pass a valid value to val_print.
3797
37982011-01-25  Pedro Alves  <pedro@codesourcery.com>
3799
3800	Centralize printing "<optimized out>".
3801
3802	* valprint.h (val_print_optimized_out): Declare.
3803	* cp-valprint.c (cp_print_value_fields): Use
3804	val_print_optimized_out.
3805	* jv-valprint.c (java_print_value_fields): Ditto.
3806	* p-valprint.c (pascal_object_print_value_fields): Ditto.
3807	* printcmd.c (print_formatted): Ditto.
3808	* valprint.c (valprint_check_validity): Ditto.
3809	(value_check_printable): Ditto.
3810	(val_print_optimized_out): New.
3811
38122011-01-25  Pedro Alves  <pedro@codesourcery.com>
3813
3814	* infcmd.c (default_print_registers_info): Allocate values so to
3815	never pass a NULL value to val_print.
3816
38172011-01-25  Pedro Alves  <pedro@codesourcery.com>
3818
3819	* cp-valprint.c (cp_print_value): Treat the 'skip' local as
3820	boolean.  Make sure to always pass a value that matches the
3821	contents buffer to callees.  Preserve `address' for following
3822	iterations.
3823	* value.c (value_contents_for_printing_const): New.
3824	(value_address): Constify value argument.
3825	* value.h (value_contents_for_printing_const): Declare.
3826	(value_address): Constify value argument.
3827
38282011-01-25  Pedro Alves  <pedro@codesourcery.com>
3829
3830	* regcache.c (struct regcache_descr): Rename
3831	sizeof_raw_register_valid_p field to sizeof_raw_register_status,
3832	and sizeof_cooked_register_valid_p to
3833	sizeof_cooked_register_status.
3834	(init_regcache_descr): Adjust.
3835	(struct regcache): Rename register_valid_p field to
3836	register_status.
3837	(regcache_xmalloc_1, regcache_xfree, regcache_save)
3838	(do_cooked_read): Adjust.
3839	(regcache_valid_p): Rename to ...
3840	(regcache_register_status): ... this.  Adjust.
3841	(regcache_invalidate): Adjust.
3842	(regcache_raw_read, regcache_cooked_read, regcache_raw_write):
3843	Adjust.
3844	(regcache_raw_supply): Adjust.  If buf i NULL, mark the register
3845	as unavailable, not valid.
3846	(regcache_dump): Adjust.
3847	* regcache.h (enum register_status): New.
3848	(regcache_register_status): Declare.
3849	(regcache_invalidate): Delete declaration.
3850	* corelow.c (get_core_registers): Adjust.
3851	* tracepoint.c (tfile_fetch_registers): Adjust.
3852	* trad-frame.c (REG_VALUE): Rename to ...
3853	(TF_REG_VALUE): ... this.
3854	(REG_UNKNOWN): Rename to ...
3855	(TF_REG_UNKNOWN): ... this.
3856	(trad_frame_set_value, trad_frame_set_unknown): Adjust.
3857	* mi/mi-main.c (register_changed_p): Adjust.
3858
38592011-01-25  Pedro Alves  <pedro@codesourcery.com>
3860
3861	* regcache.c (struct regcache_descr): Remove outdated comment.
3862	(init_regcache_descr): Remove sizeof_raw_register_valid_p
3863	overallocate hack.
3864	(regcache_xmalloc): Rename to ...
3865	(regcache_xmalloc_1): ... this.  Add `readonly_p' parameter.
3866	Allocate the regcache type accordingly.
3867	(regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
3868	(regcache_xfree): Asser the source is also readonly.  Copy sizeof
3869	cooked registers, not raw.
3870	(regcache_dup_no_passthrough): Delete.
3871	(get_thread_arch_regcache): Use regcache_xmalloc_1.
3872	* h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
3873	mention obsolete write_register_bytes.
3874	* regcache.h (regcache_dup_no_passthrough): Delete declaration.
3875
38762011-01-25  Pedro Alves  <pedro@codesourcery.com>
3877
3878	Stop remote_read_bytes from handling partial reads itself.
3879
3880	* remote-fileio.c: Include target.h.
3881	(remote_fileio_write_bytes): Delete.
3882	(remote_fileio_func_open, remote_fileio_func_write)
3883	(remote_fileio_func_rename, remote_fileio_func_unlink): Use
3884	target_read_memory.
3885	(remote_fileio_func_stat): Use target_read_memory and
3886	target_write_memory.
3887	(remote_fileio_func_gettimeofday): Use target_write_memory.
3888	(remote_fileio_func_system): Use target_read_memory.
3889	* remote.c (remote_write_bytes): Make it static.
3890	(remote_read_bytes): Don't handle partial reads here.
3891	* remote.h (remote_read_bytes): Delete declaration.
3892
38932011-01-25  Pedro Alves  <pedro@codesourcery.com>
3894
3895	Simplify XML parsing a bit.
3896
3897	* xml-support.h (gdb_xml_parse_quick): Declare.
3898	* xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
3899	from gdb_xml_create_parser_and_cleanup, and added `old_chain'
3900	parameter.
3901	(gdb_xml_create_parser_and_cleanup): Reimplement on top of
3902	gdb_xml_create_parser_and_cleanup_1.
3903	(gdb_xml_parse_quick): New.
3904	* memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
3905	* osdata.c (osdata_parse): Ditto.
3906	* remote.c (remote_threads_info): Ditto.
3907	* solib-target.c (solib_target_parse_libraries): Ditto.
3908	* xml-syscall.c (syscall_parse_xml): Ditto.
3909	* xml-tdesc.c (tdesc_parse_xml): Ditto.
3910
39112011-01-24  Kevin Buettner  <kevinb@redhat.com>
3912
3913	* configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
3914	with remote-mips.o added to gdb_target_obs.
3915	* Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
3916
39172011-01-24  Pedro Alves  <pedro@codesourcery.com>
3918
3919	* ada-valprint.c (val_print_packed_array_elements): Pass the
3920	correct struct value to val_print.
3921	(ada_val_print_1): Ditto.
3922
39232011-01-24  Pedro Alves  <pedro@codesourcery.com>
3924
3925	Don't lose embedded_offset in printing routines throughout.
3926
3927	* valprint.h (val_print_array_elements): Change prototype.
3928	* valprint.c (val_print_array_elements): Add `embedded_offset'
3929	parameter, and adjust to pass it down to val_print, while passing
3930	`valaddr' or `address' unmodified.  Take embedded_offset into
3931	account when checking repetitions.
3932	* c-valprint.c (c_val_print): Pass embedded_offset to
3933	val_print_array_elements instead of adjusting `valaddr' and
3934	`address'.
3935	* m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
3936	embedded_offset to val_print_array_elements instead of adjusting
3937	`valaddr'.
3938	* p-lang.h (pascal_object_print_value_fields): Adjust prototype.
3939	* p-valprint.c (pascal_val_print): Pass embedded_offset to
3940	val_print_array_elements and pascal_object_print_value_fields
3941	instead of adjusting `valaddr'.
3942	(pascal_object_print_value_fields): Add `offset' parameter, and
3943	adjust to use it.
3944	(pascal_object_print_value): Add `offset' parameter, and adjust to
3945	use it.
3946	(pascal_object_print_static_field): Use
3947	value_contents_for_printing/value_embedded_offset, rather than
3948	value_contents.
3949	* ada-valprint.c (val_print_packed_array_elements): Add `offset'
3950	parameter, and adjust to use it.  Use
3951	value_contents_for_printing/value_embedded_offset, rather than
3952	value_contents.
3953	(ada_val_print): Rename `valaddr0' parameter to `valaddr'.
3954	(ada_val_print_array): Add `offset' parameter, and adjust to use
3955	it.
3956	(ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
3957	`embedded_offset' to `offset'.  Don't re-adjust `valaddr'.
3958	Instead work with offsets.  Use
3959	value_contents_for_printing/value_embedded_offset, rather than
3960	value_contents.  Change `defer_val_int' local type to CORE_ADDR,
3961	and use value_from_pointer to extract a target pointer, rather
3962	than value_from_longest.
3963	(print_variant_part): Add `offset' parameter.  Replace
3964	`outer_valaddr' parameter by a new `outer_offset' parameter.
3965	Don't re-adjust `valaddr'.  Instead pass down adjusted offsets.
3966	(ada_value_print): Use
3967	value_contents_for_printing/value_embedded_offset, rather than
3968	value_contents.
3969	(print_record): Add `offset' parameter, and adjust to pass it
3970	down.
3971	(print_field_values): Add `offset' parameter.  Replace
3972	`outer_valaddr' parameter by a new `outer_offset' parameter.
3973	Don't re-adjust `valaddr'.  Instead pass down adjusted offsets.
3974	Use value_contents_for_printing/value_embedded_offset, rather than
3975	value_contents.
3976	* d-valprint.c (dynamic_array_type): Use
3977	value_contents_for_printing/value_embedded_offset, rather than
3978	value_contents.
3979	* jv-valprint.c (java_print_value_fields): Add `offset' parameter.
3980	Don't re-adjust `valaddr'.  Instead pass down adjusted offsets.
3981	(java_print_value_fields): Take `offset' into account.  Don't
3982	re-adjust `valaddr'.  Instead pass down adjusted offsets.
3983	(java_val_print): Take `embedded_offset' into account.  Pass it to
3984	java_print_value_fields.
3985	* f-valprint.c (f77_print_array_1): Add `embedded_offset'
3986	parameter.  Don't re-adjust `valaddr' or `address'.  Instead pass
3987	down adjusted offsets.
3988	(f77_print_array): Add `embedded_offset' parameter.  Pass it down.
3989	(f_val_print): Take `embedded_offset' into account.
3990
39912011-01-21  Joel Brobecker  <brobecker@adacore.com>
3992
3993	* inflow.c: Include "gdbcmd.h".
3994	(interactive_mode): New static global, moved here from top.c.
3995	(show_interactive_mode): New function, moved here from top.c.
3996	use gdb_has_a_terminal instead of input_from_terminal_p to
3997	determine the current mode.
3998	(gdb_has_a_terminal): Add handling of the "iteractive-mode"
3999	setting.
4000	(_initialize_inflow): Add the "set/show interactive-mode"
4001	commands.  Moved here from top.c, after having adjusted slightly
4002	the help text.
4003	* top.c (interactive_mode, show_interactive_mode): Delete, moved
4004	to inflow.c.
4005	(input_from_terminal_p): Remove handling of "interactive-mode"
4006	setting, moved to infow.c.
4007	(init_main): Remove creation of the "set/show interactive-mode"
4008	commands, moved to inflow.c.
4009
40102011-01-19  Joel Brobecker  <brobecker@adacore.com>
4011
4012	* NEWS: Add entry for native ia64-hpux support.
4013
40142011-01-19  Tom Tromey  <tromey@redhat.com>
4015
4016	PR mi/8618:
4017	* thread.c (free_thread): Free 'name'.
4018	(print_thread_info): Emit thread name.  Change CLI output.
4019	(thread_name_command): New function.
4020	(do_captured_thread_select): Emit newline.
4021	(_initialize_thread): Register 'thread name' command.
4022	* target.h (struct target_ops) <to_thread_name>: New field.
4023	(target_thread_name): New macro.
4024	* target.c (update_current_target): Handle to_thread_name.
4025	* python/py-infthread.c (thpy_get_name): New function.
4026	(thpy_set_name): Likewise.
4027	(thread_object_getset): Add "name".
4028	* linux-nat.c (linux_nat_thread_name): New function.
4029	(linux_nat_add_target): Set to_thread_name.
4030	* gdbthread.h (struct thread_info) <name>: New field.
4031
40322011-01-18  Joel Brobecker  <brobecker@adacore.com>
4033
4034	* ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
4035	(ada_val_print_1): Likewise.
4036
40372011-01-18  Joel Brobecker  <brobecker@adacore.com>
4038
4039	* rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
4040	upper limit address is not greater than the function end address
4041	when the upper limit could not be computed using the debugging
4042	info.
4043
40442011-01-17  Tom Tromey  <tromey@redhat.com>
4045
4046	* cli/cli-cmds.c (apropos_command): Free the compiled regex.  Use
4047	get_regcomp_error.
4048	* utils.c: Include gdb_regex.h.
4049	(do_regfree_cleanup): New function.
4050	(make_regfree_cleanup): Likewise.
4051	(get_regcomp_error): Likewise.
4052	* gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
4053
40542011-01-17  Tom Tromey  <tromey@redhat.com>
4055
4056	* cli/cli-cmds.c (apropos_command): Fix formatting.  Don't call
4057	re_compile_fastmap.
4058
40592011-01-17  Pierre Muller  <muller@ics.u-strasbg.fr>
4060
4061	* p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
4062	for internal variables.
4063	(last_was_structop): New static variable.
4064	(COMPLETE): New token.
4065	(field_exp): New rule to group all '.' suffix handling.
4066	Add mark_struct_expression calls when approriate to be able
4067	to correctly find fields for completion.
4068	(yylex): Adapt to handle field completion and set INTVAR when
4069	required.
4070
40712011-01-14  Yao Qi  <yao@codesourcery.com>
4072
4073	* arm-tdep.c (arm_register_reggroup_p): FPS register is in
4074	save_reggroup, restore_reggroup and all_reggroup.
4075
40762011-01-14  Joel Brobecker  <brobecker@adacore.com>
4077
4078	* ada-valprint. (ada_printchar): Use the correct type length
4079	in call to ada_emit_char.
4080	* c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
4081
40822011-01-14  Pierre Muller  <muller@ics.u-strasbg.fr>
4083
4084	* solib-som.h (hpux_major_release): Declare variable here.
4085	* solib-som.c:  Remove <sys/utsname.h> header.
4086	(DEFAULT_HPUX_MAJOR_RELEASE): New macro.
4087	(hpux_major_release): Make global, change default value to
4088	DEFAULT_HPUX_MAJOR_RELEASE.
4089	(get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
4090	* hppa-hpux-nat.c: Add <sys/utsname.h> include.
4091	Add "solib-som.h" header.
4092	(set_hpux_major_release): New function.
4093	(_initialize_hppa_hpux_nat): Call set_hpux_major_release.
4094
40952011-01-14  Mike Frysinger  <vapier@gentoo.org>
4096
4097	* configure.tgt (*-*-uclinux*): Match more Linux os targets
4098
40992011-01-14  Joel Brobecker  <brobecker@adacore.com>
4100
4101	* ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
4102	new-line at end of warning message.
4103	(ia64_hpux_store_register): Remove trailing new-line at end of
4104	error message.
4105	* ia64-hpux-tdep.c: Rephrase comment.
4106	* solib-ia64-hpux.c (struct dld_info): Change type of field
4107	dld_flags from "long long" to ULONGEST.
4108
41092011-01-14  Pedro Alves  <pedro@codesourcery.com>
4110
4111	* target.h (deprecated_child_ops): Delete declaration.
4112	* target.c (deprecated_child_ops): Delete definition.
4113
41142011-01-14  Pedro Alves  <pedro@codesourcery.com>
4115
4116	* Makefile.in (hpux-thread.o): Delete rule.
4117	* configure.ac: Don't check for HPUX DCE threads support.
4118	* configure, config.in: Regenerate.
4119	* hppa-hpux-nat.c (child_suppress_run): Delete.
4120	(hppa_hpux_child_can_run): Delete.
4121	(_initialize_hppa_hpux_nat): Don't override to_can_run.
4122	* hpux-thread.c: Delete.
4123
41242011-01-13  Joel Brobecker  <brobecker@adacore.com>
4125
4126	* hpux-thread.c (hpux_pid_to_str): Delete.
4127
41282011-01-13  Joel Brobecker  <brobecker@adacore.com>
4129
4130	* ada-valprint.c (ada_emit_char): Remove strange code.
4131	Check that c is <= UCHAR_MAX before passing it to isascii.
4132	(char_at): Do not assume that TYPE_LEN is either 1 or 2.
4133
41342011-01-13  Joel Brobecker  <brobecker@adacore.com>
4135
4136	* top.c (input_from_terminal_p): Restrict the use of interactive_mode
4137	to the case where instream is stdin.
4138
41392011-01-13  Joel Brobecker  <brobecker@adacore.com>
4140
4141	* ia64-tdep.h (struct regcache): Forward declare.
4142	(struct ia64_infcall_ops): New struct type.
4143	(struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
4144	and "infcall_ops".
4145	* ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
4146	Renames ia64_find_global_pointer.
4147	(ia64_find_global_pointer, ia64_allocate_new_rse_frame)
4148	(ia64_store_argument_in_slot, ia64_set_function_addr: New function.
4149	(ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
4150	methods.
4151	(ia64_infcall_ops): New static global constant.
4152	(ia64_gdbarch_init): Set tdep->infcall_ops.
4153	* ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
4154	(ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
4155	* ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
4156	(ia64_hpux_dummy_code): New static global constant.
4157	(ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
4158	(ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
4159	(ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
4160	New function.
4161	(ia64_hpux_infcall_ops): New static global constant.
4162	(ia64_hpux_init_abi): Install gdbarch and tdep methods needed
4163	for inferior function calls to work properly on ia64-hpux.
4164
41652011-01-13  Joel Brobecker  <brobecker@adacore.com>
4166
4167	* target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
4168	* ia64-tdep.h (struct frame_info): forward declaration.
4169	(struct gdbarch_tdep): Add field size_of_register_frame.
4170	* ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
4171	to determine the size of the register frame.
4172	(ia64_size_of_register_frame): New function.
4173	(ia64_gdbarch_init): Set tdep->size_of_register_frame.
4174	* ia64-hpux-tdep.c: Include "target.h" and "frame.h".
4175	(IA64_HPUX_UREG_REASON): New macro.
4176	(ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
4177	New functions.
4178	(ia64_hpux_init_abi): Set tdep->size_of_register_frame.
4179	* ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
4180	(ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
4181	objects.
4182
41832011-01-13  Joel Brobecker  <brobecker@adacore.com>
4184
4185	Add support for ia64-hpux.
4186	* config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
4187	ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
4188
4189	* configure.host: Add handling for ia64-hpux hosts.  Add associated
4190	floatformats.
4191	* configure.tgt: Add handling for ia64-hpux targets.
4192	* Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
4193	(HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
4194	(ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
4195
41962011-01-13  Joel Brobecker  <brobecker@adacore.com>
4197
4198	[ttrace] Compute thread list immediately after attach.
4199	* inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
4200	New subprogram.
4201	(inf_ttrace_attach): Use it.
4202
42032011-01-13  Joel Brobecker  <brobecker@adacore.com>
4204
4205	* libunwind-frame.c (libunwind_frame_cache): Do not return NULL
4206	if we could not determine the frame's function address.  Instead,
4207	use the frame's PC, and then continue.
4208
42092011-01-13  Joel Brobecker  <brobecker@adacore.com>
4210
4211	* libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
4212	not already defined.
4213
42142011-01-13  Joel Brobecker  <brobecker@adacore.com>
4215
4216	* ia64-tdep.c (ia64_struct_type_p): New function.
4217	(ia64_extract_return_value): Handle integral values that are
4218	less than 8 bytes long.
4219	(ia64_push_dummy_call): Likewise.
4220
42212011-01-13  Joel Brobecker  <brobecker@adacore.com>
4222
4223	* ia64-tdep.c (floatformat_ia64_ext_little): Renames
4224	floatformat_ia64_ext.
4225	(floatformat_ia64_ext_big): New static const.
4226	(floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
4227
42282011-01-12  Tom Tromey  <tromey@redhat.com>
4229
4230	* mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
4231	messages.
4232	* mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
4233	(mi_cmd_thread_list_ids): Likewise.
4234	(mi_cmd_data_list_changed_registers): Likewise.
4235	(mi_cmd_data_list_register_values): Likewise.
4236	(mi_cmd_data_write_register_values): Likewise.
4237	(mi_cmd_data_evaluate_expression): Likewise.
4238	(mi_cmd_data_read_memory): Likewise.
4239	(mi_cmd_data_read_memory_bytes): Likewise.
4240	(mi_cmd_data_write_memory): Likewise.
4241	(mi_cmd_enable_timings): Likewise.
4242	* mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
4243	* mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
4244	(mi_cmd_var_delete): Likewise.
4245	(mi_cmd_var_set_format): Likewise.
4246	(mi_cmd_var_show_format): Likewise.
4247	(mi_cmd_var_info_num_children): Likewise.
4248	(mi_cmd_var_list_children): Likewise.
4249	(mi_cmd_var_info_type): Likewise.
4250	(mi_cmd_var_info_expression): Likewise.
4251	(mi_cmd_var_show_attributes): Likewise.
4252	(mi_cmd_var_assign): Likewise.
4253	(mi_cmd_var_update): Likewise.
4254	(mi_cmd_enable_pretty_printing): Likewise.
4255	(mi_cmd_var_set_update_range): Likewise.
4256	* mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
4257	messages.
4258	(mi_cmd_target_file_put): Likewise.
4259	(mi_cmd_target_file_delete): Likewise.
4260	* mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
4261	messages.
4262	(mi_cmd_stack_info_depth): Likewise.
4263	(mi_cmd_stack_list_locals): Likewise.
4264	(mi_cmd_stack_list_args): Likewise.
4265	(mi_cmd_stack_select_frame): Likewise.
4266	(mi_cmd_stack_select_frame): Likewise.
4267	(mi_cmd_stack_info_frame): Likewise.
4268	* mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
4269	messages.
4270	(mi_cmd_file_list_exec_source_files): Likewise.
4271	* mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
4272	(mi_cmd_env_cd): Likewise.
4273	(mi_cmd_env_path): Likewise.
4274	(mi_cmd_env_dir): Likewise.
4275	(mi_cmd_inferior_tty_show): Likewise.
4276	* mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
4277	* mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
4278	(mi_cmd_break_watch): Likewise.
4279
42802011-01-12  Thiago Jung Bauermann  <bauerman@br.ibm.com>
4281
4282	* ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
4283	(ppc_linux_insert_hw_breakpoint): Likewise.
4284	(ppc_linux_remove_hw_breakpoint): Likewise.
4285	(ppc_linux_insert_watchpoint): Likewise.
4286
42872011-01-12  Andrew Burgess  <aburgess@broadcom.com>
4288	    Jan Kratochvil  <jan.kratochvil@redhat.com>
4289
4290	PR fortran/11104 and DWARF unbound arrays detection.
4291	* dwarf2read.c (read_subrange_type): Set zero length on unspecified
4292	upper bound.  Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
4293	unspecified upper bound.
4294	* eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
4295	variables array_size_array, tmp_type and offset_item.  New variable
4296	array.  Remove call to f77_get_upperbound.  New variables array_type
4297	and index.  Call value_subscripted_rvalue for each dimenasion.  Remove
4298	the final call to deprecated_set_value_type.
4299
43002011-01-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
4301
4302	Make value allocations more lazy.
4303	* ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
4304	instead of allocate_value and set_value_lazy when possible.
4305	* dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
4306	instead of allocate_value and set_value_lazy.
4307	* findvar.c (value_of_register_lazy): Likewise.
4308	(read_var_value): Remove V preallocation, call just check_typedef in
4309	advance.  Move allocate_value to LOC_CONST, LOC_LABEL,
4310	LOC_CONST_BYTES.  Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
4311	LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK.  Set ADDR instead of
4312	set_value_address and break in LOC_BLOCK.  Use allocate_value_lazy and
4313	remove lval_memory set in LOC_REGPARM_ADDR.  Use allocate_value_lazy
4314	in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT.  Add setting lval_memory at
4315	the end, remove set_value_lazy there.
4316	* valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
4317	instead of allocate_value and set_value_lazy when possible.
4318	* valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
4319	* value.c (allocate_computed_value): Use allocate_value_lazy instead
4320	of allocate_value and set_value_lazy.
4321	(value_from_contents_and_address): Use allocate_value_lazy instead of
4322	allocate_value and set_value_lazy when possible.
4323
43242011-01-12  Andrew Burgess  <aburgess@broadcom.com>
4325
4326	* disasm.c (dump_insns): Support dumping opcodes for MI.
4327	* mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
4328	dumping of instruction opcodes.
4329
43302011-01-09  Robert Millan  <rmh@gnu.org>  (tiny patch)
4331
4332	* configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
4333	appropiately.
4334
43352011-01-11  Tom Tromey  <tromey@redhat.com>
4336
4337	* thread.c (do_captured_thread_select): Emit newline before
4338	printing frame.
4339
43402011-01-11  Michael Snyder  <msnyder@vmware.com>
4341
4342	* s390-tdep.c: Comment cleanup, mostly periods and spaces.
4343	* score-tdep.c: Ditto.
4344	* score-tdep.h: Ditto.
4345	* ser-base.c: Ditto.
4346	* ser-go32.c: Ditto.
4347	* serial.c: Ditto.
4348	* serial.h: Ditto.
4349	* ser-mingw.c: Ditto.
4350	* ser-pipe.c: Ditto.
4351	* ser-tcp.c: Ditto.
4352	* ser-unix.c: Ditto.
4353	* sh64-tdep.c: Ditto.
4354	* shnbsd-nat.c: Ditto.
4355	* sh-tdep.c: Ditto.
4356	* sh-tdep.h: Ditto.
4357	* solib.c: Ditto.
4358	* solib-darwin.c: Ditto.
4359	* solib-frv.c: Ditto.
4360	* solib.h: Ditto.
4361	* solib-irix.c: Ditto.
4362	* solib-osf.c: Ditto.
4363	* solib-pa64.c: Ditto.
4364	* solib-som.c: Ditto.
4365	* solib-spu.c: Ditto.
4366	* solib-sunos.c: Ditto.
4367	* solib-svr4.c: Ditto.
4368	* solist.h: Ditto.
4369	* sol-thread.c: Ditto.
4370	* somread.c: Ditto.
4371	* source.c: Ditto.
4372	* source.h: Ditto.
4373	* sparc64-linux-tdep.c: Ditto.
4374	* sparc64-tdep.c: Ditto.
4375	* sparc-linux-nat.c: Ditto.
4376	* sparc-linux-tdep.c: Ditto.
4377	* sparc-sol2-nat.c: Ditto.
4378	* sparc-sol2-tdep.c: Ditto.
4379	* sparc-tdep.c: Ditto.
4380	* sparc-tdep.h: Ditto.
4381	* spu-tdep.c: Ditto.
4382	* stabsread.c: Ditto.
4383	* stabsread.h: Ditto.
4384	* stack.c: Ditto.
4385	* symfile.c: Ditto.
4386	* symfile.h: Ditto.
4387	* symmisc.c: Ditto.
4388	* symtab.c: Ditto.
4389	* symtab.h: Ditto.
4390	* target.c: Ditto.
4391	* target-descriptions.c: Ditto.
4392	* target-descriptions.h: Ditto.
4393	* target.h: Ditto.
4394	* target-memory.c: Ditto.
4395	* terminal.h: Ditto.
4396	* thread.c: Ditto.
4397	* top.c: Ditto.
4398	* tracepoint.c: Ditto.
4399	* tracepoint.h: Ditto.
4400	* trad-frame.h: Ditto.
4401	* typeprint.c: Ditto.
4402
44032011-01-11  Michael Snyder  <msnyder@vmware.com>
4404
4405	* ui-file.c: Comment cleanup, mostly periods and spaces.
4406	* ui-file.h: Ditto.
4407	* ui-out.c: Ditto.
4408	* ui-out.h: Ditto.
4409	* utils.c: Ditto.
4410	* v850-tdep.c: Ditto.
4411	* valarith.c: Ditto.
4412	* valops.c: Ditto.
4413	* valprint.c: Ditto.
4414	* valprint.h: Ditto.
4415	* value.c: Ditto.
4416	* value.h: Ditto.
4417	* varobj.c: Ditto.
4418	* varobj.h: Ditto.
4419	* vax-tdep.c: Ditto.
4420	* vec.c: Ditto.
4421	* vec.h: Ditto.
4422	* version.h: Ditto.
4423	* windows-nat.c: Ditto.
4424	* windows-tdep.c: Ditto.
4425	* xcoffread.c: Ditto.
4426	* xcoffsolib.c: Ditto.
4427	* xml-support.c: Ditto.
4428	* xstormy16-tdep.c: Ditto.
4429	* xtensa-tdep.c: Ditto.
4430	* xtensa-tdep.h: Ditto.
4431
44322011-01-11  Thiago Jung Bauermann  <bauerman@br.ibm.com>
4433
4434	* breakpoint.c (resources_needed_watchpoint): Fix indentation.
4435	* gdbtypes.c (is_scalar_type_recursive): Fix formatting.
4436
44372011-01-11  Sergio Durigan Junior  <sergiodj@linux.vnet.ibm.com>
4438	    Thiago Jung Bauermann  <bauerman@br.ibm.com>
4439
4440	Implement support for PowerPC BookE ranged watchpoints.
4441	* breakpoint.h
4442	(struct breakpoint_ops) <resources_needed>: New method.
4443	Initialize to NULL in all existing breakpoint_ops instances.
4444	(struct breakpoint) <exact>: New field.
4445	(target_exact_watchpoints): Declare external global.
4446	* breakpoint.c (target_exact_watchpoints): New global flag.
4447	(update_watchpoint): Set b->type to bp_hardware_watchpoint and
4448	b->enable_state to bp_enabled before calling
4449	hw_watchpoint_used_count.
4450	(hw_watchpoint_used_count): Iterate over all bp_locations in a
4451	watchpoint.  Call breakpoint's breakpoint_ops.resources_needed
4452	if available.
4453	(insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
4454	if the watchpoint is exact.
4455	(resources_needed_watchpoint): New function.
4456	(watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
4457	(watch_command_1): Set b->exact if the user asked for an exact
4458	watchpoint and one can be set.
4459	(can_use_hardware_watchpoint): Add exact_watchpoints argument.
4460	Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
4461	the user asks for an exact watchpoint and one can be set.  Return
4462	number of needed debug registers to watch the expression.
4463	* gdbtypes.c (is_scalar_type): New function, based on
4464	valprint.c:scalar_type_p.
4465	(is_scalar_type_recursive): New function.
4466	* gdbtypes.h (is_scalar_type_recursive): Declare.
4467	* ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
4468	handle regions when ranged watchpoints are available.
4469	(create_watchpoint_request): New function.
4470	(ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
4471	create_watchpoint_request.
4472	* rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
4473	(_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
4474	`set powerpc' and `show powerpc' commands.
4475	* target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
4476	Mention documentation comment in the target macro.
4477	(target_region_ok_for_hw_watchpoint): Document return value.
4478
44792011-01-11  Thiago Jung Bauermann  <bauerman@br.ibm.com>
4480
4481	* breakpoint.c (update_watchpoint): Decide on using a software or
4482	hardware watchpoint after the bp_locations are created.
4483
44842010-01-11  Thiago Jung Bauermann  <bauerman@br.ibm.com>
4485
4486	Convert hardware watchpoints to use breakpoint_ops.
4487	* breakpoint.h (breakpoint_ops) <insert>: Rename to...
4488	<insert_location>: ... this.  Return int instead of void.
4489	Accept pointer to struct bp_location instead of pointer to
4490	struct breakpoint.  Adapt all implementations.
4491	(breakpoint_ops) <remove>: Rename to...
4492	<remove_location>: ... this.  Accept pointer to struct bp_location
4493	instead of pointer to struct breakpoint.  Adapt all implementations.
4494	* breakpoint.c (insert_catchpoint): Delete function.
4495	(insert_bp_location): Call the watchpoint or catchpoint's
4496	breakpoint_ops.insert method.
4497	(remove_breakpoint_1): Call the watchpoint or catchpoint's
4498	breakpoint_ops.remove method.
4499	(insert_watchpoint, remove_watchpoint): New functions.
4500	(watchpoint_breakpoint_ops): New structure.
4501	(watch_command_1): Initialize the OPS field.
4502	* inf-child.c (inf_child_insert_fork_catchpoint)
4503	(inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
4504	(inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
4505	(inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
4506	Delete functions.
4507	(inf_child_target): Remove initialization of to_insert_fork_catchpoint,
4508	to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
4509	to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
4510	to_remove_exec_catchpoint and to_set_syscall_catchpoint.
4511	* target.c (update_current_target): Change default implementation of
4512	to_insert_fork_catchpoint, to_remove_fork_catchpoint,
4513	to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
4514	to_insert_exec_catchpoint, to_remove_exec_catchpoint and
4515	to_set_syscall_catchpoint to return_one.
4516	(debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
4517	(debug_to_insert_exec_catchpoint): Report return value.
4518	* target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
4519	(to_insert_exec_catchpoint): Change declaration to return int instead
4520	of void.
4521
45222011-01-11  Michael Snyder  <msnyder@vmware.com>
4523
4524	* arm-tdep.c: Internationalization.
4525	* c-lang.c: Ditto.
4526	* charset.c: Ditto.
4527	* fork-child.c: Ditto.
4528	* nto-procfs.c: Ditto.
4529	* ppc-sysv-tdep.c: Ditto.
4530	* procfs.c: Ditto.
4531	* remote-mips.c: Ditto.
4532	* remote.c: Ditto.
4533	* rs6000-nat.c: Ditto.
4534	* rs6000-tdep.c: Ditto.
4535	* target.c: Ditto.
4536	* valops.c: Ditto.
4537	* value.c: Ditto.
4538	* xml-support.c: Ditto.
4539	* mi/mi-cmd-break.c: Ditto.
4540	* mi/mi-cmd-var.c: Ditto.
4541	* mi/mi-interp.c: Ditto.
4542	* mi/mi-main.c: Ditto.
4543
45442011-01-11  Andrew Burgess  <aburgess@broadcom.com>
4545
4546	* remote-sim.c (gdbsim_store_register): Update API to
4547	sim_store_register to check more error conditions.
4548
45492011-01-10  Michael Snyder  <msnyder@vmware.com>
4550
4551	* nto-procfs.c: Comment cleanup, mostly periods and spaces.
4552	* nto-tdep.c: Ditto.
4553	* nto-tdep.h: Ditto.
4554	* objc-exp.y: Ditto.
4555	* objc-lang.c: Ditto.
4556	* objfiles.c: Ditto.
4557	* objfiles.h: Ditto.
4558	* observer.c: Ditto.
4559	* opencl-lang.c: Ditto.
4560	* osabi.c: Ditto.
4561	* parse.c: Ditto.
4562	* parser-defs.h: Ditto.
4563	* p-exp.y: Ditto.
4564	* p-lang.c: Ditto.
4565	* posix-hdep.c: Ditto.
4566	* ppcbug-rom.c: Ditto.
4567	* ppc-linux-nat.c: Ditto.
4568	* ppc-linux-tdep.c: Ditto.
4569	* ppc-linux-tdep.h: Ditto.
4570	* ppcnbsd-tdep.c: Ditto.
4571	* ppcobsd-tdep.c: Ditto.
4572	* ppcobsd-tdep.h: Ditto.
4573	* ppc-sysv-tdep.c: Ditto.
4574	* ppc-tdep.h: Ditto.
4575	* printcmd.c: Ditto.
4576	* proc-abi.c: Ditto.
4577	* proc-flags.c: Ditto.
4578	* procfs.c: Ditto.
4579	* proc-utils.h: Ditto.
4580	* progspace.h: Ditto.
4581	* prologue-value.c: Ditto.
4582	* prologue-value.h: Ditto.
4583	* psympriv.h: Ditto.
4584	* psymtab.c: Ditto.
4585	* p-typeprint.c: Ditto.
4586	* p-valprint.c: Ditto.
4587	* ravenscar-sparc-thread.c: Ditto.
4588	* ravenscar-thread.c: Ditto.
4589	* ravenscar-thread.h: Ditto.
4590	* record.c: Ditto.
4591	* regcache.c: Ditto.
4592	* regcache.h: Ditto.
4593	* remote.c: Ditto.
4594	* remote-fileio.c: Ditto.
4595	* remote-fileio.h: Ditto.
4596	* remote.h: Ditto.
4597	* remote-m32r-sdi.c: Ditto.
4598	* remote-mips.c: Ditto.
4599	* remote-sim.c: Ditto.
4600	* rs6000-aix-tdep.c: Ditto.
4601	* rs6000-nat.c: Ditto.
4602	* rs6000-tdep.c: Ditto.
4603
46042011-01-10  Michael Snyder  <msnyder@vmware.com>
4605
4606	* charset.c (validate): Internationalization.
4607	* coffread.c (read_one_sym): Ditto.
4608	* dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
4609	* h8300-tdep.c (H8300_extract_return_value): Ditto.
4610	* inflow.c (new_tty): Ditto.
4611	* iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
4612	* m32c-tdep.c (m32c_return_value): Ditto.
4613	* mep-tdep.c (mep_store_return_value): Ditto.
4614	* score-tdep.c (score7_fetch_insn): Ditto.
4615	* ser-mingw.c (pipe_windows_open): Ditto.
4616	* sh64-tdep.c (sh64_extract_return_value): Ditto.
4617	* spu-tdep.c (spu_register_type): Ditto.
4618	* tracepoint.c (trace_find_command): Ditto.
4619	* valarith.c (value_pos): Ditto.
4620
46212011-01-10  Joel Brobecker  <brobecker@adacore.com>
4622
4623	* ada-valprint.c (printstr): Minor comment reformatting.
4624
46252011-01-08  Michael Snyder  <msnyder@vmware.com>
4626
4627	* m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
4628	markup.
4629
46302011-01-08  Michael Snyder  <msnyder@vmware.com>
4631
4632	* h8300-tdep.c: Comment cleanup, mostly periods and spaces.
4633	* hppa-hpux-tdep.c: Ditto.
4634	* hppa-linux-nat.c: Ditto.
4635	* hppa-linux-tdep.c: Ditto.
4636	* hppanbsd-tdep.c: Ditto.
4637	* hppa-tdep.c: Ditto.
4638	* hppa-tdep.h: Ditto.
4639	* hpux-thread.c: Ditto.
4640	* i386-cygwin-tdep.c: Ditto.
4641	* i386-darwin-nat.c: Ditto.
4642	* i386gnu-nat.c: Ditto.
4643	* i386-linux-nat.c: Ditto.
4644	* i386-linux-tdep.c: Ditto.
4645	* i386-nat.c: Ditto.
4646	* i386-nat.h: Ditto.
4647	* i386nbsd-tdep.c: Ditto.
4648	* i386-sol2-nat.c: Ditto.
4649	* i386-stub.c: Ditto.
4650	* i386-tdep.c: Ditto.
4651	* i386-tdep.h: Ditto.
4652	* i387-tdep.c: Ditto.
4653	* ia64-linux-nat.c: Ditto.
4654	* ia64-linux-tdep.c: Ditto.
4655	* ia64-tdep.c: Ditto.
4656	* infcall.c: Ditto.
4657	* infcall.h: Ditto.
4658	* infcmd.c: Ditto.
4659	* inferior.c: Ditto.
4660	* inferior.h: Ditto.
4661	* infloop.c: Ditto.
4662	* inflow.c: Ditto.
4663	* infrun.c: Ditto.
4664	* interps.c: Ditto.
4665	* interps.h: Ditto.
4666	* iq2000-tdep.c: Ditto.
4667	* irix5-nat.c: Ditto.
4668	* jit.c: Ditto.
4669	* jit.h: Ditto.
4670	* jv-exp.y: Ditto.
4671	* jv-lang.c: Ditto.
4672	* jv-lang.h: Ditto.
4673	* jv-typeprint.c: Ditto.
4674	* jv-valprint.c: Ditto.
4675	* language.c: Ditto.
4676	* language.h: Ditto.
4677	* linespec.c: Ditto.
4678	* linux-fork.c: Ditto.
4679	* linux-nat.c: Ditto.
4680	* linux-thread-db.c: Ditto.
4681	* lm32-tdep.c: Ditto.
4682
46832011-01-08  Michael Snyder  <msnyder@vmware.com>
4684
4685	* m2-exp.y: Comment cleanup, mostly periods and spaces.
4686	* m2-lang.c: Ditto.
4687	* m2-typeprint.c: Ditto.
4688	* m2-valprint.c: Ditto.
4689	* m32c-tdep.c: Ditto.
4690	* m32r-linux-nat.c: Ditto.
4691	* m32r-rom.c: Ditto.
4692	* m32r-tdep.c: Ditto.
4693	* m32r-tdep.h: Ditto.
4694	* m68hc11-tdep.c: Ditto.
4695	* m58klinux-nat.c: Ditto.
4696	* m68k-tdep.c: Ditto.
4697	* m88k-tdep.c: Ditto.
4698	* m88k-tdep.h: Ditto.
4699	* machoread.c: Ditto.
4700	* macrocmd.c: Ditto.
4701	* macroexp.c: Ditto.
4702	* macrotab.c: Ditto.
4703	* main.c: Ditto.
4704	* maint.c: Ditto.
4705	* mdebugread.c: Ditto.
4706	* mdebugread.h: Ditto.
4707	* memattr.c: Ditto.
4708	* memattr.h: Ditto.
4709	* memory-map.h: Ditto.
4710	* mep-tdep.c: Ditto.
4711	* microblaze-rom.c: Ditto.
4712	* microblaze-tdep.c: Ditto.
4713	* minsyms.c: Ditto.
4714	* mips-irix-tdep.c: Ditto.
4715	* mips-linux-nat.c: Ditto.
4716	* mips-linux-tdep.c: Ditto.
4717	* mips-linux-tdep.h: Ditto.
4718	* mipsnbsd-nat.c: Ditto.
4719	* mipsnbsd-tdep.c: Ditto.
4720	* mipsread.c: Ditto.
4721	* mips-tdep.c: Ditto.
4722	* mips-tdep.h: Ditto.
4723	* mn10300-linux-tdep.c: Ditto.
4724	* mn10300-tdep.c: Ditto.
4725	* mn10300-tdep.h: Ditto.
4726	* monitor.c: Ditto.
4727	* monitor.h: Ditto.
4728	* moxie-tdep.c: Ditto.
4729	* moxie-tdep.h: Ditto.
4730	* mt-tdep.c: Ditto.
4731
47322011-01-08  Mike Frysinger  <vapier@gentoo.org>
4733
4734	* bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
4735
47362011-01-08  Robert Millan  <rmh@gnu.org>
4737
4738	* fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
4739
47402011-01-07  Michael Snyder  <msnyder@vmware.com>
4741
4742	* charset.c (_initialize_charset): Fix typo in string.
4743
47442011-01-07  Michael Snyder  <msnyder@vmware.com>
4745
4746	* mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
4747	for i18n.
4748	* tui/tui-layout.c (tui_set_layout_for_display_command):
4749	Split line so that operator goes to beginning of line.
4750	* tui/tui-winsource.c (tui_horizontal_source_scroll): Move
4751	assignment out of if statement.
4752
47532011-01-07  Michael Snyder  <msnyder@vmware.com>
4754
4755	* ada-lang.c: Comment cleanup, mostly periods and spaces.
4756	* ada-lang.h: Ditto.
4757	* ada-tasks.c: Ditto.
4758	* ada-valprint.c: Ditto.
4759	* aix-threads.c: Ditto.
4760	* alpha-linux-nat.c: Ditto.
4761	* alpha-linux-tdep.c: Ditto.
4762	* alpha-mdebug-tdep.c: Ditto.
4763	* alpha-nat.c: Ditto.
4764	* alpha-osf1-tdep.c: Ditto.
4765	* alpha-tdep.c: Ditto.
4766	* alphabsd-nat.c: Ditto.
4767	* alphabsd-tdep.c: Ditto.
4768	* amd64-darwin-tdep.c: Ditto.
4769	* amd64-linux-nat.c: Ditto.
4770	* amd64-linux-tdep.c: Ditto.
4771	* amd64-sol2-tdep.c: Ditto.
4772	* amd64-tdep.c: Ditto.
4773	* amd64-fbsd-tdep.c: Ditto.
4774	* amd64-nbsd-tdep.c: Ditto.
4775	* amd64-obsd-tdep.c: Ditto.
4776	* amd64-linux-nat.c: Ditto.
4777	* amd64-linux-tdep.c: Ditto.
4778	* arm-tdep.c: Ditto.
4779	* arm-tdep.h: Ditto.
4780	* armnbsd-nat.c: Ditto.
4781	* avr-tdep.c: Ditto.
4782	* bfin-tdep.c: Ditto.
4783	* bsd-kvm.c: Ditto.
4784	* c-typeprintc: Ditto.
4785	* c-valprint.c: Ditto.
4786	* coff-pe-read.h: Ditto.
4787	* coffreead.c: Ditto.
4788	* cris-tdep.c: Ditto.
4789	* d-lang.c: Ditto.
4790	* darwin-nat-info.c: Ditto.
4791	* darwin-nat.c: Ditto.
4792	* dbug-rom.c: Ditto.
4793	* dbxread.c: Ditto.
4794	* dcache.c: Ditto.
4795	* dcache.h: Ditto.
4796	* dec-thread.c: Ditto.
4797	* defs.h: Ditto.
4798	* demangle.c: Ditto.
4799	* dicos-tdep.c: Ditto.
4800	* dictionary.c: Ditto.
4801	* dictionary.h: Ditto.
4802	* dink32-rom.c: Ditto.
4803	* disasm.c: Ditto.
4804	* doublest.c: Ditto.
4805	* dsrec.c: Ditto.
4806	* dummy-frame.c: Ditto.
4807	* dwarf2-frame.c: Ditto.
4808	* dwarf2expr.c: Ditto.
4809	* dwarf2loc.c: Ditto.
4810	* dwarf2read.c: Ditto.
4811	* elfread.c: Ditto.
4812	* environ.c: Ditto.
4813	* eval.c: Ditto.
4814	* event-top.h: Ditto.
4815	* exceptions.c: Ditto.
4816	* exceptions.h: Ditto.
4817	* exec.c: Ditto.
4818	* expprint.c: Ditto.
4819	* expression.h: Ditto.
4820	* f-exp.y: Ditto.
4821	* f-lang.c: Ditto.
4822	* f-lang.h: Ditto.
4823	* f-typeprint.c: Ditto.
4824	* f-valprint.c: Ditto.
4825	* fbsd-nat.c: Ditto.
4826	* findvar.c: Ditto.
4827	* fork-child.c: Ditto.
4828	* frame.c: Ditto.
4829	* frame.h: Ditto.
4830	* frv-linux-tdep.c: Ditto.
4831	* frv-tdep.c: Ditto.
4832	* gcore.c: Ditto.
4833	* gdb-stabs.h: Ditto.
4834	* gdb_assert.h: Ditto.
4835	* gdb_string.h: Ditto.
4836	* gdb_thread_db.h: Ditto.
4837	* gdb_wait.h: Ditto.
4838	* gdbarch.sh: Ditto.
4839	* gdbcore.h: Ditto.
4840	* gdbthread.h: Ditto.
4841	* gdbtypes.c: Ditto.
4842	* gdbtypes.h: Ditto.
4843	* gnu-nat.c: Ditto.
4844	* gnu-nat.h: Ditto.
4845	* gnu-v2-abi.c: Ditto.
4846	* gnu-v3-abi.c: Ditto.
4847	* go32-nat.c: Ditto.
4848	* gdbarch.c: Regenerate.
4849	* gdbarch.h: Regenerate.
4850
48512011-01-07  Michael Snyder  <msnyder@vmware.com>
4852
4853	* ax-gdb.c: Adjust some long output strings.
4854	* breakpoint.c: Ditto.
4855	* charset.c: Ditto.
4856	* cp-abi.c: Ditto.
4857	* infcall.c: Ditto.
4858	* infrun.c: Ditto.
4859	* linux-nat.c: Ditto.
4860	* solib-pa64.c: Ditto.
4861	* solib-som.c: Ditto.
4862
48632011-01-06  Tom Tromey  <tromey@redhat.com>
4864
4865	PR python/12367:
4866	* NEWS: Add item.
4867	* python/python.c (GdbMethods): Add "newest_frame" method.
4868	* python/python-internal.h (gdbpy_newest_frame): Declare.
4869	* python/py-frame.c (gdbpy_newest_frame): New function.
4870
48712010-01-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4872
4873	* jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
4874	* jit.c (jit_debug): New variable.
4875	(show_jit_debug): New function.
4876	(struct target_buffer): Use ULONGEST.
4877	(bfd_open_from_target_memory): Likewise.
4878	(jit_register_code, jit_inferior_init): Add debug output.
4879	(_initialize_jit): Register "debug jit" command.
4880
48812011-01-06  Tom Tromey  <tromey@redhat.com>
4882
4883	* frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
4884	* python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
4885	and ARCH_FRAME.
4886
48872011-01-06  Tom Tromey  <tromey@redhat.com>
4888
4889	* python/py-frame.c (frapy_block): Use get_frame_block.
4890
48912011-01-06  Joel Brobecker  <brobecker@adacore.com>
4892
4893	Do not stop on SIGPRIO signals by default
4894	* infrun.c (_initialize_infrun): Unset signal_stop and
4895	signal_print for TARGET_SIGNAL_PRIO.
4896
48972011-01-06  Joel Brobecker  <brobecker@adacore.com>
4898
4899	* ada-tasks.c: Fix style violation in comment.
4900
49012011-01-06  Joel Brobecker  <brobecker@adacore.com>
4902
4903	* linespec.c (decode_compound, find_method): Remove trailing \n
4904	at end of error string.
4905	* solib-irix.c (irix_current_sos): Likewise.
4906	* varobj.c (uninstall_variable): Likewise.
4907
49082011-01-06  Joel Brobecker  <brobecker@adacore.com>
4909
4910	* copyright.py: New script.
4911	* copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
4912	Launch emacs without exec'ing. Call copyright.py afterwards.
4913
49142011-01-05  Michael Snyder  <msnyder@vmware.com>
4915
4916	* addrmap.c: Shorten lines of >= 80 columns.
4917	* arch-utils.c: Ditto.
4918	* arch-utils.h: Ditto.
4919	* ax-gdb.c: Ditto.
4920	* ax-general.c: Ditto.
4921	* bcache.c: Ditto.
4922	* blockframe.c: Ditto.
4923	* breakpoint.c: Ditto.
4924	* buildsym.c: Ditto.
4925	* c-lang.c: Ditto.
4926	* c-typeprint.c: Ditto.
4927	* charset.c: Ditto.
4928	* coffread.c: Ditto.
4929	* command.h: Ditto.
4930	* corelow.c: Ditto.
4931	* cp-abi.c: Ditto.
4932	* cp-namespace.c: Ditto.
4933	* cp-support.c: Ditto.
4934	* dbug-rom.c: Ditto.
4935	* dbxread.c: Ditto.
4936	* defs.h: Ditto.
4937	* dfp.c: Ditto.
4938	* dfp.h: Ditto.
4939	* dictionary.c: Ditto.
4940	* disasm.c: Ditto.
4941	* doublest.c: Ditto.
4942	* dwarf2-frame.c: Ditto.
4943	* dwarf2expr.c: Ditto.
4944	* dwarf2loc.c: Ditto.
4945	* dwarf2read.c: Ditto.
4946	* elfread.c: Ditto.
4947	* eval.c: Ditto.
4948	* event-loop.c: Ditto.
4949	* event-loop.h: Ditto.
4950	* exceptions.h: Ditto.
4951	* exec.c: Ditto.
4952	* expprint.c: Ditto.
4953	* expression.h: Ditto.
4954	* f-lang.c: Ditto.
4955	* f-valprint.c: Ditto.
4956	* findcmd.c: Ditto.
4957	* frame-base.c: Ditto.
4958	* frame-unwind.c: Ditto.
4959	* frame-unwind.h: Ditto.
4960	* frame.c: Ditto.
4961	* frame.h: Ditto.
4962	* gcore.c: Ditto.
4963	* gdb-stabs.h: Ditto.
4964	* gdb_assert.h: Ditto.
4965	* gdb_dirent.h: Ditto.
4966	* gdb_obstack.h: Ditto.
4967	* gdbcore.h: Ditto.
4968	* gdbtypes.c: Ditto.
4969	* gdbtypes.h: Ditto.
4970	* inf-ttrace.c: Ditto.
4971	* infcall.c: Ditto.
4972	* infcmd.c: Ditto.
4973	* inflow.c: Ditto.
4974	* infrun.c: Ditto.
4975	* inline-frame.h: Ditto.
4976	* language.c: Ditto.
4977	* language.h: Ditto.
4978	* libunwind-frame.c: Ditto.
4979	* libunwind-frame.h: Ditto.
4980	* linespec.c: Ditto.
4981	* linux-nat.c: Ditto.
4982	* linux-nat.h: Ditto.
4983	* linux-thread-db.c: Ditto.
4984	* machoread.c: Ditto.
4985	* macroexp.c: Ditto.
4986	* macrotab.c: Ditto.
4987	* main.c: Ditto.
4988	* maint.c: Ditto.
4989	* mdebugread.c: Ditto.
4990	* memattr.c: Ditto.
4991	* minsyms.c: Ditto.
4992	* monitor.c: Ditto.
4993	* monitor.h: Ditto.
4994	* objfiles.c: Ditto.
4995	* objfiles.h: Ditto.
4996	* osabi.c: Ditto.
4997	* p-typeprint.c: Ditto.
4998	* p-valprint.c: Ditto.
4999	* parse.c: Ditto.
5000	* printcmd.c: Ditto.
5001	* proc-events.c: Ditto.
5002	* procfs.c: Ditto.
5003	* progspace.c: Ditto.
5004	* progspace.h: Ditto.
5005	* psympriv.h: Ditto.
5006	* psymtab.c: Ditto.
5007	* record.c: Ditto.
5008	* regcache.c: Ditto.
5009	* regcache.h: Ditto.
5010	* remote-fileio.c: Ditto.
5011	* remote.c: Ditto.
5012	* ser-mingw.c: Ditto.
5013	* ser-tcp.c: Ditto.
5014	* ser-unix.c: Ditto.
5015	* serial.c: Ditto.
5016	* serial.h: Ditto.
5017	* solib-frv.c: Ditto.
5018	* solib-irix.c: Ditto.
5019	* solib-osf.c: Ditto.
5020	* solib-pa64.c: Ditto.
5021	* solib-som.c: Ditto.
5022	* solib-sunos.c: Ditto.
5023	* solib-svr4.c: Ditto.
5024	* solib-target.c: Ditto.
5025	* solib.c: Ditto.
5026	* somread.c: Ditto.
5027	* source.c: Ditto.
5028	* stabsread.c: Ditto.
5029	* stabsread.c: Ditto.
5030	* stack.c: Ditto.
5031	* stack.h: Ditto.
5032	* symfile-mem.c: Ditto.
5033	* symfile.c: Ditto.
5034	* symfile.h: Ditto.
5035	* symmisc.c: Ditto.
5036	* symtab.c: Ditto.
5037	* symtab.h: Ditto.
5038	* target-descriptions.c: Ditto.
5039	* target-memory.c: Ditto.
5040	* target.c: Ditto.
5041	* target.h: Ditto.
5042	* terminal.h: Ditto.
5043	* thread.c: Ditto.
5044	* top.c: Ditto.
5045	* tracepoint.c: Ditto.
5046	* tracepoint.h: Ditto.
5047	* ui-file.c: Ditto.
5048	* ui-file.h: Ditto.
5049	* ui-out.h: Ditto.
5050	* user-regs.c: Ditto.
5051	* user-regs.h: Ditto.
5052	* utils.c: Ditto.
5053	* valarith.c: Ditto.
5054	* valops.c: Ditto.
5055	* valprint.c: Ditto.
5056	* valprint.h: Ditto.
5057	* value.c: Ditto.
5058	* varobj.c: Ditto.
5059	* varobj.h: Ditto.
5060	* vec.h: Ditto.
5061	* xcoffread.c: Ditto.
5062	* xcoffsolib.c: Ditto.
5063	* xcoffsolib.h: Ditto.
5064	* xml-syscall.c: Ditto.
5065	* xml-tdesc.c: Ditto.
5066
50672011-01-05  Michael Snyder  <msnyder@vmware.com>
5068
5069	* cli/cli-cmds.c: Shorten lines of >= 80 columns.
5070	* cli/cli-decode.c: Ditto.
5071	* cli/cli-dump.c: Ditto.
5072	* cli/cli-logging.c: Ditto.
5073	* cli/cli-script.c: Ditto.
5074	* cli/cli-setshow.c: Ditto.
5075	* common/signals.c: Ditto.
5076	* mi/mi-cmd-break.c: Ditto.
5077	* mi/mi-cmd-disas.c: Ditto.
5078	* mi/mi-cmd-stack.c: Ditto.
5079	* mi/mi-cmd-var.c: Ditto.
5080	* mi/mi-cmds.c: Ditto.
5081	* mi/mi-common.h: Ditto.
5082	* mi/mi-console.c: Ditto.
5083	* mi/mi-interp.c: Ditto.
5084	* mi/mi-main.c: Ditto.
5085	* osf-share/cma_attr.c: Ditto.
5086	* osf-share/cma_deb_core.h: Ditto.
5087	* osf-share/cma_debug_client.h: Ditto.
5088	* osf-share/cma_handle.h: Ditto.
5089	* osf-share/cma_mutex.h: Ditto.
5090	* osf-share/cma_stack_int.h: Ditto.
5091	* osf-share/cma_tcb_defs.h: Ditto.
5092	* python/py-auto-load.c: Ditto.
5093	* python/py-breakpoint.c: Ditto.
5094	* python/py-cmd.c: Ditto.
5095	* python/py-frame.c: Ditto.
5096	* python/py-objfile.c: Ditto.
5097	* python/py-param.c: Ditto.
5098	* python/py-progspace.c: Ditto.
5099	* python/py-symbol.c: Ditto.
5100	* python/py-value.c: Ditto.
5101	* python/python-internal.h: Ditto.
5102	* python/python.c: Ditto.
5103	* tui/tui-data.c: Ditto.
5104	* tui/tui-disasm.c: Ditto.
5105	* tui/tui-hooks.c: Ditto.
5106	* tui/tui-io.c: Ditto.
5107	* tui/tui-layout.c: Ditto.
5108	* tui/tui-regs.c: Ditto.
5109	* tui/tui-source.c: Ditto.
5110	* tui/tui-stack.c: Ditto.
5111	* tui/tui-win.c: Ditto.
5112	* tui/tui-windata.c: Ditto.
5113	* tui/tui-winsource.c: Ditto.
5114
51152011-01-05  Joel Brobecker  <brobecker@adacore.com>
5116
5117	* configure.ac, gdb.1: Copyright year update.
5118
51192011-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
5120
5121	* frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
5122	this_pc_in_block, morestack_msym and morestack_name.  Check for
5123	"__morestack" minimal symbol there.
5124
51252011-01-03  Joel Brobecker  <brobecker@adacore.com>
5126
5127	* symfile.c (find_sym_fns): Add call to dont_repeat.
5128
51292011-01-01  Joel Brobecker  <brobecker@adacore.com>
5130
5131	Copyright year update in most files (performed by copyright.sh).
5132
51332011-01-01  Joel Brobecker  <brobecker@adacore.com>
5134
5135	* top.c (print_gdb_version): Update copyright year in version output.
5136
5137For older changes see ChangeLog-2010.
5138
5139Local Variables:
5140mode: change-log
5141left-margin: 8
5142fill-column: 74
5143version-control: never
5144coding: utf-8
5145End:
5146