Commit | Line | Data |
---|---|---|
7f6a5dde TT |
1 | 2013-02-28 Tom Tromey <tromey@redhat.com> |
2 | ||
3 | * python/python.c (gdbpy_print_stack): Call begin_line and | |
4 | fprintf_filtered inside TRY_CATCH. | |
5 | ||
9e974e55 TT |
6 | 2013-02-28 Tom Tromey <tromey@redhat.com> |
7 | ||
8 | * python/python.c (gdbpy_find_pc_line): Call find_pc_line | |
9 | inside TRY_CATCH. | |
10 | ||
dd5fa3e7 TT |
11 | 2013-02-28 Tom Tromey <tromey@redhat.com> |
12 | ||
13 | * py-finishbreakpoint.c (bpfinishpy_init): Reorganize to call | |
14 | frame_object_to_frame_info inside TRY_CATCH. | |
15 | ||
86a3263f TT |
16 | 2013-02-28 Tom Tromey <tromey@redhat.com> |
17 | ||
18 | * py-block.c (gdbpy_block_for_pc): Call block_for_pc inside | |
19 | TRY_CATCH. | |
20 | ||
81b52a3a TT |
21 | 2013-02-28 Tom Tromey <tromey@redhat.com> |
22 | ||
23 | * objfiles.h (ALL_PSPACE_OBJFILES): Remove trailing backlash. | |
24 | ||
d50a0ce2 CV |
25 | 2013-02-27 Corinna Vinschen <vinschen@redhat.com> |
26 | ||
27 | * windows-nat.c: Throughout, fix format strings and casts of | |
28 | printf-like functions to avoid type related warnings on all | |
29 | platforms. | |
30 | (handle_output_debug_string): Fetch context information address | |
31 | from debug string using string_to_core_addr. | |
32 | ||
e1f58301 JW |
33 | 2013-02-27 Jiong Wang <jiwang@tilera.com> |
34 | ||
35 | * regformats/reg-tilegx.dat (name): Change abi name to "tilegx". | |
36 | * regformats/reg-tilegx32.dat: New. | |
37 | ||
4fcd89fc JW |
38 | 2013-02-27 Jiong Wang <jiwang@tilera.com> |
39 | ||
40 | * configure.tgt (tilegx-*-linux*): Enable gdbserver. | |
41 | ||
748d24e6 JW |
42 | 2013-02-27 Jiong Wang <jiwang@tilera.com> |
43 | ||
44 | * configure.tgt (tilegx-*-linux*): Replace whitespace with tab. | |
45 | ||
6c8e944d YQ |
46 | 2013-02-27 Yao Qi <yao@codesourcery.com> |
47 | Pedro Alves <palves@redhat.com> | |
48 | ||
49 | * tracepoint.c (tfile_trace_find): For tfind | |
50 | pc/tp/range/outside, look for the next trace frame instead of | |
51 | always starting from frame 0. | |
52 | ||
acd7db30 AG |
53 | 2013-02-26 Anthony Green <green@moxielogic.com> |
54 | ||
55 | * configure.tgt: Add support for moxie-*-rtems* target. | |
56 | ||
025e6dce PA |
57 | 2013-02-25 Pedro Alves <palves@redhat.com> |
58 | ||
59 | * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Change | |
60 | warning text. | |
61 | ||
ca9c94ef MR |
62 | 2013-02-24 Maciej W. Rozycki <macro@codesourcery.com> |
63 | ||
64 | * mips-tdep.c (mips32_scan_prologue): Reset frame_offset to zero | |
65 | if $fp is used as the virtual frame pointer. | |
66 | ||
24c274a1 AM |
67 | 2013-02-23 Alan Modra <amodra@gmail.com> |
68 | ||
69 | * elfread.c (elf_symtab_read): Do not use udata.p here to find | |
70 | symbol size. | |
71 | * ppc64-tdep.c (ppc64_elf_make_msymbol_special): New function. | |
72 | * ppc64-tdep.h (ppc64_elf_make_msymbol_special): Declare. | |
73 | * ppc-linux-tdep.c (ppc_linux_init_abi): Set up to use the above. | |
74 | * ppcfbsd-tdep.c (ppcfbsd_init_abi): Likewise. | |
75 | ||
bfada189 JK |
76 | 2013-02-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
77 | ||
78 | Code cleanup. | |
79 | * elfread.c (build_id_bfd_get): Make the return type const. | |
80 | (build_id_verify): Make the check parameter const. | |
81 | (build_id_to_debug_filename): Make the build_id parameter and variable | |
82 | data const. | |
83 | (find_separate_debug_file_by_buildid): Make the variable build_id const. | |
84 | ||
c0355132 AM |
85 | 2013-02-21 Alan Modra <amodra@gmail.com> |
86 | ||
87 | * elfread.c (build_id_bfd_get): Adjust for elf_tdata changes. | |
88 | ||
9f44fbc0 SCR |
89 | 2013-02-20 Siva Chandra Reddy <sivachandra@google.com> |
90 | ||
91 | Add a new method 'disassemble' to gdb.Architecture class. | |
92 | * python/py-arch.c (archpy_disassmble): Implementation of the | |
93 | new method gdb.Architecture.disassemble. | |
94 | (arch_object_methods): Add entry for the new method. | |
95 | ||
b74ea3eb JW |
96 | 2013-02-20 Jiong Wang <jiwang@tilera.com> |
97 | ||
98 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
99 | ||
61a672f1 PA |
100 | 2013-02-19 Pedro Alves <palves@redhat.com> |
101 | ||
102 | Garbage collect 'struct monitor_ops'::load_routine. | |
103 | ||
104 | * monitor.h (struct monitor_ops) <load_routine>: Remove field. | |
105 | * monitor.c (monitor_load): No longer call | |
106 | current_monitor->load_routine. | |
107 | * dbug-rom.c (init_dbug_cmds): Don't set 'load_routine'. | |
108 | * m32r-rom.c (init_m32r_cmds): Don't set 'load_routine'. | |
109 | * ppcbug-rom.c (init_ppc_cmds): Don't set 'load_routine'. | |
110 | ||
40e397df PA |
111 | 2013-02-19 Pedro Alves <palves@redhat.com> |
112 | ||
113 | PR gdb/15161 | |
114 | ||
115 | Harmonize with generic_load. | |
116 | ||
117 | * monitor.c: Include "readline/readline.h". | |
118 | (monitor_load): Rename parameter 'file' to 'args'. Use build_argv | |
119 | instead of sscanf. Use CORE_ADDR/strtoulst instead of unsigned | |
120 | long/strtol for the 'load_offset' local. Error out if no argument | |
121 | is given or if too many arguments are given. Tilde expand the | |
122 | passed in file name. | |
123 | ||
f698ca8e KT |
124 | 2013-02-19 Kai Tietz <ktietz@redhat.com> |
125 | ||
126 | PR gdb/15161 | |
127 | * symfile.c (load_section_data): Change type of load_offset | |
128 | to CORE_ADDR. | |
129 | (generic_load): User strtoulst instead of strtoul for conversion | |
130 | of load_offset. | |
131 | ||
3361b059 WL |
132 | 2013-02-19 Jiong Wang <jiwang@tilera.com> |
133 | ||
134 | * tilegx-tdep.c (tilegx_analyze_prologue): add check for | |
135 | for return address, "lr" register, saved on stack. | |
136 | * tilegx-tdep.c (tilegx_frame_cache): update "PC" reg | |
137 | after we invoke tilegx_analyze_prologue. | |
138 | ||
3e9d5130 WL |
139 | 2013-02-19 Jiong Wang <jiwang@tilera.com> |
140 | ||
bb1bcd86 WL |
141 | * tilegx-tdep.c (itilegx_gdbarch_init): char type should be signed. |
142 | ||
3361b059 | 143 | 2013-02-19 Jiong Wang <jiwang@tilera.com> |
bb1bcd86 | 144 | |
b74ea3eb | 145 | * tilegx-tdep.c (tilegx_skip_prologue): Use skip_prologue_using_sal. |
3e9d5130 | 146 | |
4aaf2503 WL |
147 | 2013-02-19 Jiong Wang <jiwang@tilera.com> |
148 | ||
b74ea3eb | 149 | * tilegx-tdep.c (INT_SWINT_1_SIGRETURN): New macro. |
4aaf2503 WL |
150 | (tilegx_write_pc): New function. |
151 | (tilegx_cannot_reference_register): Return zero if REGNO | |
152 | is TILEGX_FAULTNUM_REGNUM. | |
153 | (tilegx_gdbarch_init): Add call to set_gdbarch_write_pc. | |
154 | (tilegx_register_name): Add handling of "faultnum" register. | |
155 | * tilegx-tdep.h (enum tilegx_regnum): Add TILEGX_FAULTNUM_REGNUM. | |
156 | * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Add | |
157 | handling of TILEGX_FAULTNUM_REGNUM. | |
158 | * tilegx-linux-nat.c (regmap): Add entry for TILEGX_FAULTNUM_REGNUM. | |
159 | ||
bc23a956 WL |
160 | 2013-02-19 Jiong Wang <jiwang@tilera.com> |
161 | ||
162 | * tilegx-tdep.c (tilegx_push_dummy_call): args pushed on stack | |
b74ea3eb | 163 | should be aligned to 64bit. |
bc23a956 | 164 | |
42f45f1a KT |
165 | 2013-02-19 Kai Tietz <ktietz@redhat.com> |
166 | ||
167 | * windows-nat.c (windows_xfer_memory): Fix debug-output | |
168 | for LLP64. | |
169 | ||
6ce4c112 LL |
170 | 2013-02-19 Lei Liu <lei.liu2@windriver.com> |
171 | ||
172 | * mips-linux-nat.c (mips64_linux_regsets_store_registers): | |
173 | Don't check DSP register number if HAVE_DSP is not set. | |
174 | ||
30e8ee25 AM |
175 | 2013-02-19 Alan Modra <amodra@gmail.com> |
176 | ||
177 | * elfread.c (struct build_id): Delete. Use struct elf_build_id | |
178 | throughout file instead. | |
179 | (build_id_bfd_get): Update to use new elf_tdata build_id field. | |
180 | Don't xmalloc return value. | |
181 | (build_id_verify): Similarly. Don't xfree. | |
182 | (build_id_to_debug_filename): Update. | |
183 | (find_separate_debug_file_by_buildid): Update, don't xfree. | |
184 | ||
4c9ad8c2 TT |
185 | 2013-02-18 Tom Tromey <tromey@redhat.com> |
186 | ||
187 | PR gdb/15102: | |
188 | * dwarf2read.c (read_subrange_type): Use result of | |
189 | 'check_typedef'. | |
190 | ||
983dc440 YQ |
191 | 2013-02-16 Yuanhui Zhang <asmwarrior@gmail.com> |
192 | ||
193 | * frame.c: Remove one extra white space after #include | |
194 | directive. | |
195 | ||
7fb2b84a JK |
196 | 2013-02-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
197 | ||
198 | * contrib/cc-with-tweaks.sh: Extend the comment for -p option. | |
199 | ||
edceb2a9 JK |
200 | 2013-02-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
201 | ||
202 | * gdb-gdb.gdb.in: Wrap set complaints, b internal_error, b info_command | |
203 | and dir commands into an if block. | |
204 | ||
e81b7af8 TT |
205 | 2013-02-15 Sanimir Agovic <sanimir.agovic@intel.com> |
206 | ||
207 | * python/py-breakpoint (struct pybp_code): Use int instead of | |
208 | enum type_code. | |
209 | ||
f5911ea1 HAQ |
210 | 2013-02-15 Pedro Alves <pedro@codesourcery.com> |
211 | Hafiz Abid Qadeer <abidh@codesourcery.com> | |
212 | ||
213 | * NEWS: Mention new field "trace-file". | |
214 | * tracepoint.c (trace_status_mi): Output "trace-file" field. | |
215 | (tfile_open): Record the trace file's filename in the trace | |
216 | status. | |
217 | (tfile_files_info): Mention the name of the trace file. | |
218 | Check the "filename" field explicitely. | |
219 | (trace_status_command): Explicitely check "filename" field. | |
220 | (trace_find_command): Ditto. | |
221 | (trace_find_pc_command): Ditto. | |
222 | (trace_find_tracepoint_command): Ditto. | |
223 | (trace_find_line_command): Ditto. | |
224 | (trace_find_range_command): Ditto. | |
225 | (trace_find_outside_command): Ditto. | |
226 | * tracepoint.h (struct trace_status) <from_file>: Rename it | |
227 | to "filename" and make it hold the trace file's filename | |
228 | instead of a boolean. | |
229 | * remote.c (remote_get_trace_status): Initialize "filename" | |
230 | field with NULL instead of 0. | |
231 | ||
796cb314 YQ |
232 | 2013-02-15 Yao Qi <yao@codesourcery.com> |
233 | ||
234 | * remote.c: Fix a typo. | |
235 | ||
42e79b1d PM |
236 | 2013-02-14 Pierre Muller <muller@sourceware.org> |
237 | ||
238 | * contrib/ari/gdb_ari.sh (GNU/Linux rule): Remove. | |
239 | ||
baea0dae PA |
240 | 2013-02-14 Pedro Alves <palves@redhat.com> |
241 | ||
242 | * utils.c (savestring): Don't #undef it. Move function to | |
243 | common/common-utils.c. | |
244 | * common/common-utils.c: Include gdb_string.h. | |
245 | (savestring): Move here from utils.c. | |
246 | * common/common-utils.h (savestring): Declare. | |
247 | ||
57c3b6ed PA |
248 | 2013-02-14 Pedro Alves <palves@redhat.com> |
249 | ||
250 | * utils.c (savestring): Rename parameter 'size' to 'len'. | |
251 | ||
d6c44983 YZ |
252 | 2013-02-14 Pedro Alves <palves@redhat.com> |
253 | Yufeng Zhang <yufeng.zhang@arm.com> | |
254 | ||
255 | * aarch64-linux-nat.c (aarch64_init_debug_reg_state): Delete. | |
256 | (aarch64_inferior_data, struct aarch64_inferior_data): | |
257 | Delete. | |
258 | (struct aarch64_process_info): New. | |
259 | (aarch64_process_list): New global. | |
260 | (aarch64_find_process_pid, aarch64_add_process) | |
261 | (aarch64_process_info_get): New functions. | |
262 | (aarch64_inferior_data_get): Delete. | |
263 | (aarch64_process_info_get): New function. | |
264 | (aarch64_forget_process): New function. | |
265 | (aarch64_get_debug_reg_state): New parameter 'pid'. Reimplement. | |
266 | (aarch64_linux_prepare_to_resume): Pass the lwp's pid to | |
267 | aarch64_get_debug_reg_state. | |
268 | (aarch64_notify_debug_reg_change): Use iterate_over_lwps | |
269 | instead of linux_nat_iterate_watchpoint_lwps. | |
270 | (aarch64_linux_new_fork): New function. | |
271 | (aarch64_linux_child_post_startup_inferior): Use | |
272 | aarch64_forget_process instead of aarch64_init_debug_reg_state. | |
273 | (aarch64_handle_breakpoint, aarch64_linux_insert_hw_breakpoint) | |
274 | (aarch64_linux_remove_hw_breakpoint) | |
275 | (aarch64_handle_aligned_watchpoint) | |
276 | (aarch64_handle_unaligned_watchpoint) | |
277 | (aarch64_linux_insert_watchpoint) | |
278 | (aarch64_linux_remove_watchpoint) | |
279 | (aarch64_linux_stopped_data_address): Adjust to pass the current | |
280 | process id to aarch64_debug_reg_state. | |
281 | (_initialize_aarch64_linux_nat): Install aarch64_linux_new_fork as | |
282 | linux_nat_new_fork hook, and aarch64_forget_process as | |
283 | linux_nat_forget_process hook; remove the call to | |
284 | register_inferior_data_with_cleanup. | |
285 | ||
4819b3f8 PA |
286 | 2013-02-14 Pedro Alves <palves@redhat.com> |
287 | ||
288 | * eval.c (evaluate_subexp_for_address) <default_case_after_eval, | |
289 | EVAL_AVOID_SIDE_EFFECTS>: Swap and handle TYPE_CODE_REF before | |
290 | lval_memory. | |
291 | ||
1773c82c HAQ |
292 | 2013-02-14 Pedro Alves <pedro@codesourcery.com> |
293 | Hafiz Abid Qadeer <abidh@codesourcery.com> | |
294 | ||
295 | * tracepoint.h (validate_trace_state_variable_name): Declare. | |
296 | * tracepoint.c (validate_trace_state_variable_name): New. | |
297 | (trace_variable_command): Parse the trace state variable's name | |
298 | without using parse_expression. Do several validations. | |
299 | * mi/mi-main.c (mi_cmd_trace_define_variable): Don't parse the | |
300 | trace state variable's name with parse_expression. Validate it. | |
301 | ||
53778a97 YQ |
302 | 2013-02-14 Yao Qi <yao@codesourcery.com> |
303 | ||
304 | * infcmd.c (breakpoint_proceeded): Remove it. | |
305 | ||
7b3ae3a6 YQ |
306 | 2013-02-14 Yao Qi <yao@codesourcery.com> |
307 | ||
308 | * tracepoint.c (end_actions_pseudocommand): Make it static. | |
309 | (while_stepping_pseudocommand): Likewise. | |
310 | * tracepoint.h (end_actions_pseudocommand): Remove the | |
311 | declaration. | |
312 | (while_stepping_pseudocommand): Likewise. | |
313 | ||
64580925 YQ |
314 | 2013-02-14 Yao Qi <yao@codesourcery.com> |
315 | ||
316 | * cli/cli-decode.c (help_cmd): Remove the declaration of | |
317 | "cmdlist". | |
318 | (help_all): Likewise. | |
319 | ||
26cb8b7c PA |
320 | 2013-02-13 Pedro Alves <palves@redhat.com> |
321 | ||
322 | * amd64-linux-nat.c (update_debug_registers_callback): | |
323 | Update comment. | |
324 | (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use | |
325 | iterate_over_lwps. | |
326 | (amd64_linux_prepare_to_resume): Pass the lwp's pid to | |
327 | i386_debug_reg_state. | |
328 | (amd64_linux_new_fork): New function. | |
329 | (_initialize_amd64_linux_nat): Install amd64_linux_new_fork as | |
330 | linux_nat_new_fork hook, and i386_forget_process as | |
331 | linux_nat_forget_process hook. | |
332 | * i386-linux-nat.c (update_debug_registers_callback): | |
333 | Update comment. | |
a8256ea1 | 334 | (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use |
26cb8b7c PA |
335 | iterate_over_lwps. |
336 | (i386_linux_prepare_to_resume): Pass the lwp's pid to | |
337 | i386_debug_reg_state. | |
338 | (i386_linux_new_fork): New function. | |
339 | (_initialize_i386_linux_nat): Install i386_linux_new_fork as | |
340 | linux_nat_new_fork hook, and i386_forget_process as | |
341 | linux_nat_forget_process hook. | |
342 | * i386-nat.c (i386_init_dregs): Delete. | |
343 | (i386_inferior_data, struct i386_inferior_data): | |
344 | Delete. | |
345 | (struct i386_process_info): New. | |
346 | (i386_process_list): New global. | |
347 | (i386_find_process_pid, i386_add_process, i386_process_info_get): | |
348 | New functions. | |
349 | (i386_inferior_data_get): Delete. | |
350 | (i386_process_info_get): New function. | |
351 | (i386_debug_reg_state): New parameter 'pid'. Reimplement. | |
352 | (i386_forget_process): New function. | |
353 | (i386_cleanup_dregs): Rewrite. | |
354 | (i386_update_inferior_debug_regs, i386_insert_watchpoint) | |
355 | (i386_remove_watchpoint, i386_region_ok_for_watchpoint) | |
356 | (i386_stopped_data_address, i386_insert_hw_breakpoint) | |
357 | (i386_remove_hw_breakpoint): Adjust to pass the current process id | |
358 | to i386_debug_reg_state. | |
359 | (i386_use_watchpoints): Don't register inferior data. | |
360 | * i386-nat.h (i386_debug_reg_state): Add new 'pid' parameter, and | |
361 | adjust comment. | |
362 | (i386_forget_process): Declare. | |
363 | * linux-fork.c (delete_fork): Call linux_nat_forget_process. | |
364 | * linux-nat.c (linux_nat_new_fork, linux_nat_forget_process_hook): | |
365 | New static globals. | |
366 | (linux_child_follow_fork): Don't call linux_nat_new_thread here. | |
367 | (add_initial_lwp): New, factored out from ... | |
368 | (add_lwp): ... this. Don't check the number of lwps before | |
369 | calling linux_nat_new_thread. | |
370 | (linux_nat_iterate_watchpoint_lwps): Delete. | |
371 | (linux_nat_attach): Use add_initial_lwp instead of add_lwp. | |
372 | (linux_handle_extended_wait): Call the linux_nat_new_fork hook on | |
373 | forks and vforks. | |
374 | (linux_nat_wait_1): Use add_initial_lwp instead of add_lwp for the | |
375 | initial lwp. | |
376 | (linux_nat_kill, linux_nat_mourn_inferior): Call | |
377 | linux_nat_forget_process. | |
378 | (linux_nat_set_new_fork, linux_nat_set_forget_process) | |
379 | (linux_nat_forget_process): New functions. | |
380 | * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): Delete | |
381 | type. | |
382 | (linux_nat_iterate_watchpoint_lwps): Delete declaration. | |
383 | (linux_nat_new_fork_ftype, linux_nat_forget_process_ftype): New | |
384 | types. | |
385 | (linux_nat_set_new_fork, linux_nat_set_forget_process) | |
386 | (linux_nat_forget_process): New declarations. | |
387 | ||
388 | * amd64fbsd-nat.c (super_mourn_inferior): New global. | |
389 | (amd64fbsd_mourn_inferior): New function. | |
390 | (_initialize_amd64fbsd_nat): Override to_mourn_inferior. | |
391 | * windows-nat.c (windows_detach): Call i386_cleanup_dregs. | |
392 | ||
5befea72 MS |
393 | 2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com> |
394 | ||
55015247 YQ |
395 | * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity): |
396 | Adding _(). | |
5befea72 | 397 | |
1d3ffd6b MS |
398 | 2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com> |
399 | ||
400 | * aarch64-linux-nat.c (debug_reg_change_callback) | |
401 | (aarch64_linux_get_debug_reg_capacity): ARI fix: Replace %llx with | |
402 | %s and phex(). | |
403 | ||
6eb04473 MS |
404 | 2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com> |
405 | ||
406 | * aarch64-linux-nat.c (dr_changed_t): ARI fix: Replace long long | |
407 | with LONGEST. | |
408 | ||
a016fc87 HAQ |
409 | 2013-02-13 Pedro Alves <palves@redhat.com> |
410 | Hafiz Abid Qadeer <abidh@codesourcery.com> | |
411 | ||
412 | * c-lang.c (c_op_print_tab): Add entry for UNOP_PLUS. | |
413 | ||
e234dfaf TT |
414 | 2013-02-12 Tom Tromey <tromey@redhat.com> |
415 | ||
416 | PR symtab/11464: | |
417 | * c-exp.y (lex_one_token): Initialize other fields of yylval on | |
418 | NAME return. | |
419 | (classify_inner_name): Remove 'first_name' argument, add | |
420 | 'context'. Remove unused variable. | |
421 | (yylex): Explicitly maintain the context type. Exit loop earlier | |
422 | if NAME result is seen. | |
423 | ||
0b1afbb3 PA |
424 | 2013-02-12 Pedro Alves <palves@redhat.com> |
425 | ||
426 | * amd64-darwin-tdep.c: Add (C) after Copyright. | |
427 | * cli/cli-cmds.h: Ditto. | |
428 | * cli/cli-decode.c: Ditto. | |
429 | * cli/cli-decode.h: Ditto. | |
430 | * cli/cli-dump.c: Ditto. | |
431 | * cli/cli-dump.h: Ditto. | |
432 | * cli/cli-interp.c: Ditto. | |
433 | * cli/cli-logging.c: Ditto. | |
434 | * cli/cli-script.c: Ditto. | |
435 | * cli/cli-script.h: Ditto. | |
436 | * cli/cli-setshow.c: Ditto. | |
437 | * cli/cli-setshow.h: Ditto. | |
438 | * cli/cli-utils.c: Ditto. | |
439 | * cli/cli-utils.h: Ditto. | |
440 | * config/alpha/nm-osf3.h: Ditto. | |
441 | * config/djgpp/djconfig.sh: Ditto. | |
442 | * config/i386/nm-fbsd.h: Ditto. | |
443 | * config/i386/nm-i386gnu.h: Ditto. | |
444 | * config/nm-linux.h: Ditto. | |
445 | * config/nm-nto.h: Ditto. | |
446 | * config/rs6000/nm-rs6000.h: Ditto. | |
447 | * config/sparc/nm-sol2.h: Ditto. | |
448 | * darwin-nat-info.c: Ditto. | |
449 | * dfp.c: Ditto. | |
450 | * dfp.h: Ditto. | |
451 | * gdb-demangle.h: Ditto. | |
452 | * i386-darwin-nat.c: Ditto. | |
453 | * i386-darwin-tdep.c: Ditto. | |
454 | * linux-fork.h: Ditto. | |
455 | * m32c-tdep.c: Ditto. | |
456 | * microblaze-linux-tdep.c: Ditto. | |
457 | * microblaze-rom.c: Ditto. | |
458 | * microblaze-tdep.c: Ditto. | |
459 | * microblaze-tdep.h: Ditto. | |
460 | * mips-linux-tdep.h: Ditto. | |
461 | * ppc-ravenscar-thread.c: Ditto. | |
462 | * ppc-ravenscar-thread.h: Ditto. | |
463 | * prologue-value.c: Ditto. | |
464 | * prologue-value.h: Ditto. | |
465 | * ravenscar-thread.c: Ditto. | |
466 | * ravenscar-thread.h: Ditto. | |
467 | * sparc-ravenscar-thread.c: Ditto. | |
468 | * sparc-ravenscar-thread.h: Ditto. | |
469 | * tilegx-linux-tdep.c: Ditto. | |
470 | * unwind_stop_reasons.def: Ditto. | |
471 | * windows-nat.h: Ditto. | |
472 | * xtensa-linux-tdep.c: Ditto. | |
473 | * xtensa-xtregs.c: Ditto. | |
474 | * regformats/regdat.sh: Ditto. | |
475 | * regformats/regdef.h: Ditto. | |
476 | ||
6c01dd94 PA |
477 | 2013-02-12 Pedro Alves <palves@redhat.com> |
478 | ||
479 | * break-catch-sig.c: Update copyright years. | |
480 | ||
b65a2bd9 SCR |
481 | 2013-02-11 Siva Chandra Reddy <sivachandra@google.com> |
482 | ||
483 | Add support for a destructor for ui_out data and use it to | |
484 | provide a ui_out destructor. | |
485 | * ui-out.h: Declare the new ui_out destructor. | |
486 | (ui_out_impl): Add a field for data destructor in ui_out_impl. | |
487 | * ui-out.c (default_data_destroy): Add a default data destructor | |
488 | which does nothing. | |
489 | (default_ui_out_impl): Set the new data_destroy field to | |
490 | default_data_destroy | |
491 | (uo_data_destroy): Local function which invokes the data | |
492 | destructor if present. | |
493 | (clear_table): Local function which clears the table data of a | |
494 | ui_out object. | |
495 | (ui_out_destroy): Public function which frees a ui_out object. | |
496 | (ui_out_table_end): Use the new clear_table function. | |
497 | * cli-out.c (cli_ui_out_impl): Set the new data_destroy field to | |
498 | NULL. | |
499 | * mi/mi-out.c (mi_ui_out_impl): Set the new data_destroy field | |
500 | to NULL. | |
501 | ||
c2792f5a DE |
502 | 2013-02-11 Doug Evans <dje@google.com> |
503 | ||
504 | * printcmd.c (printf_c_string,printf_wide_c_string): New functions. | |
505 | (printf_decfloat): New function. Broken out from ui_printf. | |
506 | Remove unnecessary code to shift the entire format string down. | |
507 | (printf_pointer): New function. | |
508 | (ui_printf): Code to print C strings, wide C strings, decfloats, | |
509 | and pointers moved to separate functions. | |
510 | ||
d9e98382 SDJ |
511 | 2013-02-11 Sergio Durigan Junior <sergiodj@redhat.com> |
512 | ||
513 | * valops.c (value_assign): Handling bitfield offset in | |
514 | `lval_internalvar_component' case. | |
515 | ||
4ff3ce77 DE |
516 | 2013-02-08 Doug Evans <dje@google.com> |
517 | ||
518 | * common/format.c (parse_format_string): Fix whitespace. | |
519 | ||
901900c4 MGD |
520 | 2013-02-08 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org> |
521 | ||
522 | * stack.c (return_command): Work around uninitialized variable | |
523 | warning. | |
524 | ||
b5dbc8d4 YZ |
525 | 2013-02-08 Yufeng Zhang <yufeng.zhang@arm.com> |
526 | ||
527 | * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET): Change the | |
528 | number of the registers from 36 to 34. | |
529 | ||
51d66578 MS |
530 | 2013-02-08 Marcus Shawcroft <marcus.shawcroft@arm.com> |
531 | ||
532 | * NEWS: Mention new AArch64 native and target support. | |
533 | ||
176b1c95 MS |
534 | 2013-02-08 Marcus Shawcroft <marcus.shawcroft@arm.com> |
535 | ||
536 | * MAINTAINERS (Write After Approval): Add myself. | |
537 | ||
9d19df75 MS |
538 | 2013-02-08 Jim MacArthur <jim.macarthur@arm.com> |
539 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
540 | Nigel Stephens <nigel.stephens@arm.com> | |
541 | Yufeng Zhang <yufeng.zhang@arm.com> | |
542 | ||
543 | * aarch64-linux-nat.c: New file. | |
544 | * config/aarch64/linux.mh: New file. | |
545 | * configure.host: Add AArch64. | |
546 | * Makefile.in (ALLDEPFILES): Add aarch64-linux-nat.c. | |
547 | ||
7e1e0340 DE |
548 | 2013-02-07 Doug Evans <dje@google.com> |
549 | ||
550 | * cli/cli-cmds.c (_initialize_cli_cmds): Clarify argument to | |
551 | disassemble command. | |
552 | ||
45e25a36 MS |
553 | 2013-02-07 Marcus Shawcroft <marcus.shawcroft@arm.com> |
554 | ||
555 | * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call | |
556 | set_gdbarch_fetch_tls_load_module_address. | |
557 | ||
bbfdfe1c DM |
558 | 2013-02-06 David S. Miller <davem@davemloft.net> |
559 | ||
560 | * sparc-tdep.c (sparc32_return_value): Handle writing return value when | |
561 | using RETURN_VALUE_ABI_PRESERVES_ADDRESS. | |
562 | * value.c (struct_return_convention): New function. | |
563 | (using_struct_return): Implement in terms of struct_return_convention. | |
564 | * value.h (struct_return_convention): Declare. | |
565 | * stack.c (return_command): Allow successful overriding of the return | |
566 | value when RETURN_VALUE_ABI_PRESERVES_ADDRESS. | |
567 | ||
bc9abe4a TT |
568 | 2013-02-06 Tom Tromey <tromey@redhat.com> |
569 | ||
570 | * python/py-type.c (typy_strip_typedefs): Don't call check_typedef | |
571 | outside of TRY_CATCH. | |
572 | ||
134a2066 YQ |
573 | 2013-02-06 Yao Qi <yao@codesourcery.com> |
574 | ||
575 | * mi/mi-interp.c: Include "tracepoint.h". | |
576 | (mi_tsv_modified): Declare. | |
577 | (mi_tsv_created, mi_tsv_deleted): Update declaration. | |
578 | (mi_interpreter_init): Call observer_attach_tsv_modified. | |
579 | (mi_tsv_modified): New. | |
580 | (mi_tsv_created, mi_tsv_deleted): Update. | |
581 | * tracepoint.c (trace_variable_command): Call | |
582 | observer_notify_tsv_modified if the initial value of tsv is | |
583 | changed. | |
584 | (delete_trace_state_variable): Call | |
585 | observer_notify_tsv_deleted earlier. | |
586 | (trace_variable_command): Caller update. | |
587 | (create_tsv_from_upload): Likewise. | |
588 | * observer.sh: Declare "struct trace_state_variable". | |
589 | ||
590 | * NEWS: Mention the new MI notification "=tsv-modified". | |
591 | ||
59be2b6a DE |
592 | 2013-02-05 Doug Evans <dje@google.com> |
593 | ||
594 | * completer.c (location_completer): Fix typo in comment. | |
595 | ||
d30113d4 JK |
596 | 2013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com> |
597 | ||
598 | * breakpoint.c (add_location_to_breakpoint): Insert the location with | |
599 | ADDRESS sorted. | |
600 | ||
14ac654f MS |
601 | 2013-02-05 Marcus Shawcroft <marcus.shawcroft@arm.com> |
602 | ||
603 | * aarch64-tdep.c (aarch64_analyze_prologue): ARI fix: | |
604 | Refactor if statement to avoid trailing || operator. | |
605 | ||
543bf33d AT |
606 | 2013-02-05 Andreas Tobler <andreast@fgznet.ch> |
607 | ||
608 | * NEWS: Add PowerPC FreeBSD as a new native configuration. | |
609 | ||
dc18f110 AT |
610 | 2013-02-04 Andreas Tobler <andreast@fgznet.ch> |
611 | ||
612 | * Makefile.in (ALL_TARGET_OBS): Add powerpc FreeBSD files. | |
613 | * configure.host: Add powerpc*-*-freebsd* target. | |
614 | * configure.tgt: Add target info for powerpc*-*-freebsd*. | |
615 | * ppcfbsd-nat.c, ppcfbsd-tdep.h, ppcfbsd-tdep.c: New files. | |
616 | * config/powerpc/fbsd.mh: New file. | |
617 | ||
b3ac9c77 SDJ |
618 | 2013-02-04 Sergio Durigan Junior <sergiodj@redhat.com> |
619 | Denys Vlasenko <dvlasenk@redhat.com> | |
620 | Pedro Alves <palves@redhat.com> | |
621 | ||
622 | * gdbarch.sh (elfcore_write_linux_prpsinfo): New F hook. | |
623 | (struct elf_internal_linux_prpsinfo): Forward declare. | |
624 | * gdbarch.h, gdbarch.c: Regenerate. | |
625 | * linux-tdep.c: Include `cli/cli-utils.h'. | |
626 | (linux_fill_prpsinfo): New function. | |
627 | (linux_make_corefile_notes): Use linux_fill_prpsinfo. If there's | |
628 | an elfcore_write_linux_prpsinfo hook, use it, otherwise, use | |
629 | elfcore_write_linux_prpsinfo32 or elfcore_write_linux_prpsinfo64 | |
630 | depending on gdbarch pointer bitness. | |
631 | * ppc-linux-tdep.c: Include elf-bfd.h. | |
632 | (ppc_linux_init_abi): Hook in elfcore_write_ppc_linux_prpsinfo32 | |
633 | on 32-bit. | |
634 | ||
176eb98c MS |
635 | 2013-02-04 Jim MacArthur <jim.macarthur@arm.com> |
636 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
637 | Nigel Stephens <nigel.stephens@arm.com> | |
638 | Yufeng Zhang <yufeng.zhang@arm.com> | |
639 | ||
640 | * configure.tgt (aarch64*-*-linux*): Set build_gdbserver=yes. | |
641 | ||
cf0dbd6f MS |
642 | 2013-02-04 Jim MacArthur <jim.macarthur@arm.com> |
643 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
644 | Nigel Stephens <nigel.stephens@arm.com> | |
645 | Yufeng Zhang <yufeng.zhang@arm.com> | |
646 | ||
647 | * aarch64-newlib-tdep.c: New file. | |
648 | * configure.tgt: Add aarch64-newlib-tdep.o to gdb_target_obs of | |
649 | aarch64*-*-elf. | |
650 | * defs.h (enum gdb_osabi): Add GDB_OSABI_NEWLIB. | |
651 | * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-newlib-tdep.o. | |
652 | (ALLDEPFILES): Add aarch64-newlib-tdep.c. | |
653 | * osabi.c (gdb_osabi_names): Add "Newlib". | |
654 | ||
1ae3db19 MS |
655 | 2013-02-04 Jim MacArthur <jim.macarthur@arm.com> |
656 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
657 | Nigel Stephens <nigel.stephens@arm.com> | |
658 | Yufeng Zhang <yufeng.zhang@arm.com> | |
659 | ||
660 | * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-linux-tdep.o. | |
661 | (ALLDEPFILES): Add aarch64-linux-tdep.c. | |
662 | * aarch64-linux-tdep.c: New file. | |
663 | * aarch64-linux-tdep.h: New file. | |
664 | * aarch64-tdep.h (gdbarch_tdep): Define gregset and fpregset. | |
665 | * configure.tgt: Add aarch64-none-linux-gnu. | |
666 | ||
07b287a0 MS |
667 | 2013-02-04 Jim MacArthur <jim.macarthur@arm.com> |
668 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
669 | Nigel Stephens <nigel.stephens@arm.com> | |
670 | Yufeng Zhang <yufeng.zhang@arm.com> | |
671 | ||
672 | * Makefile.in (ALL_64_TARGET_OBS): Add arch64-tdep.o. | |
673 | (HFILES_NO_SRCDIR): Add aarch64-tdep.h. | |
674 | (ALLDEPFILES): Add aarch64-tdep.c. | |
675 | * aarch64-tdep.c: New file. | |
676 | * aarch64-tdep.h: New file. | |
677 | * configure.tgt: Add AArch64. | |
678 | * features/Makefile (WHICH): Add aarch64 and aarch64-without-fpu. | |
679 | (aarch64-expedite): New definition. | |
680 | * features/aarch64-core.xml: New file. | |
681 | * features/aarch64-fpu.xml: New file. | |
682 | * features/aarch64-without-fpu.c: New file (generated). | |
683 | * features/aarch64-without-fpu.xml: New file. | |
684 | * features/aarch64.c: New file (generated). | |
685 | * features/aarch64.xml: New file. | |
686 | * regformats/aarch64-without-fpu.dat: New file (generated). | |
687 | * regformats/aarch64.dat: New file (generated). | |
688 | ||
0f1b18ab JK |
689 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
690 | ||
691 | * contrib/expect-read1.c: New file. | |
692 | * contrib/expect-read1.sh: New file. | |
693 | ||
233d95b5 JK |
694 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
695 | ||
696 | * dwarf2read.c (file_file_name): New function with code from | |
697 | file_full_name. | |
698 | (file_full_name): Move most of the code to file_file_name. | |
699 | (macro_start_file): Rename variable full_name to file_name and use | |
700 | file_file_name for it. Add comp_dir parameter to new_macro_table. | |
701 | * macrocmd.c (show_pp_source_pos): New variable fullname. Replace any | |
702 | macro_source_file->filename access by macro_source_fullname call. | |
703 | * macroscope.c (_initialize_macroscope): Update the new_macro_table | |
704 | caller. | |
705 | * macrotab.c (struct macro_table): New field comp_dir. | |
706 | (macro_include): New variables link_fullname and source_fullname. | |
707 | Replace any macro_source_file->filename access by macro_source_fullname | |
708 | call. | |
709 | (macro_lookup_inclusion): Remove the partial filenames checking code. | |
710 | (check_for_redefinition): New variables source_fullname and | |
711 | found_key_fullname. Replace any macro_source_file->filename access by | |
712 | macro_source_fullname call. | |
713 | (macro_undef): New variables source_fullname and key_fullname. Replace | |
714 | any macro_source_file->filename access by macro_source_fullname call. | |
715 | (macro_lookup_definition): New variables retval and source_fullname. | |
716 | Replace any macro_source_file->filename access by macro_source_fullname | |
717 | call. | |
718 | (foreach_macro): New variable key_fullname. Replace any | |
719 | macro_source_file->filename access by macro_source_fullname call. | |
720 | (foreach_macro_in_scope): New variable datum_fullname. Replace any | |
721 | macro_source_file->filename access by macro_source_fullname call. | |
722 | (new_macro_table): Add parameter comp_dir. Initialize T with it. | |
723 | (macro_source_fullname): New function. | |
724 | * macrotab.h (struct macro_source_file): Extent the filename field | |
725 | comment. | |
726 | (new_macro_table): New parameter comp_dir, add a comment for it. | |
727 | (macro_source_fullname): new declaration. | |
728 | ||
da235a7c JK |
729 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
730 | ||
731 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Move variable | |
732 | this_real_name to outer block. Use it also for | |
733 | compare_filenames_for_search. | |
734 | (dw2_expand_symtabs_matching): New variable this_real_name. Use it | |
735 | with dw2_get_real_path for file_matcher, considering also | |
736 | BASENAMES_MAY_DIFFER. | |
737 | (file_full_name): Prepend COMP_DIR even for relative lh->INCLUDE_DIRS. | |
738 | ||
fbd9ab74 JK |
739 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
740 | ||
741 | * dwarf2read.c (dw2_expand_symtabs_matching): Add basenames parameter | |
742 | to the file_matcher parameter. Pass 0 to it. | |
743 | (dwarf2_create_include_psymtab): Copy also DIRNAME. | |
744 | * psymtab.c (partial_map_symtabs_matching_filename): Drop handling of | |
745 | NULL psymtab_to_fullname result. | |
746 | (psymtab_to_fullname): Remove variable r. Never return NULL, assemble | |
747 | an expected filename instead. | |
748 | (expand_symtabs_matching_via_partial): Add basenames parameter to the | |
749 | file_matcher parameter. Call also psymtab_to_fullname, after newly | |
750 | considering BASENAMES_MAY_DIFFER. | |
751 | * source.c (rewrite_source_path): Remove static. | |
752 | * source.h (rewrite_source_path): New declaration. | |
753 | * symfile.h (struct quick_symbol_functions): Add basenames parameter to | |
754 | the expand_symtabs_matching field. Comment it. | |
755 | * symtab.c (file_matches): New function comment. Add parameter | |
756 | basenames, implement it. | |
757 | (search_symbols_file_matches): Add basenames parameter. Update the | |
758 | file_matches caller. | |
759 | (search_symbols): Match FILES also against symtab_to_fullname. | |
760 | Optimize it for BASENAMES_MAY_DIFFER. | |
761 | ||
56d397a3 JK |
762 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
763 | ||
764 | * source.c (print_source_lines_base): Print for TUI also "fullname". | |
765 | * tui/tui-data.c (init_content_element): Change tui_locator_element | |
766 | field to full_name. | |
767 | * tui/tui-data.h (struct tui_locator_element): Likewise. | |
768 | * tui/tui-disasm.c (tui_show_disassem_and_update_source): Rename | |
769 | tui_update_locator_filename calls to tui_update_locator_fullname. | |
770 | Replace symtab->filename refererence by symtab_to_fullname call. | |
771 | * tui/tui-out.c (tui_field_string): Check for "fullname" now. | |
772 | * tui/tui-source.c (tui_set_source_content): Change tui_locator_element | |
773 | field to full_name. Replace symtab->filename refererence by | |
774 | symtab_to_fullname call. | |
775 | (tui_show_symtab_source): Rename parameter to fullname. Change | |
776 | tui_locator_element field to full_name. | |
777 | * tui/tui-stack.c: Include source.h. | |
778 | (tui_set_locator_filename): Rename the declaration to ... | |
779 | (tui_set_locator_fullname): ... here. Rename its parameter to | |
780 | fullname, updates its comment. | |
781 | (tui_set_locator_info): Rename its parameter to fullname. | |
782 | (tui_set_locator_filename): Rename the definition to ... | |
783 | (tui_set_locator_fullname): ... here. Rename its parameter to | |
784 | fullname, updates its comment. Change tui_locator_element field to | |
785 | full_name. | |
786 | (tui_set_locator_info): Rename its parameter to fullname. | |
787 | (tui_set_locator_info): Rename callee to tui_set_locator_fullname. | |
788 | (tui_update_locator_filename): Rename to ... | |
789 | (tui_update_locator_fullname): ... here. Rename callee to | |
790 | tui_set_locator_fullname. | |
791 | (tui_show_frame_info): Replace symtab->filename refererence by | |
792 | symtab_to_fullname call. | |
793 | * tui/tui-stack.h (tui_update_locator_filename): Rename to ... | |
794 | (tui_update_locator_fullname): ... here. | |
795 | * tui/tui-winsource.c (tui_display_main): Rename the callee to | |
796 | tui_update_locator_fullname. Replace symtab->filename refererence by | |
797 | symtab_to_fullname call. | |
798 | * tui/tui.c (tui_show_source): Rename its parameter to fullname. | |
799 | Rename the callee to tui_update_locator_fullname. | |
800 | * tui/tui.h (tui_show_source): Rename its parameter to fullname. | |
801 | ||
05cba821 JK |
802 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
803 | ||
804 | * ada-lang.c (user_select_syms): Replace symtab->filename refererences | |
805 | by symtab_to_filename_for_display calls. | |
806 | * breakpoint.c (print_breakpoint_location, resolve_sal_pc): Likewise. | |
807 | (clear_command): New variable sal_fullname, initialize it. Replace | |
808 | compare_filenames_for_search by filename_cmp with sal_fullname. | |
809 | (say_where, update_static_tracepoint): Replace symtab->filename | |
810 | refererences by symtab_to_filename_for_display calls. | |
811 | * cli/cli-cmds.c (edit_command, list_command, ambiguous_line_spec): | |
812 | Likewise. | |
813 | * dwarf2read.c: Include source.h. | |
814 | (fixup_go_packaging): Replace symtab->filename refererences by | |
815 | symtab_to_filename_for_display calls. | |
816 | * linespec.c (add_sal_to_sals): Rename variable filename to fullname. | |
817 | Replace symtab->filename refererences by symtab_to_filename_for_display | |
818 | calls. | |
819 | (create_sals_line_offset, convert_linespec_to_sals): New variable | |
820 | fullname, initialize it, replace symtab->filename reference by the | |
821 | variable. | |
822 | * linux-fork.c: Include source.h. | |
823 | (info_checkpoints_command): Replace symtab->filename refererences by | |
824 | symtab_to_filename_for_display calls. | |
825 | * macroscope.c (sal_macro_scope): Replace symtab->filename refererences | |
826 | by symtab_to_filename_for_display calls. | |
827 | * mdebugread.c: Include source.h. | |
828 | (psymtab_to_symtab_1): Replace symtab->filename refererences by | |
829 | symtab_to_filename_for_display calls. | |
830 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file) | |
831 | (mi_cmd_file_list_exec_source_files): Likewise. | |
832 | * printcmd.c: Include source.h. | |
833 | (build_address_symbolic): Replace symtab->filename refererences by | |
834 | symtab_to_filename_for_display calls. | |
835 | * psymtab.c (partial_map_symtabs_matching_filename) | |
836 | (read_psymtabs_with_fullname): Call compare_filenames_for_search also | |
837 | with psymtab_to_fullname. | |
838 | * python/py-symtab.c (stpy_str): Replace symtab->filename refererences | |
839 | by symtab_to_filename_for_display calls. | |
840 | (stpy_get_filename): New variable filename, initialize it, use instead | |
841 | of symtab->filename refererences. | |
842 | (salpy_str): Make variable filename const char *. Replace | |
843 | symtab->filename refererences by symtab_to_filename_for_display calls. | |
844 | * skip.c: Include source.h and filenames.h. | |
845 | (skip_file_command): Remove const from the symtab variable. Replace | |
846 | symtab->filename refererences by symtab_to_fullname call. | |
847 | (function_name_is_marked_for_skip): New variables searched_for_fullname | |
848 | and fullname. Use them to search also with symtab's fullname. | |
849 | * source.c (find_source_lines): Replace symtab->filename refererences | |
850 | by symtab_to_filename_for_display calls. | |
851 | (print_source_lines_base): New variable filename, use it instead of | |
852 | symtab->filename. Replace symtab->filename refererences by | |
853 | symtab_to_filename_for_display calls. | |
854 | (line_info, forward_search_command): Replace symtab->filename | |
855 | refererences by symtab_to_filename_for_display calls. | |
856 | (reverse_search_command): Replace symtab->filename refererences by | |
857 | symtab_to_filename_for_display calls. New variable filename for it. | |
858 | * stack.c (frame_info): Likewise. | |
859 | * symmisc.c: Include source.h. | |
860 | (dump_objfile, dump_symtab_1, maintenance_print_symbols) | |
861 | (maintenance_info_symtabs): Replace symtab->filename refererences by | |
862 | symtab_to_filename_for_display calls. | |
863 | * symtab.c (iterate_over_some_symtabs): Call | |
864 | compare_filenames_for_search also with symtab_to_fullname. | |
865 | (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Replace | |
866 | symtab->filename refererences by symtab_to_filename_for_display calls. | |
867 | (find_line_symtab): Replace symtab->filename refererences by | |
868 | symtab_to_filename_for_display calls. | |
869 | (file_matches): Replace filename_cmp by compare_filenames_for_search. | |
870 | (print_symbol_info): Make the last parameter const char *. New | |
871 | variable s_filename. Use it in the function. | |
872 | (symtab_symbol_info): Make the last_filename variable const char *. | |
873 | Replace symtab->filename refererences by symtab_to_filename_for_display | |
874 | calls. | |
875 | (rbreak_command): New variable fullname. Use it. Replace | |
876 | symtab->filename refererence by symtab_to_filename_for_display call. | |
877 | * tracepoint.c (set_traceframe_context, trace_find_line_command) | |
878 | (print_one_static_tracepoint_marker): Replace symtab->filename | |
879 | refererences by symtab_to_filename_for_display calls. | |
880 | * tui/tui-source.c (tui_set_source_content): New variables filename and | |
881 | s_filename. Replace symtab->filename refererences by this variable. | |
882 | Replace other symtab->filename refererences by | |
883 | symtab_to_filename_for_display calls. | |
884 | ||
1b56eb55 JK |
885 | 2013-02-03 Eldar Gaynetdinov <hal9000ed2k@gmail.com> |
886 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
887 | ||
888 | Add a new variable that controls a way in which filenames are | |
889 | displayed. | |
890 | * NEWS (set filename-display): New entry. | |
891 | * source.c (filename_display_basename, filename_display_relative) | |
892 | (filename_display_absolute, filename_display_kind_names) | |
893 | (filename_display_string, show_filename_display_string) | |
894 | (symtab_to_filename_for_display): New. | |
895 | (_initialize_source): Added initialization of 'filename-display' | |
896 | variable. | |
897 | * source.h (symtab_to_filename_for_display): Added declaration. | |
898 | * stack.c (print_frame): Added new variable and calling of a new | |
899 | function and condition with this variable. Changed third argument of | |
900 | calling of a function. | |
901 | ||
aa079c93 JK |
902 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
903 | ||
904 | * tui/tui-data.c (init_win_info, tui_del_window, tui_free_window): | |
905 | Rename field reference filename to fullname. | |
906 | * tui/tui-data.h (struct tui_source_info): Rename field filename to | |
907 | fullname. New comment for it. | |
908 | * tui/tui-source.c (tui_set_source_content): Rename field reference | |
909 | filename to fullname. Initialize field by symtab_to_fullname now. | |
910 | * tui/tui-winsource.c (tui_update_breakpoint_info): Rename field | |
911 | reference filename to fullname. Use symtab_to_fullname during | |
912 | comparison. | |
913 | ||
652a8996 JK |
914 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
915 | ||
916 | Code cleanup. | |
917 | * dwarf2read.c (dw2_expand_symtabs_with_filename): Rename to ... | |
918 | (dw2_expand_symtabs_with_fullname): ... here. Rename parameter | |
919 | filename to fullname. Rename variable this_name to this_fullname. | |
920 | Lowercase FILENAME_CMP call. | |
921 | (dw2_find_symbol_file): New comment for the returned string. | |
922 | (dwarf2_gdb_index_functions): Rename the function to | |
923 | dw2_expand_symtabs_with_fullname. | |
924 | * psymtab.c (read_psymtabs_with_filename): Rename to ... | |
925 | (read_psymtabs_with_fullname): ... here. Rename parameter filename to | |
926 | fullname. | |
927 | (psym_functions): Rename the function to read_psymtabs_with_fullname. | |
928 | * symfile.h (struct quick_symbol_functions): Rename field | |
929 | expand_symtabs_with_filename to expand_symtabs_with_fullname and its | |
930 | parameter filename to fullname. Document returned string meaning for | |
931 | find_symbol_file. | |
932 | * symtab.c (find_line_symtab): Rename the called function to | |
933 | expand_symtabs_with_fullname. | |
934 | ||
af529f8f JK |
935 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
936 | ||
937 | Code cleanup. | |
938 | * breakpoint.c (clear_command): Remove variable is_abs, unify the | |
939 | call of filename_cmp with compare_filenames_for_search. | |
940 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable | |
941 | is_abs, unify the call of FILENAME_CMP with | |
942 | compare_filenames_for_search. New gdb_asserts for real_path and name. | |
943 | Unify the call of compare_filenames_for_search with FILENAME_CMP. | |
944 | * psymtab.c (partial_map_symtabs_matching_filename): Likewise. | |
945 | * symfile.h (struct quick_symbol_functions): Extend the comment for | |
946 | map_symtabs_matching_filename. | |
947 | * symtab.c (compare_filenames_for_search): Remove the function comment | |
948 | relative path requirement. Handle absolute filenames, with a comment. | |
949 | (iterate_over_some_symtabs): Remove variable is_abs, unify the call of | |
950 | FILENAME_CMP with compare_filenames_for_search. New gdb_asserts for | |
951 | real_path and name. Unify the call of compare_filenames_for_search | |
952 | with FILENAME_CMP. | |
953 | (iterate_over_symtabs): New gdb_assert on REAL_PATH. | |
954 | ||
2f202fde JK |
955 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
956 | ||
957 | Code cleanup. | |
958 | * breakpoint.c (print_breakpoint_location): Replace bp_location field | |
959 | source_file references by symtab field references. Remove variables | |
960 | sal and fullname. | |
961 | (momentary_breakpoint_from_master, add_location_to_breakpoint): | |
962 | (clear_command, say_where): Replace bp_location field source_file | |
963 | references by symtab field references. | |
964 | (bp_location_dtor): Remove the source_file reference. | |
965 | (update_static_tracepoint): Replace bp_location field source_file | |
966 | references by symtab field references. | |
967 | (breakpoint_free_objfile): New function. | |
968 | * breakpoint.h (struct bp_location): Extend the comment for line_number. | |
969 | Replace the field source_file by field symtab, extend its comment. | |
970 | (breakpoint_free_objfile): New declaration. | |
971 | * objfiles.c (free_objfile): Call breakpoint_free_objfile. | |
972 | * tui/tui-winsource.c (tui_update_breakpoint_info): Replace bp_location | |
973 | field source_file references by symtab field references. | |
974 | ||
f5b95b50 JK |
975 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
976 | ||
977 | Replace xfullpath calls by gdb_realpath calls. | |
978 | * cli/cli-cmds.c (find_and_open_script): Remove xfullpath from the | |
979 | function comment. | |
980 | * dwarf2read.c (dw2_map_expand_apply): Remove parameter full_path. | |
981 | Remove it from the iterate_over_some_symtabs call. | |
982 | (dw2_map_symtabs_matching_filename): Remove parameter full_path. | |
983 | Remove it from the dw2_map_expand_apply calls, remove a block handling | |
984 | it. | |
985 | * psymtab.c (partial_map_expand_apply): Remove parameter full_path. | |
986 | Remove it from the iterate_over_some_symtabs call. | |
987 | (partial_map_symtabs_matching_filename): Remove parameter full_path. | |
988 | Remove it from the partial_map_expand_apply calls, remove a block | |
989 | handling it. Drop gdb_realpath call and cleanups from the real_path | |
990 | handling. | |
991 | * source.c (openp): Drop the comment part about xfullpath. Replace | |
992 | xfullpath calls by gdb_realpath calls. | |
993 | (find_and_open_source): Replace xfullpath call by gdb_realpath call. | |
994 | * symfile.h (struct quick_symbol_functions): Remove parameter full_path | |
995 | from method map_symtabs_matching_filename and its comment. | |
996 | * symmisc.c (maintenance_print_msymbols): Replace xfullpath call by | |
997 | gdb_realpath call. | |
998 | * symtab.c (iterate_over_some_symtabs): Remove parameter full_path, | |
999 | remove it also from the function comment, remove a block handling it. | |
1000 | Drop gdb_realpath call and cleanups from the real_path handling. | |
1001 | (iterate_over_symtabs): Drop variable full_path and its use. | |
1002 | * symtab.h (iterate_over_some_symtabs): Remove parameter full_path. | |
1003 | * utils.c (xfullpath): Remove. | |
1004 | * utils.h (xfullpath): Remove. | |
1005 | ||
d78489bf AT |
1006 | 2013-02-01 Andreas Tobler <andreast@fgznet.ch> |
1007 | ||
1008 | * Makefile.in (ALL_TARGET_OBS): Add ppc64-tdep.o. | |
1009 | (HFILES_NO_SRCDIR): Add ppc64-tdep.h. | |
1010 | (ALLDEPFILES): Add ppc64-tdep.c. | |
1011 | * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*): Add | |
1012 | ppc64-tdep.o to gdb_target_obs. | |
1013 | * ppc64-tdep.h: New file. | |
1014 | * ppc64-tdep.c: New file. | |
1015 | (insn_d, insn_ds, insn_xfx, ppc64_desc_entry_point): Move from | |
1016 | ppc-linux-tdep.c to here. | |
1017 | (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN) | |
1018 | (PPC64_STANDARD_LINKAGE2_LEN): Likewise and use ARRAY_SIZE macro. | |
1019 | (ppc64_standard_linkage1_target, ppc64_standard_linkage2_target) | |
1020 | (ppc64_standard_linkage3_target, ppc64_skip_trampoline_code): Move | |
1021 | from ppc-linux-tdep.c to here. | |
1022 | (ppc64_convert_from_func_ptr_addr): Rename from | |
1023 | ppc64_linux_convert_from_func_ptr_addr to | |
1024 | ppc64_convert_from_func_ptr_addr and move from ppc-linux-tdep.c to | |
1025 | here. | |
1026 | * rs6000-tdep.c: | |
1027 | (read_insn): Move from ppc-linux-tdep.c to here. | |
1028 | (insns_match_pattern, insn_d_field, insn_ds_field): Move | |
1029 | from ppc-linux-tdep.c to here and rename them with the ppc_ prefix. | |
1030 | * ppc-linux-tdep.c: Include ppc64-tdep.h. | |
1031 | Removed above functions. | |
1032 | (ppc_linux_init_abi): Adjust. | |
1033 | ||
8db60374 AR |
1034 | 2013-02-01 Aleksandar Ristovski <aristovski@qnx.com> |
1035 | ||
1036 | * ada-valprint.c (ada_print_floating): Remove unused 'len'. | |
1037 | ||
f2e5f4ce AR |
1038 | 2013-02-01 Aleksandar Ristovski <aristovski@qnx.com> |
1039 | ||
1040 | * ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'. | |
1041 | ||
c1f7d745 PA |
1042 | 2013-02-01 Pedro Alves <palves@redhat.com> |
1043 | ||
1044 | * dummy-frame.c (deprecated_pc_in_call_dummy): Delete function. | |
1045 | * frame.h (deprecated_pc_in_call_dummy): Delete declaration. | |
1046 | ||
8a92335b JK |
1047 | 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
1048 | ||
1049 | * elfread.c (elf_symfile_read): Limit separate debug info additions to | |
1050 | files with no separate debug info. | |
1051 | * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls. | |
1052 | * symfile.c (read_symbols): Call find_separate_debug_file_in_section | |
1053 | only for files with no separate debug info. | |
1054 | ||
8eacb197 TT |
1055 | 2013-01-31 Tom Tromey <tromey@redhat.com> |
1056 | ||
1057 | * jit.c (jit_program_space_data): Rename from jit_inferior_data; | |
1058 | change type. | |
1059 | (struct jit_program_space_data): Rename from jit_inferior_data. | |
1060 | Update comments. | |
1061 | (get_jit_program_space_data): Rename from get_jit_inferior_data. | |
1062 | Change return type. Attach data to program space. | |
1063 | (jit_program_space_data_cleanup): Rename from | |
1064 | jit_inferior_data_cleanup; change argument type. | |
1065 | (jit_read_descriptor): Change 'inf_data' argument to 'ps_data', | |
1066 | change type. | |
1067 | (jit_register_code): Update. | |
1068 | (jit_update_inferior_cache): Remove. | |
1069 | (jit_breakpoint_deleted): Get jit data from the location's program | |
1070 | space. | |
1071 | (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to | |
1072 | 'ps_data', change type. | |
1073 | (jit_inferior_init, jit_breakpoint_re_set_internal) | |
1074 | (jit_event_handler): Update. | |
1075 | (free_objfile_data): Get data from objfile's program space. | |
1076 | (_initialize_jit): Update. | |
1077 | ||
f25c0135 TT |
1078 | 2013-01-31 Tom Tromey <tromey@redhat.com> |
1079 | ||
1080 | PR gdb/13987: | |
1081 | * jit.c (struct jit_inferior_data) <cached_code_address, | |
1082 | jit_breakpoint>: New fields. | |
1083 | (jit_breakpoint_re_set_internal): Fix logging. Only create | |
1084 | breakpoint if cached address has changed. | |
1085 | (jit_update_inferior_cache, jit_breakpoint_deleted): New | |
1086 | functions. | |
1087 | (_initialize_jit): Register breakpoint deleted observer. | |
1088 | ||
974a734b AR |
1089 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
1090 | ||
1091 | * infrun.c (handle_syscall_event): Remove unused gdbarch. | |
1092 | (save_infcall_suspend_state): Ifdef out unused inf. | |
1093 | (restore_infcall_suspend_state): Ifdef out unused inf. | |
1094 | * jit.c (jit_register_code): Remove unused i, b, inf_data. | |
1095 | (jit_frame_sniffer): Remove unused inf_data. | |
1096 | ||
df54f8eb AR |
1097 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
1098 | ||
1099 | * c-exp.y (classify_inner_name): Remove unused type. | |
1100 | * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed, | |
1101 | in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished, | |
1102 | need_escape. | |
1103 | (c_get_string): Remove unused kind. | |
1104 | * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2. | |
1105 | ||
5799c0b9 AR |
1106 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
1107 | ||
1108 | * charset.c (intermediate_encoding): Remove unused i. | |
1109 | * completer.c (signal_completer): Remove unused i. | |
1110 | * continuations.c (discard_my_continuations_1): Remove unused | |
1111 | continuation_ptr. | |
1112 | * corelow.c (core_close): Remove unuseD name. | |
1113 | (get_core_siginfo): Remove unused pid. | |
1114 | * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused | |
1115 | i, cps. | |
1116 | * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset. | |
1117 | (loclist_describe_location): Remove unused first. | |
1118 | * event-top.c (command_line_handler): Remove unused got_eof. | |
1119 | * exec.c (exec_close_1): Remove unused need_symtab_cleanup. | |
1120 | (resize_section_table): Remove unused old_value. | |
1121 | * gdb_bfd.c (gdb_bfd_map_section): Remove unused header. | |
1122 | * gnu-v3-abi.c (compute_vtable_size): Remove unused addr. | |
1123 | * i386-tdep.c (i386_process_record): Remove unused rex. | |
1124 | * infcmd.c (get_return_value): Remove unused uiout. | |
1125 | * jv-lang.c (type_from_class): Remove unused is_array. | |
1126 | * jv-valprint.c (java_val_print): Remove unused i. | |
1127 | * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid. | |
1128 | * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid. | |
1129 | * m2-typeprint.c (m2_print_type): Remove unused code. | |
1130 | * macroexp.c (get_character_constant): Remove unused body_start. | |
1131 | (macro_stringify): Remove unused result. | |
1132 | * objc-lang.c (find_methods): Remove unused gdbarch. | |
1133 | * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2. | |
1134 | * regcache.c (regcache_cooked_read): Remove unused gdbarch. | |
1135 | * stack.c (print_frame_args): Remove unused summary. | |
1136 | * thread.c (thread_apply_command): Remove unused p. | |
1137 | * valarith.c (value_x_unop): Remove unused mangle_ptr. | |
1138 | * valops.c (search_struct_method): Remove unused skip. | |
1139 | * valprint.c (generic_val_print): Remove unused byte_order. | |
1140 | * varobj.c (varobj_update): Remove unused changed. | |
1141 | * cli/cli-cmds.c (complete_command): Remove unused next_item. | |
1142 | (alias_command): Remove unused c. | |
1143 | * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c. | |
1144 | * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused | |
1145 | format. | |
1146 | (mi_cmd_data_write_memory): Remove unused word_format. | |
1147 | (mi_cmd_data_write_memory_bytes): Remove unused r. | |
1148 | * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused | |
1149 | p_start, p_end. | |
1150 | * python/python.c (_initialize_python): Remove unused cmd_name, cmd. | |
1151 | * tui/tui-disasm.c (tui_set_disassem_content): Remove unused | |
1152 | line_width. | |
1153 | ||
c656bca5 AR |
1154 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
1155 | ||
1156 | * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs. | |
1157 | * symtab.c (iterate_over_symtabs): Remove unused s. | |
1158 | (find_pc_sect_symtab): Remove unused pspAce. | |
1159 | (find_pc_sect_line): Remove unused alt_symtab. | |
1160 | (find_pcs_for_symtab_line): Remove unused ix, previous_function. | |
1161 | (completion_list_add_name): Remove unused newsize. | |
1162 | ||
7078baeb TT |
1163 | 2013-01-31 Tom Tromey <tromey@redhat.com> |
1164 | ||
1165 | PR c++/14998: | |
1166 | * dwarf2read.c (read_tag_ptr_to_member_type): Handle | |
1167 | TYPE_CODE_FUNC. | |
1168 | ||
c2e8b827 AR |
1169 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
1170 | ||
1171 | * target.c (target_read_string): Remove unused origlen. | |
1172 | ||
0e43993a AR |
1173 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
1174 | ||
1175 | * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec. | |
1176 | * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt. | |
1177 | * ax-general.c (ax_print): Remove unused is_float. | |
1178 | * blockframe.c (block_innermost_frame): Remove unused start, end. | |
1179 | * break-catch-sig.c (catch_signal_command): Remove unused gdbarch. | |
1180 | ||
765a97ab AR |
1181 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
1182 | ||
1183 | * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo. | |
1184 | (svr4_read_so_list): Remove unused lmo. | |
1185 | * solib-target.c (solib_target_relocate_section_addresses): Remove | |
1186 | unused flags. | |
1187 | ||
a99dad3d TT |
1188 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
1189 | ||
1190 | * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0". | |
1191 | ||
3bff1ecd TT |
1192 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
1193 | ||
1194 | * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32. | |
1195 | * utils.c (gnu_debuglink_crc32): Remove. | |
1196 | * utils.h (gnu_debuglink_crc32): Don't declare. | |
1197 | ||
7d455152 TT |
1198 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
1199 | ||
1200 | * dwarf2read.c (compute_delayed_physnames, read_call_site_scope) | |
1201 | (read_structure_type, read_enumeration_type): Remove cast. | |
1202 | ||
abee88f2 TT |
1203 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
1204 | ||
1205 | * dwarf2read.c (read_namespace_type): Remove cast. | |
1206 | (read_typedef): Likewise. | |
1207 | ||
8d9878a4 TT |
1208 | 2013-01-29 Tom Tromey <tromey@redhat.com> |
1209 | ||
1210 | * dwarf2read.c (free_dwo_file): Remove assert. | |
1211 | ||
a543d2a9 TT |
1212 | 2013-01-29 Tom Tromey <tromey@redhat.com> |
1213 | ||
1214 | * value.c (deprecated_set_value_modifiable): Remove. | |
1215 | * value.h (deprecated_set_value_modifiable): Remove. | |
1216 | ||
bed911e5 DE |
1217 | 2013-01-28 Doug Evans <dje@google.com> |
1218 | ||
1219 | * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address | |
1220 | to addresses from dwo files. | |
1221 | ||
28c64fc2 SCR |
1222 | 2013-01-25 Siva Chandra Reddy <sivachandra@google.com> |
1223 | ||
1224 | * valops.c (find_overload_match): Remove unused argument 'lax'. | |
1225 | * value.h: Remove unused argument 'lax' from the declaration of | |
1226 | find_overload_match. | |
1227 | * eval.c (value_subexp_standard): Do not pass a 'lax' argument | |
1228 | to find_overload_match. | |
1229 | * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax' | |
1230 | argument to find_overload_match. | |
1231 | ||
4d4ec4e5 TT |
1232 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
1233 | ||
1234 | * dwarf2read.c (processing_has_namespace_info): Remove. | |
1235 | (struct dwarf2_cu) <processing_has_namespace_info>: New field. | |
1236 | (process_die, read_func_scope, dwarf2_start_symtab) | |
1237 | (new_symbol_full): Update. | |
1238 | ||
195a3f6c TT |
1239 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
1240 | ||
1241 | * cp-namespace.c (cp_set_block_scope): Remove. | |
1242 | * cp-support.h (cp_set_block_scope): Remove. | |
1243 | * dbxread.c: Include block.h. | |
1244 | (cp_set_block_scope): New function. | |
1245 | (process_one_symbol): Update. | |
1246 | * dwarf2read.c (read_func_scope): Use block_set_scope. | |
1247 | ||
8ba0730a PA |
1248 | 2013-01-25 Pedro Alves <palves@redhat.com> |
1249 | ||
1250 | * remote.c (add_current_inferior_and_thread): Tweak comment. | |
1251 | ||
12aaed36 TT |
1252 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
1253 | ||
1254 | * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update. | |
1255 | (cp_add_using_directive): Add 'copy_names' argument. | |
1256 | * cp-support.h (cp_add_using_directive): Update. | |
1257 | (struct using_direct) <import_src, import_dest, alias, | |
1258 | declaration>: Now const. | |
1259 | * dwarf2read.c (read_import_statement): Use obconcat. | |
1260 | Don't copy names passed to cp_add_using_directive. | |
1261 | ||
7fc75ca7 TT |
1262 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
1263 | ||
1264 | * c-exp.y (qualified_name): Use TYPE_SAFE_NAME. | |
1265 | ||
3405876a PA |
1266 | 2013-01-25 Pedro Alves <palves@redhat.com> |
1267 | ||
1268 | * remote.c (stop_reply_extract_thread): New. | |
1269 | (add_current_inferior_and_thread): New parameter 'wait_status'. | |
1270 | Handle it. | |
1271 | (remote_start_remote): Pass wait status to | |
1272 | add_current_inferior_and_thread. | |
1273 | (extended_remote_run): Update comment. | |
1274 | (extended_remote_create_inferior_1): Pass wait status to | |
1275 | add_current_inferior_and_thread. | |
1276 | ||
8954db33 AB |
1277 | 2013-01-25 Andrew Burgess <aburgess@broadcom.com> |
1278 | Ulrich Weigand <uweigand@de.ibm.com> | |
1279 | ||
1280 | * valarith.c (value_vector_widen): New function for replicating a | |
1281 | scalar into a vector. | |
1282 | (value_binop): Use value_vector_widen to widen scalar to vector | |
1283 | rather than casting, this better matches gcc C behaviour. | |
1284 | * valops.c (value_casst): Update logic for casting between vector | |
1285 | types, and for casting from scalar to vector, try to match gcc C | |
1286 | behaviour. | |
1287 | * value.h (value_vector_widen): Declare. | |
1288 | * opencl-lang.c (opencl_value_cast): New opencl specific casting | |
1289 | function, handle special case for casting scalar to vector. | |
1290 | (opencl_relop): Use opencl_value_cast. | |
1291 | (evaluate_subexp_opencl): Use opencl_value_cast instead of | |
1292 | value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE | |
1293 | in order to use opencl_value_cast. | |
1294 | ||
843b20dc YQ |
1295 | 2013-01-25 Yao Qi <yao@codesourcery.com> |
1296 | ||
1297 | * event-loop.c: Include "queue.h". | |
1298 | (gdb_event_p): New typedef. | |
1299 | (DECLARE_QUEUE_P): Use. | |
1300 | (DEFINE_QUEUE_P): Use. | |
1301 | (async_queue_event): Remove. | |
1302 | (gdb_event_xfree): New. | |
1303 | (initialize_event_loop): New. | |
1304 | (process_event): Use QUEUE macros. | |
1305 | (event_queue): Remove. | |
1306 | (gdb_wait_for_event): Caller update. | |
1307 | (check_async_event_handlers): Likewise. | |
1308 | (poll_timers): Likewise. | |
1309 | * event-loop.h (initialize_event_loop): Declare. | |
1310 | * event-loop.c (gdb_event_xfree): New. | |
1311 | * top.c (gdb_init): Call initialize_event_loop. | |
1312 | ||
20ad8856 YQ |
1313 | 2013-01-25 Yao Qi <yao@codesourcery.com> |
1314 | ||
1315 | * event-loop.c (async_queue_event): Remove one parameter | |
1316 | 'position'. Remove code handling 'position' == TAIL. | |
1317 | (gdb_wait_for_event): Caller update. | |
1318 | (check_async_event_handlers): Caller update. | |
1319 | (poll_timers): Caller update. | |
1320 | * event-loop.h (enum queue_position): Remove. | |
1321 | ||
3bbbe775 MK |
1322 | 2013-01-25 Maxim Kuvyrkov <maxim@kugelworks.com> |
1323 | ||
1324 | * MAINTAINERS: Update my email. | |
1325 | ||
a87d9ac4 YQ |
1326 | 2013-01-25 Yao Qi <yao@codesourcery.com> |
1327 | ||
1328 | * main.c (print_gdb_help): Remove "--epoch" from the help | |
1329 | message. | |
1330 | ||
2077afdd TD |
1331 | 2013-01-24 Ulrich Weigand <uweigand@de.ibm.com> |
1332 | ||
1333 | * symtab.c (skip_prologue_using_sal): Consider a file | |
1334 | change the same as an increased line number | |
1335 | ||
63da4037 TD |
1336 | 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com> |
1337 | ||
30e8ee25 | 1338 | * MAINTAINERS (Write After Approval): Add myself to the list. |
63da4037 | 1339 | |
45e6c716 TT |
1340 | 2013-01-24 Tom Tromey <tromey@redhat.com> |
1341 | ||
1342 | * ada-lang.h (ada_decode_symbol): Make return type const. | |
1343 | * ada-lang.c (ada_decode_symbol): Likewise. | |
1344 | ||
b1ae631a DE |
1345 | 2013-01-23 Doug Evans <dje@google.com> |
1346 | ||
1347 | * linespec.c (find_linespec_symbols): Make static. | |
1348 | ||
55a78401 SDJ |
1349 | 2013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com> |
1350 | ||
1351 | * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct | |
1352 | type on float conversion for complex type. | |
1353 | ||
bea883fd SCR |
1354 | 2013-01-23 Siva Chandra Reddy <sivachandra@google.com> |
1355 | ||
1356 | Add a new class gdb.Architecture which exposes GDB's | |
1357 | internal representation of architecture via GDB Python API. | |
1358 | * Makefile.in: Add entries corresponding to the new file | |
1359 | python/py-arch.c. | |
1360 | * NEWS (Python Scripting): Add entries for the new class | |
1361 | gdb.Architecture and the new method gdb.Frame.architecture. | |
1362 | * python/py-arch.c: Implement gdb.Architecture class. | |
1363 | * python/py-frame.c (frapy_arch): Implement the method | |
1364 | gdb.Frame.architecture(). | |
1365 | (frame_object_methods): Add 'architecture' to the method table. | |
1366 | * python/python-internal.h: Add declarations of new utility | |
1367 | functions. | |
1368 | * python/python.c (_initialize_python): Initialize | |
1369 | gdb.Architecture class. | |
1370 | ||
796a7ff8 DE |
1371 | 2013-01-23 Doug Evans <dje@google.com> |
1372 | ||
1373 | Work around binutils/15021. | |
1374 | * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and | |
1375 | type_unit_group out of union s. All uses updated. | |
1376 | (read_index_from_section): Watch for index version 8. | |
1377 | (follow_die_sig): If using .gdb_index version <= 7, record the TU as | |
1378 | an imported symtab. | |
1379 | (write_psymtabs_to_index): Increment version number to 8. | |
1380 | ||
0928e93d PA |
1381 | 2013-01-22 Pedro Alves <palves@redhat.com> |
1382 | ||
1383 | * annotate.c (breakpoint_changed): Skip if breakpoint is not | |
1384 | user-visible. | |
1385 | ||
9c97429f PA |
1386 | 2013-01-22 Pedro Alves <palves@redhat.com> |
1387 | ||
1388 | * annotate.c (annotate_breakpoints_changed): Rename to ... | |
1389 | (annotate_breakpoints_invalid): ... this. Make static. | |
1390 | (breakpoint_changed): Adjust. | |
1391 | (_initialize_annotate): Always install the observers. Install a | |
1392 | "breakpoint_created" observer. | |
1393 | * annotate.h (annotate_breakpoints_changed): Delete declaration. | |
1394 | * breakpoint.c (set_breakpoint_condition) | |
1395 | (breakpoint_set_commands, do_map_commands_command) | |
1396 | (init_raw_breakpoint, clear_command, set_ignore_count) | |
1397 | (enable_breakpoint_disp): No longer call | |
1398 | annotate_breakpoints_changed. | |
1399 | ||
bd00c694 PA |
1400 | 2013-01-22 Pedro Alves <palves@redhat.com> |
1401 | ||
1402 | * annotate.c: Include "inferior.h". | |
1403 | (frames_invalid_emitted) | |
1404 | (breakpoints_invalid_emitted): New globals. | |
1405 | (async_background_execution_p): New function. | |
1406 | (annotate_breakpoints_changed, annotate_frames_invalid): Skip | |
1407 | emitting the annotation if it has already been emitted. | |
1408 | (annotate_display_prompt): New function. | |
1409 | * annotate.h (annotate_display_prompt): New declaration. | |
1410 | * event-top.c: Include annotate.h. | |
1411 | (display_gdb_prompt): Call annotate_display_prompt. | |
1412 | ||
187d10dd PA |
1413 | 2013-01-22 Pedro Alves <palves@redhat.com> |
1414 | ||
1415 | * annotate.c (ignore_count_changed): Delete. | |
1416 | (annotate_breakpoints_changed): Don't clear ignore_count_changed. | |
1417 | (annotate_ignore_count_change): Delete. | |
1418 | (annotate_stopped): Don't emit a delayed breakpoints-changed | |
1419 | annotation. | |
1420 | * annotate.h (annotate_ignore_count_change): Delete. | |
1421 | * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call | |
1422 | annotate_ignore_count_change. | |
1423 | ||
d84cf7eb TT |
1424 | 2013-01-22 Tom Tromey <tromey@redhat.com> |
1425 | ||
1426 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only | |
1427 | require_rvalue for a register location. | |
1428 | ||
8f1d5693 MK |
1429 | 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com> |
1430 | ||
1431 | * breakpoint.c (print_one_breakpoint_location): Add MI | |
1432 | field 'thread-groups' when printing a breakpoint. | |
1433 | (output_thread_groups): New function. | |
1434 | ||
aa6199c6 SCR |
1435 | 2013-01-21 Siva Chandra Reddy <sivachandra@google.com> |
1436 | ||
1437 | * python/lib/gdb/commands/explore.py | |
1438 | (CompoundExplorer.explore_expr): Correct the name of a method | |
1439 | being invoked. | |
1440 | (ExploreTypeCommand.invoke): Add a missing 'return'. | |
1441 | ||
d2afef13 TT |
1442 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
1443 | ||
1444 | * gdb_obstack.h (obconcat): Move declaration here, from... | |
1445 | * symfile.h (obconcat): ... here. | |
1446 | * gdb_obstack.c: New file. | |
1447 | (obconcat): Move from... | |
1448 | * symfile.c (obconcat): ... here. | |
1449 | * Makefile.in (SFILES): Add gdb_obstack.c. | |
1450 | (COMMON_OBS): Add gdb_obstack.o. | |
1451 | ||
10f0c4bb TT |
1452 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
1453 | ||
1454 | * symfile.h (obsavestring): Don't declare. | |
1455 | * symfile.c (obsavestring): Remove. | |
1456 | * ada-exp.y: Use obstack_copy0, not obsavestring. | |
1457 | * ada-lang.c: Use obstack_copy0, not obsavestring. | |
1458 | * coffread.c: Use obstack_copy0, not obsavestring. | |
1459 | * cp-namespace.c: Use obstack_copy0, not obsavestring. | |
1460 | * dbxread.c: Use obstack_copy0, not obsavestring. | |
1461 | * dwarf2read.c: Use obstack_copy0, not obsavestring. | |
1462 | * jit.c: Use obstack_copy0, not obsavestring. | |
1463 | * mdebugread.c: Use obstack_copy0, not obsavestring. | |
1464 | * psymtab.c: Use obstack_copy0, not obsavestring. | |
1465 | * stabsread.c: Use obstack_copy0, not obsavestring. | |
1466 | * xcoffread.c: Use obstack_copy0, not obsavestring. | |
1467 | ||
86f62fd7 TT |
1468 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
1469 | ||
1470 | * dwarf2read.c (fixup_go_packaging): Save package name | |
1471 | on objfile obstack. | |
1472 | * gdbtypes.c (init_type): Don't copy name. | |
1473 | ||
15d034d0 TT |
1474 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
1475 | ||
1476 | * dwarf2read.c (struct partial_die_info) <name, scope>: Now | |
1477 | const. | |
1478 | (struct attribute) <u.str>: Now const. | |
1479 | (struct fnfieldlist) <name>: Now const. | |
1480 | (dw2_get_file_names_reader, init_cutu_and_read_dies): Update. | |
1481 | (partial_die_parent_scope): Make return type const. | |
1482 | (partial_die_full_name, add_partial_symbol): Update. | |
1483 | (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make | |
1484 | 'name' const. | |
1485 | (find_file_and_directory): Make 'name' and 'comp_dir' const. | |
1486 | (read_file_scope, read_func_scope, dwarf2_add_field) | |
1487 | (dwarf2_add_member_fn, read_structure_type) | |
1488 | (process_enumeration_scope, read_array_type, read_module_type) | |
1489 | (read_base_type, read_subrange_type): Update. | |
1490 | (dwarf2_start_symtab): Make 'name' and 'comp_dir' const. | |
1491 | (new_symbol_full, guess_full_die_structure_name): Update. | |
1492 | (dwarf2_canonicalize_name): Return const type. Make 'name' const. | |
1493 | (dwarf2_name): Return const type. | |
1494 | (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir' | |
1495 | const. | |
1496 | ||
748e18ae TT |
1497 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
1498 | ||
1499 | * gdbtypes.c (init_type): Make 'name' const. | |
1500 | * gdbtypes.h (init_type): Update. | |
1501 | ||
46212e0b TT |
1502 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
1503 | ||
1504 | * buildsym.c (patch_subfile_names): Use set_last_source_file. | |
1505 | (start_symtab): Make 'name' and 'dirname' const. Use | |
1506 | set_last_source_file. | |
1507 | (restart_symtab, reset_symtab_globals): Use set_last_source_file. | |
1508 | (last_source_file): Define. Now static. | |
1509 | (set_last_source_file, get_last_source_file): New functions. | |
1510 | * buildsym.h (last_source_file): Don't declare. | |
1511 | (start_symtab): Update. | |
1512 | (set_last_source_file, get_last_source_file): Declare. | |
1513 | * coffread.c (complete_symtab): Use set_last_source_file. | |
1514 | (coff_end_symtab): Likewise. | |
1515 | (coff_symtab_read): Use set_last_source_file, get_last_source_file. | |
1516 | * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use | |
1517 | set_last_source_file. | |
1518 | (process_one_symbol): Use get_last_source_file. | |
1519 | * mdebugread.c (parse_partial_symbols): Use set_last_source_file. | |
1520 | (psymtab_to_symtab_1): Use get_last_source_file. | |
1521 | * xcoffread.c (process_linenos): Use get_last_source_file. | |
1522 | (complete_symtab): Use set_last_source_file. | |
1523 | (read_xcoff_symtab): Use set_last_source_file, get_last_source_file. | |
1524 | (scan_xcoff_symtab): Use set_last_source_file. | |
1525 | ||
9d2ceabe TT |
1526 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
1527 | ||
1528 | * symtab.c (struct demangled_name_entry) <mangled>: Now const. | |
1529 | (symbol_set_names): Remove casts. Handle field const-ness. | |
1530 | ||
cfc594ee TT |
1531 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
1532 | ||
1533 | * dwarf2read.c (new_symbol_full): Remove cast. | |
1534 | * symtab.c (symbol_set_demangled_name): Make 'name' const. | |
1535 | * symtab.h (symbol_set_demangled_name): Update. | |
1536 | ||
5484b13a TT |
1537 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
1538 | ||
1539 | * main.c (captured_main): Call bfd_init. | |
1540 | ||
1605ef26 TT |
1541 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
1542 | ||
1543 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI. | |
1544 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI. | |
1545 | * minsyms.c (install_minimal_symbols): Don't check for _Z symbols. | |
1546 | * NEWS: Update. | |
1547 | ||
3b74cdc3 JK |
1548 | 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
1549 | ||
1550 | * symmisc.c (maintenance_print_msymbols): Check also ST_DEV. | |
1551 | ||
5a352474 JK |
1552 | 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
1553 | ||
1554 | Fix gdb.fortran/common-block.exp crash in PIE mode. | |
1555 | * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use | |
1556 | LOC_COMMON_BLOCK. | |
1557 | * f-valprint.c (info_common_command_for_block): Expect | |
1558 | LOC_COMMON_BLOCK in gdb_assert. | |
1559 | * symtab.h (struct general_symbol_info): Update comment for the | |
1560 | common_block member. | |
1561 | (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member. | |
1562 | (enum address_class): New member LOC_COMMON_BLOCK. | |
1563 | ||
c60797fd DB |
1564 | 2013-01-18 David Blaikie <dblaikie@gmail.com> |
1565 | ||
1566 | * MAINTAINERS (Write After Approval): Add "David Blaikie". | |
0cae7dfb | 1567 | |
46f35228 TT |
1568 | 2013-01-18 Tom Tromey <tromey@redhat.com> |
1569 | ||
1570 | PR c++/14999: | |
1571 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: | |
1572 | Call require_rvalue. | |
1573 | ||
257e7a09 YQ |
1574 | 2013-01-18 Yao Qi <yao@codesourcery.com> |
1575 | ||
1576 | * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration. | |
1577 | (dbx_read_symtab): New declaration. | |
1578 | (dbx_psymtab_to_symtab): Delete. | |
1579 | (dbx_read_symtab): Rename from dbx_psymtab_to_symtab. | |
1580 | Rename parameter PST to SELF. Exchanged two parameters. | |
1581 | (start_psymtab): Caller update. | |
1582 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration. | |
1583 | (dwarf2_read_symtab): New declaration. | |
1584 | (dwarf2_psymtab_to_symtab): Delete. | |
1585 | (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab. | |
1586 | Rename parameter PST to SELF. Exchanged two parameters. | |
1587 | (create_partial_symtab): Caller update. | |
1588 | * mdebugread.c (mdebug_psymtab_to_symtab): Delete. | |
1589 | (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab. | |
1590 | Rename parameter PST to SELF. Exchanged two parameters. | |
1591 | (parse_partial_symbols, new_psymtab): Caller update. | |
1592 | * psympriv.h (struct partial_symtab) <read_symtab>: Exchange | |
1593 | two parameters. | |
1594 | * psymtab.c (psymtab_to_symtab): Caller update. | |
1595 | * xcoffread.c (xcoff_psymtab_to_symtab): Delete. | |
1596 | (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab. | |
1597 | Rename parameter PST to SELF. Exchanged two parameters. | |
1598 | (xcoff_start_psymtab): Caller update. | |
1599 | ||
0de5618e YQ |
1600 | 2013-01-18 Yao Qi <yao@codesourcery.com> |
1601 | ||
1602 | * infrun.c (proceed): Rename local variable 'oneproc' to | |
1603 | 'force_step'. | |
1604 | ||
5c04624b DE |
1605 | 2013-01-17 Doug Evans <dje@google.com> |
1606 | ||
848e3e78 DE |
1607 | * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete. |
1608 | (dw2_build_type_unit_groups): Delete. All uses updated. | |
1609 | ||
5c04624b DE |
1610 | * symtab.h (struct symbol_search): Add comment. |
1611 | ||
d84fca2c JK |
1612 | 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
1613 | ||
1614 | * symtab.c (compare_filenames_for_search): New comment for | |
1615 | HAS_DRIVE_SPEC. | |
1616 | ||
6108433d TT |
1617 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
1618 | ||
1619 | * cp-abi.c (cp_abi_completer): Fix typo in assignment. | |
1620 | ||
c89ffd86 JK |
1621 | 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
1622 | ||
1623 | * symtab.c (iterate_over_some_symtabs): New variable cleanups, | |
1624 | initialize it by existing make_cleanup. Call new do_cleanups. | |
1625 | ||
db2b2972 TT |
1626 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
1627 | ||
1628 | * cp-abi.c (cp_abi_completer): New function. | |
1629 | (_initialize_cp_abi): Set completer for "set cp-abi". | |
1630 | ||
be7d37a2 TT |
1631 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
1632 | ||
1633 | * mem-break.c: Remove obsolete comment. | |
1634 | * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment. | |
1635 | ||
c9fb1240 SD |
1636 | 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com> |
1637 | ||
1638 | * jit.c (jit_reader_load_command): Interpret the jit reader name | |
1639 | as an absolute path if it begins with a forward slash. | |
1640 | ||
db334a01 SD |
1641 | 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com> |
1642 | ||
1643 | PR gdb/14550 | |
1644 | ||
1645 | * jit.c (finalize_symtab): Ensure that only the global block has a | |
1646 | NULL superblock. | |
1647 | ||
7d928dac PA |
1648 | 2013-01-17 Pedro Alves <palves@redhat.com> |
1649 | ||
1650 | * acinclude.m4: Include ../config/plugins.m4, | |
1651 | ../config/largefile.m4 and ../config/lead-dot.m4. Add comments. | |
1652 | * Makefile.in (aclocal_m4_deps): Update. | |
1653 | * aclocal.m4: Renegerate. | |
1654 | ||
fb8cf7c5 DE |
1655 | 2013-01-16 Doug Evans <dje@google.com> |
1656 | ||
1657 | * contrib/cc-with-tweaks.sh: Add references to Fission docs. | |
1658 | ||
ab04a2af TT |
1659 | 2013-01-16 Pedro Alves <palves@redhat.com> |
1660 | Tom Tromey <tromey@redhat.com> | |
1661 | ||
1662 | PR cli/7221: | |
1663 | * NEWS: Add "catch signal". | |
1664 | * breakpoint.c (base_breakpoint_ops): No longer static. | |
1665 | (bpstat_explains_signal): New function. | |
1666 | (init_catchpoint): No longer static. | |
1667 | (base_breakpoint_explains_signal): New function. | |
1668 | (base_breakpoint_ops): Initialize new field. | |
1669 | * breakpoint.h (enum bpstat_signal_value): New. | |
1670 | (struct breakpoint_ops) <explains_signal>: New field. | |
1671 | (bpstat_explains_signal): Remove macro, declare as function. | |
1672 | (base_breakpoint_ops, init_catchpoint): Declare. | |
1673 | * break-catch-sig.c: New file. | |
1674 | * inferior.h (signal_catch_update): Declare. | |
1675 | * infrun.c (signal_catch): New global. | |
1676 | (handle_syscall_event): Update for change to | |
1677 | bpstat_explains_signal. | |
1678 | (handle_inferior_event): Likewise. Always handle random signals | |
1679 | via bpstats. | |
1680 | (signal_cache_update): Check signal_catch. | |
1681 | (signal_catch_update): New function. | |
1682 | (_initialize_infrun): Initialize signal_catch. | |
1683 | * Makefile.in (SFILES): Add break-catch-sig.c. | |
1684 | (COMMON_OBS): Add break-catch-sig.o. | |
1685 | ||
8ac3646f TT |
1686 | 2013-01-16 Tom Tromey <tromey@redhat.com> |
1687 | ||
1688 | * breakpoint.c (print_one_catch_fork, print_one_catch_vfork) | |
1689 | (print_one_catch_solib, print_one_catch_syscall) | |
1690 | (print_one_catch_exec, print_one_exception_catchpoint): Emit | |
1691 | "catch-type". | |
1692 | ||
5a18e302 YQ |
1693 | 2013-01-16 Yao Qi <yao@codesourcery.com> |
1694 | ||
1695 | * printcmd.c (current_display_number): Make it static. | |
1696 | ||
3f01d0d0 YQ |
1697 | 2013-01-16 Yao Qi <yao@codesourcery.com> |
1698 | ||
1699 | * infcmd.c (step_once): Don't check '!single_inst' as it was | |
1700 | checked before. | |
1701 | ||
1ed59174 JK |
1702 | 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
1703 | ||
1704 | * dwarf2read.c (psymtab_include_file_name): Extend the function comment. | |
1705 | ||
44478ab3 TT |
1706 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
1707 | ||
1708 | * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the | |
1709 | set command. | |
1710 | * command.h (add_setshow_string_noescape_cmd): Update. | |
1711 | * corefile.c (set_gnutarget_command): Remove trailing whitespace. | |
1712 | (complete_set_gnutarget): New function. | |
1713 | (_initialize_core): Set the "set gnutarget" completer. | |
1714 | ||
06d66ee9 TT |
1715 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
1716 | ||
1717 | PR symtab/14442: | |
1718 | * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'. | |
1719 | (c_type_print_modifier): Likewise. | |
1720 | * dwarf2read.c (read_tag_restrict_type): New function. | |
1721 | (read_type_die_1): Handle DW_TAG_restrict_type. | |
1722 | * gdbtypes.c (make_restrict_type): New function. | |
1723 | (recursive_dump_type): Handle TYPE_RESTRICT. | |
1724 | * gdbtypes.h (enum type_flag_values): Renumber. | |
1725 | (enum type_instance_flag_value): Add | |
1726 | TYPE_INSTANCE_FLAG_RESTRICT. | |
1727 | (TYPE_RESTRICT): New macro. | |
1728 | (make_restrict_type): Declare. | |
1729 | ||
c9bf0622 TT |
1730 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
1731 | ||
1732 | PR symtab/14931: | |
1733 | * psymtab.c (struct psymtab_state): New. | |
1734 | (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New | |
1735 | functions. | |
1736 | * psympriv.h (make_cleanup_discard_psymtabs): Declare. | |
1737 | * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions. | |
1738 | ||
44d594fd PA |
1739 | 2013-01-14 Richard Sharman <richard_sharman@mitel.com> |
1740 | Pedro Alves <palves@redhat.com> | |
1741 | ||
1742 | PR remote/14786 | |
1743 | ||
1744 | * remote.c (remote_threads_info): Make a copy of the reply from | |
1745 | qfThreadInfo and use that instead of rs->buf. | |
1746 | ||
442e4d9c YQ |
1747 | 2013-01-14 Yao Qi <yao@codesourcery.com> |
1748 | ||
1749 | * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL. | |
1750 | (dbx_psymtab_to_symtab): Likewise. | |
1751 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise. | |
1752 | * mdebugread.c (mdebug_psymtab_to_symtab): Likewise. | |
1753 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise. | |
1754 | ||
5b12a61c JK |
1755 | 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
1756 | ||
1757 | * parse.c (parse_exp_in_context): New variable inner_chain. Call | |
1758 | make_cleanup_restore_current_language. Call set_language. Move | |
1759 | OLD_CHAIN and INNER_CHAIN cleanups. | |
1760 | * utils.c (do_restore_current_language) | |
1761 | (make_cleanup_restore_current_language): New functions. | |
1762 | * utils.h (make_cleanup_restore_current_language): New declaration. | |
1763 | ||
f0a4b570 JK |
1764 | 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
1765 | ||
1766 | * source.c (symtab_to_fullname): Apply rewrite_source_path also for | |
1767 | non-existing files. | |
1768 | ||
57b3c00c JK |
1769 | * source.c (symtab_to_fullname): Do not prepend DIRNAME for |
1770 | non-existing files if FILENAME is already absolute. | |
1771 | ||
daefa854 JK |
1772 | 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
1773 | ||
1774 | * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of | |
1775 | fputs_filtered. Append trailing newline. | |
1776 | ||
ca9c6ee2 YQ |
1777 | 2013-01-11 Yao Qi <yao@codesourcery.com> |
1778 | Stan Shebs <stan@codesourcery.com> | |
1779 | ||
1780 | * psymtab.c (init_psymbol_list): Clarify the comment. | |
1781 | ||
f28045c2 YQ |
1782 | 2013-01-11 Yao Qi <yao@codesourcery.com> |
1783 | ||
1784 | * breakpoint.c (print_one_breakpoint_location): Remove dead code. | |
1785 | (update_dprintf_command_list): Assert that 'printf_line' is | |
1786 | non-null. Remove condition check. | |
1787 | ||
da5132d3 JK |
1788 | 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
1789 | ||
1790 | Code cleanup. | |
1791 | * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return | |
1792 | type const char *. | |
1793 | * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname | |
1794 | const char *. | |
1795 | * tui/tui-source.h (tui_source_is_displayed): Likewise. | |
1796 | ||
843e694d AG |
1797 | 2013-01-09 Anthony Green <green@moxielogic.com> |
1798 | ||
1799 | * cp-abi.c (cplus_print_vtable): Don't return value from void | |
1800 | function. | |
1801 | * ada-lang.c (re_set_catch_assert): Ditto. | |
1802 | ||
da51c347 DE |
1803 | 2013-01-09 Doug Evans <dje@google.com> |
1804 | ||
1805 | * symfile.h (quick_symbol_functions): Delete member | |
1806 | pre_expand_symtabs_matching. All uses removed. | |
1807 | * dwarf2read.c (dw2_lookup_symbol): Implement. | |
1808 | (dw2_do_expand_symtabs_matching): Delete. | |
1809 | (dw2_pre_expand_symtabs_matching): Delete. | |
1810 | (struct dw2_symtab_iterator): New type. | |
1811 | (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions. | |
1812 | (dw2_expand_symtabs_for_function): Rewrite. | |
1813 | (dwarf2_gdb_index_functions): Update. | |
1814 | * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete. | |
1815 | (psym_functions): Update. | |
1816 | ||
b2259038 TT |
1817 | 2013-01-09 Tom Tromey <tromey@redhat.com> |
1818 | ||
1819 | * config/pa/hpux.mh (NATDEPFILES): Remove somread.o. | |
1820 | * configure: Rebuild. | |
1821 | * configure.ac: Add somread.o to the build if BFD has SOM | |
1822 | support. | |
1823 | * somread.c: Include som/aout.h, not syms.h. | |
1824 | (som_symtab_read): Use som_external_symbol_dictionary_record. | |
1825 | Unpack records manually. | |
1826 | (_initialize_somread): Declare. | |
1827 | ||
bdad4180 MF |
1828 | 2012-01-08 Mike Frysinger <vapier@gentoo.org> |
1829 | ||
1830 | * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]: | |
1831 | Cast return_address to 64bits. | |
1832 | ||
03cdf680 HZ |
1833 | 2013-01-08 Hui Zhu <hui_zhu@mentor.com> |
1834 | ||
1835 | * printcmd.c: Remove define of function output_command. | |
1836 | * tracepoint.c: Remove extern of function output_command. | |
1837 | * valprint.h: (output_command): New extern. | |
1838 | ||
8a808554 TT |
1839 | 2013-01-07 Tom Tromey <tromey@redhat.com> |
1840 | ||
1841 | * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr): | |
1842 | Remove. | |
1843 | (objc_language_defn): Use c_printchar, c_printstr, | |
1844 | c_emit_char. | |
1845 | ||
e93a8774 TT |
1846 | 2013-01-07 Tom Tromey <tromey@redhat.com> |
1847 | ||
1848 | PR cli/7719: | |
1849 | * NEWS: Update. | |
1850 | * ada-valprint.c (printstr, print_field_values): Remove | |
1851 | "inspect_it" code. | |
1852 | * cp-valprint.c (cp_print_value_fields): Remove "inspect_it" | |
1853 | code. | |
1854 | * jv-valprint.c (java_print_value_fields): Remove "inspect_it" | |
1855 | code. | |
1856 | * m2-lang.c (m2_printstr): Remove "inspect_it" code. | |
1857 | * main.c (captured_main): Remove "epoch" argument. | |
1858 | * objc-lang.c (objc_printstr): Remove "inspect_it" code. | |
1859 | * p-lang.c (pascal_printstr): Remove "inspect_it" code. | |
1860 | * p-valprint.c (pascal_object_print_value_fields): Remove | |
1861 | "inspect_it" code. | |
1862 | * printcmd.c (print_command_1): Remove 'inspect' argument. | |
1863 | (print_command, call_command): Update. | |
1864 | (inspect_command): Remove. | |
1865 | (_initialize_printcmd): Make "inspect" an alias for "print". | |
1866 | * top.c (epoch_interface): Remove. | |
1867 | * top.h (epoch_interface): Remove. | |
1868 | * valprint.c (user_print_options): Update. | |
1869 | (print_converted_chars_to_obstack): Remove "inspect_it" code. | |
1870 | * valprint.h (struct value_print_options) <inspect_it>: Remove | |
1871 | field. | |
1872 | ||
1873 | 2013-01-04 Tom Tromey <tromey@redhat.com> | |
1874 | ||
1875 | * valprint.h (read_string): Add 'extern'. | |
1876 | ||
b967eb24 JB |
1877 | 2013-01-07 Joel Brobecker <brobecker@adacore.com> |
1878 | ||
1879 | * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test | |
1880 | used to decide whether to define darwin_read_dyld_info or not. | |
1881 | ||
78a8b30e PM |
1882 | 2013-01-03 Pierre Muller <muller@sourceware.org> |
1883 | ||
1884 | * main.c (relocate_gdb_directory): Avoid calling stat function | |
1885 | if DIR is empty. | |
1886 | ||
50da2f25 YQ |
1887 | 2013-01-03 Yao Qi <yao@codesourcery.com> |
1888 | ||
1889 | * psymtab.c (fixup_psymbol_section): Update declaration. | |
1890 | (fixup_psymbol_section): Remove code returning value. | |
1891 | ||
e7e8980f YQ |
1892 | 2013-01-03 Yao Qi <yao@codesourcery.com> |
1893 | ||
1894 | * symtab.h: Remove some out of date comments. | |
1895 | (enum exception_event_kind): Move it ... | |
1896 | * breakpoint.c: ... here. | |
1897 | ||
569283d4 MF |
1898 | 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk> |
1899 | ||
9f9d9a96 | 1900 | PR gdb/14405 |
569283d4 MF |
1901 | * darwin-nat.c (darwin_read_dyld_info): Only build if |
1902 | TASK_DYLD_INFO_COUNT is defined. | |
1903 | (darwin_xfer_partial): Call darwin_read_dyld_info only if | |
1904 | TASK_DYLD_INFO_COUNT is defined. | |
1905 | ||
2e36fbea TT |
1906 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
1907 | ||
1908 | * symfile.h (struct ecoff_debug_hack): Remove. | |
1909 | * objfiles.c: Don't include mdebugread.h. | |
1910 | ||
4f05add4 TT |
1911 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
1912 | ||
1913 | * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o. | |
1914 | * configure.ac: Check for Mach-O support in BFD. Update | |
1915 | CONFIG_OBS. | |
1916 | * configure: Rebuild. | |
1917 | ||
def63ff0 TT |
1918 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
1919 | ||
1920 | * acinclude.m4 (GDB_AC_CHECK_BFD): New macro. | |
1921 | * configure.ac: Use GDB_AC_CHECK_BFD. | |
1922 | * configure: Rebuild. | |
1923 | ||
60c5dd93 MK |
1924 | 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com> |
1925 | ||
1926 | * MAINTAINERS: Update my email. | |
1927 | ||
6e58437e JB |
1928 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
1929 | ||
1930 | * cli/cli-script.h (make_cleanup_free_command_lines): Make extern. | |
1931 | ||
627fe805 JB |
1932 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
1933 | ||
1934 | * rs6000-nat.c (bss_data_overlap): New function. | |
1935 | (vmap_symtab): Use it to adjust the .bss section's offset. | |
1936 | ||
28e7fd62 JB |
1937 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
1938 | ||
1939 | Update year range in copyright notice of all files. | |
1940 | ||
e93a8774 | 1941 | 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com> |
b9786c74 JB |
1942 | |
1943 | * top.c (print_gdb_version): Update copyright year. | |
1944 | ||
72b20e9c | 1945 | For older changes see ChangeLog-2012. |
c906108c SS |
1946 | \f |
1947 | Local Variables: | |
1948 | mode: change-log | |
1949 | left-margin: 8 | |
1950 | fill-column: 74 | |
1951 | version-control: never | |
57da7796 | 1952 | coding: utf-8 |
c906108c | 1953 | End: |