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