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