Commit | Line | Data |
---|---|---|
17ca283a MK |
1 | 2004-12-23 Mark Kettenis <kettenis@gnu.org> |
2 | ||
3 | * i386-nto-tdep.c: Reorder include files. | |
4 | (i386nto_svr4_fetch_link_map_offsets): Remove function. | |
5 | (init_i386nto_ops, i386nto_init_abi): Use | |
6 | svr4_ilp32_fetch_link_map_offsets instead of | |
7 | i386nto_svr4_fetch_link_map_offsets. | |
8 | ||
8f4e467c MK |
9 | 2004-12-21 Mark Kettenis <kettenis@gnu.org> |
10 | ||
11 | * hppa-tdep.c (hppa_frame_prev_register_helper): Make 64-bit safe. | |
12 | ||
9738b034 MK |
13 | 2004-12-21 Mark Kettenis <kettenis@gnu.org> |
14 | ||
15 | * hppa-tdep.c (hppa64_return_value): Fix previous commit. | |
16 | ||
08a27113 MK |
17 | 2004-12-21 Mark Kettenis <kettenis@gnu.org> |
18 | ||
19 | * hppa-tdep.c (hppa32_return_value): Move further down. | |
20 | (hppa64_return_value): Re-implement. | |
21 | ||
8480adf2 JB |
22 | 2004-12-21 Jim Blandy <jimb@redhat.com> |
23 | ||
24 | * remote.c (fetch_register_using_p): Fix formatting. | |
25 | ||
0b48a291 PH |
26 | 2004-12-21 Paul N. Hilfinger <hilfingr@otisco.mckusick.com> |
27 | ||
28 | * ada-lang.c (ada_print_subexp): Remove i18n markup from Ada code | |
29 | output. | |
30 | * ada-typeprint.c (ada_typedef_print): Ditto. | |
31 | (print_unchecked_union_type): Ditto. | |
32 | (print_record_type): Ditto, and correct output for non-derived | |
33 | types that was inadvertently left off during the markup. | |
34 | ||
38ca4e0c MK |
35 | 2004-12-19 Mark Kettenis <kettenis@gnu.org> |
36 | ||
81092a3e MK |
37 | * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence): Check |
38 | whether the name returned by find_pc_partial_function is a null | |
39 | pointer, not whether it is an empty string. | |
40 | ||
38ca4e0c MK |
41 | * hppa-tdep.h (hppa_regnum): Add HPPA_DP_REGNUM, HPPA_RET0_REGNUM, |
42 | HPPA_RET1_REGNUM and HPPA64_FP4_REGNUM. | |
43 | * hppa-tdep.c (hppa64_integral_or_pointer_p) | |
44 | (hppa64_floating_p) New functions. | |
45 | (hppa64_push_dummy_call): Re-implement. | |
46 | (hppa32_register_type): Rename argument reg_nr to regnum. | |
47 | (hppa64_register_type): Likewise. Use HPPA64_FP4_REGNUM instead | |
48 | of HPPA_FP4_REGNUM. | |
49 | (hppa32_cannot_store_register): Renamed from | |
50 | hppa_cannot_store_register. | |
51 | (hppa64_cannot_store_register): New function. | |
52 | (hppa_gdbarch_init): Set cannot_store_register and | |
53 | cannot_fetch_register to hppa32_cannot_store_register or | |
54 | hppa64_cannot_store_register when appropriate. | |
55 | ||
17fe2d6e MK |
56 | 2004-12-18 Mark Kettenis <kettenis@gnu.org> |
57 | ||
87285d5b MK |
58 | * hppah-nat.c: Remove file. |
59 | * infttrace.h: Remove file. | |
60 | * infttrace.c: Remove file. | |
61 | * Makefile.in (ALLDEPFILES): Remove hppah-nat.c | |
62 | (infttrace_h): Remove variable. | |
63 | (hppah-nat.o, infttrace.o): Remove dependencies. | |
64 | * configure.host (hppa*64*-*-hpux11*): Remove. | |
65 | * config/pa/hpux11w.mh: Remove file. | |
66 | * config/pa/nm-hppah.h: Remove file. | |
67 | * config/pa/nm-hppah11.h: Remove file. | |
68 | ||
70d1ae41 MK |
69 | * config/djgpp/fnchange.lst: Resolve name clash between |
70 | ../bfd/elf32-arm.c and ../bfd/elf32-arc.c, i386-sol2-nat.c and | |
71 | i386-sol2-tdep.c, mips64obsd-nat.c and mips64obsd-tdep.c, | |
72 | testsuite/gdb.base/bitfields.c and | |
73 | testsuite/gdb.base/bitfields2.c, testsuite/gdb.base/bitfields.exp | |
74 | and testsuite/gdb.base/bitfields2.exp. Remove entry for | |
75 | config/m88k/xm-delta88v4.h. | |
76 | ||
d0ac9ef8 MK |
77 | * solib-pa64.c: Only include <dlfcn.h>, <elf.h> and <elf_hp.h> if |
78 | PA_SOM_ONLY isn't defined. | |
79 | ||
17fe2d6e MK |
80 | * somread.c: Include "solib-som.h". |
81 | (som_symfile_init, som_new_init, som_symfile_read, | |
82 | som_symfile_finish, som_symtab_read, som_symfile_offsets): Remove | |
83 | redudant prototypes. | |
84 | * Makefile.in (somread.o): Update dependencies. | |
85 | ||
1ee455f4 JB |
86 | 2004-12-17 Jim Blandy <jimb@redhat.com> |
87 | ||
88 | * remote.c (fetch_register_using_p): Indentation cleanup. | |
89 | ||
1c95a4ac RC |
90 | 2004-12-17 Randolph Chung <tausq@debian.org> |
91 | ||
92 | * hppa-hpux-tdep.c (setup_d_pid_in_inferior): Make static. | |
93 | (find_stub_with_shl_get): Make static. | |
94 | ||
77d18ded RC |
95 | 2004-12-17 Randolph Chung <tausq@debian.org> |
96 | ||
97 | * hppa-hpux-tdep.c (IS_32BIT_TARGET): New. | |
98 | (in_opd_section): New. | |
99 | (hppa32_hpux_find_global_pointer): Rename from | |
100 | hppa_hpux_som_find_global_pointer. | |
101 | (hppa64_hpux_find_global_pointer): New. | |
102 | (ldsid_pattern): New. | |
103 | (hppa_hpux_search_pattern): New. | |
104 | (hppa32_hpux_search_dummy_call_sequence): New. | |
105 | (hppa64_hpux_search_dummy_call_sequence): New. | |
106 | (hppa_hpux_find_import_stub_for_addr): New. | |
107 | (hppa_hpux_sr_for_addr): New. | |
108 | (hppa_hpux_find_dummy_bpaddr): New. | |
109 | (hppa_hpux_init_abi): Use IS_32BIT_TARGET predicate. | |
110 | (hppa_hpux_som_init_abi): Set find_global_pointer method to | |
111 | hppa32_hpux_find_global_pointer instead of | |
112 | hppa_hpux_som_find_global_pointer. | |
113 | (hppa_hpux_elf_init_abi): Set find_global_pointer method. | |
114 | * hppa-tdep.c (hppa_init_objfile_priv_data): New. | |
115 | (read_unwind_info): Use function to initialize objfile-private data. | |
116 | (hppa32_push_dummy_call): Don't automatically set the RP if there is | |
117 | a push_dummy_code method. | |
118 | (hppa64_push_dummy_call): Retrieve and set the global pointer. | |
119 | Don't automatically set the RP if there is a push_dummy_code method. | |
120 | * hppa-tdep.h (hppa_objfile_private): Add dummy_call_sequence_reg and | |
121 | dummy_call_sequence_addr members. | |
122 | (hppa_init_objfile_priv_data): New prototype. | |
123 | ||
ff644745 JB |
124 | 2004-12-17 Joel Brobecker <brobecker@gnat.com> |
125 | ||
126 | * hppa-tdep.c (hppa_lookup_stub_minimal_symbol): New function. | |
127 | * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Add declaration. | |
128 | * solib-som.c (som_solib_create_inferior_hook): Replace stub | |
129 | msymbol search by call to hppa_lookup_stub_minimal_symbol. This | |
130 | extends the search to all objfiles, not just shared libraries. | |
131 | Remove unused variable. | |
132 | ||
5260ca71 MS |
133 | 2004-12-16 Michael Snyder <msnyder@redhat.com> |
134 | ||
135 | * MAINTAINERS: Add myself as maintainer for mn10300. | |
136 | * NEWS: Mention mn10300. | |
137 | ||
28fe5f6a KB |
138 | 2004-12-15 Kevin Buettner <kevinb@redhat.com> |
139 | ||
140 | * xstormy16-tdep.c (xstormy16_skip_prologue): Clear/initialize the | |
141 | frame cache. | |
142 | ||
1fb24930 RC |
143 | 2004-12-14 Randolph Chung <tausq@debian.org> |
144 | ||
145 | * hppa-tdep.c (hppa_in_function_epilogue_p): New function. | |
146 | (hppa_gdbarch_init): Set in_epilogue_p method. | |
147 | ||
3ffc5b9b CV |
148 | 2004-12-14 Corinna Vinschen <vinschen@redhat.com> |
149 | ||
150 | * sh-tdep.c (sh_extract_return_value_nofpu): Rename from | |
151 | sh_default_extract_return_value. | |
152 | (sh_extract_return_value_fpu): Rename from | |
153 | sh3e_sh4_extract_return_value. | |
154 | (sh_store_return_value_nofpu): Rename from | |
155 | sh_default_store_return_value. | |
156 | (sh_store_return_value_fpu): Rename from sh3e_sh4_store_return_value. | |
157 | (sh_return_value_nofpu): Accomodate above changes. | |
158 | (sh_return_value_fpu): Ditto. | |
159 | ||
94e10a22 JG |
160 | 2004-12-13 Jerome Guitton <guitton@gnat.com> |
161 | ||
162 | * stabsread.c (read_huge_number): Add support for reading octal | |
163 | signed number in twos complement, based on the size of this | |
164 | number. | |
165 | (read_range_type): Add support for reading octal signed bounds | |
166 | in twos complements, based on the size of the type. | |
167 | (read_type_number, read_cpp_abbrev, read_member_functions, | |
168 | read_cpp_abbrev, read_one_struct_field, read_baseclasses, | |
169 | read_struct_type, read_array_type, read_enum_type, | |
170 | read_sun_builtin_type, read_sun_floating_type): Update calls to | |
171 | read_huge_number. | |
172 | (read_type): Update call to read_range_type. | |
173 | ||
4bb7a266 RC |
174 | 2004-12-13 Randolph Chung <tausq@debian.org> |
175 | ||
176 | * hppa-hpux-tdep.c (internalize_hp_cxx_exception_support): Call | |
177 | solib_get_solib_by_pc method through target vector. | |
61aff869 RC |
178 | (hppa_hpux_som_find_global_pointer): Call solib_get_got_by_pc |
179 | method through target vector. | |
4bb7a266 | 180 | |
3ddae2db | 181 | 2004-12-13 Joel Brobecker <brobecker@gnat.com> |
a99b228b JB |
182 | |
183 | * alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): Change | |
184 | parameter name to make it clear that we already have a next | |
185 | frame. Return the sigcontext from that next frame instead | |
186 | of the frame following it. | |
187 | ||
acf86d54 RC |
188 | 2004-12-13 Randolph Chung <tausq@debian.org> |
189 | ||
190 | * Makefile.in (pa64solib_h, somsolib_h): Delete. | |
191 | (solib_pa64_h, solib_som_h): New. | |
192 | (HFILES_NO_SRCDIR, ALLDEPFILES): Replace somsolib.h with solib-som.h. | |
193 | (hppa-hpux-tdep.o, hpread.o): Update dependencies. | |
194 | (pa64solib.o, somsolib.o): Delete. | |
195 | (solib-pa64.o, solib-som.o): New. | |
196 | * hppa-hpux-tdep.c: Include new solib interfaces. | |
197 | (hppa_hpux_som_init_abi): Attach to SOM solib interface. | |
198 | (hppa_hpux_elf_init_abi): Attach to PA64 ELF solib interface. | |
199 | * hppa-tdep.c (internalize_unwinds): If solib_get_text_base method | |
200 | is available, use it to determine the base of unwind records. | |
201 | * hppa-tdep.h (gdbarch_tdep): Add new solib methods. | |
202 | * hpread.c: Replace somsolib.h with solib-som.h. | |
203 | (hpread_process_one_debug_symbol): Use target vector to get thread | |
204 | start address. | |
205 | * config/pa/hppa64.mt (TDEPFILES): Use new solib interface. | |
206 | * config/pa/hppahpux.mt (TDEPFILES): Likewise. | |
207 | * config/pa/hpux.mh (NATDEPFILES): Delete references to target objects. | |
208 | * config/pa/tm-hppah.h: Use new solib interface. | |
209 | ||
0efcf9dc RC |
210 | 2004-12-13 Randolph Chung <tausq@debian.org> |
211 | ||
212 | * tramp-frame.c (tramp_frame_sniffer): Allow frames with names or | |
213 | sections to be trampolines too. | |
214 | ||
048a01af | 215 | 2004-12-13 Ben Elliston <bje@au.ibm.com> |
323e0a4a | 216 | |
048a01af BE |
217 | * f-exp.y (typename): Remove unused nonterminal. |
218 | (name): Likewise. | |
219 | ||
220 | 2004-12-12 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr> | |
221 | ||
222 | Committed by Andrew Cagney. | |
323e0a4a AC |
223 | * abug-rom.c, ada-lang.c, ada-typeprint.c, alpha-tdep.c: i18n |
224 | markup. | |
225 | ||
91a533d4 AC |
226 | 2004-12-12 Andrew Cagney <cagney@gnu.org> |
227 | ||
39ee2ff0 AC |
228 | * frame.c (get_prev_frame): When unwinding normal frames, check |
229 | that the PC isn't zero. | |
230 | * hppa-tdep.c (hppa_stub_frame_unwind_cache): Delete check for a | |
231 | zero PC. | |
232 | ||
91a533d4 AC |
233 | * MAINTAINERS: Reword description of what "Target Instruction Set |
234 | Architectures" covers. | |
235 | ||
0d9b270c MK |
236 | 2004-12-12 Mark Kettenis <kettenis@gnu.org> |
237 | ||
238 | * hppa-hpux-nat.c (hppa_hpux_child_can_run): Tweak comment. | |
239 | ||
d3322e8a MK |
240 | 2004-12-11 Mark Kettenis <kettenis@gnu.org> |
241 | ||
eeca586f MK |
242 | * hppa-hpux-nat.c (ss_mpsfu_high): Remove define. |
243 | (hppa_hpux_save_state_offset): New function, replacing variable | |
244 | with the same name. | |
245 | (hppa_cannot_fetch_register, hppa_cannot_store_register): Remove | |
246 | functions. | |
247 | (hppa_hpux_fetch_register): Don't call hppa_cannot_fetch_register. | |
248 | Use new hppa_hpux_save_state_offset function. Add special | |
249 | handling for handling 64-bit "flags" register. | |
250 | (hppa_hpux_store_register): Likewise. | |
251 | (hppa_hpux_child_can_run): Tweak comment. | |
252 | ||
7ba0e0c2 MK |
253 | * inf-ttrace.c (inf_ttrace_him): Set TTEVT_BPT_SSTEP if available. |
254 | (inf_ttrace_attach): Likewise. | |
255 | (inf_ttrace_resume_callback): New function. | |
256 | (inf_ttrace_resume): Don't use TT_PROC_CONTINUE. Iterate over all | |
257 | lwps and call inf_ttrace_resume_callback instead. | |
258 | (inf_ttrace_wait): Handle TTEVT_BPT_SSTEP. | |
259 | ||
d3322e8a MK |
260 | * inf-ttrace.c (_initialize_inf_ttrace): Unconditionially compile. |
261 | ||
e02147b1 MS |
262 | 2004-12-10 Michael Snyder <msnyder@redhat.com> |
263 | ||
264 | * mn10300-tdep.c: New file. This is a re-implementation of | |
265 | the mn10300 target back-end using the new frame api etc. | |
266 | * mn10300-tdep.h: New file. | |
267 | * config/mn10300/mn10300.mt: New file (or replace old file). | |
268 | * configure.tgt: Add mn10300 target. | |
269 | ||
01926a69 MK |
270 | 2004-12-10 Mark Kettenis <kettenis@gnu.org> |
271 | ||
c5101575 MK |
272 | * configure.host (hppa*-*-hpux11*): Remove. |
273 | * config/pa/hpux11.mh: Remove file. | |
274 | ||
01926a69 MK |
275 | * hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind_cache): Fix |
276 | typo. | |
277 | ||
d737fd7f KW |
278 | 2004-12-10 Kris Warkentin <kewarken@qnx.com> |
279 | ||
280 | * nto-tdep.h: Include osabi.h. Prototypes for generic Neutrino | |
281 | osabi sniffer, signal handling initializer, 'in_dynsym_resolve_code' | |
282 | function and nto_set_target function. | |
283 | (struct nto_target_ops): Put comments inline with struct. Add osabi | |
284 | sniffer hook. Redefine macros to permit testing/assignment. Remove | |
285 | nto_ prefix from members. | |
286 | * nto-tdep.c (nto_find_and_open_solib): Allocate all buffers | |
287 | dynamically to support arbitrary root paths. Check for basename of | |
288 | lib in search path and then check for absolute. | |
289 | (nto_in_dynsym_resolve_code): New function. | |
290 | (nto_core_sniffer): New function. | |
291 | (regset_core_fns): Register core sniffer. | |
292 | (nto_initialize_signals): New function. | |
293 | (_initialize_nto_tdep): Move signal initialization code to above to | |
294 | avoid initialization race conditions. | |
295 | (nto_set_target): New function. | |
296 | * nto-procfs.c: Minor formatting/indenting changes. | |
297 | (procfs_is_nto_target): New function. | |
298 | (procfs_open): Set nto_is_nto_target. | |
299 | (_initialize_procfs): Ditto. Remove notice_signals() call to avoid | |
300 | initialization race conditions. | |
301 | (procfs_create_inferior): Resume inferior after creation. | |
302 | * i386-nto-tdep.c: Declare i386_nto_target. | |
303 | (init_i386nto_ops): Initialize i386_nto_target instead of | |
304 | current_nto_target. | |
305 | (i386nto_init_abi): Initialize signals. Call nto_set_target. Set | |
306 | TARGET_SO_IN_DYNSYM_RESOLVE_CODE. | |
58544210 MK |
307 | (_initialize_i386nto_tdep): Call init_i386nto_ops. Register osabi |
308 | sniffer. | |
d737fd7f | 309 | |
3cd36e7c MK |
310 | 2004-12-10 Mark Kettenis <kettenis@gnu.org> |
311 | ||
312 | * hppa-hpux-tdep.c (child_enable_exception_callback): Use XMALLOC. | |
313 | (hppa_hpux_sigtramp_frame_unwind_cache): Use ARRAY_SIZE. | |
314 | (hppa_hpux_init_abi): Reformat long line. | |
315 | ||
08d53055 MK |
316 | 2004-12-09 Mark Kettenis <kettenis@gnu.org> |
317 | ||
318 | * hppa-hpux-tdep.c: Include "regset.h". | |
319 | (HPPA_HPUX_SS_WIDEREGS, HPPA_HPUX_SS_FLAGS_OFFSET) | |
320 | (HPPA_HPUX_SS_NARROW_OFFSET, HPPA_HPUX_SS_FPBLOCK_OFFSET) | |
321 | (HPPA_HPUX_SS_WIDE_OFFSET, HPPA_HPUX_SAVE_STATE_SIZE) | |
322 | (HPPA_HPUX_PA89_SAVE_STATE_SIZE): New defines. | |
323 | (hppa_hpux_supply_ss_narrow, hppa_hpux_supply_ss_fpblock) | |
324 | (hppa_hpux_supply_ss_wide, hppa_hpux_supply_save_state): New | |
325 | functions. | |
326 | (hppa_hpux_regset): New variable. | |
327 | (hppa_hpux_regset_from_core_section): New function. | |
328 | (hppa_hpux_init_abi): Set regset_from_core_section. | |
329 | (hppa_hpux_core_osabi_sniffer): New function. | |
330 | (_initialize_hppa_hpux_tdep): Register | |
331 | hppa_hpux_core_osabi_sniffer. | |
332 | * Makefile.in (hppa-hpux-tdep.o): Update dependencies. | |
333 | * config/pa/hppahpux.mt (TDEPFILES): Add corelow.o. | |
334 | ||
45851e00 RC |
335 | 2004-12-09 Randolph Chung <tausq@debian.org> |
336 | ||
337 | * solib-pa64.c (pa64_relocate_section_addresses): Properly relocate | |
338 | text and data sections. | |
339 | (pa64_current_sos): Also include the dld in the list of current shared | |
340 | objects. | |
341 | (pa64_solib_get_solib_by_pc): Update comments. | |
342 | (pa64_solib_get_text_base): New function. | |
343 | (pa64_solib_select): Set solib_get_text_base method. | |
344 | ||
1bac0d4d DJ |
345 | 2004-12-08 Daniel Jacobowitz <dan@debian.org> |
346 | ||
347 | * linux-thread-db.c (BUILD_THREAD): Delete. | |
348 | (thread_get_info_callback): Include LWP ID in thread ID. | |
349 | (thread_from_lwp, check_event, find_new_threads_callback): Likewise. | |
350 | (lwp_from_thread): Use the LWP ID from the thread ID. | |
351 | ||
254ce0a1 RC |
352 | 2004-12-07 Randolph Chung <tausq@debian.org> |
353 | ||
354 | * hppa-tdep.c (hppa_frame_prev_register_helper): Zero out the entire | |
355 | register for both 32- and 64-bit targets. | |
356 | ||
cc9bed83 RC |
357 | 2004-12-07 Randolph Chung <tausq@debian.org> |
358 | ||
359 | * frame.c (get_prev_frame): Don't terminate unwinding at main if we | |
360 | are unwinding through a dummy frame. | |
361 | ||
f77a2124 RC |
362 | 2004-12-07 Randolph Chung <tausq@debian.org> |
363 | ||
364 | * hppa-tdep.h (gdbarch_tdep): Add unwind_adjust_stub method. | |
365 | * hppa-hpux-tdep.c (hppa_hpux_unwind_adjust_stub): New function. | |
366 | (hppa_hpux_init_abi) Set unwind_adjust_stub method. | |
367 | * hppa-tdep.c (hppa_frame_cache): Call unwind_adjust_stub method | |
368 | if defined. | |
369 | ||
f1b38a57 RC |
370 | 2004-12-07 Randolph Chung <tausq@debian.org> |
371 | ||
372 | * hppa-tdep.c (hppa_stub_Frame_unwind_cache): Stop unwinding if | |
373 | unwinding from a frame with pc == 0. | |
374 | (hppa_stub_frame_this_id): Likewise. | |
375 | (hppa_stub_frame_prev_register): Only provide real values if the frame | |
376 | cache is not NULL. | |
377 | ||
419b8bfb RC |
378 | 2004-12-07 Randolph Chung <tausq@debian.org> |
379 | ||
380 | * solib-som.c: New file. | |
381 | * solib-som.h: New file. | |
382 | * solib-pa64.c: New file. | |
383 | * solib-pa64.h: New file. | |
384 | ||
6e93c4f7 MK |
385 | 2004-12-07 Mark Kettenis <kettenis@gnu.org> |
386 | ||
387 | * Makefile.in (inf-ttrace.o): Fix typo. | |
388 | ||
c273b20f JB |
389 | 2004-12-07 Jim Blandy <jimb@redhat.com> |
390 | ||
391 | * remote.c (remote_threads_info, remote_current_thread): Use | |
392 | strtoul to parse thread ID numbers. | |
393 | ||
cc72850f MK |
394 | 2004-12-07 Mark Kettenis <kettenis@gnu.org> |
395 | ||
a7be7fa8 MK |
396 | * inf-ttrace.c: Include "gdbthread.h". |
397 | (inf_ttrace_num_lwps): New variable. | |
398 | (inf_ttrace_num_lwps_in_syscall): Renamed from | |
399 | inf_ttrace_num_threads_in_syscall. | |
400 | (inf_ttrace_him): Track TTEVT_LWP_CREATE, TTEVT_LWP_EXIT and | |
401 | TTEVT_LWP_TERMINATE events. | |
402 | (inf_ttrace_create_inferior): Assert that INF_TTRACE_NUM_LWPS is | |
403 | zero. | |
404 | (inf_ttrace_mourn_inferior): Set INF_TTRACE_NUM_LWPS to zero. | |
405 | (inf_ttrace_attach): Assert that INF_TTRACE_NUM_LWPS is zero. | |
406 | Track TTEVT_LWP_CREATE, TTEVT_LWP_EXIT and TTEVT_LWP_TERMINATE | |
407 | events. | |
408 | (inf_ttrace_wait): Report status as TARGET_WAITKIND_SPURIOUS by | |
409 | default. Handle TTEVT_LWP_CREATE, TTEVT_LWP_EXIT and | |
410 | TTEVT_LWP_TERMINATE events. | |
411 | (inf_ttrace_thread_alive, inf_ttrace_pid_to_str): New functions. | |
412 | (inf_ttrace_target): Set to_thread_alive and to_pid_to_str. | |
413 | * Makefile.in (inf-ttrace.o): Update dependencies. | |
414 | ||
cc72850f MK |
415 | * hppa-tdep.h (hppa_read_pc, hppa_write_pc, hppa_unwind_pc): New |
416 | prototypes. | |
417 | * hppa-tdep.c (hppa_read_pc): Rename from hppa_target_read_pc. | |
418 | Make global. Remove HP-UX specific code. Use | |
419 | frame_unwind_register_unsigned instead of | |
420 | frame_unwind_register_signed. | |
421 | (hppa_write_pc): Rename from hppa_target_write_pc. Make global. | |
422 | Remove HP-UX specific code. | |
423 | (hppa_unwind_pc): Make global. Remove HP-UX specific code. | |
424 | (hppa_frame_prev_register_helper): Set "flags" register to zero | |
425 | for all unwound frames. | |
426 | (hppa_gdbarch_init): Adjust. | |
427 | * hppa-hpux-tdep.c (HPPA_HPUX_SS_INSYSCALL): New define. | |
428 | (hppa_hpux_read_pc, hppa_hpux_write_pc) | |
429 | (hppa_hpux_unwind_pc): New functions. | |
430 | (hppa_hpux_init_abi): Set read_pc, write_pc and unwind_pc. | |
431 | ||
f47b1503 AS |
432 | 2004-12-07 Andreas Schwab <schwab@suse.de> |
433 | ||
434 | * main.c (long_options): Add entry for "-l". | |
435 | (print_gdb_help): Add line for -l option. | |
436 | * NEWS: Mention it. | |
437 | ||
c1299d67 RC |
438 | 2004-12-05 Randolph Chung <tausq@debian.org> |
439 | ||
440 | * hppah-nat.c (store_inferior_registers): Rewrite logic to not use | |
441 | DEPRECATED_REGISTER_BYTE. | |
442 | ||
57dac9e1 RC |
443 | 2004-12-05 Randolph Chung <tausq@debian.org> |
444 | ||
445 | * hppa-tdep.c (unwind_command): Print the stub type for stub unwind | |
446 | records. | |
447 | ||
b1acf338 MK |
448 | 2004-12-05 Mark Kettenis <kettenis@gnu.org> |
449 | ||
a61ce9b4 MK |
450 | * somsolib.c [PA_SOM_ONLY] (no_shared_libraries): New function. |
451 | * config/pa/hppahpux.mt (TDEPFILES): Remove solib.o. | |
452 | ||
b1acf338 MK |
453 | * hppa-hpux-tdep.c: Update copyright notice and year. |
454 | ||
fcab3fb5 RE |
455 | 2004-12-05 Richard Earnshaw <rearnsha@arm.com> |
456 | ||
457 | * doublest.c (FLOATFORMAT_LARGEST_BYTES): New define. | |
458 | (get_field, put_field): Assert that the format is one we can handle. | |
459 | Simplify logic accordingly. | |
460 | (floatformat_normalize_byteorder): New function. | |
461 | (convert_floatformat_to_doublest): Use floatformat_normalize_byteorder | |
462 | to normalize and select modified byte order. Pass modified byte order | |
463 | to get_field. | |
464 | (floatformat_is_negative, floatformat_is_nan, floatformat_mantissa): | |
465 | Likewise. | |
466 | (convert_doublest_to_floatformat): Select an appropriate intermediate | |
467 | byte order if necessary. Always convert to the final format before | |
468 | returning. | |
469 | ||
48bb3cce DJ |
470 | 2004-12-04 Daniel Jacobowitz <dan@debian.org> |
471 | ||
472 | PR tui/1703 | |
473 | * linux-nat.c (linux_tracefork_child): Use _exit instead of exit. | |
474 | Suggested by Joshua Neuheisel. | |
475 | ||
fe46cd3a RC |
476 | 2004-12-03 Randolph Chung <tausq@debian.org> |
477 | ||
478 | * gdbarch.sh (instruction_nullified): Delete. | |
479 | * gdbarch.c: Regenerate. | |
480 | * gdbarch.h: Regenerate. | |
481 | * hppa-tdep.c (hppa_target_read_pc): Adjust pc if instruction is | |
482 | nullified. | |
483 | (hppa_unwind_pc): Likewise. | |
484 | (hppa_instruction_nullified): Delete. | |
485 | (hppa_gdbarch_init): Don't set instruction_nullified method. | |
486 | * infrun.c (infwait_states): Remove infwait_nullified_state. | |
487 | (handle_inferior_event): Remove handling of infwait_nullified_state. | |
488 | Remove handling of nullified instructions. | |
489 | ||
dd515450 MK |
490 | 2004-12-03 Mark Kettenis <kettenis@gnu.org> |
491 | ||
932936f0 MK |
492 | * inf-ttrace.c: Include <sys/mman.h>. |
493 | (struct inf_ttrace_page): New. | |
494 | (struct inf_ttrace_page_dict): New. | |
495 | (inf_ttrace_num_threads_in_syscall) | |
496 | (inf_ttrace_reenable_page_protections): New variables. | |
497 | (inf_ttrace_enable_syscall_events) | |
498 | (inf_ttrace_disable_syscall_events, inf_ttrace_get_page) | |
499 | (inf_ttrace_add_page, inf_ttrace_insert_page) | |
500 | (inf_ttrace_remove_page, inf_ttrace_mask_page_protections) | |
501 | (inf_ttrace_enable_page_protections) | |
502 | (inf_ttrace_disable_page_protections) | |
503 | (inf_ttrace_insert_watchpoint, inf_ttrace_remove_watchpoint) | |
504 | (inf_ttrace_can_use_hw_breakpoint) | |
505 | (inf_ttrace_region_size_ok_for_hw_watchpoint) | |
506 | (inf_ttrace_stopped_by_watchpoint): New functions. | |
507 | (inf_ttrace_him): Remove unsused varaible `tts'. | |
508 | (inf_ttrace_create_inferior): Add assertionts. | |
509 | (inf_ttrace_mourn_inferior): Clear page dictionary. | |
510 | (inf_ttrace_attach): Set initial event mask. | |
511 | (inf_ttrace_detach): Reset number of threads in system call. | |
512 | (inf_ttrace_wait): Deal with system call events. | |
513 | (inf_ttrace_target): Initialize "hardware" watchpoint-related | |
514 | parts of the target vector. | |
515 | (_initialize_inf_ttrace): New prototype and function. | |
516 | ||
dd515450 MK |
517 | * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Use ULONGEST as |
518 | type of `gp' variable. | |
519 | ||
73fb7068 RS |
520 | 2004-12-03 Richard Sandiford <rsandifo@redhat.com> |
521 | ||
522 | * README: Remove config.if from directory listing. | |
523 | ||
515921d7 JB |
524 | 2004-12-01 Joel Brobecker <brobecker@gnat.com> |
525 | ||
526 | * alpha-tdep.c (alpha_register_name): Add comment. | |
527 | (alpha_cannot_fetch_register): Exclude registers numbers which | |
528 | are no longer used from the list of registers that can be fetched. | |
529 | (alpha_cannot_store_register): Exclude registers numbers which | |
530 | are no longer used from the list of registers that can be stored. | |
531 | * alpha-nat.c (fetch_osf_core_registers): Add missing value in | |
532 | core_reg_mapping array. | |
533 | ||
1cc759c3 JB |
534 | 2004-12-01 Joel Brobecker <brobecker@gnat.com> |
535 | ||
536 | * alpha-tdep.c (alpha_heuristic_frame_prev_register): Fetch | |
537 | the register value from the correct frame. | |
538 | ||
b546247c RC |
539 | 2004-11-30 Randolph Chung <tausq@debian.org> |
540 | ||
541 | * hppa-linux-tdep.c (insns_match_pattern_relaxed): New function. | |
542 | (hppa_linux_in_dyncall): Check that we are inside the range of | |
543 | $$dyncall, not necessarily at the first insn. | |
544 | (hppa_linux_in_solib_call_trampoline): Identify a trampoline | |
545 | even if the pc does not point to the first insn of the trampoline. | |
546 | ||
46905982 RC |
547 | 2004-11-30 Randolph Chung <tausq@debian.org> |
548 | ||
549 | * breakpoint.c (break_at_finish_command): Delete. | |
550 | (break_at_finish_command_1): Delete. | |
551 | (break_at_finish_at_depth_command): Delete. | |
552 | (break_at_finish_at_depth_command_1): Delete. | |
553 | (tbreak_at_finish_command): Delete. | |
554 | * hppa-tdep.c (_initialize_hppa_tdep): Remove deprecated xbreak, tbreak | |
555 | and bx commands. | |
556 | ||
80b93d6b AC |
557 | 2004-11-30 Andrew Cagney <cagney@gnu.org> |
558 | ||
a7711b1f AC |
559 | * config/nm-gnu.h: Delete file. |
560 | * config/i386/nm-i386gnu.h: Inline "config/nm-gnu.h". | |
561 | ||
80b93d6b AC |
562 | * config/nm-sysv4.h: Delete file. |
563 | * config/i386/nm-i386v4.h: Inline "config/nm-sysv4.h". | |
564 | * config/i386/nm-i386v42mp.h: Inline "config/nm-sysv4.h". | |
565 | * config/i386/nm-i386sol2.h: Inline "config/nm-sysv4.h". | |
566 | * config/ia64/nm-aix.h: Inline "config/nm-sysv4.h". | |
567 | * config/mips/nm-irix5.h: Inline "config/nm-sysv4.h". | |
568 | ||
31ffb221 AC |
569 | 2004-11-29 Andrew Cagney <cagney@gnu.org> |
570 | ||
571 | * MAINTAINERS: Add Randolph Chung (pa), Jeff Johnston (ia64), Kei | |
572 | Sakamoto (m32r), Joel Brobecker (mips), and Ulrich Weigand (s390) | |
573 | as can-commit architecture developers. | |
91a533d4 | 574 | |
3919e12c MK |
575 | 2004-11-29 Mark Kettenis <kettenis@gnu.org> |
576 | ||
075ccec8 MK |
577 | * sparc-tdep.c (X_RS1, X_SIMM13): New macros. |
578 | (sparc32_skip_prologue): Skip instructions that store arguments in | |
579 | registers into their corresponding stack slots. | |
580 | ||
388e0111 MK |
581 | * config/m68k/nbsdaout.mh (NAT_FILE): Set to solib.h instead of |
582 | tm-solib.h. | |
583 | * config/m68k/obsd.mh (NAT_FILE): Likewise. | |
584 | ||
19671c2b MK |
585 | * sparc-tdep.h (sparc32nbsd_elf_init_abi): New prototype. |
586 | * sparcnbsd-tdep.c (sparc32nbsd_elf_init_abi): Make global. | |
587 | * sparcobsd-tdep.c (sparc32obsd_init_abi): Call | |
588 | sparc32nbsd_elf_init_abi. Remove duplicate code. | |
589 | ||
77a7fe6d MK |
590 | * config/sparc/nbsdaout.mh (NAT_FILE): Set to solib.h. |
591 | * config/sparc/nbsdelf.mh (NAT_FILE): Remove variable. | |
592 | * config/sparc/nm-nbsd.h: Remove file. | |
593 | * config/sparc/nm-nbsdaout.h: Remove file. | |
594 | ||
cbfc58d1 MK |
595 | * sparc-nat.c (inf_ptrace_xfer_partial): New variable. |
596 | (sparc_xfer_partial): New function. | |
597 | (sparc_target): Save value of to_xfer_partial from ptrace vector. | |
598 | Set to_xfer_partial. | |
599 | ||
3919e12c MK |
600 | * fork-child.c (fork_inferior): Fork instead of vfork if |
601 | PRE_TRACE_FUN is non-null. | |
602 | ||
ebd98106 FF |
603 | 2004-11-24 Fred Fish <fnf@specifixinc.com> |
604 | ||
605 | * rs6000-tdep.c (skip_prologue): Use line table info to skip over | |
606 | compiler generated function calls made as part of a prologue. | |
607 | ||
eee22bf8 MK |
608 | 2004-11-23 Mark Kettenis <kettenis@gnu.org> |
609 | ||
610 | * inf-ttrace.c: New file. | |
611 | * inf-ttrace.h: New file. | |
612 | * hppa-hpux-nat.c [HAVE_TTRACE]: Include <sys/ttrace>. | |
613 | Include "inf-ttrace.h". | |
614 | (ss_mpsfu_high): Define to ss_tlsp if necessary. | |
615 | (hppa_hpux_fetch_register, hppa_hpux_store_register): Use | |
616 | ptid_get_pid instead of PIDGET. Modify to handle both ttrace and | |
617 | ptrace systems. | |
618 | (_initialize_hppa_hpux_nat) [HAVE_TTRACE]: Call inf_ttrace_traget | |
619 | instead of inf_ptrace_target. | |
620 | * config/pa/hpux.mh (NATDEPFILES): Add inf-ttrace.o. | |
621 | * Makefile.in (inf_ttrace_h): New variable. | |
622 | (hppa-hpux-nat.o): Update dependency. | |
623 | (inf-ttrace.o): New dependency. | |
624 | (ALLDEPFILES): Add inf-ptrace.c and inf-ttrace.c. | |
625 | ||
3ca64954 RC |
626 | 2004-11-23 Randolph Chung <tausq@debian.org> |
627 | ||
628 | * arch-utils.c (generic_instruction_nullified): New. | |
629 | * arch-utils.h (generic_instruction_nullified): New. | |
630 | * gdbarch.sh (instruction_nullified): New method. | |
631 | * gdbarch.c: Regenerate. | |
632 | * gdbarch.h: Regenerate. | |
633 | * infrun.c (INSTRUCTION_NULLIFIED): Delete. | |
634 | (handle_inferior_event): Replace INSTRUCTION_NULLIFIED with calls to | |
635 | new gdbarch method. | |
636 | * config/pa/tm-hppa.h (INSTRUCTION_NULLIFIED): Delete definition. | |
637 | * hppa-tdep.c (hppa_instruction_nullified): Remove prototype and make | |
638 | static. Rewrite to work directly off the passed regcache. | |
639 | (hppa_gdbarch_init): Set instruction_nullified method. | |
640 | ||
5465445a JB |
641 | 2004-11-23 Joel Brobecker <brobecker@gnat.com> |
642 | ||
643 | * sparc-tdep.c (sparc_is_unimp_insn): New function. | |
644 | (sparc32_frame_cache): For functions where there is no debugging | |
645 | information to help us determine whether it's a struct-return | |
646 | function or not, fallback on checking whether the instruction | |
647 | at the return address is an "unimp" instruction or not. | |
648 | ||
3f6306ec DA |
649 | 2004-11-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
650 | ||
871cce51 DA |
651 | * MAINTAINERS: Add myself to write after approval section. |
652 | ||
3f6306ec DA |
653 | * hppa-hpux-nat.c (child_suppress_run): Add variable to allow |
654 | hpux-thread.c to suppress children from running. | |
655 | (hppa_hpux_child_can_run): New function. | |
656 | (_initialize_hppa_hpux_nat): Use hppa_hpux_child_can_run. | |
657 | * hpux-thread.c: Include string.h and hppa-tdep.h. | |
658 | (FLAGS_REGNUM, SP_REGNUM, PC_REGNUM): Rename to HPPA_FLAGS_REGNUM, | |
659 | HPPA_SP_REGNUM and HPPA_PCOQ_HEAD_REGNUM, respectively. | |
660 | (hpux_thread_store_registers): Replace deprecated_registers with | |
661 | calls to regcache_raw_read. | |
662 | * config/pa/hpux11.mh, config/pa/hpux11w.mh: Delete HOST_IPC. | |
663 | ||
f5ccf7a2 MK |
664 | 2004-11-21 Mark Kettenis <kettenis@gnu.org> |
665 | ||
666 | * sparc64fbsd-nat.c: Update copyright year. | |
667 | (_initialize_sparc64fbsd_nat): Construct and add target vector. | |
668 | * config/sparc/fbsd.mh (NATDEPFILES): Remove infptrace.o, | |
669 | inftarg.o. | |
670 | ||
8c3900e4 DJ |
671 | 2004-11-21 Daniel Jacobowitz <dan@debian.org> |
672 | ||
673 | * sparc-tdep.c (sparc_software_single_step): Handle stepping to NULL. | |
674 | ||
b957e937 DJ |
675 | 2004-11-21 Daniel Jacobowitz <dan@debian.org> |
676 | ||
677 | * linux-nat.c (my_waitpid): New function. | |
678 | (linux_test_for_tracefork): Make more robust and verbose. Take | |
679 | an ORIGINAL_PID argument and test for PTRACE_SETOPTIONS first. | |
680 | (linux_supports_tracefork, linux_supports_tracevforkdone): Take a PID | |
681 | argument. Update calls to linux_test_for_tracefork. | |
682 | (linux_enable_event_reporting, child_follow_fork) | |
683 | (child_insert_fork_catchpoint, child_insert_vfork_catchpoint) | |
684 | (child_insert_exec_catchpoint): Update calls to | |
685 | linux_supports_tracefork and linux_supports_tracevforkdone. | |
686 | ||
65d3800a DJ |
687 | 2004-11-21 Daniel Jacobowitz <dan@debian.org> |
688 | ||
689 | * valarith.c (value_subscript): Copy VALUE_FRAME_ID. | |
690 | (value_subscripted_rvalue): Likewise. | |
691 | * valops.c (search_struct_field, value_slice): Likewise. | |
692 | ||
2c4a536d MK |
693 | 2004-11-21 Mark Kettenis <kettenis@gnu.org> |
694 | ||
695 | * inf-ptrace.c: Don't include "regcache.h" and "gdbcmd.h". | |
696 | Reorder includes a bit. Fix comment. | |
697 | * Makefile.in (inf-ptrace.o): Update dependencies. | |
698 | ||
fefa1888 AS |
699 | 2004-11-21 Andreas Schwab <schwab@suse.de> |
700 | ||
701 | * m68klinux-tdep.c: Include "glibc-tdep.h" and "solib-svr4.h". | |
702 | (m68k_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to | |
703 | svr4_ilp32_fetch_link_map_offsets and gdbarch_skip_solib_resolver | |
704 | to glibc_skip_solib_resolver. | |
705 | * config/m68k/linux.mt (TDEPFILES): Add glibc-tdep.o. Remove | |
706 | solib-legacy.o. | |
707 | * Makefile.in (m68klinux-tdep.o): Update dependencies. | |
708 | ||
d564a7d4 DA |
709 | 2004-11-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
710 | ||
711 | * infttrace.h (ttrace_write_reg_64): Add prototype. | |
712 | * hppah-nat.c (store_inferior_registers): Fix warning from ambiguous | |
713 | expression. | |
714 | (store_inferior_registers): Correct formatting. Replace uses of | |
715 | deprecated_registers with calls to regcache_raw_read, | |
716 | regcache_raw_write_part and regcache_raw_read_part. | |
717 | ||
3f70a5e9 MK |
718 | 2004-11-21 Mark Kettenis <kettenis@gnu.org> |
719 | ||
720 | * config/pa/hppahpux.mh: Remove file. | |
721 | * config/pa/hpux1020.mh: Remove file. | |
722 | ||
ced0d73d AS |
723 | 2004-11-20 Andreas Schwab <schwab@suse.de> |
724 | ||
725 | * configure.host: Set host floatformat for m68k. | |
726 | ||
fcf54f50 EZ |
727 | 2004-11-20 Eli Zaretskii <eliz@gnu.org> |
728 | ||
729 | * config/djgpp/fnchange.lst: Resolve file-name clash between | |
730 | hppa-hpux-tdep.c and the new hppa-hpux-nat.c. | |
731 | ||
a7289609 MK |
732 | 2004-11-20 Mark Kettenis <kettenis@gnu.org> |
733 | ||
eeb8076c MK |
734 | * hppa-hpux-nat.c: New file. |
735 | * config/pa/hpux.mh (NATDEPFILES): New file. | |
736 | * Makefile.in (ALLDEPFILES): Add hppa-hpux-nat.c. | |
737 | (hppa-hpux-nat.o): New dependency. | |
738 | * configure.host: Remove hppa*-*-hpux10.20. | |
739 | (hppa*-*-hpux*, hppa*-*-hiux*): Set gdb_host to hpux.mh. | |
740 | ||
f6ffd89b MK |
741 | * inf-ptrace.c: Fix coding style. |
742 | ||
f1bc22da MK |
743 | * gdb_ptrace.h [PTRACE_TYPE_ARG5] (ptrace): New macro. |
744 | * infptrace.c (call_ptrace): Simply call ptrace with four | |
745 | arguments. | |
746 | ||
e31272c3 MK |
747 | * dbxread.c (process_one_symbol): Fix a few coding standard |
748 | issues. Improve code formatting. | |
749 | ||
91f54576 MK |
750 | * dbxread.c: Include "gdb_string.h". |
751 | (record_minimal_symbol, read_ofile_symtab): Replace | |
752 | DEPRECATED_STREQ and DEPRECATED_STREQN with strcmp and strncmp. | |
753 | * Makefile.in (dbxread.o): Update dependencies. | |
754 | ||
a7289609 MK |
755 | * dwarf2-frame.c (read_encoded_value): Correctly calculate number |
756 | of bytes read for aligned LEB128 encodings. | |
757 | ||
57ac95b8 MK |
758 | 2004-11-19 Mark Kettenis <kettenis@gnu.org> |
759 | ||
760 | * bsd-kvm.c (bsd_kvm_pcb_cmd): Cast return value from | |
761 | parse_and_eval_address to u_long before converting it to a pointer | |
762 | type. | |
763 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Change type of | |
764 | ps_strings from int to u_long. | |
765 | * i386obsd-nat.c (_initialize_i386obsd_nat): Cast _ps.val to | |
766 | u_long instead of CORE_ADDR. | |
767 | ||
ceddaf06 MK |
768 | 2004-11-18 Mark Kettenis <kettenis@gnu.org> |
769 | ||
770 | * dbxread.c (process_one_symbol): Do not adjust address of first | |
771 | N_SLINE stab for a function for code generated by non-GCC | |
772 | compilers. | |
773 | ||
915a2d21 KB |
774 | 2004-11-18 Kevin Buettner <kevinb@redhat.com> |
775 | ||
776 | * solib-null.c: New file. | |
777 | ||
92790ee7 AC |
778 | 2004-11-17 Andrew Cagney <cagney@gnu.org> |
779 | ||
780 | * MAINTAINERS: Drop MIPS and remote. | |
781 | ||
0c16dd26 AC |
782 | 2004-11-15 Andrew Cagney <cagney@gnu.org> |
783 | ||
784 | * findvar.c (value_of_register): Set the frame ID. | |
785 | * value.c (value_primitive_field): Copy the frame ID. | |
786 | * valops.c (value_assign): Simplify lval_register case, there's | |
787 | always a frame. | |
788 | ||
2fdf551c DJ |
789 | 2004-11-14 Daniel Jacobowitz <dan@debian.org> |
790 | ||
791 | * Makefile.in (mips-linux-tdep.o): Update dependencies. | |
792 | * mips-linux-tdep.c: Include "regcache.h". | |
793 | (fill_fpregset, mips64_fill_fpregset): Use regcache_raw_collect. | |
794 | ||
98754800 DJ |
795 | 2004-11-14 Daniel Jacobowitz <dan@debian.org> |
796 | ||
797 | * Makefile.in (linux-thread-db.o): Fix typo in last change. | |
798 | ||
ed89d175 DJ |
799 | 2004-11-14 Daniel Jacobowitz <dan@debian.org> |
800 | ||
801 | * linux-thread-db.c: New file, renamed from thread-db.c. | |
802 | * thread-db.c: Remove. | |
803 | * Makefile.in (linux-thread-db.o): Rename from thread-db.o rule. | |
804 | * config/alpha/alpha-linux.mh (NATDEPFILES): Rename thread-db.o | |
805 | to linux-thread-db.o. | |
806 | * config/arm/linux.mh (NATDEPFILES): Likewise. | |
807 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
808 | * config/i386/linux64.mh (NATDEPFILES): Likewise. | |
809 | * config/ia64/linux.mh (NATDEPFILES): Likewise. | |
810 | * config/m32r/linux.mh (NATDEPFILES): Likewise. | |
811 | * config/m68k/linux.mh (NATDEPFILES): Likewise. | |
812 | * config/mips/linux.mh (NATDEPFILES): Likewise. | |
813 | * config/pa/linux.mh (NATDEPFILES): Likewise. | |
814 | * config/powerpc/linux.mh (NATDEPFILES): Likewise. | |
815 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise. | |
816 | * config/s390/s390.mh (NATDEPFILES): Likewise. | |
817 | * config/sparc/linux.mh (NATDEPFILES): Likewise. | |
818 | * config/sparc/linux64.mh (NATDEPFILES): Likewise. | |
819 | ||
8851ec7a AC |
820 | 2004-11-13 Andrew Cagney <cagney@gnu.org> |
821 | ||
f97fe8ff AC |
822 | * config/i386/i386lynx.mh: Delete file. |
823 | * config/i386/i386lynx.mt: Delete file. | |
824 | * Makefile.in (ALLDEPFILES, i386ly-tdep.o): Remove i386ly-tdep.c. | |
825 | * i386ly-tdep.c: Delete. | |
826 | ||
5873946b AC |
827 | * config/tm-lynx.h: Delete, inline contents ... |
828 | * config/rs6000/tm-rs6000ly.h: ... here. | |
829 | ||
a69637bd AC |
830 | * config/tm-sysv4.h: Delete file, inlining contents. |
831 | * config/ia64/tm-aix.h (SKIP_TRAMPOLINE_CODE): Define. | |
832 | * config/tm-linux.h (SKIP_TRAMPOLINE_CODE): Define. | |
833 | * config/tm-nto.h (SKIP_TRAMPOLINE_CODE): Define. | |
834 | ||
8851ec7a AC |
835 | * regcache.h (deprecated_register_valid): Delete. |
836 | (deprecated_registers): Delete. | |
837 | * regcache.c (deprecated_register_valid): Delete. | |
838 | (deprecated_registers): Delete. | |
839 | (deprecated_read_register_byte, _initialize_regcache) | |
840 | (deprecated_write_register_bytes, build_regcache): Update. | |
841 | * config/powerpc/ppc-sim.mt (TDEPFILES): Remove ppc-bdm.o and | |
842 | remote-sds.o. | |
843 | * config/powerpc/ppc-eabi.mt (TDEPFILES): Ditto. | |
844 | * config/mips/embed.mt (TDEPFILES): Remove remote-mips.o. | |
845 | ||
9445aa30 AC |
846 | * NEWS: List h8300*-*-*, mcore-*-*, mn10300-*-*, ns32k-*-*, and |
847 | v850-*-* under removed. | |
848 | * configure.host: Delete ns32k-*-netbsd*. | |
849 | * configure.tgt: Delete h8300-*-*, mcore*-*-*, mn10300-*-*, | |
850 | ns32k-*-netbsd*, and v850*-*-*. | |
851 | * MAINTAINERS: Mark h8300, mcore, mn10300, ns32k, v850 as | |
852 | "Deleted" | |
853 | * config/h8300/tm-h8300.h, config/h8300/h8300.mt: Delete. | |
854 | * h8300-tdep.c, config/mcore/mcore.mt, mcore-rom.c: Delete. | |
855 | * mcore-tdep.c, config/mn10300/mn10300.mt: Delete. | |
856 | * mn10300-tdep.c, config/ns32k/nbsdaout.mh: Delete. | |
857 | * config/ns32k/nbsdaout.mt, config/ns32k/nm-nbsd.h: Delete. | |
858 | * config/ns32k/nm-nbsdaout.h, config/ns32k/tm-ns32k.h: Delete. | |
859 | * ns32knbsd-nat.c, ns32knbsd-tdep.c, ns32k-tdep.c: Delete. | |
860 | * ns32k-tdep.h, config/v850/v850.mt, v850ice.c: Delete. | |
861 | * v850-tdep.c: Delete. | |
862 | ||
f6e1bffc JB |
863 | 2004-11-13 Joel Brobecker <brobecker@gnat.com> |
864 | ||
865 | * irix5-nat.c (fetch_core_registers): Replace use of | |
866 | deprecated_registers by equivalent code. | |
867 | ||
44ed547b JB |
868 | 2004-11-13 Joel Brobecker <brobecker@gnat.com> |
869 | ||
870 | * irix5-nat.c (fill_gregset): Replace use of deprecated_registers | |
871 | with equivalent code. | |
872 | (fill_fpregset): Likewise. | |
873 | ||
e84ecc99 AC |
874 | 2004-11-13 Andrew Cagney <cagney@gnu.org> |
875 | ||
ca1a823a AC |
876 | * MAINTAINERS: Do not list "Deleted" architectures. |
877 | ||
e84ecc99 AC |
878 | * configure.tgt: Delete i[34567]86-*-vxworks*, m68*-netx-*, |
879 | m68*-*-vxworks*, mips*-*-vxworks*, powerpc-*-vxworks*, and | |
880 | sparc-*-vxworks*. | |
881 | * NEWS: Mention that vxworks was deleted. | |
882 | * config/m68k/tm-vx68.h, config/mips/tm-vxmips.h: Delete. | |
883 | * config/powerpc/tm-vxworks.h, config/tm-vxworks.h: Delete. | |
884 | * config/i386/vxworks.mt, config/m68k/vxworks68.mt: Delete. | |
885 | * config/mips/vxmips.mt, config/powerpc/vxworks.mt: Delete. | |
886 | * config/sparc/vxworks.mt, vx-share/dbgRpcLib.h: Delete. | |
887 | * vx-share/ptrace.h, vx-share/regPacket.h: Delete. | |
888 | * vx-share/vxTypes.h, vx-share/vxWorks.h: Delete. | |
889 | * vx-share/wait.h, vx-share/xdr_ld.c: Delete. | |
890 | * vx-share/xdr_ld.h, vx-share/xdr_ptrace.c: Delete. | |
891 | * vx-share/xdr_ptrace.h, vx-share/xdr_rdb.c: Delete. | |
892 | * vx-share/xdr_rdb.h, remote-vxsparc.c: Delete. | |
893 | * remote-vxmips.c, remote-vx.c: Delete. | |
894 | * remote-vx68.c: Delete. | |
895 | * config/m68k/tm-os68k.h: Remove reference to VxWorks. | |
896 | * config/m68k/os68k.mt, ada-lang.h: Ditto. | |
897 | * Makefile.in (HFILES_NO_SRCDIR, ALLDEPFILES, remote-vx68.o) | |
898 | (remote-vx.o, remote-vxmips.o, remote-vxsparc.o): Delete vx files. | |
899 | ||
01e937bc EZ |
900 | 2004-11-13 Eli Zaretskii <eliz@gnu.org> |
901 | ||
29247324 EZ |
902 | * config/i386/xm-go32.h: Don't include fopen-bin.h. |
903 | Don't define CRLF_SOURCE_FILES and DIRNAME_SEPARATOR. | |
904 | ||
905 | * source.c (OPEN_MODE, FDOPEN_MODE): Remove the definitions in the | |
906 | branch that doesn't define CRLF_SOURCE_FILES; always use | |
907 | binary-mode open. | |
908 | (print_source_lines_base, forward_search_command) | |
909 | (reverse_search_command): Enable the code that accepts DOS-style | |
910 | CRLF line endings on all platforms (this removes the need for | |
911 | CRLF_SOURCE_FILES). | |
912 | ||
f8f0d88a | 913 | * defs.h: Fix wording of the comment before FOPEN_RB. |
29247324 | 914 | (DIRNAME_SEPARATOR) [__MSDOS__]: Define to ';'. |
f8f0d88a | 915 | |
01e937bc EZ |
916 | * config/djgpp/fnchange.lst: Group renames for opcode directory |
917 | together. | |
918 | ||
919 | * config/djgpp/djconfig.sh: Replace file names that don't exist | |
920 | anymore with existing files, for checking the unpacked | |
921 | distribution. | |
922 | ||
923 | * config/djgpp/config.sed (am_cv_exeext, lt_cv_sys_max_cmd_len): | |
924 | Export pre-cooked values in configure-* targets that begin with | |
925 | "@test -f stage_last". | |
926 | ||
25ae5d16 AC |
927 | 2004-11-12 Andrew Cagney <cagney@gnu.org> |
928 | ||
929 | * defs.h (enum lval_type): Delete lval_reg_frame_relative. | |
930 | * value.h (struct value): Update comment. | |
931 | * valops.c (value_assign): Fold lval_reg_fame_relative into | |
932 | lval_register. | |
933 | * findvar.c (value_from_register, locate_var_value): Ditto. | |
934 | ||
d7318818 RC |
935 | 2004-11-12 Randolph Chung <tausq@debian.org> |
936 | ||
937 | * config/tm/tm-hppa.h (SYMBOLS_CAN_START_WITH_DOLLAR): Remove. | |
938 | * parse.c (SYMBOLS_CAN_START_WITH_DOLLAR): Remove. | |
939 | (write_exp_msymbol): Remove conditional check for symbols starting | |
940 | with $. Update comments. | |
941 | ||
89676665 RC |
942 | 2004-11-12 Randolph Chung <tausq@debian.org> |
943 | ||
944 | * pa64solib.c (pa64_solib_thread_start_addr): Rename from | |
945 | so_lib_thread_start_addr. | |
946 | * pa64solib.h (so_list): Forward declare. | |
947 | (pa64_solib_thread_start_addr): Prototype. | |
948 | * somsolib.c (SHL_LOAD, SHL_UNLOAD): Define if not already defined. | |
949 | (no_shared_libraries): Remove. | |
950 | (som_solib_thread_start_addr): Rename from so_lib_thread_start_addr. | |
951 | * somsolib.h (som_solib_thread_start_addr): Likewise; prototype. | |
952 | * hpread.c (hpread_process_one_debug_symbol): Use either the som or | |
953 | the elf solib handler to find the start address. | |
954 | ||
955 | * config/pa/hppahpux.mh (NATDEPFILES): Move target-specific support | |
956 | files to the target makefile. | |
957 | * config/pa/hpux1020.mh (NATDEPFILES): Likewise. | |
958 | * config/pa/hpux11.mh (NATDEPFILES): Likewise. | |
959 | * config/pa/hpux11w.mh (NATDEPFILES): Likewise. | |
960 | ||
961 | * config/pa/hppa64.mt (TDEPFILES): Put target-specific support | |
b82f24bf | 962 | files for symbol reading and shared library handling here. |
89676665 | 963 | * config/pa/hppahpux.mt (TDEPFILES): Likewise. |
b82f24bf RC |
964 | (PA_SOM_ONLY): Define so we can build a 32-bit SOM only target |
965 | without bringing in 64-bit support. | |
89676665 | 966 | |
df407dfe AC |
967 | 2004-11-12 Andrew Cagney <cagney@gnu.org> |
968 | ||
4991999e AC |
969 | * sparc-tdep.c: Replace VALUE_TYPE with value_type. |
970 | * v850-tdep.c, sparc64-tdep.c, sh-tdep.c: Ditto. | |
971 | * sh64-tdep.c, s390-tdep.c, mcore-tdep.c: Ditto. | |
972 | * h8300-tdep.c, arm-linux-tdep.c, amd64-tdep.c: Ditto. | |
973 | * hppa-tdep.c, mips-tdep.c, m88k-tdep.c: Ditto. | |
974 | * m68hc11-tdep.c, m32r-tdep.c, ia64-tdep.c: Ditto. | |
975 | * frv-tdep.c, cris-tdep.c, avr-tdep.c, alpha-tdep.c: Ditto. | |
976 | ||
9ee8fc9d AC |
977 | Merge VALUE_REGNO and VALUE_FRAME_REGNUM into VALUE_REGNUM. |
978 | * value.h (VALUE_REGNO, VALUE_FRAME_REGNUM): Delete. | |
979 | (VALUE_REGNUM): Define. | |
980 | (struct value): Delete location.regnum, rename "regno" to | |
981 | "regnum". | |
982 | * value.c, valops.c, valarith.c, findvar.c: Update. | |
983 | ||
df407dfe AC |
984 | * value.h (VALUE_TYPE, VALUE_NEXT, VALUE_OFFSET, VALUE_BITSIZE) |
985 | (VALUE_BITPOS): Delete. | |
986 | (value_type, value_offset, value_bitsize, value_bitpos): Declare. | |
987 | * value.c (value_type, value_offset, value_bitpos) | |
988 | (value_bitsize): New functions. Update references. | |
989 | * arm-tdep.c, gnu-v3-abi.c, hpacc-abi.c, gnu-v2-abi.c: Update. | |
990 | * f-valprint.c, cp-valprint.c, c-valprint.c: Update. | |
991 | * ada-valprint.c, typeprint.c, scm-valprint.c, scm-exp.c: Update. | |
992 | * p-valprint.c, jv-valprint.c, jv-lang.c, varobj.c: Update. | |
993 | * objc-lang.c, ada-lang.c, std-regs.c, stack.c: Update. | |
994 | * infcall.c, linespec.c, printcmd.c, valarith.c: Update. | |
995 | * valops.c, eval.c, findvar.c, breakpoint.c: Update. | |
996 | * tracepoint.c, ax-gdb.c, mi/mi-main.c, cli/cli-dump.c: | |
997 | * rs6000-tdep.c, ppc-sysv-tdep.c: Update. | |
998 | ||
61c82a3b AC |
999 | 2004-11-12 Andrew Cagney <cagney@gnu.org> |
1000 | ||
1001 | * cris-tdep.c (cris_register_offset): Delete, never called. | |
1002 | (cris_spec_reg_applicable): Delete cris_ver_sim. | |
1003 | * MAINTAINERS: List d10v as OBSOLETE. | |
1004 | * rdi-share/host.h (FOPEN_WB): #ifdef 0 out definitions of | |
1005 | FOPEN_WB et.al., defined by "fopen-bin.h". | |
1006 | ||
5aac166f RC |
1007 | 2004-11-12 Randolph Chung <tausq@debian.org> |
1008 | ||
1009 | * hppa-tdep.c (hppa_skip_permanent_breakpoint): Move definition ... | |
1010 | * hppa-hpux-tdep.c (hppa_skip_permanent_breakpoint): ... to here. | |
1011 | * config/pa/tm-hppa.h (SKIP_PERMANENT_BREAKPOINT): Move definition ... | |
1012 | * config/pa/tm-hppah.h (SKIP_PERMANENT_BREAKPOINT): ... to here. | |
1013 | ||
4fab48b9 MK |
1014 | 2004-11-12 Mark Kettenis <kettenis@jive.nl> |
1015 | ||
1016 | * tui/tui-io.c: Don't include "terminal.h". | |
1017 | * Makefile.in (tui-io.o): Update dependencies. | |
1018 | ||
9b098f24 KI |
1019 | 2004-11-12 Kei Sakamoto <sakamoto.kei@renesas.com> |
1020 | ||
1021 | * Makefile.in (m32r-linux-tdep.o): Update dependencies. | |
1022 | * m32r-linux-tdep.c (m32r_linux_init_abi): Call | |
1023 | set_gdbarch_regset_from_core_section for core file support. | |
1024 | (m32r_linux_supply_gregset, m32r_linux_regset_from_core_section): | |
1025 | New functions. | |
1026 | ||
a71f8c30 RC |
1027 | 2004-11-11 Randolph Chung <tausq@debian.org> |
1028 | ||
1029 | * hppa-tdep.c (skip_prologue_hard_way): Make static, add | |
1030 | stop_after_branch parameter and use it to determine if we should look | |
1031 | at the delay slot of the first branch insn to find prologue insns. | |
1032 | (hppa_skip_prologue): Update comment and call to skip_prologue_hard_way. | |
1033 | (hppa_frame_cache): Likewise. | |
1034 | ||
50b2f48a RC |
1035 | 2004-11-11 Randolph Chung <tausq@debian.org> |
1036 | ||
1037 | * hppa-tdep.c (hppa_frame_cache): Properly handle the frame pointer | |
1038 | register so that it can be unwound from anywhere in the prologue. | |
1039 | ||
be723e22 MS |
1040 | 2004-11-10 msnyder <msnyder@redhat.com> |
1041 | ||
1042 | * rs6000-tdep.c (skip_prologue): After saving lr_offset, | |
1043 | must invalidate lr_reg (so we don't try to save it again). | |
1044 | Ditto for cr_offset and cr_reg. | |
1045 | ||
d6f7abdf AC |
1046 | 2004-11-05 Jon Beniston <jon@beniston.com> |
1047 | ||
216c5547 | 1048 | Committed by Andrew Cagney. |
d6f7abdf AC |
1049 | * remote.c (putpkt_binary) Fix PR gdb/1806. Send an ACK |
1050 | when an unexpected packet is received, as the target stubs | |
1051 | continually retransmit the same packet until ACKed. | |
1052 | ||
1d225535 RC |
1053 | 2004-11-10 Randolph Chung <tausq@debian.org> |
1054 | ||
1055 | * frame.c (get_prev_frame): Use get_frame_type to retrieve the | |
d6f7abdf | 1056 | frame's type. |
1d225535 | 1057 | |
2315ffec RC |
1058 | 2004-11-10 Randolph Chung <tausq@debian.org> |
1059 | ||
1060 | * blockframe.c (inside_entry_func): Move to ..... | |
1061 | * frame.c (inside_entry_func): ... here, and make static. | |
1062 | (backtrace_past_entry): New flag. | |
1063 | (get_prev_frame): Stop backtrace at the entry function if enabled | |
1064 | by flag. Update comments. | |
1065 | (_initialize_frame): Add command to set backtrace_past_entry flag. | |
1066 | * defs.h (inside_entry_func): Remove prototype. | |
1067 | ||
917c78fc MK |
1068 | 2004-11-10 Mark Kettenis <kettenis@gnu.org> |
1069 | ||
1070 | * dwarf2read.c: Fix formatting. | |
1071 | ||
994b9211 AC |
1072 | 2004-11-10 Andrew Cagney <cagney@gnu.org> |
1073 | ||
1074 | * value.h (COERCE_REF, COERCE_ARRAY, COERCE_NUMBER, COERCE_ENUM) | |
1075 | (coerce_ref, coerce_array, coerce_number, coerce_enum): Replace | |
1076 | macros with function declarations. | |
1077 | * value.c (coerce_ref, coerce_array, coerce_number) | |
1078 | (coerce_enum): New functions. | |
1079 | (value_as_long, value_as_address): Update. | |
1080 | * ada-lang.c (ada_coerce_ref, ada_value_binop) | |
1081 | (ada_evaluate_subexp, ada_value_assign, ada_value_struct_elt): Update. | |
1082 | * jv-lang.c (evaluate_subexp_java): Update. | |
1083 | * valarith.c (value_less, value_neg, value_complement) | |
1084 | (value_binop, value_add, value_subscript, value_x_binop) | |
1085 | (value_logical_not, value_sub): Update. | |
1086 | * valops.c (check_field, value_struct_elt, value_ind) | |
1087 | (value_find_oload_method_list, value_cast, value_assign): Update. | |
1088 | * eval.c (evaluate_subexp_standard): Update. | |
1089 | ||
06987e64 MK |
1090 | 2004-11-10 Mark Kettenis <kettenis@gnu.org> |
1091 | ||
1092 | * mips-tdep.c (mips32_relative_offset): Change return type to | |
1093 | LONGEST, change argument type to ULONGEST. Fix sign-extension. | |
1094 | ||
4a302917 RC |
1095 | 2004-11-10 Randolph Chung <tausq@debian.org> |
1096 | ||
1097 | * hppa-tdep.c (hppa32_register_name, hppa64_register_name): Make static. | |
1098 | (hppa32_push_dummy_call, hppa64_push_dummy_call): Likewise. | |
1099 | (hppa_fetch_pointer_argument): Likewise. | |
1100 | (hppa_frame_cache): Use safe_frame_unwind_memory instead of | |
1101 | deprecated_read_memory_nobpt. | |
1102 | (_initialize_hppa_tdep): Replace deprecated_add_show_from_set/ | |
1103 | add_set_cmd sequence with add_setshow_boolean_cmd. | |
1104 | ||
390e974f AC |
1105 | 2004-11-09 Andrew Cagney <cagney@gnu.org> |
1106 | ||
1107 | GDB 6.3 released from GDB 6.3 branch. | |
1108 | ||
92e023d6 AC |
1109 | 2004-11-09 Andrew Cagney <cagney@gnu.org> |
1110 | ||
1111 | * values.c: Rename to ... | |
1112 | * value.c: ..., new file. | |
1113 | * Makefile.in: Update. | |
1114 | ||
d10891d4 DJ |
1115 | 2004-11-09 Daniel Jacobowitz <dan@debian.org> |
1116 | ||
1117 | * dwarf2-frame.c (dwarf2_frame_state_alloc_regs): Correct allocated | |
1118 | size. | |
1119 | ||
00a4c844 AC |
1120 | 2004-11-09 Andrew Cagney <cagney@gnu.org> |
1121 | ||
c44523e7 AC |
1122 | * TODO: Delete. |
1123 | ||
00a4c844 AC |
1124 | * value.h (struct value): Delete field bfd_section. |
1125 | (VALUE_BFD_SECTION): Delete macro. | |
1126 | (COERCE_REF): Update. | |
1127 | (value_at, value_at_lazy): Delete asection parameter. | |
1128 | * printcmd.c (print_formatted, x_command): Update. | |
1129 | (do_examine): Delete asection parameter. | |
1130 | (next_section): Delete variable. | |
1131 | * valops.c (value_cast, value_at, value_at_lazy) | |
1132 | (value_coerce_function, value_addr, value_ind, value_string) | |
1133 | (find_rt_vbase_offset, value_full_object): Update. | |
1134 | * hpacc-abi.c (hpacc_virtual_fn_field) | |
1135 | (hpacc_value_rtti_type): Update. | |
1136 | * gnu-v3-abi.c (gnuv3_rtti_type, gnuv3_virtual_fn_field) | |
1137 | (gnuv3_baseclass_offset): Update. | |
1138 | * f-valprint.c (f_val_print): Update. | |
1139 | * c-valprint.c (c_val_print): Update. | |
1140 | * p-valprint.c (pascal_val_print): Update. | |
1141 | * jv-valprint.c (java_value_print): Update. | |
1142 | * jv-lang.c (java_class_from_object, evaluate_subexp_java): Update. | |
1143 | * ada-lang.c (ada_value_primitive_packed_val) | |
1144 | (ada_evaluate_subexp): Update. | |
1145 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Update. | |
1146 | * expprint.c (print_subexp_standard): Update. | |
1147 | * infcall.c (call_function_by_hand): Update. | |
1148 | * valarith.c (value_add): Update. | |
1149 | * eval.c (evaluate_subexp_standard): Update. | |
1150 | * values.c (allocate_value, value_copy, value_static_field): Update. | |
1151 | * findvar.c (read_var_value, locate_var_value): Update. | |
1152 | ||
5cb2fe25 AC |
1153 | 2004-11-09 Andrew Cagney <cagney@gnu.org> |
1154 | ||
1155 | * i386-linux-tdep.c: Include "dwarf2-frame.h". | |
1156 | * Makefile.in: Update all dependencies. | |
1157 | ||
cbafadeb AC |
1158 | 2004-11-08 Andrew Cagney <cagney@gnu.org> |
1159 | ||
1160 | * sentinel-frame.c (sentinel_frame_prev_pc): New function. | |
1161 | (sentinel_frame_unwinder): Add the prev_pc method. | |
1162 | * frame.c (frame_pc_unwind): Use the per-frame pc unwinder when | |
1163 | available. Do not handle the sentinel-frame case. | |
1164 | * frame-unwind.h (frame_prev_register_ftype): Define. | |
1165 | (struct frame_unwind): Add prev_pc; | |
1166 | ||
3b78cdbb DA |
1167 | 2004-11-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1168 | ||
1169 | * configure.in: Check for ncurses/term.h. | |
1170 | * gdb_curses.h: Include term.h here, prefering ncurses/term.h. | |
1171 | * utils.c: Include gdb_curses.h instead of curses.h and term.h. | |
1172 | * tui/tui.c: Don't include term.h. | |
1173 | * configure, config.in: Rebuilt. | |
1174 | ||
bcfca652 MK |
1175 | 2004-11-08 Mark Kettenis <kettenis@gnu.org> |
1176 | ||
1177 | * m68kbsd-nat.c: Include "inf-ptrace.h". | |
1178 | (_initialize_m68kbsd_nat): Fix pasto. | |
1179 | * Makefile.in (m68kbsd-nat.o): Update dependencies. | |
1180 | ||
527159b7 RC |
1181 | 2004-11-08 Randolph Chung <tausq@debian.org> |
1182 | ||
1183 | * infrun.c (debug_infrun): New variable. | |
1184 | (resume, proceed, wait_for_inferior): Annotate with debug messages. | |
1185 | (handle_inferior_event, keep_going): Likewise. | |
1186 | (_initialize_infrun): Register "set debug infrun" command. | |
1187 | ||
c874c7fc AS |
1188 | 2004-11-08 Andreas Schwab <schwab@suse.de> |
1189 | ||
1190 | * linux-nat.c (PTRACE_EVENT_VFORK_DONE): Renamed from | |
1191 | PTRACE_EVENT_VFORKDONE. | |
1192 | (child_follow_fork): Adjust. | |
1193 | ||
3c8fa307 AC |
1194 | 2004-11-08 Andrew Cagney <cagney@gnu.org> |
1195 | ||
5c26072a AC |
1196 | * README: Refer to 6.3, not 6.2, update directory listing droppng |
1197 | references to intl/ and mmalloc/. | |
1198 | * PROBLEMS: Refer to 6.3 not 6.2. | |
1199 | ||
3c8fa307 AC |
1200 | * PROBLEMS: Delete no-longer applicable problems. |
1201 | ||
12b8a2cb DJ |
1202 | 2004-11-07 Andrew Cagney <cagney@redhat.com> |
1203 | Daniel Jacobowitz <dan@debian.org> | |
1204 | Roland McGrath <roland@redhat.com> | |
1205 | ||
1206 | * Makefile.in (symfile-mem.o): Update dependencies. | |
1207 | * i386-linux-tdep.c (i386_linux_dwarf_signal_frame_p): New. | |
1208 | (i386_linux_init_abi): Call dwarf2_frame_set_signal_frame_p. | |
1209 | * inf-ptrace.c (inf_ptrace_attach): Call | |
1210 | observer_notify_inferior_created. | |
1211 | * inftarg.c (child_attach): Likewise. | |
1212 | * symfile-mem.c: Include "observer.h", "auxv.h", and "elf/common.h". | |
1213 | (symbol_file_add_from_memory): Take NAME argument. Use it for | |
1214 | the new BFD's filename. | |
1215 | (add_symbol_file_from_memory_command): Update call to | |
1216 | symbol_file_add_from_memory. | |
1217 | (struct symbol_file_add_from_memory_args, add_vsyscall_page) | |
1218 | (symbol_file_add_from_memory_wrapper): New. | |
1219 | (_initialize_symfile_mem): Register add_vsyscall_page as an | |
1220 | inferior_created observer. | |
1221 | ||
abbc6945 MK |
1222 | 2004-11-07 Mark Kettenis <kettenis@gnu.org> |
1223 | ||
1224 | * m68kbsd-nat.c (m68kbsd_fetch_inferior_registers): Rename from | |
1225 | fetch_inferior_registers. Make static. | |
1226 | (m68kbsd_store_inferior_registers): Rename from | |
1227 | store_inferior_registers. Make static. | |
1228 | (_initialize_m68kbsd_nat): Construct and add target vector. | |
1229 | * config/m68k/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and | |
1230 | inftarg.o. Add inf-ptrace.o. | |
1231 | (NAT_FILE): Set to tm-solib.h. | |
1232 | (LOADLIBES): New variable. | |
1233 | * config/m68k/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and | |
1234 | inftarg.o. Add inf-ptrace.o. | |
1235 | (NAT_FILE): Delete variable. | |
1236 | * config/m68k/obsd.mh (NATDEPFILES): Remove infptrace.o and | |
1237 | inftarg.o. Add inf-ptrace.o. | |
1238 | (NAT_FILE): Set to tm-solib.h. | |
1239 | * config/m68k/nm-nbsdaout.h: Remove file. | |
1240 | ||
3ed09a32 DJ |
1241 | 2004-11-07 Daniel Jacobowitz <dan@debian.org> |
1242 | ||
1243 | * dwarf2-frame.c (struct dwarf2_frame_ops): Add signal_frame_p. | |
1244 | (dwarf2_frame_set_signal_frame_p, dwarf2_frame_signal_frame_p) | |
1245 | (dwarf2_signal_frame_unwind): New. | |
1246 | (dwarf2_frame_sniffer): Use dwarf2_frame_signal_frame_p. | |
1247 | * dwarf2-frame.h (dwarf2_frame_set_signal_frame_p): New prototype. | |
1248 | ||
8e763687 MK |
1249 | 2004-11-07 Mark Kettenis <kettenis@gnu.org> |
1250 | ||
4fb31ed0 MK |
1251 | * Makefile.in (mips64obsd-tdep.o): Fix typo. |
1252 | ||
fabe86c8 MK |
1253 | * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Renamed |
1254 | from mipsnbsd_ilp32_solib_svr4_fetch_link_map_offsets. Trim sizes | |
1255 | to only include the structure members we actually need. | |
1256 | (mipsnbsd_lp64_fetch_link_map_offsets): Renamed from | |
1257 | mipsnbsd_lp64_solib_svr4_fetch_link_map_offsets. Trim sizes to | |
1258 | only include the structure members we actually need. | |
1259 | (mipsnbsd_init_abi): Update. | |
1260 | ||
366e93e8 MK |
1261 | * mips64obsd-nat.c: Include "mips-tdep.h". |
1262 | (MIPS64OBSD_NUM_REGS): Remove define. | |
1263 | (MIPS_PC_REGNUM, MIPS_FP0_REGNUM, MIPS_FSR_REGNUM): New defines. | |
1264 | (mips64obsd_supply_gregset, mips64obsd_collect_gregset): Handle | |
1265 | floating-point registers correctly. | |
1266 | * Makefile.in (mips64obsd-nat.o): Update dependencies. | |
1267 | ||
8e763687 MK |
1268 | * mips64obsd-tdep.c: Include "trad-frame.h", "tramp-frame.h" and |
1269 | "gdb_assert.h". | |
1270 | (mips64obsd_sigframe_init): New function. | |
1271 | (mips64obsd_sigframe): New variable. | |
1272 | (mips64obsd_init_abi): Add comments. Prepend mips64obsd_sigrame | |
1273 | unwinder. | |
1274 | * Makefile.in (mips64obsd-tdep.o): Update dependencies. | |
1275 | ||
5f6a2351 JB |
1276 | 2004-11-06 Joel Brobecker <brobecker@gnat.com> |
1277 | ||
1278 | * alpha-mdebug-tdep.c: #include mdebugread.h. | |
1279 | Replace alpha_extra_func_info_t by struct mdebug_extra_func_info *. | |
1280 | * Makefile.in (alpha-mdebug-tdep.o): Add dependency on mdebugread.h. | |
1281 | ||
f059bf6f AC |
1282 | 2004-11-05 Andrew Cagney <cagney@gnu.org> |
1283 | ||
1284 | * dwarf2-frame.c (dwarf2_frame_cache): Only complain when both the | |
1285 | CFI and the init_reg method leave the register unspecified. | |
1286 | Include the register name in the "Incomplete CFI data" complaint. | |
1287 | Supress leading zeros in the address. | |
1288 | ||
1234d960 MK |
1289 | 2004-11-05 Mark Kettenis <kettenis@gnu.org> |
1290 | ||
1291 | * dwarf2-frame.c (decode_frame_entry_1): Avoid indirection when | |
1292 | skipping a personality routine in a CIE augmentation. | |
1293 | ||
d75e3c94 JJ |
1294 | 2004-11-05 Jeff Johnston <jjohnstn@redhat.com> |
1295 | ||
1296 | * defs.h (fatal, vfatal): New function prototypes. | |
1297 | * stack.c (backtrace_command_stub): Stub to call backtrace_command_1 | |
1298 | via catch_errors. | |
1299 | (backtrace_command): Change to call backtrace_command_stub via | |
1300 | catch_errors instead of calling backtrace_command_1 directly. | |
1301 | (backtrace_full_command): Ditto. | |
1302 | * utils.c (error_stream_1): New static function. | |
1303 | (verror): Change to call error_stream_1 instead of error_stream. | |
1304 | (error_stream): Call error_stream_1 with RETURN_ERROR argument. | |
1305 | (vfatal, fatal): New functions. | |
1306 | ||
98f276a0 AC |
1307 | 2004-11-05 Andrew Cagney <cagney@gnu.org> |
1308 | ||
1309 | * stack.c (parse_frame_specification_1): Clear selected_frame_p | |
1310 | when not using selected frame. | |
1311 | ||
f724bf08 MK |
1312 | 2004-11-05 Mark Kettenis <kettenis@jive.nl> |
1313 | ||
1314 | * dwarf2-frame.c (decode_frame_entry_1): Correctly skip | |
1315 | personality routine in a CIE augmentation. | |
1316 | ||
c789492a FL |
1317 | 2004-11-05 Felix Lee <felix+log1@specifixinc.com> |
1318 | ||
1319 | * stack.c (set_current_sal_from_frame): New function. | |
1320 | (print_args_stub): Use it. | |
1321 | (print_frame_info): Don't set sal here. | |
1322 | ||
a81b10ae MK |
1323 | 2004-11-04 Mark Kettenis <kettenis@gnu.org> |
1324 | ||
1325 | * dwarf2-frame.c (read_encoded_value): Change type of third | |
1326 | argument to `unsigned char *'. Add support for LEB128 encodings. | |
1327 | ||
ad766c0a JB |
1328 | 2004-11-04 Jim Blandy <jimb@redhat.com> |
1329 | ||
1330 | * gdbtypes.c (make_qualified_type): Doc fix. Add assertion to | |
1331 | prevent cross-objfile references. | |
1332 | (make_cv_type): Doc fix. Don't create cross-objfile references, | |
1333 | even for stub types. | |
1334 | (replace_type): Add assertion to prevent cross-objfile references. | |
1335 | (check_typedef): Never resolve a stub type by copying over a type | |
1336 | from another file. | |
1337 | ||
c46b0409 | 1338 | 2004-11-04 Kei Sakamoto <sakamoto.kei@denesas.com> |
f16d97c9 | 1339 | |
c46b0409 KI |
1340 | * Makefile.in (m32r-tdep.o): Update dependencies. |
1341 | * m32r-tdep.c (m32r_gdbarch_init): Call gdbarch_init_osabi for | |
1342 | ABI-specific overrides. | |
1343 | ||
9f0b0322 | 1344 | 2004-11-04 Kei Sakamoto <sakamoto.kei@denesas.com> |
f16d97c9 | 1345 | |
9f0b0322 KI |
1346 | * m32r-tdep.c (m32r_memory_insert_breakpoint): Remove |
1347 | unnecessary parallel execution bit. | |
1348 | (m32r_memory_remove_breakpoint): Ditto. | |
1349 | (m32r_breakpoint_from_pc): Update. | |
1350 | ||
d5c27f81 RC |
1351 | 2004-11-03 Randolph Chung <tausq@debian.org> |
1352 | ||
1353 | * hppa-tdep.c (hppa_frame_cache): Use frame_pc_unwind instead of | |
9f0b0322 | 1354 | frame_func_unwind to locate the unwind entry. |
d5c27f81 RC |
1355 | (hppa_frame_this_id): Likewise. |
1356 | ||
4577593c AC |
1357 | 2004-11-03 Andrew Cagney <cagney@gnu.org> |
1358 | ||
1359 | * gdb/NEWS: Mention internationalization, m32r-*-linux-gnu, 'p' | |
1360 | packet, obsolete configurations, end-of-life deprecated_registers. | |
1361 | ||
b04de778 MK |
1362 | 2004-11-02 Mark Kettenis <kettenis@gnu.org> |
1363 | ||
1364 | * dwarf2-frame.c (read_encoded_value): Set proper size for signed | |
1365 | encodings as well as unsigned encodings. | |
1366 | ||
9f2feefc AC |
1367 | 2004-11-02 Andrew Cagney <cagney@gnu.org> |
1368 | ||
1369 | * value.h (COERCE_VARYING_ARRAY): Delete. | |
1370 | * valops.c (value_cast, value_slice): Delete use. | |
1371 | * valarith.c (value_subscript, value_concat): Delete use. | |
1372 | ||
117ea3cf PH |
1373 | 2004-11-02 Paul Hilfinger <hilfingr@nile.gnat.com> |
1374 | ||
1375 | * NEWS: GDB understands GNAT Ada. | |
1376 | ||
0bbc026e JM |
1377 | 2004-11-01 Joseph S. Myers <joseph@codesourcery.com> |
1378 | ||
1379 | * Makefile.in (ALLDEPFILES): Add amd64-sol2-tdep.c. | |
1380 | (amd64-sol2-tdep.o): Add dependencies. | |
1381 | * amd64-sol2-tdep.c, config/i386/sol2-64.mh, | |
1382 | config/i386/sol2-64.mt: New files. | |
1383 | * i386-sol2-nat.c (amd64_sol2_gregset64_reg_offset, | |
1384 | amd64_sol2_gregset32_reg_offset, _initialize_amd64_sol2_nat): New. | |
1385 | (supply_gregset): Correct order of arguments to | |
1386 | amd64_supply_native_gregset. | |
1387 | (fill_gregset): Correct order of arguments to | |
1388 | amd64_collect_native_gregset. | |
1389 | * configure.host (i[34567]86-*-solaris2.1[0-9]*): Add new case. | |
1390 | * configure.tgt (i[34567]86-*-solaris2.1[0-9]*): Likewise. | |
1391 | * configure.in (*-*-solaris2.[[6789]]): Add *-*-solaris2.1[[0-9]] | |
1392 | for definition of NEW_PROC_API. | |
1393 | * configure: Regenerate. | |
1394 | ||
3d38a0a5 JM |
1395 | 2004-11-01 Joseph S. Myers <joseph@codesourcery.com> |
1396 | ||
1397 | * MAINTAINERS (Write After Approval): Add myself. | |
1398 | ||
f81cd1cf AC |
1399 | 2004-11-01 Andrew Cagney <cagney@gnu.org> |
1400 | ||
1401 | * configure.tgt: Mark d10v-*-* as obsolete. | |
1402 | * config/d10v/d10v.mt, d10v-tdep.c: Obsolete files. | |
1403 | ||
f4e88c8e PH |
1404 | 2004-11-01 Paul N. Hilfinger <Hilfinger@gnat.com> |
1405 | ||
1406 | * values.c (modify_field): Correct handling of bit-fields that | |
1407 | don't fit in 32 bits. Use unsigned operations throughout and | |
1408 | simplify the code a bit. Document preconditions. | |
1409 | ||
84674fe1 AC |
1410 | 2004-10-31 Andrew Cagney <cagney@gnu.org> |
1411 | ||
96693b3a AC |
1412 | * config/pa/tm-linux.h: Delete #undef IN_SOLIB_CALL_TRAMPOLINE. |
1413 | * config/tm-sysv4.h (IN_SOLIB_CALL_TRAMPOLINE): Delete. | |
1414 | (in_plt_section): Delete. | |
1415 | ||
6f296f8f AC |
1416 | * mips-tdep.c (mips_in_solib_return_trampoline): Delete. |
1417 | (mips_gdbarch_init): Do not set same. | |
1418 | ||
618501c0 AC |
1419 | * arch-utils.c (generic_in_solib_call_trampoline): Delete. |
1420 | * arch-utils.h (generic_in_solib_call_trampoline): Delete. | |
1421 | ||
b22e8f02 AC |
1422 | * gdbarch.sh (in_solib_call_trampoline): Delete. |
1423 | * gdbarch.h, gdbarch.c: Re-generate. | |
1424 | ||
84674fe1 AC |
1425 | * hppa-tdep.c (hppa_stub_unwind_sniffer): Replace |
1426 | IN_SOLIB_CALL_TRAMPOLINE with tdep.in_solib_call_trampoline. | |
1427 | * hppa-tdep.h (struct gdbarch_tdep): Add in_solib_call_trampoline. | |
1428 | * hppa-hpux-tdep.c (hppa_hpux_init_abi): Set same. | |
1429 | * hppa-linux-tdep.c (hppa_linux_init_abi): Ditto. | |
1430 | ||
c6d1029f MK |
1431 | 2004-10-31 Mark Kettenis <kettenis@gnu.org> |
1432 | ||
1433 | * mipsnbsd-nat.c: Include "target.h" and "inf-ptrace.h". | |
1434 | (mipsnbsd_fetch_inferior_registers): Rename from | |
1435 | fetch_inferior_registers. Make static. | |
1436 | (mipsnbsd_store_inferior_registers): Rename from | |
1437 | store_inferior_registers. Make static. | |
1438 | (_initialize_mipsnbsd_nat): New function and prototype. | |
1439 | * Makefile.in (mipsnbsd-nat.o): Update dependencies. | |
1440 | * config/mips/nbsd.mh (NAT_CLIBS, NAT_FILE): Remove variables. | |
1441 | (NATDEPFILES): Remove infptrace.o and inftarg.o. Add | |
1442 | inf-ptrace.o. | |
1443 | ||
bd9ca83f AC |
1444 | 2004-10-31 Andrew Cagney <cagney@gnu.org> |
1445 | ||
19d718a3 AC |
1446 | * xstormy16-tdep.c (xstormy16_in_solib_call_trampoline) |
1447 | (xstormy16_gdbarch_init): Do not set in_solib_call_trampoline, | |
1448 | delete corresponding unused function. | |
1449 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Really do not set | |
1450 | in_solib_call_trampoline. | |
1451 | * config/arm/tm-embed.h (IN_SOLIB_CALL_TRAMPOLINE): Delete. | |
1452 | * config/powerpc/tm-linux.h: Delete #undef IN_SOLIB_CALL_TRAMPOLINE. | |
1453 | * config/mips/tm-nbsd.h: Ditto. | |
1454 | * config/arm/tm-linux.h: Ditto. | |
1455 | * config/mips/tm-linux.h: Ditto. | |
1456 | ||
e8ce19c0 AC |
1457 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi) |
1458 | (arm_netbsd_aout_in_solib_call_trampoline): Do not set | |
1459 | in_solib_call_trampoline, delete corresponding unused function. | |
1460 | * vaxnbsd-tdep.c (vaxnbsd_aout_in_solib_call_trampoline) | |
1461 | (vaxnbsd_aout_init_abi): Ditto. | |
1462 | * sparcnbsd-tdep.c (sparcnbsd_aout_in_solib_call_trampoline) | |
1463 | (sparc32nbsd_aout_init_abi): Ditto. | |
1464 | * ppc-linux-tdep.c (ppc64_in_solib_call_trampoline) | |
1465 | (ppc_linux_init_abi): Ditto. | |
1466 | * ns32knbsd-tdep.c (ns32knbsd_aout_in_solib_call_trampoline) | |
1467 | (ns32knbsd_init_abi_aout): Ditto. | |
1468 | * mips-tdep.c (mips_in_call_stub, mips_gdbarch_init): Ditto. | |
1469 | * mips-linux-tdep.c (mips_linux_init_abi): Ditto. | |
1470 | * m68kbsd-tdep.c (m68kbsd_aout_in_solib_call_trampoline) | |
1471 | (m68kbsd_aout_init_abi): Ditto. | |
1472 | * i386-cygwin-tdep.c (i386_cygwin_in_solib_call_trampoline) | |
1473 | (i386_cygwin_init_abi): Ditto. | |
1474 | * i386bsd-tdep.c (i386bsd_aout_in_solib_call_trampoline) | |
1475 | (i386bsd_init_abi): Ditto. | |
1476 | ||
af380d61 AC |
1477 | * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Do not set |
1478 | in_solib_call_trampoline to in_plt_entry, IN_SOLIB_CALL_TRAMPOLINE | |
1479 | isn't used by this architecture. | |
1480 | * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Ditto. | |
1481 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Ditto. | |
1482 | * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Ditto. | |
1483 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
1484 | * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto. | |
1485 | * m68klinux-tdep.c (m68k_linux_init_abi): Ditto. | |
1486 | * i386-tdep.c (i386_svr4_init_abi): Ditto. | |
1487 | * i386-nto-tdep.c (i386nto_init_abi): Ditto. | |
1488 | * arm-linux-tdep.c (arm_linux_init_abi): Ditto. | |
1489 | * amd64-tdep.c (amd64_init_abi): Ditto. | |
1490 | ||
0528d9f7 AC |
1491 | * vaxnbsd-tdep.c (vaxnbsd_elf_init_abi): Do not set |
1492 | in_solib_call_trampoline to its default value of | |
1493 | generic_in_solib_call_trampoline. | |
1494 | * ppcobsd-tdep.c (ppcobsd_init_abi): Ditto. | |
1495 | * m68kbsd-tdep.c (m68kbsd_elf_init_abi): Ditto. | |
1496 | * i386obsd-tdep.c (i386obsd_elf_init_abi): Ditto. | |
1497 | * i386nbsd-tdep.c (i386nbsdelf_init_abi): Ditto. | |
1498 | * i386fbsd-tdep.c (i386fbsd_init_abi): Ditto. | |
1499 | * hppabsd-tdep.c (hppabsd_init_abi): Ditto. | |
1500 | ||
f9f9eacb AC |
1501 | * mips-tdep.c (mips_dump_tdep): Don't print any of the macros. |
1502 | ||
a4ffd1e7 AC |
1503 | * config/mips/obsd64.mt (DEPRECATED_TM_FILE): Delete. |
1504 | ||
82e34d2f AC |
1505 | * config/mips/tm-mips.h: Delete file. |
1506 | * remote-mips.c: Delete tm-mips.h from comment. | |
1507 | * config/mips/embed.mt (DEPRECATED_TM_FILE): Delete. | |
1508 | * config/mips/tm-nbsd.h: Don't include tm-mips.h. | |
1509 | * config/mips/irix6.mt (DEPRECATED_TM_FILE): Delete. | |
1510 | * config/mips/tm-linux.h: Don't include tm-mips.h. | |
1511 | * config/mips/tm-vxmips.h: Don't include tm-mips.h. | |
1512 | * config/mips/irix5.mt (DEPRECATED_TM_FILE): | |
1513 | * config/mips/tm-wince.h: Don't include. | |
1514 | ||
75dec9cf AC |
1515 | * mdebugread.h (MDEBUG_EFI_SYMBOL_NAME): Define. |
1516 | * mdebugread.c (MDEBUG_EFI_SYMBOL_NAME): Delete. | |
1517 | * config/alpha/tm-alpha.h (MDEBUG_EFI_SYMBOL_NAME): Delete. | |
1518 | * config/mips/tm-mips.h (MDEBUG_EFI_SYMBOL_NAME): Delete. | |
1519 | ||
bd9ca83f AC |
1520 | * mdebugread.h (ecoff_relocate_efi): Delete declaration. |
1521 | * mdebugread.c (ecoff_relocate_efi): Delete function. | |
1522 | * objfiles.c (objfile_relocate): Delete #ifdef | |
1523 | MDEBUG_EFI_SYMBOL_NAME code. | |
1524 | ||
3352ef37 AC |
1525 | 2004-10-31 Orjan Friberg <organ.friberg@axis.com> |
1526 | Andrew Cagney <cagney@gnu.org> | |
1527 | ||
1528 | * gdbarch.sh (single_step_through_delay): Add. | |
1529 | * gdbarch.h, gdbarch.c: Re-generate. | |
1530 | * config/mips/tm-mips.h (STEP_SKIPS_DELAY_P, STEP_SKIPS_DELAY) | |
1531 | (mips_step_skips_delay): Delete. | |
1532 | * mips-tdep.c (mips_single_step_through_delay): Replace | |
1533 | mips_step_skips_delay. | |
1534 | (mips_gdbarch_init): Set single_step_through_delay. | |
1535 | (mips_dump_tdep): Do not print STEP_SKIPS_DELAY. | |
1536 | ||
2440b685 MK |
1537 | 2004-10-31 Mark Kettenis <kettenis@gnu.org> |
1538 | ||
1539 | * tramp-frame.c (tramp_frame_prepend_unwinder): Set unwinder type | |
1540 | from TRAMP_FRAME frame type. | |
1541 | ||
56a2fed5 AC |
1542 | 2004-10-31 Andrew Cagney <cagney@gnu.org> |
1543 | ||
9b792b1d AC |
1544 | * mdebugread.c (parse_procedure): Wrap use of RA_REGNUM in #ifdef. |
1545 | ||
0a5e8d98 AC |
1546 | * mips-tdep.c (mips_ignore_helper): Delete. |
1547 | * config/mips/tm-mips.h (DEPRECATED_IGNORE_HELPER_CALL): Delete. | |
1548 | * infrun.c (handle_inferior_event): Delete #ifdef | |
1549 | DEPRECATED_IGNORE_HELPER_CALL code. | |
1550 | ||
56a2fed5 AC |
1551 | * config/mips/tm-mips.h (RA_REGNUM): Delete. |
1552 | ||
f69c55b2 MK |
1553 | 2004-10-31 Mark Kettenis <kettenis@gnu.org> |
1554 | ||
1555 | * i386v4-nat.c (supply_gregset, supply_fpregset, fill_gregset) | |
1556 | (fill_fpregset): Do not compile for 64-bit systems. | |
1557 | * i386-sol2-nat.c: Don't include "i386v4-nat.c". | |
1558 | * Makefile.in (i386-sol2-nat.o): Update dependencies. | |
1559 | * config/i386/i386sol2.mh (NATDEPFILES): Add back i386v4-nat.c. | |
1560 | ||
d37cca3d AC |
1561 | 2004-10-30 Andrew Cagney <cagney@gnu.org> |
1562 | ||
36b8628e AC |
1563 | * mdebugread.h: Include "coff/sym.h" and "coff/symconst.h". |
1564 | (struct mdebug_extra_func_info): Define. | |
1565 | * config/alpha/tm-alpha.h: Delete same. | |
1566 | * config/mips/tm-mips.h: Delete same. | |
1567 | * mdebugread.c: Delete same. | |
1568 | * Makefile.in: Update dependencies. | |
1569 | * mips-mdebug-tdep.c: Include "mdebugread.h". | |
1570 | ||
5b123146 AC |
1571 | * objfiles.c: Include "mdebugread.h". |
1572 | * mdebugread.c: Include "mdebugread.h". | |
1573 | (ecoff_relocate_cfi): Delete. | |
1574 | * config/alpha/tm-alpha.h (ecoff_relcate_cfi): Delete. | |
1575 | * config/mips/tm-mips.h (ecoff_relcate_cfi): Delete. | |
1576 | * mdebugread.h (ecoff_relocate_efi): New file. | |
1577 | * Makefile.in: Update dependencies. | |
1578 | ||
b9c3a7de AC |
1579 | * mips-tdep.c (struct frame_extra_info): Delete. |
1580 | (temp_proc_desc): Delete. | |
1581 | ||
f92761ec AC |
1582 | * config/alpha/tm-alpha.h (MDEBUG_EFI_SYMBOL_NAME): Rename |
1583 | MIPS_EFI_SYMBOL_NAME. | |
1584 | (mips_extra_func_info_t, mips_extra_func_info): Delete. | |
1585 | (struct mdebug_extra_func_info): Replace struct | |
1586 | alpha_extra_func_info and alpha_extra_func_info_t. | |
1587 | * config/mips/tm-mips.h (MDEBUG_EFI_SYMBOL_NAME): Rename | |
1588 | MIPS_EFI_SYMBOL_NAME. | |
1589 | (struct mdebug_extra_func_info): Replace struct | |
1590 | alpha_extra_func_info and alpha_extra_func_info_t. | |
1591 | * objfiles.c, mips-tdep.c, mips-mdebug-tdep.c: Update. | |
1592 | * mdebugread.c, alpha-mdebug-tdep.c: | |
1593 | ||
0bb57b31 AC |
1594 | Suggested by Mark Kettenis. |
1595 | * config/mips/tm-mips.h (struct mips_extra_func_info): Delete | |
1596 | fields frame_adjust and high_addr. | |
1597 | * mips-mdebug-tdep.c (PROC_HIGH_ADDR, PROC_FRAME_ADJUST): Delete. | |
1598 | (non_heuristic_proc_desc): Delete references. | |
1599 | ||
a5c9623c AC |
1600 | * mips-tdep.h (MIPS_PRID_REGNUM): Add. |
1601 | * config/mips/tm-mips.h (PRID_REGNUM): Delete. | |
1602 | * mips-tdep.c: Update. | |
1603 | ||
607fc93c AC |
1604 | * mips-tdep.h (MIPS_FIRST_EMBED_REGNUM) |
1605 | (MIPS_LAST_EMBED_REGNUM): Add. | |
1606 | * config/mips/tm-mips.h (FIRST_EMBED_REGNUM) | |
1607 | (LAST_EMBED_REGNUM): Delete. | |
1608 | * mipsv4-nat.c, mips-tdep.c, mips-linux-tdep.c: Update. | |
1609 | ||
24e05951 AC |
1610 | * config/mips/tm-mips.h (PS_REGNUM): Delete. |
1611 | * mips-tdep.h (MIPS_PS_REGNUM): Add. | |
1612 | * remote-vxmips.c, mipsv4-nat.c, mips-tdep.c: Update. | |
1613 | * mips-linux-nat.c: Update. | |
1614 | ||
613e114f AC |
1615 | * mips-tdep.h: Add comments on registers. |
1616 | (MIPS_UNUSED_REGNUM): Define. | |
1617 | * config/mips/tm-mips.h (ZERO_REGNUM, UNUSED_REGNUM) | |
1618 | (T9_REGNUM, V0_REGNUM, A0_REGNUM): Delete. | |
1619 | * irix5-nat.c, mipsv4-nat.c, mips-linux-tdep.c: Update. | |
1620 | * mips-linux-nat.c, remote-mips.c: Update. | |
1621 | ||
d37cca3d AC |
1622 | * config/mips/tm-mips.h (t_insn): Delete. |
1623 | * mips-tdep.c (mips_fetch_instruction, mips_skip_trampoline_code): | |
1624 | Replace t_insn with ULONGEST. | |
1625 | ||
ceb41096 MK |
1626 | 2004-10-30 Mark Kettenis <kettenis@gnu.org> |
1627 | ||
d1180b0f MK |
1628 | * mipsnbsd-tdep.c: Include "regset.h" and "gdb_assert.h". |
1629 | (MIPS_PC_REGNUM, MIPS_FP0_REGNUM, MIPS_FSR_REGNUM) | |
1630 | (MIPSNBSD_NUM_GREGS, MIPSNBSD_NUM_FPREGS): New defines. | |
1631 | (fetch_core_registers, fetch_elfcore_registers): Remove functions. | |
1632 | (mipsnbsd_core_fns, mipsnbsd_elfcore_fns): Remove variables. | |
1633 | (mipsnbsd_core_osabi_sniffer): New function. | |
1634 | (mipsnbsd_init_abi): Set regset_from_core_section. | |
1635 | (_initialize_mipsnbsd_tdep): Remove calls to | |
1636 | deprecated_add_core_fns. | |
1637 | (mipsnbsd_supply_fpregset, mipsnbsd_supply_gregset) | |
1638 | (mipsnbsd_regset_from_core_section): New functions. | |
1639 | (mipsnbsd_gregset, mipsnbsd_fpregset): New variables. | |
1640 | * Makefile.in (mipsnbsd-tdep.o): Update dependencies. | |
1641 | ||
ceb41096 MK |
1642 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Like |
1643 | Remove optimization for DEPRECATED_FP_REGNUM. | |
1644 | ||
ec4045ea AC |
1645 | 2004-10-30 Andrew Cagney <cagney@gnu.org> |
1646 | ||
cd65c8f6 AC |
1647 | * alpha-tdep.c (alpha_setup_arbitrary_frame): Delete. |
1648 | * config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Delete. | |
1649 | (alpha_setup_arbitrary_frame): Delete. | |
1650 | * mips-tdep.c (setup_arbitrary_frame): Delete. | |
1651 | * config/mips/tm-mips.h (SETUP_ARBITRARY_FRAME): Delete. | |
1652 | (setup_arbitrary_frame): Delete. | |
1653 | * stack.c (parse_frame_specification_1): When specified, call | |
1654 | create_new_frame with two parameters. Delete #ifdef | |
1655 | SETUP_ARBITRARY_FRAME. | |
1656 | ||
95ac2dcf AC |
1657 | * config/mips/tm-mips.h (MIPS16_INSTLEN, MIPS_NUMREGS) |
1658 | (MIPS_INSTLEN): Delete. | |
1659 | * mips-tdep.h (enum mips_insn_size): Rename MIPS32_INSN_SIZE and | |
1660 | MIPS16_INSN_SIZE to MIPS_INSN32_SIZE and MIPS_INSN16_SIZE. | |
1661 | * remote-mips.c, mips-tdep.c: Update. | |
1662 | ||
1a8da44d AC |
1663 | * config/mips/embed.mt (TDEPFILES): Add mips-mdebug-tdep.o. |
1664 | * mips-mdebug-tdep.h, mips-mdebug-tdep.c: New files. | |
1665 | * mips-tdep.c (mips_mdebug_frame_cache) | |
1666 | (mips_mdebug_frame_this_id, mips_mdebug_frame_prev_register) | |
1667 | (mips_mdebug_frame_unwind, mips_mdebug_frame_sniffer) | |
1668 | (mips_mdebug_frame_base_address, mips_mdebug_frame_sniffer) | |
1669 | (mips_mdebug_frame_base_sniffer, non_heuristic_proc_desc) | |
1670 | (compare_pdr_entries, the_bfd, mips16_fetch_instruction): Delete. | |
1671 | (mips_gdbarch_init): Do not append mdebug sniffers. | |
1672 | (PROC_LOW_ADDR, PROC_HIGH_ADDR, PROC_FRAME_OFFSET) | |
1673 | (PROC_FRAME_REG, PROC_FRAME_ADJUST, PROC_REG_MASK) | |
1674 | (PROC_FREG_MASK, PROC_REG_OFFSET, PROC_FREG_OFFSET, PROC_PC_REG) | |
1675 | (PROC_SYMBOL, _PROC_MAGIC_): Delete. | |
1676 | * Makefile.in: Update dependencies. | |
1677 | ||
e6bc2e8a AC |
1678 | * mips-tdep.h (mips_abi_regsize): Declare. |
1679 | * mips-tdep.c (mips_abi_regsize): Make non-static. | |
1680 | ||
ec4045ea AC |
1681 | * mips-tdep.c (gdb_print_insn_mips): Simplify. |
1682 | (make_mips16_addr): Delete. | |
e6bc2e8a | 1683 | |
6b16acab MK |
1684 | 2004-10-30 Mark Kettenis <kettenis@gnu.org> |
1685 | ||
1686 | * i386-sol2-nat.c: New file. | |
1687 | * Makefile.in (ALLDEPFILES): Add i386-sol2-nat.c and | |
1688 | i386-sol2-tdep.c. | |
1689 | (i386-sol2-nat.o): Update dependencies. | |
1690 | * config/i386/i386sol2.mh (NATDEPFILES): Remove i386v4.o, add | |
1691 | i386-sol2-nat.o. | |
1692 | ||
8b622e6a AC |
1693 | 2004-10-30 Andrew Cagney <cagney@gnu.org> |
1694 | ||
1695 | Total breakage identified by Joel Brobecker. | |
1696 | * mips-tdep.c (after_prologue): Delete. | |
1697 | (mips_skip_prologue): Use skip_prologue_using_sal. | |
1698 | (heuristic_proc_desc): Delete, unused. | |
1699 | ||
772cf8be MK |
1700 | 2004-10-30 Mark Kettenis <kettenis@gnu.org> |
1701 | ||
1702 | * procfs.c (proc_get_gregs, proc_get_fpregs, proc_set_gregs) | |
1703 | (proc_set_fpregs, procfs_fetch_registers, procfs_store_registers): | |
1704 | Cleanup coding style. | |
1705 | ||
9c8fdbfa AC |
1706 | 2004-10-30 Andrew Cagney <cagney@gnu.org> |
1707 | ||
0fe7e7c8 AC |
1708 | * mips-tdep.h (mips_pc_is_mips16): Declare. |
1709 | * mips-tdep.c (mips_pc_is_mips16): Rename pc_is_mips16, make | |
1710 | non-static. Update calls. | |
1711 | ||
1b295c3d AC |
1712 | * cli/cli-decode.c (add_setshow_enum_cmd): New function. |
1713 | * command.h (add_setshow_enum_cmd): Declare. | |
1714 | * mips-tdep.c (_initialize_mips_tdep): Use add_setshow_enum_cmd. | |
1715 | ||
6bcadd06 AC |
1716 | * mips-tdep.c (_initialize_mips_tdep): Use |
1717 | add_setshow_zinteger_cmd. | |
1718 | ||
9c8fdbfa AC |
1719 | * mips-tdep.c (mips_eabi_extract_return_value) |
1720 | (mips_o64_extract_return_value, mips_o64_store_return_value) | |
1721 | (return_value_location, mips_eabi_reg_struct_has_addr) | |
1722 | (mips_eabi_use_struct_convention) | |
1723 | (mips_eabi_store_return_value): Delete. | |
1724 | (mips_eabi_store_return_value): New function. | |
1725 | (mips_eabi_return_value): New function. | |
1726 | (mips_gdbarch_init): For O64 and EABI, delete | |
1727 | extract_return_value, store_return_value, use_struct_convention | |
1728 | and reg_struct_has_addr, add return_value. | |
1729 | ||
1d93fe1a AC |
1730 | * mips-tdep.c (read_signed_register): Use |
1731 | regcache_cooked_read_signed. | |
1732 | ||
303d2914 MK |
1733 | 2004-10-30 Mark Kettenis <kettenis@gnu.org> |
1734 | ||
1735 | * mipsread.c: Cleanup coding style. | |
1736 | (mipscoff_new_init, mipscoff_symfile_init, mipscoff_symfile_read) | |
1737 | (mipscoff_symfile_finish): Remove prototypes. | |
1738 | ||
1739 | 2004-10-29 Mark Kettenis <kettenis@gnu.org> | |
1740 | ||
1741 | * mips-tdep.c (mips_fetch_instruction, mips16_fetch_instruction) | |
1742 | (mips_mdebug_frame_cache, mips16_scan_prologue) | |
1743 | (mips32_scan_prologue, mips_stub_frame_cache) | |
1744 | (heuristic_proc_start, heuristic_proc_desc) | |
1745 | (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call) | |
1746 | (mips_n32n64_return_value, mips_o32_push_dummy_call) | |
1747 | (mips_o32_return_value, mips_o64_push_dummy_call) | |
1748 | (mips_step_skips_delay, mips_skip_trampoline_code) | |
1749 | (mips_gdbarch_init): Use MIPS_A0_REGNUM instead of A0_REGNUM, | |
1750 | MIPS_RA_REGNUM instead of RA_REGNUM, MIPS_T9_REGNUM instead of | |
1751 | T9_REGNUM, MIPS_V0_REGNUM instead of V0_REGNUM, MIPS_ZERO_REGNUM | |
1752 | instead of ZERO_REGNUM, MIPS32_SIZE_INSN instead of MIPS_INSTLEN | |
1753 | and MIPS16_INSN_SIZE instead of MIPS16_INSTLEN. | |
1754 | (mips_dump_tdep): Don't print A0_REGNUM, RA_REGNUM, | |
1755 | T9_REGNUM, V0_REGNUM, ZERO_REGNUM, MIPS_INSTLEN and | |
1756 | MIPS16_INSTLEN. Use MIPS_A0_REGNUM instead of A0_REGNUM. | |
1757 | * mips-linux-tdep.c (mips_linux_o32_sigframe_init) | |
1758 | (mips_linux_n32n64_sigframe_init): Use MIPS_ZERO_REGNUM instead of | |
1759 | ZERO_REGNUM. | |
1760 | * mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register) | |
1761 | (mipsnbsd_cannot_store_register): Use MIPS_ZERO_REGNUM instead of | |
1762 | ZERO_REGNUM. | |
1763 | (mipsnbsd_get_longjmp_target): Use MIPS_A0_REGNUM instead of | |
1764 | A0_REGNUM. | |
1765 | * mipsnbsd-nat.c: Include "mips-tdep.h". | |
1766 | (getregs_supplies): Use MIPS_ZERO_REGNUM instead of ZERO_REGNUM. | |
1767 | * Makefile.in (mipsnbsd-nat.o): Update dependencies. | |
1768 | ||
1c8831c5 AC |
1769 | 2004-10-29 Andrew Cagney <cagney@gnu.org> |
1770 | ||
1771 | * stack.c (parse_frame_specification_1): New function based on | |
1772 | parse_frame_specification. Add message and selected_frame_p | |
1773 | paramters. Truely always return non-NULL. | |
1774 | (parse_frame_specification): Call parse_frame_specification_1. | |
1775 | (frame_info): Update. Eliminate target_has_stack check. | |
1776 | (select_frame_command): Update. | |
1777 | ||
b04f3ab4 AC |
1778 | 2004-10-29 Andrew Cagney <cagney@gnu.org> |
1779 | ||
1780 | * frame.h (get_selected_frame): Add message parameter. | |
1781 | * frame.c (get_selected_frame): Add and use message parameter. | |
1782 | * stack.c (current_frame_command, return_command, locals_info) | |
1783 | (catch_info, args_info, up_silently_base, down_silently_base): Use | |
1784 | get_selected_frame with an explicit message. | |
1785 | * thread.c, stack.c, sh-tdep.c, sh64-tdep.c: Update. | |
1786 | * remote-rdp.c, remote-mips.c, remote-e7000.c: Update. | |
1787 | * ocd.c, mi/mi-main.c, mi/mi-cmd-stack.c: Update. | |
1788 | * infrun.c, inflow.c, infcmd.c, frame.c: Update. | |
1789 | * findvar.c, eval.c, corelow.c, bsd-kvm.c: Update. | |
1790 | * breakpoint.c: Update. | |
1791 | ||
1792 | 2004-10-29 Andrew Cagney <cagney@gnu.org> | |
00b25ff3 AC |
1793 | |
1794 | * trad-frame.c (trad_frame_get_prev_register): Use | |
1795 | frame_unwind_register instead of frame_register_unwind, do not | |
1796 | recurse the register's location. | |
1797 | * xstormy16-tdep.c (xstormy16_frame_prev_register): | |
1798 | * sparc-tdep.c (sparc32_frame_prev_register): Ditto. | |
1799 | * sparc64-tdep.c (sparc64_frame_prev_register): Ditto. | |
1800 | * sh-tdep.c (sh_frame_prev_register): Ditto. | |
1801 | * m68k-tdep.c (m68k_frame_prev_register): Ditto. | |
1802 | * i386-tdep.c (i386_frame_prev_register): Ditto. | |
1803 | * dwarf2-frame.c (dwarf2_frame_prev_register): Ditto. | |
1804 | * amd64-tdep.c (amd64_frame_prev_register): Ditto. | |
1805 | ||
7a952542 MK |
1806 | 2004-10-28 Mark Kettenis <kettenis@jive.nl> |
1807 | ||
c18c06be MK |
1808 | * proc-events.c: Fix several coding-style issues. Consistently |
1809 | use #ifdef instead of #if defined(). | |
1810 | (proc_prettyfprint_fault, proc_prettyfprint_faultset): Use | |
1811 | ARRAY_SIZE. | |
1812 | (_initialize_proc_events): New prototype. | |
1813 | ||
7a952542 MK |
1814 | * proc-why.c: Fix several coding-style issues. |
1815 | (proc_prettyfprint_why): Use ARRAY_SIZE. | |
1816 | ||
fcad0fa4 JB |
1817 | 2004-10-27 Jim Blandy <jimb@redhat.com> |
1818 | ||
1819 | * remote.c (fetch_register_using_p): Construct 'p' packet in a | |
1820 | manner independent of the host byte order. | |
1821 | ||
c163184f MK |
1822 | 2004-10-27 Mark Kettenis <kettenis@gnu.org> |
1823 | ||
1824 | * mips-tdep.c (id_delayed): Remove prototype. | |
1825 | ||
9c46b6f0 MK |
1826 | 2004-10-26 Mark Kettenis <kettenis@gnu.org> |
1827 | ||
1828 | * mips-tdep.h: Add MIPS_ZERO_REGNUM, MIPS_AT_REGNUM, | |
1829 | MIPS_V0_REGNUM. MIPS_A0_REGNUM, MIPS_T9_REGNUM and MIPS_RA_REGNUM | |
1830 | to enum with register numbers. | |
1831 | (enum mips_insn_size): New enum. | |
1832 | ||
0d0266c6 AC |
1833 | 2004-10-26 Andrew Cagney <cagney@gnu.org> |
1834 | ||
e7d6a6d2 AC |
1835 | * config/mips/tm-linux.h: Delete #undef SKIP_TRAMPOLINE_CODE. |
1836 | * mips-tdep.c (mips_skip_trampoline_code): Rename mips_skip_stub. | |
1837 | (mips_gdbarch_init): Update. | |
1838 | (mips_dump_tdep): Do not print SKIP_TRAMPOLINE_CODE. | |
1839 | ||
c5115f39 AC |
1840 | * config/arm/tm-linux.h (IN_SOLIB_RETURN_TRAMPOLINE): Delete. |
1841 | * config/mips/tm-nbsd.h, config/mips/tm-linux.h: Delete #undef | |
1842 | IN_SOLIB_RETURN_TRAMPOLINE. | |
1843 | * mips-tdep.c (mips_dump_tdep): Do not print | |
1844 | IN_SOLIB_RETURN_TRAMPOLINE. | |
1845 | (mips_in_solib_return_trampoline): Rename mips_in_return_stub. | |
1846 | (mips_gdbarch_init): Update. | |
1847 | ||
0d0266c6 AC |
1848 | * mips-tdep.h (mips_software_single_step): Move to here ... |
1849 | * config/mips/tm-mips.h: ... from here. | |
1850 | * config/mips/tm-linux.h (SOFTWARE_SINGLE_STEP_P) | |
1851 | (SOFTWARE_SINGLE_STEP): Delete. | |
1852 | * mips-linux-tdep.c (mips_linux_init_abi): Set software_single_step. | |
1853 | ||
156a53ca AC |
1854 | 2004-10-25 Andrew Cagney <cagney@gnu.org> |
1855 | ||
1856 | * NEWS: Add Changes since GDB 6.3 section. | |
1857 | ||
f27cf670 AS |
1858 | 2004-10-23 Andreas Schwab <schwab@suse.de> |
1859 | ||
156a53ca AC |
1860 | * ada-lang.c (grow_vect): Return the new array instead of |
1861 | expecting pointer to pointer to avoid violation of aliasing rules. | |
f27cf670 AS |
1862 | * ada-lang.h (GROW_VECT): Adapt call to grow_vect. |
1863 | ||
121d8485 UW |
1864 | 2004-10-23 Ulrich Weigand <uweigand@de.ibm.com> |
1865 | ||
1866 | * s390-tdep.c (enum pv_boolean): Remove. | |
1867 | (pv_is_array_ref): Remove. | |
1868 | (s390_on_stack): Remove. | |
1869 | (S390_NUM_SPILL_SLOTS): Remove. | |
1870 | (struct s390_prologue_data): Remove members 'spill' and 'back_chain', | |
1871 | add members 'gpr_slot', 'fpr_slot', and 'back_chain_saved_p'. | |
1872 | (s390_store): Track all stores of orginal incoming registers to the | |
1873 | stack constant offsets relative to the CFA, instead of only tracking | |
1874 | stores into specific spill slots. | |
1875 | (s390_load): Likewise. | |
1876 | (s390_analyze_prologue): Adapt to struct s390_prologue_data changes. | |
1877 | (s390_prologue_frame_unwind_cache): Likewise. Only track registers | |
1878 | defined as call-saved by the ABI. | |
1879 | (s390_push_dummy_call): Use bottom of dummy call argument save area | |
1880 | as return value, not the top. Do not store to the called function's | |
1881 | register save area. | |
1882 | (s390_unwind_dummy_id): Adapt accordingly. | |
1883 | ||
0a6ddd08 AC |
1884 | 2004-10-23 Andrew Cagney <cagney@gnu.org> |
1885 | ||
1886 | * objfiles.h (struct objfile): Rename obj_private to | |
1887 | deprecated_obj_private, sym_private to deprecated_sym_private, and | |
1888 | sym_stab_info to deprecated_sym_stab_info. | |
1889 | * gdb-stabs.h: Update. | |
1890 | * elfread.c: Update. | |
1891 | * dbxread.c: Update. | |
1892 | * coffread.c: Update. | |
1893 | * xcoffread.c: Update. | |
1894 | * symfile.c: Update. | |
1895 | * somread.c: Update. | |
1896 | * nlmread.c: Update. | |
1897 | * mdebugread.c: Update. | |
1898 | * hpread.c: Update. | |
1899 | * coffread.c: Update. | |
1900 | ||
abc08782 MK |
1901 | 2004-10-23 Mark Kettenis <kettenis@gnu.org> |
1902 | ||
1903 | * mips64obsd-nat.c, mips64obsd-tdep.c: New files. | |
1904 | * configure.host: Add mips64*-*-openbsd*. | |
1905 | * configure.tgt: Add mips64*-*-openbsd*. | |
1906 | * Makefile.in (ALLDEPFILES): Add mips64obsd-nat.o, | |
1907 | mips64obsd-tdep.c. | |
1908 | (mips64obsd-nat.o, mips64obsd-tdep.o): New dependecies. | |
1909 | * config/mips/obsd64.mh, config/mips/obsd64.mt: New files. | |
1910 | ||
fc062ac6 JB |
1911 | 2004-10-21 Joel Brobecker <brobecker@gnat.com> |
1912 | ||
1913 | * symtab.c (symbol_search_name): Minor reformatting. | |
1914 | ||
5bccb4d1 JB |
1915 | 2004-10-20 Joel Brobecker <brobecker@gnat.com> |
1916 | ||
1917 | * symtab.h: Fix typo in comment. | |
1918 | ||
a738430d MK |
1919 | 2004-10-19 Mark Kettenis <kettenis@gnu.org> |
1920 | ||
1921 | * dwarf2read.c (struct comp_unit_head): Fix coding style. | |
1922 | (dwarf_decode_line_header): Likewise. | |
1923 | ||
f2cb65ca MC |
1924 | 2004-10-19 Michael Chastain <mec.gnu@mindspring.com> |
1925 | ||
1926 | * NEWS: GDB works with GCC -feliminate-dwarf2-dups. | |
1927 | ||
09e55376 AC |
1928 | 2004-10-19 Andrew Cagney <cagney@gnu.org> |
1929 | ||
1930 | GDB 6.3 branch created. | |
1931 | * version.in: Bump to version 6.3.50_2004-10-19-cvs. | |
1932 | ||
bc5f45f8 JB |
1933 | 2004-10-15 Joel Brobecker <brobecker@gnat.com> |
1934 | ||
1935 | * dwarf2read.c (set_cu_language): Set language to Ada for | |
1936 | DW_LANG_Ada83 and DW_LANG_Ada95. | |
1937 | ||
2941da8c MC |
1938 | 2004-10-15 Michael Chastain <mec.gnu@mindspring.com> |
1939 | ||
1940 | From Andreas Schwab <schwab@suse.de>: | |
1941 | * Makefile.in (.y.c, .l.c.): Fix the substitutions for | |
1942 | for xmalloc and xrealloc. | |
1943 | ||
34a17005 AC |
1944 | 2004-10-15 Andrew Cagney <cagney@gnu.org> |
1945 | ||
1946 | * ada-exp.y, ada-lex.l: Use xmalloc and xrealloc through out. | |
1947 | * inf-ptrace.c: Include "gdb_wait.h" instead of <wait.h>. | |
1948 | * Makefile.in (.y.c, .l.c): Don't replace xmalloc with xxmalloc. | |
1949 | Update dependencies. | |
1950 | ||
714e53ab PH |
1951 | 2004-10-15 Paul Hilfinger <Hilfinger@gnat.com> |
1952 | ||
1953 | * ada-lang.c (ada_lookup_symbol): Correct comment. | |
1954 | (ada_evaluate_subexp): Change error message for | |
1955 | OP_FUNCALL case so as not to indicate an internal error. | |
1956 | ||
1957 | 2004-10-15 Joel Brobecker <brobecker@gnat.com> | |
1958 | ||
1959 | Committed by Paul Hilfinger. | |
1960 | * ada-lang.c (ada_template_to_fixed_record_type_1): Detect bogus | |
1961 | type sizes in XVE/XVU types, and emit a warning when that happens, | |
1962 | instead of rounding up the size of the resulting type. | |
1963 | Some minor reformatting. | |
1964 | (ada_is_aligner_type): Do not consider a type as an aligner type | |
1965 | if there is a corresponding XVS type as well. | |
1966 | (ada_evaluate_subexp): For TERNOP_SLICE, handle cases where we | |
1967 | have several levels of pointer indirection to the array. | |
1968 | ||
1969 | 2004-10-15 Jerome Guitton <guitton@gnat.com> | |
1970 | ||
1971 | Committed by Paul Hilfinger. | |
1972 | * ada-lang.c (check_size): New function. | |
1973 | (coerce_unspec_val_to_type): call check_size to make sure | |
1974 | that the object size is reasonable. | |
1975 | (ada_evaluate_subexp): in UNOP_IND: Ditto. In TERNOP_SLICE: | |
1976 | Implements the case when we get a reference when we evaluate | |
1977 | the expression of one of the bounds of the slice. | |
1978 | (ada_value_struct_elt): when a packed array field is | |
1979 | a reference, use ada_coerce_ref to dereference it; use | |
1980 | ada_value_ind only if it is a pointer. | |
1981 | ||
29639122 JB |
1982 | 2004-10-15 Joel Brobecker <brobecker@gnat.com> |
1983 | ||
1984 | * mips-tdep.c (mips32_scan_prologue): Move the implementation up | |
1985 | a bit to avoid the necessity of an advance declaration. Remove | |
1986 | declaration. | |
1987 | (set_reg_offset): Move implemenation up. | |
1988 | (mips16_get_imm): Likewise. | |
1989 | (mips16_scan_prologue): Likewise. | |
1990 | (reset_saved_regs): Likewise. | |
1991 | (mips32_scan_prologue): Likewise. | |
1992 | ||
a65bbe44 JB |
1993 | 2004-10-14 Joel Brobecker <brobecker@gnat.com> |
1994 | ||
1995 | * mips-tdep.c (mips32_scan_prologue): Add advance declaration. | |
1996 | Remove sp as a parameter, compute it internally instead. Move | |
1997 | prologue scanning limit from heuristic_proc_desc to here. | |
1998 | (mips16_scan_prologue): Likewise. | |
1999 | (mips_insn16_frame_cache): Replace call to heuristic_proc_desc | |
2000 | by call to mips16_scan_prologue. | |
2001 | (mips_insn32_frame_cache): Replace call to heuristic_proc_desc | |
2002 | by call to mips32_scan_prologue. | |
2003 | (heuristic_proc_desc): Remove code that's no longer necessary. | |
2004 | Update calls to mips16_scan_prologue and mips32_scan_prologue. | |
2005 | (mips_skip_prologue): Update calls to mips16_scan_prologue | |
2006 | and mips32_scan_prologue. | |
2007 | ||
1c645fec JB |
2008 | 2004-10-14 Joel Brobecker <brobecker@gnat.com> |
2009 | ||
2010 | * mips-tdep.c (mips16_scan_prologue): Merge code from | |
2011 | mips16_skip_prologue. Now return the address of the first | |
2012 | instruction past the function prologue. | |
2013 | (mips16_skip_prologue): Remove, no longer necessary. | |
2014 | (mips_skip_prologue): Replace call to mips16_skip_prologue | |
2015 | by call to mips16_scan_prologue. | |
2016 | ||
98b4dd94 JB |
2017 | 2004-10-14 Joel Brobecker <brobecker@gnat.com> |
2018 | ||
2019 | * mips-tdep.c (mips32_scan_prologue): Merge code from | |
2020 | mips32_skip_prologue. Now return the address of the first | |
2021 | instruction past the function prologue. | |
2022 | (mips32_skip_prologue): Remove. No longer necessary. | |
2023 | (mips16_skip_prologue): Add parameter end_pc instead of | |
2024 | computing it. | |
2025 | (mips_skip_prologue): Compute the upper limit for the | |
2026 | prologue scanning. Update call to mips16_skip_prologue. | |
2027 | Replace call to mips32_skip_prologue by call to | |
2028 | mips32_scan_prologue. | |
2029 | ||
ad4c72d2 MK |
2030 | 2004-10-14 Mark Kettenis <kettenis@gnu.org> |
2031 | ||
dfaf8edb MK |
2032 | * hppa-tdep.c (hppa_frame_cache): Add support for OpenBSD and |
2033 | NetBSD system call stubs that store %rp in the ERP slot of the | |
2034 | stack frame. | |
2035 | ||
3e3a28f1 MK |
2036 | * source.c: Always define O_BINARY to 0 if not defined already. |
2037 | (openp): Unconditionally use O_BINARY. | |
2038 | ||
ad4c72d2 MK |
2039 | * top.c (gdb_readline): Always accept "\r\n" as a line-ending. |
2040 | * event-top.c (gdb_readline2): Likewise. | |
2041 | ||
52bd1401 OF |
2042 | 2004-10-14 Orjan Friberg <orjanf@axis.com> |
2043 | ||
2044 | * cris-tdep.c (_initialize_cris_tdep): Re-add call to | |
2045 | deprecated_add_core_fns which was removed by mistake. | |
2046 | ||
e0e25c6c KB |
2047 | 2004-10-13 Kevin Buettner <kevinb@redhat.com> |
2048 | ||
2049 | * ia64-linux-nat.c (fill_gregset, fill_fpregset): Replace | |
2050 | references to deprecated_registers[] with equivalent code. | |
2051 | ||
9f335945 KB |
2052 | 2004-10-13 Kevin Buettner <kevinb@redhat.com> |
2053 | ||
2054 | * rs6000-tdep.c (rs6000_push_dummy_call): Replace references to | |
2055 | ``deprecated_registers'' with equivalent code. Use gdb_assert() | |
2056 | instead of explicit test and print statement. | |
2057 | ||
06c2338d MK |
2058 | 2004-10-12 Mark Kettenis <kettenis@gnu.org> |
2059 | ||
1b9445c2 MK |
2060 | * sparc-nat.c: Include "inf-ptrace.h". |
2061 | (sparc_target): New function. | |
2062 | * sparc-nat.h: Update copyright year. | |
2063 | (sparc_target): New prototype. | |
2064 | * sparcnbsd-nat.c: Don't include "gdbcore.h", include "target.h". | |
2065 | (_initialize_sparcnbsd_nat): Construct and add target vector. | |
2066 | * sparc64nbsd-nat.c: Include "target.h". | |
2067 | (_initialize_sparc64nbsd_nat): Construct and add target vector. | |
2068 | * Makefile.in (sparc-nat.o, sparcnbsd-nat.o, sparc64nbsd-nat.o): | |
2069 | Update dependencies. | |
2070 | * config/sparc/nbsd64.mh (NATDEPFILES): Remove infptrace.o and | |
2071 | inftarg.o, add inf-ptrace.o. | |
2072 | * config/sparc/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and | |
2073 | inftarg.o, add inf-ptrace.o and bsd-kvm.o. | |
2074 | (NAT_FILE): Set to nm-bsd.h. | |
2075 | (LOADLIBES): New variable. | |
2076 | * config/sparc/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and | |
2077 | infarg.o, add inf-ptrace.o. | |
2078 | * config/sparc/nm-nbsdaout.h: Remove file. | |
2079 | * config/sparc/fbsd.mh (NATDEPFILES): Add inf-ptrace.o. | |
2080 | * config/sparc/linux.mh (NATDEPFILES): Add inf-ptrace.o. | |
2081 | * config/sparc/linux64.mh (NATDEPFILES): Add inf-ptrace.o. | |
2082 | ||
06c2338d MK |
2083 | * defs.h [!FOPEN_RB]: Include "fopen-bin.h" instead of |
2084 | "fopen-same.h". Update comment. | |
2085 | ||
3303a276 MK |
2086 | 2004-10-11 Mark Kettenis <kettenis@gnu.org> |
2087 | ||
2088 | * i386gnu-nat.c: Include "gdb_string.h". | |
2089 | (fetch_fpregs): Use i387_supply_fxsave to fill the floating-point | |
2090 | registers when the floating-point state isn't initialized. | |
2091 | * Makefile.in (i386gnu-nat.o): Update dependencies. | |
2092 | ||
04c663e3 DA |
2093 | 2004-10-11 David Anderson <davea@sgi.com> |
2094 | ||
2095 | * regcache.c (regcache_raw_read): Comment was missing "to". | |
2096 | Extraneous ' removed. | |
2097 | * gdb_thread_db.h (struct td_thrinfo): ti_lid field | |
2098 | comment now describes use. | |
2099 | ||
a5f6c8f5 OF |
2100 | 2004-10-11 Orjan Friberg <orjanf@axis.com> |
2101 | ||
2102 | * cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start) | |
2103 | (cris_sigcontext_addr, cris_sigtramp_frame_unwind_cache) | |
2104 | (cris_sigtramp_frame_this_id, cris_sigtramp_frame_prev_register) | |
2105 | (cris_sigtramp_frame_sniffer): New functions. | |
2106 | (cris_gdbarch_init): Hook in signal trampoline unwinder. | |
2107 | (cris_dwarf2_reg_to_regnum, cris_dwarf2_frame_init_reg): New functions. | |
2108 | (cris_gdbarch_init): Hook in Dwarf-2 unwinder. | |
2109 | (struct gdbarch_tdep, set_cris_dwarf2_cfi, cris_dump_tdep) | |
2110 | (cris_gdbarch_init, _initialize_cris_tdep): Add CRIS Dwarf-2 CFI usage | |
2111 | command. | |
2112 | (cris_version_update): Remove, replace with ... | |
2113 | (set_cris_version): New function. | |
2114 | (struct gdbarch_tdep, cris_mode, cris_mode_update) | |
2115 | (cris_cannot_store_register, cris_dump_tdep, cris_gdbarch_init) | |
2116 | (_initialize_cris_tdep): Remove CRIS mode command. | |
2117 | (cris_fpless_backtrace, _initialize_cris_tdep): Remove | |
2118 | cris-fpless-backtrace command. | |
2119 | (cris_scan_prologue): Fix prologue scanning limit. | |
2120 | (cris_register_type): Update to reflect actual registers. | |
2121 | (cris_register_bytes_ok) Remove. | |
2122 | (cris_gdbarch_init): Remove support for CRIS v8 and v9. | |
2123 | Remove set_gdbarch_deprecated_register_size, | |
2124 | set_gdbarch_deprecated_register_byte, set_gdbarch_register_bytes_ok. | |
2125 | ||
77109804 AC |
2126 | 2004-10-10 Andrew Cagney <cagney@gnu.org> |
2127 | ||
2128 | * ada-lang.c (lim_warning): Add ATTR_FORMAT prototype and FIXME | |
2129 | comment. | |
2130 | ||
25652d4f JB |
2131 | 2004-10-10 Joel Brobecker <brobecker@gnat.com> |
2132 | ||
2133 | * mips-tdep.c (mips16_scan_prologue): Remove redundant code. | |
2134 | ||
1e05a7bf JB |
2135 | 2004-10-10 Joel Brobecker <brobecker@gnat.com> |
2136 | ||
2137 | * mips-tdep.c (mips16_scan_prologue): Renames | |
2138 | mips16_heuristic_proc_desc. Update comment. | |
2139 | (mips32_scan_prologue): Renames mips32_heuristic_proc_desc. | |
2140 | (heuristic_proc_desc): Update calls to the 2 functions above. | |
2141 | ||
c68a4142 JB |
2142 | 2004-10-10 Joel Brobecker <brobecker@gnat.com> |
2143 | ||
2144 | * mips-tdep.c (mips_insn16_frame_cache): Remove unused variables. | |
2145 | Update comments. Also immediately return empty cache when the start | |
2146 | address of our function could not be found. | |
2147 | (mips_insn32_frame_cache): Likewise. | |
2148 | ||
0fce0821 JB |
2149 | 2004-10-10 Joel Brobecker <brobecker@gnat.com> |
2150 | ||
2151 | * mips-tdep.c (mips16_decode_reg_save): Delete, no longer used. | |
2152 | (mips_insn16_frame_cache): Pass frame cache in call to | |
2153 | heuristic_proc_desc. Move some code to mips16_heuristic_proc_desc. | |
2154 | Remove code that became redundant as a consequence. | |
2155 | (mips32_heuristic_proc_desc): No longer compute a fake | |
2156 | procedure descriptor. Compute the full frame cache instead. | |
2157 | Some minor comment reformatting. | |
2158 | ||
b672553e JB |
2159 | 2004-10-10 Jim Blandy <jimb@redhat.com> |
2160 | ||
2161 | * MAINTAINERS (generic symtabs, dwarf readers, elf reader, stabs | |
2162 | reader, tracing bytecode stuff): Remove self. | |
2163 | ||
9cc52bde MK |
2164 | 2004-10-10 Mark Kettenis <kettenis@gnu.org> |
2165 | ||
cc9784b6 MK |
2166 | * sparc64-linux-tdep.c: Update copyright year. Don't include |
2167 | "solib-svr4.h". | |
2168 | (sparc64_linux_svr4_fetch_link_map_offsets): Remove function. | |
2169 | (sparc64_linux_init_abi): Don't set solib_svr4_link_map_offsets. | |
2170 | * Makefile.in (sparc64-linux-tdep.o): Update dependencies. | |
2171 | ||
ee8aef23 MK |
2172 | * sparc-linux-tdep.c: Update copyright year. |
2173 | (sparc_linux_sigtramp_start): Change first argument from CORE_ADDR | |
2174 | to struct frame_info *. Use safe_frame_unwind_memory instead of | |
2175 | deprecated_read_memory_nobpt. | |
2176 | (sparc32_linux_sigtramp_start, sparc32_linux_rt_sigtramp_start): | |
2177 | Change argumen from CORE_ADDR to struct frame_info *. Adjust for | |
2178 | changed signature of sparc_linux_sigtramp_start. | |
2179 | (sparc32_linux_pc_in_sigtramp): Remove function. | |
2180 | (sparc32_linux_sigtramp_p): New function. | |
2181 | (sparc32_linux_sigtramp_frame_sniffer): Use | |
2182 | sparc32_linux_sigtramp_p instead of sparc32_linux_pc_in_sigtramp. | |
2183 | ||
bc73f8cc MK |
2184 | * sparc-linux-tdep.c (sparc32_linux_svr4_fetch_link_map_offsets): |
2185 | Remove function. | |
2186 | (sparc32_linux_init_abi): Don't set solib_svr4_link_map_offsets. | |
2187 | ||
a2249542 MK |
2188 | * ada-lang.c (lim_warning): Re-implement as a varargs function. |
2189 | (decode_packed_array_type, value_subscript_packed) | |
2190 | (ada_evaluate_subexp, to_fixed_range_type): Remove redundant | |
2191 | argument in call to lim_warning. | |
2192 | ||
9cc52bde MK |
2193 | * configure.in: Really disable the TUI if an enhanced curses |
2194 | library isn't found. | |
2195 | * configure: Regenerate. | |
2196 | ||
151fc45b MK |
2197 | 2004-10-09 Mark Kettenis <kettenis@gnu.org> |
2198 | ||
2199 | * config/i386/nbsdaout.mh (NAT_FILE): Set to solib.h. | |
2200 | * config/i386/nbsdelf.mh (NAT_FILE): Set to solib.h. | |
2201 | * config/i386/nm-nbsdaout.h: Remove file. | |
2202 | * config/i386/nm-fbsd.h (link_object, lo_name, lo_library) | |
2203 | (lo_unused, lo_major, lo_minor, lo_next, link_map, lm_addr) | |
2204 | (lm_name, lm_next, lm_lop, lm_lob, lm_rwt, lm_ld, lm_lpd) | |
2205 | (link_dynamic_2, ld_loaded, ld_need, ld_rules, ld_got, ld_plt) | |
2206 | (ld_rel, ld_hash, ld_stab, ld_stab_hash, ld_buckets, ld_symbols) | |
2207 | (ld_symb_size, ld_text, ld_plt_sz, rtc_symb, rtc_sp, rtc_next) | |
2208 | (ld_debug, ldd_version, ldd_in_debugger, ldd_sym_loaded) | |
2209 | (ldd_bp_addr, ldd_bp_inst, ldd_cp, link_dynamic, ld_version) | |
2210 | (ldd, ld_un, ld_2): Remove defines. | |
2211 | * config/i386/nm-obsd.h: Likewise. | |
2212 | ||
375c0479 PH |
2213 | 2004-10-09 Paul Hilfinger <hilfingr@nile.gnat.com> |
2214 | ||
2215 | * ada-lex.l: Remove useless rule whose right-context clause | |
2216 | causes unreferenced static function warning for yyrealloc. | |
2217 | (ada_flex_use): Remove the artificial reference to yyrealloc. | |
2218 | ||
c8e73a31 AC |
2219 | 2004-10-08 Andrew Cagney <cagney@gnu.org> |
2220 | ||
2221 | * target.h (struct target_ops): Rename to_xfer_memory to | |
2222 | deprecated_xfer_memory. | |
2223 | * target.c: Update. | |
2224 | (deprecated_debug_xfer_memory): Rename debug_to_xfer_memory. | |
2225 | * wince.c: Update. | |
2226 | * win32-nat.c: Update. | |
2227 | * v850ice.c: Update. | |
2228 | * uw-thread.c: Update. | |
2229 | * thread-db.c: Update. | |
2230 | * sol-thread.c: Update. | |
2231 | * remote.c: Update. | |
2232 | * remote-vx.c: Update. | |
2233 | * remote-st.c: Update. | |
2234 | * remote-sim.c: Update. | |
2235 | * remote-sds.c: Update. | |
2236 | * remote-rdp.c: Update. | |
2237 | * remote-rdi.c: Update. | |
2238 | * remote-mips.c: Update. | |
2239 | * remote-m32r-sdi.c: Update. | |
2240 | * remote-e7000.c: Update. | |
2241 | * procfs.c: Update. | |
2242 | * ppc-bdm.c: Update. | |
2243 | * nto-procfs.c: Update. | |
2244 | * monitor.c: Update. | |
2245 | * linux-nat.c: Update. | |
2246 | * inftarg.c: Update. | |
2247 | * hpux-thread.c: Update. | |
2248 | * go32-nat.c: Update. | |
2249 | * gnu-nat.c: Update. | |
2250 | * exec.c: Update. | |
2251 | * corelow.c: Update. | |
2252 | * bsd-kvm.c: Update. | |
2253 | * aix-thread.c: Update. | |
2254 | ||
aa869812 AC |
2255 | 2004-10-08 Andrew Cagney <cagney@gnu.org> |
2256 | ||
2257 | * target.c (debug_target): Move to near start of file. | |
2258 | (target_stopped_data_address_p): Re-org logic, add casts. | |
2259 | ||
8dcef9cf MK |
2260 | 2004-10-02 Mark Kettenis <kettenis@gnu.org> |
2261 | ||
2262 | * solib-sunos.c [HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS] (link_map) | |
2263 | (lm_addr, lm_name, lm_next, link_dynamic_2, ld_loaded, rtc_symb) | |
2264 | (rtc_sp, rtc_next, ld_debug, ldd_in_debugger, ldd_bp_addr) | |
2265 | (ldd_bp_inst, ldd_cp, link_dynamic, ld_version, ldd, ld_un, ld_2): | |
2266 | New defines. | |
2267 | ||
4aa7a7f5 JJ |
2268 | 2004-10-08 Jeff Johnston <jjohnstn@redhat.com> |
2269 | ||
2270 | * target.h (to_stopped_data_address): Change prototype to | |
2271 | take a CORE_ADDR pointer and return an int. | |
2272 | * target.c (update_current_target): Change to_stopped_data_address | |
2273 | to match new prototype. | |
2274 | (debug_to_stopped_data_address): Change appropriately. | |
2275 | * breakpoint.c (bpstat_stop_status): Change call to | |
2276 | target_stopped_data_address to use new prototype. | |
2277 | * frv-tdep.c (frv_have_stopped_data_address): New function. | |
2278 | (frv_stopped_data_address): Change to new prototype and | |
2279 | functionality. | |
2280 | * ia64-linux-nat.c (ia64_stopped_data_address): Change to new | |
2281 | prototype and functionality. | |
2282 | (ia64_stopped_by_watchpoint): New function. | |
2283 | * i386-nat.c (i386_stopped_data_address): Change to new | |
2284 | prototype and functionality. | |
2285 | (i386_stopped_by_watchpoint): New function. | |
2286 | * remote.c (remote_stopped_data_address): Change to new prototype | |
2287 | and functionality. | |
2288 | * remote-m32r-sdi.c (m32r_stopped_data_address): Ditto. | |
2289 | * config/frv/tm-frv.h (frv_stopped_data_address): Change prototype. | |
2290 | (STOPPED_BY_WATCHPOINT): Change to use frv_have_stopped_data_address. | |
2291 | * config/i386/nm-i386.h (STOPPED_BY_WATCHPOINT): Change to use | |
2292 | new i386_stopped_by_watchpoint function. | |
2293 | (i386_stopped_by_watchpoint): New prototype. | |
2294 | (i386_stoppped_data_address): Change to new prototype. | |
2295 | * config/ia64/nm-linux.h (STOPPED_BY_WATCHPOINT): Change to use | |
2296 | new ia64_stopped_by_watchpoint function. | |
2297 | (ia64_stopped_by_watchpoint): New prototype. | |
2298 | (ia64_stopped_data_address): Ditto. | |
2299 | ||
61ee279c PH |
2300 | 2004-10-08 Paul Hilfinger <Hilfinger@gnat.com> |
2301 | ||
2302 | * ada-typeprint.c (ada_print_type): Use int_string for printing | |
2303 | modulus of modular type. | |
2304 | * ada-lang.h (ada_modulus): Change return type to unsigned. | |
2305 | * ada-lang.c (ada_language_arch_info): Correct type of | |
2306 | string_char_type. | |
2307 | (ada_modulus): Return unsigned result. | |
2308 | (ada_lookup_symbol): Remove user disambiguation and modify comment | |
2309 | accordingly. | |
2310 | ||
2311 | 2004-10-08 Eric Botcazou <ebotcazou@act-europe.fr> | |
2312 | ||
2313 | Committed by Paul Hilfinger. | |
2314 | * ada-lang.c (decode_packed_array): On big-endian targets, | |
2315 | left-justify the value if it comes with a modular type. | |
2316 | ||
2317 | 2004-10-08 Joel Brobecker <brobecker@gnat.com> | |
2318 | ||
2319 | Committed by Paul Hilfinger. | |
2320 | * ada-lang.c (template_to_static_fixed_type): Fix a small typo. | |
2321 | (is_name_suffix): Add support for "___JM" suffixes. | |
2322 | (ada_check_typedef): Renames ada_completed_type. | |
2323 | Update all users of CHECK_TYPEDEF, check_typedef, and | |
2324 | ada_complete_type to call ada_check_typedef. | |
2325 | * ada-typeprint.c: Likewise. | |
2326 | * ada-valprint.c: Likewise. | |
2327 | ||
b6c25a56 CV |
2328 | 2004-10-08 Corinna Vinschen <vinschen@redhat.com> |
2329 | ||
2330 | * infcall.c (call_function_by_hand): Use correct VALUE_TYPE macro. | |
2331 | ||
83ca6a46 NR |
2332 | 2004-10-08 Nick Roberts <nickrob@snap.net.nz> |
2333 | ||
2334 | * MAINTAINERS: Update e-mail address. | |
2335 | ||
1fd8cd20 DJ |
2336 | 2004-10-07 Daniel Jacobowitz <dan@debian.org> |
2337 | ||
2338 | From Maciej W. Rozycki <macro@mips.com>: | |
2339 | * mips-tdep.c (mips32_next_pc): Check the register's contents, | |
2340 | not its number for BLEZ/BLEZL and BGTZ/BGTZL. | |
2341 | ||
cea15572 KI |
2342 | 2004-10-07 Kei Sakamoto <sakamoto.kei@renesas.com> |
2343 | ||
2344 | * m32r-tdep.c (decode_prologue): Support functions written | |
2345 | in assembler language. Recognize trap instructions as the | |
2346 | end of prologue. | |
2347 | (m32r_frame_unwind_cache): Ditto. | |
2348 | (m32r_skip_prologue): Extend search limit. Quit analyzing | |
2349 | prologue if pc's location is not readable. | |
2350 | ||
23485554 PH |
2351 | 2004-10-06 Paul N. Hilfinger <Hilfinger@gnat.com> |
2352 | ||
2353 | * Makefile.in (.l.c): Do conversions of names of alloc and free | |
2354 | functions that are done for .y.c files, plus special one | |
2355 | for yy_flex_realloc. Also, correct missing-file tests here. | |
2356 | * ada-lex.l (malloc, free): Remove macros. | |
2357 | (resize_tempbuf): Use "realloc"; rely on sed changes to convert to | |
2358 | xrealloc. | |
2359 | (ada_flex_use): Dummy definition to remove warnings about unused | |
2360 | functions. | |
2361 | * ada-exp.y (dummy_string_to_ada_operator): Temporary definition | |
2362 | to suppress warning. | |
2363 | ||
c0409442 CV |
2364 | 2004-10-06 Corinna Vinschen <vinschen@redhat.com> |
2365 | ||
2366 | * sh-tdep.c (sh_return_value_nofpu): New function, implementing | |
2367 | RETURN_VALUE. | |
2368 | (sh_return_value_fpu): Ditto for CPUs with FPU. | |
2369 | (sh_gdbarch_init): Remove STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE, | |
2370 | RETURN_VALUE_ON_STACK and USE_STRUCT_CONVENTION throughout. | |
2371 | Install sh_return_value_nofpu resp. sh_return_value_fpu as | |
2372 | RETURN_VALUE functions. | |
2373 | ||
9bed62d7 CV |
2374 | 2004-10-06 Corinna Vinschen <vinschen@redhat.com> |
2375 | ||
2376 | * sh-tdep.c (sh_pseudo_register_read): Add PSEUDO_BANK_REGNUM handling. | |
2377 | (sh_pseudo_register_write): Ditto. | |
2378 | ||
03131d99 CV |
2379 | 2004-10-06 Corinna Vinschen <vinschen@redhat.com> |
2380 | ||
2381 | * sh-tdep.c (IS_MACL_STS): New define. | |
2382 | (IS_MOVI20): Ditto. | |
2383 | (IS_MACL_LDS): Ditto. | |
2384 | (sh_analyze_prologue): Recognize STS.L MACL,@-r15 and MOVI20 | |
2385 | instructions in prologue. | |
2386 | (sh_in_function_epilogue_p): Recognize LDS.L @r15+,MACL and MOVI20 | |
2387 | instructions in epilogue. | |
2388 | ||
da962468 CV |
2389 | 2004-10-06 Corinna Vinschen <vinschen@redhat.com> |
2390 | ||
2391 | * sh-tdep.c (SH_NUM_REGS): Define as 67. | |
2392 | (sh_sh_register_name): Add eight empty register names. | |
2393 | (sh_sh3_register_name): Ditto. | |
2394 | (sh_sh3e_register_name): Ditto. | |
2395 | (sh_sh2e_register_name): Ditto. | |
2396 | (sh_sh2a_register_name): New function, defining SH2A register set. | |
2397 | (sh_sh2a_nofpu_register_name): New function, defining SH2A register set | |
2398 | in nofpu case. | |
2399 | (sh_sh_dsp_register_name): Add eight empty register names. | |
2400 | (sh_sh3_dsp_register_name): Ditto. | |
2401 | (sh_sh4_register_name): Ditto. | |
2402 | (sh_sh4_nofpu_register_name): Ditto. | |
2403 | (sh_sh4al_dsp_register_name): Ditto. | |
2404 | (sh2a_show_regs): New function. | |
2405 | (sh2a_nofpu_show_regs): New function. | |
2406 | (sh_sh2a_register_type): New function. | |
2407 | (do_bank_register_info): New function. | |
2408 | (sh_print_pseudo_register): Call do_bank_register_info. | |
2409 | Call sh_print_pseudo_register for valid "bank" register. | |
2410 | (sh_sh2a_register_sim_regno): New function. | |
2411 | (sh_gdbarch_init): Add bfd_mach_sh2a and bfd_mach_sh2a_nofpu handling. | |
2412 | Increment pseudo register count by one for all sh variants with | |
2413 | pseudo registers to accomodate pseudo bank register. | |
2414 | * sh-tdep.h: Add register numbers for R0_BANK0_REGNUM, MACHB_REGNUM, | |
2415 | IVNB_REGNUM, PRB_REGNUM, GBRB_REGNUM, MACLB_REGNUM, BANK_REGNUM, | |
2416 | IBCR_REGNUM, IBNR_REGNUM, TBR_REGNUM and PSEUDO_BANK_REGNUM. | |
2417 | Increment pseudo register numbers. | |
2418 | ||
1326e61b CV |
2419 | 2004-10-06 Corinna Vinschen <vinschen@redhat.com> |
2420 | ||
2421 | * dwarf2read.c (read_subroutine_type): Call make_function_type | |
2422 | instead of lookup_function_type. | |
2423 | ||
146c42e3 JB |
2424 | 2004-10-05 Jim Blandy <jimb@redhat.com> |
2425 | ||
2426 | * linux-nat.c (_initialize_linux_nat): Rename child_ops. | |
2427 | (Previous change missed some uses.) | |
2428 | ||
1df84f13 AC |
2429 | 2004-10-05 Andrew Cagney <cagney@gnu.org> |
2430 | ||
2431 | * target.h (deprecated_child_ops): Rename child_ops. | |
2432 | * wince.c: Update copyright. Rename child_ops. | |
2433 | * win32-nat.c: Rename child_ops. | |
2434 | * target.c: Rename child_ops. | |
2435 | * rs6000-nat.c: Rename child_ops. | |
2436 | * linux-nat.c: Rename child_ops. | |
2437 | * infttrace.c: Rename child_ops. | |
2438 | * inftarg.c: Rename child_ops. | |
2439 | * infptrace.c: Rename child_ops. | |
2440 | * hppah-nat.c: Update copyright. Rename child_ops. | |
2441 | * hpux-thread.c: Update copyright. Rename child_ops. | |
2442 | ||
21e3b9b9 DJ |
2443 | 2004-10-05 Daniel Jacobowitz <dan@debian.org> |
2444 | ||
2445 | * remote.c (remote_xfer_partial): Handle TARGET_OBJECT_MEMORY. | |
2446 | ||
de83afe7 AC |
2447 | 2004-10-05 Andrew Cagney <cagney@gnu.org> |
2448 | ||
2449 | * version.in: Bump to version 6.2.50_YYYY-MM-DD-cvs. | |
2450 | ||
10b3939b DJ |
2451 | 2004-10-05 Daniel Jacobowitz <dan@debian.org> |
2452 | ||
2453 | * dwarf2read.c (REF_HASH_SIZE): Move earlier. | |
2454 | (die_ref_table): Remove. | |
2455 | (struct dwarf2_cu): Add DIES, DEPENDENCIES, and DIE_REF_TABLE. | |
2456 | (struct dwarf2_per_cu_data): Add PSYMTAB. Add a comment describing | |
2457 | the usage of this type. | |
2458 | (struct dwarf2_per_objfile): Update comment for ALL_COMP_UNITS. | |
2459 | (struct dwarf2_pinfo, PST_PRIVATE, DWARF_INFO_OFFSET): Remove. | |
2460 | (struct dwarf2_queue_item, dwarf2_queue, dwarf2_queue_tail): New. | |
2461 | (dwarf2_create_include_psymtab): Update comment. | |
2462 | (find_partial_die): Remove third argument. Remove unreachable call | |
2463 | to error (). | |
2464 | (dwarf2_find_containing_comp_unit): Update comments. Change one | |
2465 | assertion to an error. Remove an unreachable error. | |
2466 | (dwarf2_find_comp_unit): Update comments. | |
2467 | (type_at_offset): Remove dead code. | |
2468 | (make_cleanup_free_die_list, dwarf2_empty_hash_tables): Remove. | |
2469 | (store_in_ref_table): Add CU argument. | |
2470 | (follow_die_ref): Take DIE, attribute, and CU arguments. Handle | |
2471 | inter-compilation-unit references. | |
2472 | (load_full_comp_unit, process_full_comp_unit): New functions, based | |
2473 | on psymtab_to_symtab_1. | |
2474 | (psymtab_to_symtab_1): Use them. | |
2475 | (dwarf2_add_dependence): New function. | |
2476 | (dwarf2_build_psymtabs_hard): Set the psymtab in per_cu. Always create | |
2477 | a per_cu structure, and save it in READ_PSYMTAB_PRIVATE. | |
2478 | (partial_die_parent_scope, guess_structure_name): Update for changes | |
2479 | to find_partial_die. | |
2480 | (dwarf2_psymtab_to_symtab): Initialize dwarf2_per_objfile here. | |
2481 | (queue_comp_unit, process_queue, dwarf2_release_queue): New. | |
2482 | (read_comp_unit): Don't call dwarf2_empty_hash_tables. | |
2483 | (read_die_and_children): Update call to store_in_ref_table. | |
2484 | (do_free_die_list_cleanup): Remove. | |
2485 | (fixup_partial_die): Update for changes to find_partial_die. | |
2486 | (read_full_die): Handle queueing absolute references. | |
2487 | (read_attribute_value): Use DW_ADDR for all DW_FORM_ref* forms. | |
2488 | (dwarf2_attr, die_specification, die_type) | |
2489 | (die_containing_type, dwarf2_extension): Update calls to | |
2490 | follow_die_ref. | |
2491 | (dump_die): Update DW_FORM_ref* handling. | |
2492 | (dwarf2_get_ref_die_offset): Likewise. | |
2493 | (free_one_comp_unit): Release the dies list. | |
2494 | (dwarf2_mark_helper): New function. | |
2495 | (dwarf2_mark): Use it. | |
2496 | ||
998bdd68 MK |
2497 | 2004-10-05 Mark Kettenis <kettenis@jive.nl> |
2498 | ||
2499 | * procfs.c (procfs_xfer_partial): Use WRITEBUF instead of READBUF | |
2500 | when writing to memory. | |
2501 | ||
14588880 KI |
2502 | 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com> |
2503 | ||
2504 | * m32r-tdep.c (m32r_use_struct_convention): Delete function. | |
2505 | (m32r_extract_struct_value_address): Delete function. | |
2506 | (m32r_return_value): New function. | |
2507 | (m32r_gdbarch_init): Instead of store_return_value, | |
2508 | extract_return_value, deprecated_extract_struct_value_address | |
2509 | and deprecated_use_struct_convention, set return_value. | |
2510 | ||
dd5e6932 DJ |
2511 | 2004-10-03 Daniel Jacobowitz <dan@debian.org> |
2512 | ||
2513 | * dwarf2read.c (read_subrange_type): Add comment for variable | |
2514 | sized arrays. | |
2515 | ||
7dc1ef8d PH |
2516 | 2004-10-03 Paul Hilfinger <hilfingr@nile.gnat.com> |
2517 | ||
2518 | * Makefile.in (.l.c): Modify rule for compatibility with recent | |
2519 | versions of flex, and remove most command-line options. | |
2520 | * ada-lex.l: Add %options line in place of -I -i and -s command-line | |
2521 | options. | |
2522 | ||
1f8173e6 PH |
2523 | 2004-10-02 Paul N. Hilfinger <Hilfinger@gnat.com> |
2524 | ||
2525 | Turn on initial Ada support (mainly expression evaluation). | |
2526 | ||
2527 | * Makefile.in (SFILES): Remove ada-tasks.c. | |
2528 | (HFILES_NO_SRCDIR): Add ada-lang.h. | |
2529 | (COMMON_OBS): Add ada-lang.o, ada-typeprint.o, ada-valprint.o. | |
2530 | (YYOBJ): Add ada-exp.o. | |
2531 | (rule .l.c): Generalize to not mention ada. | |
2532 | * symtab.c: Include ada-lang.h. | |
2533 | (symbol_natural_name, symbol_demangled_name) | |
2534 | (symbol_search_name): Add Ada case. | |
2535 | ||
cb85a953 AC |
2536 | 2004-10-01 Andrew Cagney <cagney@gnu.org> |
2537 | ||
3f3db248 AC |
2538 | * Makefile.in (COMMON_OBS): Add inf-child.o. |
2539 | * config/vax/obsd.mh (NATDEPFILES): Remove inf-child.o. | |
2540 | * config/vax/nbsdelf.mh (NATDEPFILES): Remove inf-child.o. | |
2541 | * config/vax/nbsdaout.mh (NATDEPFILES): Remove inf-child.o. | |
2542 | * config/powerpc/nbsd.mh (NATDEPFILES): Remove inf-child.o. | |
2543 | * config/m88k/obsd.mh (NATDEPFILES): Remove inf-child.o. | |
2544 | * config/i386/obsdaout.mh (NATDEPFILES): Remove inf-child.o. | |
2545 | * config/i386/obsd64.mh (NATDEPFILES): Remove inf-child.o. | |
2546 | * config/i386/obsd.mh (NATDEPFILES): Remove inf-child.o. | |
2547 | * config/i386/nbsdelf.mh (NATDEPFILES): Remove inf-child.o. | |
2548 | * config/i386/nbsdaout.mh (NATDEPFILES): Remove inf-child.o. | |
2549 | * config/i386/nbsd64.mh (NATDEPFILES): Remove inf-child.o. | |
2550 | * config/i386/fbsd64.mh (NATDEPFILES): Remove inf-child.o. | |
2551 | * config/i386/fbsd.mh (NATDEPFILES): Remove inf-child.o. | |
2552 | ||
cb85a953 AC |
2553 | * target.c (xfer_using_stratum): Change return type to LONGEST. |
2554 | On each iteration offset, readbuf and writebuf. | |
2555 | * inf-ptrace.c (inf_ptrace_xfer_partial): Simplify computation of | |
2556 | partial_length, and read/modify/write predicate, update comments. | |
2557 | Pass buffer.word to ptrace write. | |
2558 | ||
963a6417 PH |
2559 | 2004-10-01 Paul N. Hilfinger <Hilfinger@gnat.com> |
2560 | ||
2561 | * symfile.c (init_filename_language_table): Add extensions for | |
2562 | Ada. | |
2563 | * defs.h (enum language): Add language_ada. | |
2564 | * gdbtypes.h (TYPE_FLAG_FIXED_INSTANCE): Define. | |
2565 | * ada-lang.c: Strip code that is conditionalized out by GNAT_GDB. | |
2566 | (add_symbols_from_enclosing_procs): Make a no-op for now. | |
2567 | (ada_unqualified_name,add_angle_brackets,function_name_from_pc) | |
2568 | (extended_canonical_line_spec, find_sal_from_funcs_and_line) | |
2569 | (find_line_in_linetable, find_next_line_in_linetable) | |
2570 | (read_all_symtabs, is_plausible_func_for_line) | |
2571 | (adjust_pc_past_prologue, error_breakpoint_runtime_sym_not_found) | |
2572 | (is_runtime_sym_defined, check_size): Remove declaration. | |
2573 | (function_name_from_pc, ada_translate_error_message) | |
2574 | (ada_lookup_minimal_symbol): Remove definition. | |
2575 | (ada_add_block_symbols): Remove useless label. | |
2576 | * ada-lang.h (ada_maybe_exception_partial_symbol): Remove | |
2577 | useless declaration. | |
2578 | (ada_is_exception_sym): Likewise. | |
2579 | ||
9b32d526 KI |
2580 | 2004-09-30 Kei Sakamoto <sakamoto.kei@renesas.com> |
2581 | ||
2582 | Add m32r-linux support. | |
2583 | * configure.tgt: Add m32r*-*-linux*. | |
2584 | * Makefile.in (ALLDEPFILES): Add m32r-tdep.c, m32r-linux-nat.c | |
2585 | and m32r-linux-tdep.c. | |
2586 | (m32r-linux-nat.o, m32r-linux-tdep.o): New dependencies. | |
2587 | * m32r-tdep.c: Move some definitions to m32r-tdep.h. | |
2588 | * config/djgpp/fnchange.lst: Add m32r-linux-nat.c and | |
2589 | m32r-linux-tdep.c. | |
2590 | * m32r-tdep.h, m32r-linux-nat.c, m32r-linux-tdep.c, | |
2591 | config/m32r/linux.mh, config/m32r/linux.mt, | |
2592 | config/m32r/nm-linux.h: New files. | |
2593 | ||
2de118d3 JB |
2594 | 2004-09-30 Joel Brobecker <brobecker@gnat.com> |
2595 | ||
2596 | * mips-tdep.c (mips32_decode_reg_save): Remove, unused. | |
2597 | (mips32_fetch_instruction): Remove, unused. | |
2598 | ||
a9fe69d1 JB |
2599 | 2004-09-30 Joel Brobecker <brobecker@gnat.com> |
2600 | ||
2601 | * mips-tdep.c (mips_insn16_frame_cache): Remove dead code or | |
2602 | conditions that will always be true. | |
2603 | ||
bc8ffc12 MK |
2604 | 2004-09-30 Mark Kettenis <kettenis@gnu.org> |
2605 | ||
ba0cd111 MK |
2606 | * vaxbsd-nat.c: Include "target,h" and "inf-ptrace.h". |
2607 | (vaxbsd_fetch_inferior_registers): Rename from | |
2608 | fetch_inferior_registers. Make static. | |
2609 | (vaxbsd_store_inferior_registers): Rename from | |
2610 | store_inferior_registers. Make static. | |
2611 | (_initialize_vaxbsd_nat): Construct and add target vector. | |
2612 | * config/vax/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and | |
2613 | inftarg.o. Add inf-child.o and inf-ptrace.o. | |
2614 | * config/vax/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and | |
2615 | inftarg.o. Add inf-child.o and inf-ptrace.o. | |
2616 | (NAT_FILE): Remove. | |
2617 | * config/vax/obsd.mh (NATDEPFILES): Remove infptrace.o and | |
2618 | inftarg.o. Add inf-child.o and inf-ptrace.o. | |
2619 | (NAT_FILE): Remove. | |
2620 | * Makefile.in (vaxbsd-nat.o): Update dependencies. | |
2621 | ||
bc8ffc12 MK |
2622 | * m88kbsd-nat.c: Include "target.h" and "inf-ptrace.h". |
2623 | (m88kbsd_fetch_inferior_registers): Rename from | |
2624 | fetch_inferior_registers. Make static. | |
2625 | (m88kbsd_store_inferior_registers): Rename from | |
2626 | store_inferior_registers. Make static. | |
2627 | (_initialize_m88kbsd_nat): New prototype and function. | |
2628 | * config/m88k/obsd.mh (NATDEPFILES): Remove infptrace.o and | |
2629 | inftarg.o. Add inf-child.o and inf-ptrace.o. | |
2630 | (NAT_FILE): Remove. | |
2631 | * Makefile.in (m88kbsd-nat.o): Update dependencies. | |
2632 | ||
27394598 AC |
2633 | 2004-09-30 Andrew Cagney <cagney@gnu.org> |
2634 | ||
2635 | * target.c (target_xfer_partial): New function. | |
2636 | (target_read_memory_partial, target_write_memory_partial) | |
2637 | (default_xfer_partial, target_read_partial, target_write_partial) | |
2638 | (xfer_using_stratum): Use. | |
2639 | (debug_to_xfer_partial): Delete function. | |
2640 | (setup_target_debug): Do not override to_xfer_partial. | |
2641 | ||
74a4fe32 MK |
2642 | 2004-09-30 Mark Kettenis <kettenis@chello.nl> |
2643 | ||
2644 | * fork-child.c: Update copyright year. Fix coding style. | |
2645 | ||
982526a1 MK |
2646 | 2004-09-29 Mark Kettenis <kettenis@gnu.org> |
2647 | ||
2648 | * defs.h (msavestring, mstrsave): Remove prototypes. | |
2649 | * utils.c (msavestring, mstrsave): Remove functions. | |
2650 | * objfiles.c (allocate_objfile): Use xstrdup instead of mstrsave. | |
2651 | * solib-sunos.c (allocate_rt_common_objfile): Use xstrdup instead | |
2652 | of mstrsave. | |
2653 | * source.c (find_and_open_source): Use xstrdup instead of | |
2654 | mstrsave. | |
2655 | ||
b8eb5af0 AC |
2656 | 2004-09-30 Andrew Cagney <cagney@gnu.org> |
2657 | ||
0779438d AC |
2658 | * inf-ptrace.c (inf_ptrace_target): Do not set to_xfer_memory. |
2659 | (inf_ptrace_xfer_memory): Delete. | |
2660 | * target.c (target_xfer_partial_p, xfer_using_stratum): New. | |
2661 | (target_read_memory, target_write_memory): Use xfer_using_stratum | |
2662 | when target_xfer_partial_p. | |
2663 | (debug_target): Move to start of file. | |
2664 | (target_read_memory_partial, target_write_memory_partial): Use | |
2665 | to_xfer_partial when target_xfer_partial_p. | |
2666 | ||
f929a579 AC |
2667 | * inf-ptrace.c (inf_ptrace_xfer_partial): Replace call to |
2668 | inf_ptrace_xfer_memory with equivalent code. | |
2669 | * inftarg.c (child_xfer_partial): When performing a write, pass | |
2670 | writebuf to child_xfer_memory. | |
2671 | ||
b8eb5af0 AC |
2672 | * target.c (target_read_string): Use target_read_memory instead of |
2673 | target_xfer_memory. | |
2674 | ||
ee21b650 AC |
2675 | 2004-09-29 Andrew Cagney <cagney@gnu.org> |
2676 | ||
d3e05d0d AC |
2677 | * infptrace.c (kill_inferior): Fix typo, in previous inline. Pass |
2678 | the address of status. | |
2679 | ||
ee21b650 AC |
2680 | * infptrace.c (ptrace_wait): Mention problem with HPUX. |
2681 | (kill_inferior): Inline ptrace_wait call. | |
2682 | * linux-nat.c (kill_inferior): Inline ptrace_wait call. | |
2683 | * inftarg.c (child_wait): Inline ptrace_wait call. | |
2684 | ||
a182eed6 AC |
2685 | * target.h (struct target_ops): Delete field to_post_wait. |
2686 | (target_post_wait): Delete macro. | |
2687 | (child_post_wait): Delete declaration. | |
2688 | * target.c (update_current_target, update_current_target) | |
2689 | (debug_to_post_wait, setup_target_debug): Delete functions and | |
2690 | references. | |
2691 | * infttrace.c (ptrace_wait): Delete call to target_post_wait. | |
2692 | * inftarg.c (child_post_wait): Delete. | |
2693 | (init_child_ops): Do not set to_post_wait. | |
2694 | * infptrace.c (ptrace_wait): Delete call to target_post_wait. | |
2695 | * inf-ptrace.c (inf_ptrace_wait): Delete call to target_post_wait. | |
2696 | * inf-child.c (inf_child_post_wait): Delete. | |
2697 | (inf_child_target): Do not set to_post_wait. | |
2698 | * inf-ptrace.c (inf_ptrace_post_wait): Delete. | |
2699 | (inf_ptrace_target): Do not set to_post_wait. | |
2700 | ||
ba0c540b AC |
2701 | * wince.c (child_ops): Delete. |
2702 | * win32-nat.c (child_ops): Delete. | |
2703 | ||
81977402 AC |
2704 | * inftarg.c (inftarg_set_find_memory_regions) |
2705 | (inftarg_set_make_corefile_notes): Delete functions. | |
2706 | (_initialize_linux_nat): Inline calls. | |
2707 | ||
5ac10fd1 AC |
2708 | * target.h (child_ops): Declare. |
2709 | * inftarg.c (child_ops): Move from here ... | |
2710 | * target.c (child_ops): ... to here. | |
2711 | * wince.c (child_ops): Delete extern declaration. | |
2712 | * win32-nat.c (child_ops): Delete extern declaration. | |
2713 | * linux-nat.c (child_ops): Delete extern declaration. | |
2714 | * hpux-thread.c (child_ops): Delete extern declaration. | |
2715 | ||
663408c2 | 2716 | 2004-09-28 Mark Kettenis <kettenis@gnu.org> |
890c8f4d MK |
2717 | |
2718 | * configure.tgt: Set default OS/ABI for OpenBSD ELF targets. | |
2719 | ||
0dad8a66 MK |
2720 | 2004-09-28 Mark Kettenis <kettenis@gnu.org> |
2721 | ||
2722 | * configure.in: Only set host_makefile_frag when building a native | |
2723 | debugger. | |
2724 | * configure: Regenerate. | |
e8d74ed3 MK |
2725 | |
2726 | * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Register OS/ABI | |
2727 | for OpenBSD ELF. | |
2728 | ||
dba24537 AC |
2729 | 2004-09-28 Andrew Cagney <cagney@gnu.org> |
2730 | ||
e979516b AC |
2731 | Problem identified by Paul Hilfinger. |
2732 | * Makefile.in (ada_lex_c): Define. | |
2733 | (ada-lex.o): Delete rule. | |
2734 | ||
dba24537 AC |
2735 | * linux-proc.c: Delete file. |
2736 | * Makefile.in: Update. | |
2737 | * config/sparc/linux64.mh (NATDEPFILES): | |
2738 | * config/sparc/linux.mh (NATDEPFILES): Update. | |
2739 | * config/s390/s390.mh (NATDEPFILES): Update. | |
2740 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Update. | |
2741 | * config/powerpc/linux.mh (NATDEPFILES): Update. | |
2742 | * config/pa/linux.mh (NATDEPFILES): Update. | |
2743 | * config/mips/linux.mh (NATDEPFILES): Update. | |
2744 | * config/m68k/linux.mh (NATDEPFILES): Update. | |
2745 | * config/ia64/linux.mh (NATDEPFILES): Update. | |
2746 | * config/i386/linux64.mh (NATDEPFILES): Update. | |
2747 | * config/i386/linux.mh (NATDEPFILES): Update. | |
2748 | * config/arm/linux.mh (NATDEPFILES): Update. | |
2749 | * config/alpha/alpha-linux.mh (NATDEPFILES): Update. | |
2750 | * linux-nat.c: Update copyright. Include <sys/param.h>, | |
2751 | <sys/procfs.h>, "elf-bfd.h", "gregset.h", <ctype.h>, | |
2752 | "gdbthread.h", "gdb_stat.h", <fcntl.h>. | |
2753 | (O_LARGEFILE): Possibly define. | |
2754 | (_initialize_linux_nat, linux_proc_pending_signals) | |
2755 | (add_line_to_sigset, linux_proc_xfer_memory) | |
2756 | (linux_nat_info_proc_cmd, linux_nat_make_corefile_notes) | |
2757 | (linux_nat_do_registers, linux_nat_corefile_thread_callback) | |
2758 | (struct linux_corefile_thread_data) | |
2759 | (linux_nat_do_thread_registers, linux_nat_find_memory_regions) | |
2760 | (child_pid_to_exec_file): Insert code previously in linux-proc.c. | |
2761 | ||
d6b0e80f AC |
2762 | 2004-09-16 Andrew Cagney <cagney@gnu.org> |
2763 | ||
2764 | * lin-lwp.c: Delete file. | |
2765 | * linux-nat.c: Include "gdb_assert.h", "gdb_string.h", <unistd.h>, | |
2766 | <sys/syscall.h>, "gdbthread.h", "gdbcmd.h", "regcache.h". | |
2767 | (status_to_str, init_lwp_list, add_lwp, delete_lwp) | |
2768 | (find_lwp_pid, iterate_over_lwps, lin_lwp_attach_lwp) | |
2769 | (linux_nat_attach, detach_callback, linux_nat_detach) | |
2770 | (resume_callback, resume_clear_callback, linux_nat_resume) | |
2771 | (kill_lwp, linux_nat_handle_extended, wait_lwp, stop_callback) | |
2772 | (stop_wait_callback, linux_nat_has_pending, flush_callback) | |
2773 | (status_callback, running_callback, count_events_callback) | |
2774 | (select_singlestep_lwp_callback, select_event_lwp_callback) | |
2775 | (cancel_breakpoints_callback, select_event_lwp, resumed_callback) | |
2776 | (child_wait, stop_and_resume_callback, linux_nat_wait) | |
2777 | (kill_callback, kill_wait_callback, linux_nat_kill) | |
2778 | (linux_nat_create_inferior, linux_nat_mourn_inferior) | |
2779 | (linux_nat_xfer_memory, linux_nat_thread_alive) | |
2780 | (linux_nat_pid_to_str, init_linux_nat_ops, sigchld_handler) | |
2781 | (_initialize_linux_nat): New functions. | |
2782 | * Makefile.in: Update all dependencies. | |
2783 | * config/sparc/linux64.mh (NATDEPFILES): Remove lin-lwp.o. | |
2784 | * config/sparc/linux.mh (NATDEPFILES): Remove lin-lwp.o. | |
2785 | * config/s390/s390.mh (NATDEPFILES): Remove lin-lwp.o. | |
2786 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Remove lin-lwp.o. | |
2787 | * config/powerpc/linux.mh (NATDEPFILES): Remove lin-lwp.o. | |
2788 | * config/pa/linux.mh (NATDEPFILES): Remove lin-lwp.o. | |
2789 | * config/mips/linux.mh (NATDEPFILES): Remove lin-lwp.o. | |
2790 | * config/m68k/linux.mh (NATDEPFILES): Remove lin-lwp.o. | |
2791 | * config/ia64/linux.mh (NATDEPFILES): Remove lin-lwp.o. | |
2792 | * config/i386/linux64.mh (NATDEPFILES): Remove lin-lwp.o. | |
2793 | * config/i386/linux.mh (NATDEPFILES): Remove lin-lwp.o. | |
2794 | * config/arm/linux.mh (NATDEPFILES): Remove lin-lwp.o. | |
2795 | * config/alpha/alpha-linux.mh (NATDEPFILES): Remove lin-lwp.o. | |
2796 | ||
5a174d79 MK |
2797 | 2004-09-27 Mark Kettenis <kettenis@gnu.org> |
2798 | ||
2f604c28 MK |
2799 | * config/i386/fbsd64.mh, config/i386/nbsd64.mh, |
2800 | config/i386/obsd64.mh (NAT_FILE): Remove variable. | |
2801 | ||
5a174d79 MK |
2802 | * configure.in: Don't comment out NATDEPFILES in the generated |
2803 | Makefile if NAT_FILE is unset. | |
2804 | * configure: Regenerate. | |
2805 | ||
b2ed1746 AC |
2806 | 2004-09-27 Andrew Cagney <cagney@gnu.org> |
2807 | ||
44cbf7b5 AC |
2808 | * infrun.c (check_for_old_step_resume_breakpoint): Delete. |
2809 | (insert_step_resume_breakpoint): Delete. | |
2810 | (insert_step_resume_breakpoint_at_frame): New function. | |
2811 | (insert_step_resume_breakpoint_at_sal): New function. | |
2812 | (handle_inferior_event, step_into_function) | |
2813 | (insert_step_resume_breakpoint): Simplify by using same. | |
2814 | ||
b2ed1746 AC |
2815 | * gdb_indent.sh (types): Add caddr_t to list of predefined types. |
2816 | ||
3691b3be MK |
2817 | 2004-09-26 Mark Kettenis <kettenis@gnu.org> |
2818 | ||
36f391e8 MK |
2819 | * fbsd-proc.c: Remove file. |
2820 | * Makefile.in (fbsd-proc.o): Remove dependency. | |
2821 | ||
771e236c MK |
2822 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Group target related |
2823 | code together. | |
2824 | ||
3691b3be MK |
2825 | * config/i386/nm-fbsd64.h: Remove file. |
2826 | * config/i386/fbsd64.mh (NAT_FILE): Set to config/nm-nbsd.h. | |
2827 | ||
6a5c78a3 MK |
2828 | 2004-09-26 Mark Kettenis <kettenis@gnu.org> |
2829 | ||
2830 | * amd64-nat.h: Update copyright year. | |
2831 | (amd64bsd_target): New prototype. | |
2832 | * amd64bsd-nat.c: Include "target.h" and "inf-ptrace.h". | |
2833 | (amd64bsd_target): New function. | |
2834 | (amd64bsd_fetch_inferior_registers): Rename from | |
2835 | fetch_inferior_registers. Make static. | |
2836 | (amd64bsd_store_inferior_registers): Rename from | |
2837 | store_inferior_registers. Make static. | |
2838 | * amd64fbsd-nat.c: Include "target.h" and "fbsd-nat.h". | |
2839 | (_initialize_amd64fbsd_nat): Construct and add target vector. | |
2840 | * amd64nbsd-nat.o: Include "target.h". | |
2841 | (_initialize_amd64nbsd_nat): Construct and add target vector. | |
2842 | * amd64obsd-nat.c: Include "target.h". | |
2843 | (_initialize_amd64obsd_nat): Construct and add target vector. | |
2844 | * config/i386/nm-fbsd64.h (CHILD_PID_TO_EXEC_FILE): Remove define. | |
2845 | * config/i386/fbsd64.mh (NATDEPFILES): Remove infptrace.o, | |
2846 | inftarg.o and fbsd-proc.o. Add inf-child.o, inf-ptrace.o and | |
2847 | fbsd-nat.o. | |
2848 | * config/i386/nbsd64.mh, config/i386/obsd64.mh (NATDEPFILES): | |
2849 | Remove infptrace.o and inftarg.o. Add inf-child.o and | |
2850 | inf-ptrace.o. | |
2851 | * Makefile.in (amd64bsd-nat.o, amd64fbsd-nat.o, amd64nbsd-nat.o) | |
2852 | (amd64obsd-nat.o): Update dependencies. | |
2853 | ||
27acbe61 MK |
2854 | 2004-09-25 Mark Kettenis <kettenis@gnu.org> |
2855 | ||
509a5e7d MK |
2856 | * config/i386/fbsd.mh (NATDEPFILES): Remove infptrace.o. |
2857 | * config/i386/nbsdaout.mh (NATDEPFILES): Remove infptrace.o. | |
2858 | * config/i386/nbsdelf.mh (NATDEPFILES): Remove infptrace.o. | |
2859 | * config/i386/obsd.mh (NATDEPFILES): Remove infptrace.o. | |
2860 | * config/i386/obsdaout.mh (NATDEPFILES): Remove infptrace.o. | |
2861 | ||
6e1e94ea MK |
2862 | * inf-ptrace.c (inf_ptrace_attach): Remove redundant parenthesis. |
2863 | Inline attach call. | |
2864 | (inf_ptrace_detach): Inline detach call. | |
2865 | ||
8b9cf735 MK |
2866 | * configure.in: Check for waddstr instead of mvwaddstr when |
2867 | searching for curses library. Check for wborder. | |
2868 | * configure, config.in: Regenerate. | |
2869 | * tui/tui-wingeneral.c (box_win): Use box if wborder isn't | |
2870 | available. | |
2871 | ||
27acbe61 MK |
2872 | * inf-ptrace.c (inf_ptrace_xfer_memory): Fix gdb_indent.sh wart. |
2873 | ||
b96ec7ac AC |
2874 | 2004-09-24 Robert Picco <Robert.Picco@hp.com> |
2875 | ||
2876 | Committed by Andrew Cagney. | |
2877 | * remote.c (set_remote_protocol_p_packet_cmd, remote_protocol_p) | |
2878 | (show_remote_protocol_p_packet_cmd): New. Implement 'p' packet. | |
2879 | configuration. | |
2880 | (fetch_register_using_p): Implement 'p' packet. Based on code by | |
2881 | Fernando Nasser. | |
2882 | (remote_fetch_registers): Call fetch_register_using_p. | |
2883 | (init_all_packet_configs, show_remote_cmd) | |
2884 | (_initialize_remote): Add p-packet. | |
2885 | ||
62ece330 MK |
2886 | 2004-09-24 Mark Kettenis <kettenis@gnu.org> |
2887 | ||
2888 | * inf-ptrace.c (inf_ptrace_kill_inferior): Call ptrace directly | |
2889 | instead of call_ptrace. Call wait directly instead of | |
2890 | ptrace_wait. | |
2891 | (inf_ptrace_me): Call ptrace directly instead of call_ptrace. | |
2892 | (inf_ptrace_wait): Inline ptrace_wait call. | |
2893 | ||
00937274 PH |
2894 | 2004-09-24 Paul Hilfinger <hilfingr@nile.gnat.com> |
2895 | ||
2896 | * Makefile.in (.y.c): Revert previous change. ../ylwrap was | |
2897 | rolled back instead. | |
2898 | ||
3f2c7a45 PH |
2899 | 2004-09-24 Paul Hilfinger <hilfingr@nile.gnat.com> |
2900 | ||
2901 | * Makefile.in (.y.c): Modify $(YLWRAP) invocation to use | |
2902 | the new argument order. | |
2903 | ||
b6fcb393 CV |
2904 | 2004-09-23 Corinna Vinschen <vinschen@redhat.com> |
2905 | ||
2906 | * MAINTAINERS: Remove "broken" from XStormy16 entry. | |
2907 | * xstormy16-tdep.c: Convert XStormy16 target to latest GDB methods. | |
2908 | (struct gdbarch_tdep): Remove. | |
2909 | (struct xstormy16_frame_cache): New frame cache structure. | |
2910 | (xstormy16_register_byte, xstormy16_register_raw_size) | |
2911 | (xstormy16_reg_virtual_type, xstormy16_register_type) | |
2912 | (xstormy16_push_arguments, xstormy16_push_return_address) | |
2913 | (xstormy16_pop_frame, xstormy16_store_struct_return) | |
2914 | (xstormy16_store_return_value, xstormy16_extract_struct_value_address) | |
2915 | (xstormy16_frame_saved_register, xstormy16_get_saved_register) | |
2916 | (xstormy16_scan_prologue, xstormy16_frame_init_saved_regs) | |
2917 | (xstormy16_frame_saved_pc, xstormy16_init_extra_frame_info) | |
2918 | (xstormy16_frame_chain, xstormy16_frame_chain_valid, | |
2919 | (xstormy16_saved_pc_after_call, xstormy16_save_dummy_frame_to): Remove. | |
2920 | (xstormy16_use_struct_convention): Drop gcc_p parameter. | |
2921 | (xstormy16_extract_return_value, xstormy16_store_return_value): | |
2922 | Regcachify. Drop useless struct convention handling. | |
2923 | (xstormy16_register_type, xstormy16_return_value) | |
2924 | (xstormy16_push_dummy_call, xstormy16_analyze_prologue) | |
2925 | (xstormy16_alloc_frame_cache, xstormy16_frame_cache) | |
2926 | (xstormy16_frame_prev_register, xstormy16_frame_this_id) | |
2927 | (xstormy16_frame_base_address, xstormy16_frame_sniffer) | |
2928 | (xstormy16_unwind_sp, xstormy16_unwind_pc) | |
2929 | (xstormy16_unwind_dummy_id) : New functions. | |
2930 | (xstormy16_skip_prologue): Call xstormy16_analyze_prologue instead | |
2931 | of xstormy16_scan_prologue. | |
2932 | (xstormy16_frame_unwind): New frame_unwind structure. | |
2933 | (xstormy16_frame_base): New frame_base structure. | |
2934 | (xstormy16_gdbarch_init): Accomodate all of the above changes. | |
2935 | Reshuffle for better readability. Also add dwarf2_frame_sniffer. | |
2936 | ||
1285b746 MK |
2937 | 2004-09-22 Mark Kettenis <kettenis@gnu.org> |
2938 | ||
2939 | * language.c (language_gdbarch_post_init): Fix off-by one error. | |
2940 | ||
1c379e20 DJ |
2941 | 2004-09-21 Daniel Jacobowitz <dan@debian.org> |
2942 | ||
2943 | * dwarf2read.c (struct dwarf2_per_cu_data): New field type_hash. | |
2944 | (struct dwarf2_offset_and_type): New. | |
2945 | (set_die_type, reset_die_and_siblings_types, get_die_type) | |
2946 | (offset_and_type_hash, offset_and_type_eq): New functions. | |
2947 | (read_structure_type, read_enumeration_type, read_array_type) | |
2948 | (read_namespace, read_tag_pointer_type, read_tag_ptr_to_member_type) | |
2949 | (read_tag_reference_type, read_tag_const_type) | |
2950 | (read_tag_volatile_type, read_tag_string_type, read_subroutine_type) | |
2951 | (read_typedef, read_base_type, read_subrange_type): Use | |
2952 | set_die_type. | |
2953 | ||
ae038cb0 DJ |
2954 | 2004-09-20 Daniel Jacobowitz <dan@debian.org> |
2955 | ||
2956 | * Makefile.in (dwarf2read.o): Update dependencies. | |
2957 | * dwarf2read.c: Include "command.h" and "gdbcmd.h". | |
2958 | (struct dwarf2_per_objfile): Add all_comp_units, n_comp_units, | |
2959 | and read_in_chain. | |
2960 | (struct dwarf2_cu): Add read_in_chain, per_cu, last_used, | |
2961 | mark, and has_form_ref_addr. | |
2962 | (struct dwarf2_per_cu_data): New. | |
2963 | (dwarf2_max_cache_age): New. | |
2964 | (dwarf2_build_psymtabs_hard): Free cached compilation units | |
2965 | after loading. Create and manage the list of compilation units. | |
2966 | Remove unnecessary NULL initialization. Fix indentation. | |
2967 | (psymtab_to_symtab_1): Initialize all of CU. | |
2968 | (dwarf2_read_abbrevs): Set has_form_ref_addr. | |
2969 | (find_partial_die): Use dwarf2_find_containing_comp_unit | |
2970 | and load_comp_unit. | |
2971 | (free_stack_comp_unit): Update comments. Clear the per-cu | |
2972 | pointer. Handle aging. | |
2973 | (dwarf2_find_containing_comp_unit, free_cached_comp_units) | |
2974 | (age_cached_comp_units, free_one_cached_comp_unit) | |
2975 | (dwarf2_mark, dwarf2_clear_marks, create_all_comp_units) | |
2976 | (load_comp_unit, dwarf2_find_comp_unit, free_one_comp_unit) | |
2977 | (set_dwarf2_cmdlist, show_dwarf2_cmdlist, set_dwarf2_cmd) | |
2978 | (show_dwarf2_cmd): New. | |
2979 | (_initialize_dwarf2_read): Provide "maint set dwarf2 max-cache-age" | |
2980 | and "maint show dwarf2 max-cache-age". | |
2981 | * gdbcmd.h (maintenance_set_cmdlist, maintenance_show_cmdlist): New | |
2982 | externs. | |
2983 | * maint.c (maintenance_set_cmdlist, maintenance_show_cmdlist): Make | |
2984 | global. | |
2985 | ||
987504bb JJ |
2986 | 2004-09-20 Jeff Johnston <jjohnstn@redhat.com> |
2987 | ||
2988 | * dwarf2read.c (typename_concat): Change prototype to accept obstack | |
2989 | and dwarf2_cu struct pointer as arguments. Change function to use | |
2990 | obstack if provided and use dwarf2_cu to determine language-specific | |
2991 | separator. | |
2992 | (partial_die_parent_scope): Change comment to include java. Use | |
2993 | new version of typename_concat instead of obconcat. | |
2994 | (partial_die_full_name): Use typename_concat. | |
2995 | (read_namespace): Ditto. | |
2996 | (read_enumeration_type): Use typename_concat instead of obconcat. | |
2997 | (new_symbol): Ditto. | |
2998 | (add_partial_symbol): Enhance tests for C++ to also test for Java. | |
2999 | (guess_structure_name): Ditto. | |
3000 | (read_subroutine_type): Ditto. | |
3001 | (read_structure_type): Ditto. | |
3002 | (is_vtable_name): Add Java support. | |
3003 | (determine_class_name): Switch to new typename_concat call. | |
3004 | (determine_prefix): Switch to new typename_concat call. | |
3005 | * jv-exp.y (FuncStart): New pattern. | |
3006 | (MethodInvocation): Add support for simple function calls. Change | |
3007 | warning message for other forms of inferior call currently not | |
3008 | supported. | |
3009 | * valarith.c (value_subscript): Treat an array with upper-bound | |
3010 | of -1 as unknown size. | |
3011 | ||
d9c8471e DJ |
3012 | 2004-09-20 Daniel Jacobowitz <dan@debian.org> |
3013 | ||
3014 | * symtab.c (lookup_partial_symtab): Use psymtab_to_fullname. | |
3015 | (lookup_partial_symtab): Use symtab_to_fullname. | |
3016 | ||
d73f140a JB |
3017 | 2004-09-19 Jim Blandy <jimb@redhat.com> |
3018 | ||
3019 | * minsyms.c (lookup_minimal_symbol): Doc fix. | |
3020 | ||
adbef1f0 AC |
3021 | 2004-09-20 Andrew Cagney <cagney@gnu.org> |
3022 | ||
3023 | * config/nm-lynx.h (DEPRECATED_CHILD_RESUME): Deprecate | |
3024 | CHILD_RESUME. | |
3025 | * config/i386/nm-linux.h (DEPRECATED_CHILD_RESUME): Ditto. | |
3026 | * config/nm-linux.h (DEPRECATED_KILL_INFERIOR): Deprecate | |
3027 | KILL_INFERIOR. | |
3028 | * infptrace.c: Update. | |
3029 | ||
d092d1a2 DJ |
3030 | 2004-09-19 Daniel Jacobowitz <dan@debian.org> |
3031 | ||
3032 | * symtab.c (output_source_filename): Mark first argument as const. | |
3033 | (sources_info): Use symtab_to_fullname and psymtab_to_fullname | |
3034 | for "info sources" output. | |
3035 | ||
86d9e1d7 MK |
3036 | 2004-09-20 Mark Kettenis <kettenis@gnu.org> |
3037 | ||
3038 | * config/i386/nm-fbsd.h, config/i386/nm-obsd.h: Don't include | |
3039 | <machine/vmparam.h>. | |
3040 | (KERNEL_U_ADDR, REGISTER_U_ADDR): Remove defines. | |
3041 | (register_u_addr): Remove prototype. | |
3042 | ||
9a6c8ef4 MK |
3043 | 2004-09-19 Mark Kettenis <kettenis@gnu.org> |
3044 | ||
9692934b MK |
3045 | * i386bsd-nat.c: Include "i386bsd-nat.h" and "inf-ptrace.h". |
3046 | (i386bsd_fetch_inferior_registers): Rename from | |
3047 | fetch_inferior_registers. Make static. | |
3048 | (i386bsd_store_inferior_registers): Rename from | |
3049 | store_inferior_registers. Make static. | |
3050 | (i386bsd_target): New function. | |
3051 | * i386bsd-nat.h: New file. | |
3052 | * i386fbsd-nat.c: Include "target.h", "fbsd-nat.h" and | |
3053 | "i386bsd-nat.h". | |
3054 | (i386fbsd_resume): Rename from child_resume. Make static. | |
3055 | (_initialize_i386fbsd_nat): Construct and add target vector. | |
3056 | * i386nbsd-nat.c: Include "target.h" and "i386bsd-nat.h". | |
3057 | (_initialize_i386nbsd_nat): Construct and add target vector. | |
3058 | * config/i386/nm-fbsd.h: (CHILD_RESUME, CHILD_PID_TO_EXEC_FILE): | |
3059 | Remove defines. | |
3060 | * config/i386/fbsd.mh (NATDEPFILES): Add inf-child.o, inf-ptrace.o | |
3061 | and fbsd-nat.o. Remove inftarg.o and fbsd-proc.o. | |
3062 | * config/i386/nbsdaout.mh (NATDEPFILES): Add inf-child.o, | |
3063 | inf-ptrace.o, i386bsd-nat.o and bsd-kvm.o. Remove inftarg.o. | |
3064 | (LOADLIBES): New variable. | |
3065 | * config/i386/nbsdelf.mh (NATDEPFILES): Add inf-child.o and | |
3066 | inf-ptrace.o. Remove inftarg.o. | |
3067 | * config/i386/obsd.mh (NATDEPFILES): Add inf-child.o and | |
3068 | inf-ptrace.o. Remove inftarg.o. | |
3069 | * config/i386/obsdaout.mh (NATDEPFILES): Add inf-child.o, | |
3070 | inf-ptrace.o, i386nbsd-nat.o and bsd-kvm.o. Remove inftarg.o. | |
3071 | (LOADLIBES): New variable. | |
3072 | * Makefile.in (i386bsd_nat_h): New variable. | |
3073 | (i386bsd-nat.o, i386fbsd-nat.o, i386nbsd-nat.o): Update | |
3074 | dependencies. | |
3075 | ||
3510d1f2 MK |
3076 | * sparc64nbsd-tdep.c: Include "objfiles.h". |
3077 | (sparc64nbsd_init_abi): Set in_solib_call_trampoline and | |
3078 | skip_trampoline_code. Set solib_svr4_fetch_link_map_offsets to | |
3079 | svr4_lp64_fetch_link_map_offsets. | |
3080 | * sparc64obsd-tdep.c: Include "objfiles.h". Don't include | |
3081 | "nbsd-tdep.h". | |
3082 | (sparc64obsd_init_abi): Set in_solib_call_trampoline and | |
3083 | skip_trampoline_code. Set solib_svr4_fetch_link_map_offsets to | |
3084 | svr4_lp64_fetch_link_map_offsets. | |
3085 | * Makefile.in (sparc64nbsd-tdep.o, sparc64obsd-tdep.o): Update | |
3086 | dependencies. | |
3087 | ||
578c1c03 MK |
3088 | * fbsd-nat.c: New files with cleaned up contents of fbsd-proc.c. |
3089 | * fbsd-nat.h: New file. | |
3090 | * Makefile.in (ALLDEPFILES): Add fbsd-nat.c. | |
3091 | (fbsd_nat_h): New variable. | |
3092 | (fbsd-nat.o): New dependency. | |
3093 | ||
7a7b73b7 MK |
3094 | * config/sparc/nbsd64.mt, config/sparc/obsd.mt, |
3095 | config/sparc/obsd64.mt (DEPRECATED_TM_FILE): Set to solib.h. | |
3096 | ||
9a6c8ef4 MK |
3097 | * inf-child.c (inf_child_post_wait): Remove stray whitespace in |
3098 | comment. | |
3099 | ||
72d5681a PH |
3100 | 2004-09-18 Paul N. Hilfinger <hilfinger@gnat.com> |
3101 | ||
3102 | * ada-exp.y (type_int): New function to add layer of abstraction | |
3103 | around references to expression types. | |
3104 | (type_long): Ditto. | |
3105 | (type_long_long): Ditto. | |
3106 | (type_float): Ditto. | |
3107 | (type_double): Ditto. | |
3108 | (type_long_double): Ditto. | |
3109 | (type_char): Ditto. | |
3110 | (type_system_address): Ditto. | |
3111 | (simple_exp): Use type_* functions in place of builtin_* | |
3112 | variables. | |
3113 | (exp): Ditto. | |
3114 | (write_var_from_name): Ditto. | |
3115 | (write_object_renaming): Ditto. | |
3116 | * ada-lang.c (ada_create_fundamental_type): Remove redundant | |
3117 | declaration. | |
3118 | (build_ada_types): Remove, replacing with... | |
3119 | (ada_language_arch_info): New function to initialize primitive | |
3120 | type vector in language_arch_info. | |
3121 | (ada_array_length): Remove use of builtin_type_ada_int. | |
3122 | (value_pos_atr): Ditto. | |
3123 | (ada_evaluate_subexp): Ditto. | |
3124 | (builtin_type_ada_int, builtin_type_ada_short, builtin_type_ada_long, | |
3125 | builtin_type_ada_long_long, builtin_type_ada_char, | |
3126 | builtin_type_ada_float, builtin_type_ada_double, | |
3127 | builtin_type_ada_long_double, builtin_type_ada_natural, | |
3128 | builtin_type_ada_positive, builtin_type_ada_system_address): Remove. | |
3129 | (ada_builtin_types): Remove. | |
3130 | (ada_language_defn): Remove entries for la_builtin_type_vector and | |
3131 | string_char_type and use ada_language_arch_info. | |
3132 | (_initialize_ada_language): Do type-vector initialization along | |
3133 | the lines of c-lang.c. | |
3134 | (ada_create_fundamental_type): Break up line. | |
3135 | (ada_dump_symtab): Remove unused function. | |
3136 | (enum ada_primitive_types): Define. | |
3137 | * ada-lang.h (builtin_type_ada_int, builtin_type_ada_short, | |
3138 | builtin_type_ada_long,builtin_type_ada_long_long,builtin_type_ada_char, | |
3139 | builtin_type_ada_float, builtin_type_ada_double, | |
3140 | builtin_type_ada_long_double, builtin_type_ada_natural, | |
3141 | builtin_type_ada_positive, builtin_type_ada_system_address): Remove. | |
3142 | * ada-lex.l: Use type_* functions in place of builtin_* variables. | |
3143 | (processInt): Ditto. | |
3144 | (processReal): Ditto. | |
3145 | (name_lookup): Ditto. | |
3146 | * ada-typeprint.c (print_range): Use builtin_type_int, not | |
3147 | builtin_type_ada_int. | |
3148 | ||
4f0be353 MK |
3149 | 2004-09-18 Mark Kettenis <kettenis@gnu.org> |
3150 | ||
30b0e2d8 MK |
3151 | * i386-tdep.c (i386_register_name): Rename regno to regnum. |
3152 | ||
4f0be353 MK |
3153 | * config/pa/hpux1020.mh (MH_CFLAGS): Remove -D__HP_CURSES. |
3154 | * config/pa/hpux11.mh (MH_CFLAGS): Likewise. | |
3155 | * config/pa/hpux11w.mh (MH_CFLAGS): Likewise. | |
3156 | * configure.in: Improve checks for curses library by checking for | |
3157 | mvwaddstr instead of initscr. Drop HP curses in favour of | |
3158 | standard curses on HP-UX. | |
3159 | * configure: Regenerated. | |
3160 | ||
72d5681a | 3161 | 2004-09-18 Paul N. Hilfinger <hilfinger@gnat.com> |
6c038f32 PH |
3162 | |
3163 | * ada-lang.c: (ada_main_name, ada_value_slice_ptr, ada_value_slice, | |
3164 | ada_breakpoint_rewrite, ada_template_to_fixed_record_type_1): | |
3165 | Minor formatting changes. | |
3166 | (empty_array): Slight rewrite for formatting. | |
3167 | (emit_char,parse,ada_language_defn,build_ada_types, | |
3168 | ada_is_exception_sym, _initialize_ada_language): Move | |
3169 | definitions around. | |
3170 | (ada_dump_symtab): Remove unused definition. | |
3171 | (ada_maybe_exception_partial_symbol): Remove unused definition. | |
3172 | ||
1c8c7407 AC |
3173 | 2004-09-16 Andrew Cagney <cagney@gnu.org> |
3174 | ||
7681f339 AC |
3175 | * inf-child.c: Include "gdb_string.h". |
3176 | (inf_child_core_file_to_sym_file): Delete. | |
3177 | (inf_child_target): Set to_fetch_registers and to_store_registers. | |
3178 | * inf-ptrace.c: Include "gdb_string.h". | |
3179 | * Makefile.in: Update all dependencies. | |
3180 | ||
1c8c7407 AC |
3181 | * Makefile.in (gnu-v3-abi.o): Add explict rule to avoid -Werror |
3182 | problem. | |
3183 | ||
65596487 JB |
3184 | 2004-09-14 Joel Brobecker <brobecker@gnat.com> |
3185 | ||
3186 | * mips-tdep.c (mips_insn32_frame_cache): Pass frame cache in | |
3187 | call to heuristic_proc_desc. Remove code that became redundant | |
3188 | as a consequence. | |
3189 | (read_next_frame_reg): Remove special case for SP_REGNUM. | |
3190 | (set_reg_offset): Fix small typo. | |
3191 | (reset_saved_regs): New procedure. | |
3192 | (mips32_heuristic_proc_desc): No longer compute a fake | |
3193 | procedure descriptor. Compute the full frame cache instead. | |
3194 | Some minor comment reformatting. | |
3195 | ||
95575b2e AC |
3196 | 2004-09-14 Andrew Cagney <cagney@gnu.org> |
3197 | ||
f200c492 AC |
3198 | * MAINTAINERS: Add Michael Chastain as the backup gdb.threads |
3199 | maintainer. | |
3200 | ||
95575b2e AC |
3201 | * thread-db.c (thread_db_new_objfile): Assume that there is a |
3202 | child process. | |
3203 | ||
69657671 JB |
3204 | 2004-09-13 Jim Blandy <jimb@redhat.com> |
3205 | ||
3206 | * valops.c (value_assign): Move 'buffer' to the enclosing block, | |
3207 | so that its storage isn't referenced after its lifetime ends. | |
3208 | ||
6c4182dd JB |
3209 | * valops.c (value_assign): 'use_buffer' is initialized to zero, |
3210 | and never assigned to. Delete it, and the 'if (use_buffer)' | |
3211 | clauses. Delete 'raw_buffer', since it is now unused. | |
3212 | ||
ee31a58d AC |
3213 | 2004-09-13 Andrew Cagney <cagney@gnu.org> |
3214 | ||
2c0fc042 AC |
3215 | * configure.in (frags): Replace TM_FILE with DEPRECATED_TM_FILE. |
3216 | * configure: Re-generate. | |
3217 | * nlm/Makefile.in (TAGS): Update. | |
3218 | * Makefile.in (TAGS): Update. | |
3219 | * config/vax/nbsd.mt (TM_FILE): Update. | |
3220 | * config/sparc/vxworks.mt (TM_FILE): Update. | |
3221 | * config/sparc/sol2.mt (TM_FILE): Update. | |
3222 | * config/sparc/sol2-64.mt (TM_FILE): Update. | |
3223 | * config/sparc/obsd64.mt (TM_FILE): Update. | |
3224 | * config/sparc/obsd.mt (TM_FILE): Update. | |
3225 | * config/sparc/nbsd64.mt (TM_FILE): Update. | |
3226 | * config/sparc/nbsd.mt (TM_FILE): Update. | |
3227 | * config/sparc/linux64.mt (TM_FILE): Update. | |
3228 | * config/sparc/linux.mt (TM_FILE): Update. | |
3229 | * config/sparc/fbsd.mt (TM_FILE): Update. | |
3230 | * config/sh/wince.mt (TM_FILE): Update. | |
3231 | * config/sh/nbsd.mt (TM_FILE): Update. | |
3232 | * config/sh/linux.mt (TM_FILE): Update. | |
3233 | * config/sh/embed.mt (TM_FILE): Update. | |
3234 | * config/s390/s390.mt (TM_FILE): Update. | |
3235 | * config/rs6000/rs6000lynx.mt (TM_FILE): Update. | |
3236 | * config/rs6000/rs6000.mt (TM_FILE): Update. | |
3237 | * config/rs6000/aix4.mt (TM_FILE): Update. | |
3238 | * config/powerpc/vxworks.mt (TM_FILE): Update. | |
3239 | * config/powerpc/ppc-sim.mt (TM_FILE): Update. | |
3240 | * config/powerpc/ppc-eabi.mt (TM_FILE): Update. | |
3241 | * config/powerpc/obsd.mt (TM_FILE): Update. | |
3242 | * config/powerpc/nbsd.mt (TM_FILE): Update. | |
3243 | * config/powerpc/linux.mt (TM_FILE): Update. | |
3244 | * config/powerpc/aix.mt (TM_FILE): Update. | |
3245 | * config/pa/obsd.mt (TM_FILE): Update. | |
3246 | * config/pa/linux.mt (TM_FILE): Update. | |
3247 | * config/pa/hppahpux.mt (TM_FILE): Update. | |
3248 | * config/pa/hppa64.mt (TM_FILE): Update. | |
3249 | * config/pa/hppa.mt (TM_FILE): Update. | |
3250 | * config/ns32k/nbsdaout.mt (TM_FILE): Update. | |
3251 | * config/mips/wince.mt (TM_FILE): Update. | |
3252 | * config/mips/vxmips.mt (TM_FILE): Update. | |
3253 | * config/mips/nbsd.mt (TM_FILE): Update. | |
3254 | * config/mips/linux.mt (TM_FILE): Update. | |
3255 | * config/mips/irix6.mt (TM_FILE): Update. | |
3256 | * config/mips/irix5.mt (TM_FILE): Update. | |
3257 | * config/mips/embed.mt (TM_FILE): Update. | |
3258 | * config/m68k/vxworks68.mt (TM_FILE): Update. | |
3259 | * config/m68k/st2000.mt (TM_FILE): Update. | |
3260 | * config/m68k/os68k.mt (TM_FILE): Update. | |
3261 | * config/m68k/obsd.mt (TM_FILE): Update. | |
3262 | * config/m68k/nbsd.mt (TM_FILE): Update. | |
3263 | * config/m68k/monitor.mt (TM_FILE): Update. | |
3264 | * config/m68k/linux.mt (TM_FILE): Update. | |
3265 | * config/m68k/cisco.mt (TM_FILE): Update. | |
3266 | * config/ia64/linux.mt (TM_FILE): Update. | |
3267 | * config/ia64/aix.mt (TM_FILE): Update. | |
3268 | * config/ia64/ia64.mt (TM_FILE): Update. | |
3269 | * config/i386/vxworks.mt (TM_FILE): Update. | |
3270 | * config/i386/obsd64.mt (TM_FILE): Update. | |
3271 | * config/i386/obsd.mt (TM_FILE): Update. | |
3272 | * config/i386/nto.mt (TM_FILE): Update. | |
3273 | * config/i386/nbsd64.mt (TM_FILE): Update. | |
3274 | * config/i386/nbsd.mt (TM_FILE): Update. | |
3275 | * config/i386/linux64.mt (TM_FILE): Update. | |
3276 | * config/i386/linux.mt (TM_FILE): Update. | |
3277 | * config/i386/i386sol2.mt (TM_FILE): Update. | |
3278 | * config/i386/i386lynx.mt (TM_FILE): Update. | |
3279 | * config/i386/fbsd64.mt (TM_FILE): Update. | |
3280 | * config/i386/fbsd.mt (TM_FILE): Update. | |
3281 | * config/i386/cygwin.mt (TM_FILE): Update. | |
3282 | * config/h8300/h8300.mt (TM_FILE): Update. | |
3283 | * config/frv/frv.mt (TM_FILE): Update. | |
3284 | * config/cris/cris.mt (TM_FILE): Update. | |
3285 | * config/arm/wince.mt (TM_FILE): Update. | |
3286 | * config/arm/nbsd.mt (TM_FILE): Update. | |
3287 | * config/arm/linux.mt (TM_FILE): Update. | |
3288 | * config/arm/embed.mt (TM_FILE): Update. | |
3289 | * config/alpha/nbsd.mt (TM_FILE): Update. | |
3290 | * config/alpha/fbsd.mt (TM_FILE): Update. | |
3291 | * config/alpha/alpha.mt (TM_FILE): Update. | |
3292 | * config/alpha/alpha-osf1.mt (TM_FILE): Update. | |
3293 | * config/alpha/alpha-linux.mt (TM_FILE): Update. | |
3294 | ||
362646f5 AC |
3295 | Eliminate event_loop_p, always has the value 1. |
3296 | * defs.h (event_loop_p): Delete macro. | |
3297 | * breakpoint.c (until_break_command): Simplify. | |
3298 | * utils.c (prompt_for_continue): Simplify. | |
3299 | * tracepoint.c (read_actions): Simplify. | |
3300 | * top.c (throw_exception, execute_command, gdb_readline_wrapper) | |
3301 | (gdb_rl_operate_and_get_next, command_line_input, get_prompt) | |
3302 | (set_prompt, init_main): Simplify. | |
3303 | (init_signals, disconnect): Delete, unused. | |
3304 | * remote.c (remote_async_resume) | |
3305 | (extended_remote_async_create_inferior): Simplify. | |
3306 | * mi/mi-interp.c (mi_input): Delete, unused. | |
3307 | (mi_interpreter_resume, mi_command_loop): Simplify. | |
3308 | * interps.c (current_interp_command_loop): Simplify. | |
3309 | * infrun.c (proceed): Simplify. | |
3310 | * infcmd.c (run_command, continue_command, step_1, jump_command) | |
3311 | (until_command, advance_command, finish_command) | |
3312 | (interrupt_target_command): Simplify. | |
3313 | * event-top.c (gdb_setup_readline, gdb_disable_readline): Simplify. | |
3314 | ||
ee31a58d AC |
3315 | * config/i386/nm-i386.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete. |
3316 | * config/s390/nm-linux.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete. | |
3317 | * config/pa/nm-hppah.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete. | |
3318 | * config/ia64/nm-linux.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete. | |
3319 | * config/frv/tm-frv.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete. | |
3320 | * mips-tdep.c (mips_dump_tdep): Do not print same. | |
3321 | ||
b7ffc4a8 AC |
3322 | 2004-09-12 Andrew Cagney <cagney@gnu.org> |
3323 | ||
2bfb72ee AC |
3324 | * valprint.c (print_longest): Use fputs_filtered. Make "val" |
3325 | const. | |
3326 | * Makefile.in (valprint.o): Delete explict rule. | |
3327 | ||
4f17c3c1 AC |
3328 | * config/m68k/nbsdelf.mh: Add missing trailing newline. Problem |
3329 | reported by Dave Anderson. | |
3330 | ||
f810308b AC |
3331 | * target.c (target_info): Delete #ifdef call to FILES_INFO_HOOK. |
3332 | ||
b7ffc4a8 AC |
3333 | * inferior.h (STORE_STRUCT_RETURN): Delete macro. |
3334 | ||
28b41c52 AC |
3335 | 2004-09-12 Salvador E. Tropea <set@users.sf.net> |
3336 | Andrew Cagney <cagney@gnu.org> | |
3337 | ||
3338 | * mi/mi-main.c (mi_cmd_data_list_changed_registers) | |
3339 | (mi_cmd_data_list_register_values) | |
3340 | (mi_cmd_data_write_register_values): Include the PSEUDO_REGS in | |
3341 | the register number computation. | |
3342 | ||
5bf970f9 AC |
3343 | 2004-09-12 Andrew Cagney <cagney@gnu.org> |
3344 | ||
3345 | * ppcnbsd-nat.c: Include "inf-ptrace.h". | |
3346 | (ppcnbsd_fetch_inferior_registers): Rename fetch_inferior_registers. | |
3347 | (ppcnbsd_store_inferior_registers): Rename store_inferior_registers. | |
3348 | (_initialize_ppcnbsd_nat): Create and add a NetBSD/PPC ptrace | |
3349 | target. | |
3350 | * config/powerpc/nbsd.mh (NATDEPFILES): Replace and inftarg.o with | |
3351 | inf-ptrace.o and inf-child.o. | |
3352 | * inf-ptrace.h, inf-ptrace.c, inf-child.h, inf-child.c: New files. | |
3353 | * Makefile.in: Update dependencies. | |
3354 | ||
0759e0bf AC |
3355 | 2004-09-11 Andrew Cagney <cagney@gnu.org> |
3356 | ||
3357 | * language.c (hex_string, hex_string_custom): Move from here ... | |
3358 | * utils.c (hex_string, hex_string_custom): ... to here, rewrite. | |
3359 | (CELLSIZE): Increase to 50. | |
3360 | * language.h (hex_string, hex_string_custom): Move from here ... | |
3361 | * defs.h: ... to here. | |
3362 | * Makefile.in: Update all dependencies. | |
3363 | ||
bb599908 PH |
3364 | 2004-09-11 Paul N. Hilfinger <hilfinger@gnat.com> |
3365 | ||
3366 | * language.c (local_hex_format_custom): Remove. | |
3367 | (local_hex_string): Rename to hex_string, use C format, and move to | |
3368 | utils.c | |
3369 | (local_hex_string_custom): Rename to hex_string_custom and change | |
3370 | interface. Now uses C format. Move to utils.c | |
3371 | (local_octal_format_custom): Remove. | |
3372 | (local_decimal_format_custom): Remove. | |
3373 | (unknown_language_defn): Remove language-specific number | |
3374 | formatting entries. | |
3375 | (auto_language_defn): Ditto. | |
3376 | (local_language_defn): Ditto. | |
3377 | * language.h (struct language_format_info): Delete declaration. | |
3378 | (struct language_defn): Remove language_format_info fields | |
3379 | la_binary_format, la_octal_format, la_decimal_format, la_hex_format. | |
3380 | (local_binary_format): Remove macro. | |
3381 | (local_binary_format_prefix): Remove macro. | |
3382 | (local_binary_format_specifier): Remove macro. | |
3383 | (local_binary_format_suffix): Remove macro. | |
3384 | (local_octal_format): Remove macro. | |
3385 | (local_octal_format_prefix): Remove macro. | |
3386 | (local_octal_format_specifier): Remove macro. | |
3387 | (local_octal_format_suffix): Remove macro. | |
3388 | (local_decimal_format): Remove macro. | |
3389 | (local_decimal_format_prefix): Remove macro. | |
3390 | (local_decimal_format_specifier): Remove macro. | |
3391 | (local_decimal_format_suffix): Remove macro. | |
3392 | (local_hex_format): Remove macro. | |
3393 | (local_hex_format_prefix): Remove macro. | |
3394 | (local_hex_format_specifier): Remove macro. | |
3395 | (local_hex_format_suffix): Remove macro. | |
3396 | (local_decimal_format_custom): Remove. | |
3397 | (local_octal_format_custom): Remove. | |
3398 | (local_hex_format_custom): Remove. | |
3399 | (local_hex_string): Rename to hex_string and move to defs.h. | |
3400 | (local_hex_string_custom): Rename to hex_string_custom, change | |
3401 | interface, and move to defs.h. | |
3402 | * utils.c: (int_string): New function. | |
3403 | (hex_string): New function (from language.c). | |
3404 | (hex_string_custom): New function (from language.c). | |
3405 | (octal2str): New function. | |
3406 | (decimal2str): Add width parameter. | |
3407 | (paddr_u): Use new decimal2str interface. | |
3408 | (paddr_d): Ditto. | |
3409 | * defs.h (hex_string): Declare. | |
3410 | (hex_string_custom): Declare. | |
3411 | (int_string): Declare. | |
3412 | * printcmd.c (print_scalar_formatted): Remove localized binary | |
3413 | formatting. | |
3414 | * valprint.c (print_longest): Use int_string. | |
3415 | (print_floating): Use C hex format. | |
3416 | (print_hex_chars): Ditto. | |
3417 | (print_binary_chars): Remove language-specific formatting. | |
3418 | (print_octal_chars): Use C octal format. | |
3419 | (print_decimal_chars): Delocalize format. | |
3420 | (print_decimal): Remove. | |
3421 | * ada-lang.c (ada_language_defn): Remove language-specific number | |
3422 | formatting entries. | |
3423 | * p-lang.c (pascal_language_defn): Ditto. | |
3424 | * c-lang.c (c_language_defn): Ditto. | |
3425 | (cplus_language_defn): Ditto. | |
3426 | (asm_language_defn): Ditto. | |
3427 | (minimal_language_defn): Ditto. | |
3428 | * f-lang.c (f_language_defn): Ditto. | |
3429 | * jv-lang.c (java_language_defn): Ditto. | |
3430 | * m2-lang.c (m2_language_defn): Ditto. | |
3431 | * scm-lang.c (scm_language_defn): Ditto. | |
3432 | * objc-lang.c (objc_language_defn): Ditto. | |
3433 | * memattr.c (mem_info_command): Use renamed hex_string_custom with | |
3434 | new interface. | |
3435 | * pa64solib.c (pa64_sharedlibrary_info_command): Ditto. | |
3436 | * ui-out.c (ui_out_field_core_addr): Ditto. | |
3437 | * breakpoint.c (breakpoint_adjustment_warning): Ditto. | |
3438 | * exec.c (print_section_info): Ditto. | |
3439 | * i387-tdep.c (print_i387_status_word): Ditto. | |
3440 | (print_i387_control_word): Ditto. | |
3441 | (i387_print_float_info): Ditto. | |
3442 | * maint.c (maint_print_section_info): Ditto. | |
3443 | * solib.c (info_sharedlibrary_command): Ditto. | |
3444 | * somsolib.c (som_sharedlibrary_info_command): Ditto. | |
3445 | * symtab.c (print_msymbol_info): Ditto. | |
3446 | * tracepoint.c (tracepoints_info): Ditto. | |
3447 | * solib-frv.c (lm_base): Ditto. | |
3448 | (frv_current_sos): Ditto. | |
3449 | (enable_break2): Ditto. | |
3450 | (enable_break): Ditto. | |
3451 | * dbxread.c (read_dbx_symtab): Use renamed hex_string. | |
3452 | (process_one_symbol): Ditto. | |
3453 | * infcmd.c (program_info): Ditto. | |
3454 | * mdebugread.c (parse_partial_symbols): Ditto. | |
3455 | * symfile.c (add_symbol_file_command): Ditto. | |
3456 | * cli/cli-cmds.c (edit_command): Ditto. | |
3457 | (list_command): Ditto. | |
3458 | * infcall.c (call_function_by_hand): Ditto. | |
3459 | * remote-vx.c (vx_run_files_info): Ditto. | |
3460 | (vx_wait): Ditto. | |
3461 | (vx_attach): Ditto. | |
3462 | (vx_detach): Ditto. | |
3463 | (vx_kill): Ditto. | |
3464 | * aix-thread.c (pdc_symbol_addrs): Ditto. | |
3465 | (pdc_read_regs): Ditto. | |
3466 | (pdc_write_regs): Ditto. | |
3467 | (pdc_read_data): Ditto. | |
3468 | (pdc_write_data): Ditto. | |
3469 | * d10v-tdep.c (display_trace): Ditto. | |
3470 | * rs6000-nat.c (find_toc_address): Ditto. | |
3471 | * aix-thread.c: Don't include language.h. | |
3472 | * buildsym.c: Ditto. | |
3473 | * dbxread.c: Ditto. | |
3474 | * mdebugread.c: Ditto. | |
3475 | * rs6000-nat.c: Ditto. | |
3476 | * buildsym.c (make_blockvector): Use renamed hex_string. | |
3477 | ||
33f2d567 JM |
3478 | 2004-09-10 Jason Molenda (jmolenda@apple.com) |
3479 | ||
3480 | * cli/cli-script.c (read_next_line): Accept zero or more whitespace | |
3481 | chars after 'if' or 'while' commands in user-defined commands. | |
3482 | ||
7b90c3f9 JB |
3483 | 2004-09-08 Jim Blandy <jimb@redhat.com> |
3484 | ||
3485 | Fix bug reported and analyzed by Olivier Crete: | |
3486 | * symfile.c (copy_section_addr_info): New function. | |
3487 | (symbol_file_add_with_addrs_or_offsets): Use it to save the | |
3488 | original set of address arguments, instead of handwritten code | |
3489 | that uses one length to allocate and a different length to | |
3490 | initialize. Use make_cleanup_free_section_addr_info. | |
3491 | * symfile.h (copy_section_addr_info): New declaration. | |
3492 | * utils.c: #include "symfile.h". | |
3493 | (do_free_section_addr_info, make_cleanup_free_section_addr_info): | |
3494 | New functions. | |
3495 | * defs.h (make_cleanup_free_section_addr_info): New declaration. | |
3496 | * Makefile.in (utils.o): Update dependencies. | |
3497 | ||
b26a6851 AC |
3498 | 2004-09-08 Andrew Cagney <cagney@gnu.org> |
3499 | ||
3500 | * thread-db.c (keep_thread_db): Delete. | |
3501 | (thread_db_new_objfile, thread_db_create_inferior) | |
3502 | (thread_db_mourn_inferior): Simplify assuming !keep_thread_db. | |
3503 | ||
be24b061 MK |
3504 | 2004-09-08 Mark Kettenis <kettenis@gnu.org> |
3505 | ||
f6792ef4 MK |
3506 | * i386-tdep.h (FPC_REGNUM, FCTRL_REGNUM, FSTAT_REGNUM, FTAG_REGNUM) |
3507 | (FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM, FOOFF_REGNUM) | |
3508 | (FOP_REGNUM, XMM0_REGNUM, MXCSR_REGNUM): Remove macros. | |
3509 | (i386_frameless_signal_p): Remove prototype. | |
3510 | * i386-linux-nat.c (GETFPREGS_SUPPLIES): Remove macro. | |
3511 | (GETFPXREGS_SUPPLIES): Define using I386_ST0_REGNUM and | |
3512 | I386_SSE_NUM_REGS. | |
3513 | * i386-nto-tdep.c (i386nto_supply_gregset): Use I386_NUM_GREGS | |
3514 | instead of FP0_REGNUM. | |
3515 | (i386nto_regset_id): Use I386_NUM_GREGS and I386_NUM_FREGS instead | |
3516 | of FP0_REGNUM and FPC_REGNUM. | |
3517 | ||
eeefdaa7 MK |
3518 | * solib-sunos.c (sunos_relocate_main_executable): Remove function. |
3519 | (sunos_solib_create_inferior_hook): Don't call | |
3520 | sunos_relocate_main_executable. | |
3521 | ||
be24b061 MK |
3522 | * sparcnbsd-tdep.c (sparc32nbsd_elf_init_abi): Set |
3523 | solib_svr4_fetch_link_map_offsets to | |
3524 | svr4_ilp32_fetch_link_map_offsets. | |
3525 | * sparcobsd-tdep.c: Don't include "nbsd-tdep.h". | |
3526 | (sparc32obsd_init_abi): Set solib_svr4_fetch_link_map_offsets to | |
3527 | svr4_ilp32_fetch_link_map_offsets. | |
3528 | * Makefile.in (sparcobsd-tdep.o): Update dependencies. | |
3529 | ||
7c679d16 JB |
3530 | 2004-09-07 Jim Blandy <jimb@redhat.com> |
3531 | ||
3532 | * frame.h (frame_register): Doc fix. | |
3533 | ||
1f04aa62 AC |
3534 | 2004-09-07 Andrew Cagney <cagney@gnu.org> |
3535 | ||
3536 | * vx-share/wait.h: Delete #ifdef USG. | |
3537 | * utils.c (request_quit): Ditto. | |
3538 | * tui/tui.c (tui_reset): Ditto. | |
3539 | * remote.c: Ditto. | |
3540 | * remote-sds.c: Ditto. | |
3541 | * remote-rdi.c: Ditto. | |
3542 | * mdebugread.c: Ditto. | |
3543 | * m68klinux-nat.c: Ditto. | |
3544 | * infttrace.c: Ditto. | |
3545 | * infptrace.c: Ditto. | |
3546 | * i386v-nat.c: Ditto. | |
3547 | * exec.c: Ditto. | |
3548 | * dbxread.c: Ditto. | |
3549 | * core-aout.c: Ditto. | |
3550 | ||
90edbfbc JB |
3551 | 2004-09-05 Joel Brobecker <brobecker@gnat.com> |
3552 | ||
3553 | * mips-tdep.c (mips_insn16_frame_cache): Fix parameter in call to | |
3554 | heuristic_proc_desc. | |
3555 | (mips_insn32_frame_cache): Likewise. | |
3556 | ||
01f4bf2b JB |
3557 | 2004-09-04 Joel Brobecker <brobecker@gnat.com> |
3558 | ||
3559 | * mips-tdep.c (mips32_heuristic_proc_desc): Remove code that was | |
3560 | left behind by error. | |
3561 | ||
8511a048 JB |
3562 | 2004-09-04 Joel Brobecker <brobecker@gnat.com> |
3563 | ||
3564 | * config/alpha/nm-osf.h (PTRACE_ARG3_TYPE): Remove define. | |
3565 | * config/powerpc/nm-aix.h (PTRACE_ARG3_TYPE): Likewise. | |
3566 | ||
649dfe9f JB |
3567 | 2004-09-04 Joel Brobecker <brobecker@gnat.com> |
3568 | ||
3569 | * config/rs6000/xm-aix4.h: Remove this file. | |
3570 | * config/rs6000/aix4.mh (XM_FILE): Delete. | |
3571 | ||
6e50f889 JB |
3572 | 2004-09-04 Joel Brobecker <brobecker@gnat.com> |
3573 | ||
3574 | * config/rs6000/xm-rs6000.h: Remove this file. | |
3575 | * config/rs6000/rs6000.mh (XM_FILE): Remove. | |
3576 | ||
b8c4aece AC |
3577 | 2004-09-03 Andrew Cagney <cagney@gnu.org> |
3578 | ||
fb603883 AC |
3579 | * mips-tdep.c (PROC_DESC_IS_DUMMY, SET_PROC_DESC_IS_DUMMY) |
3580 | (_PROC_MAGIC_, after_prologue, mips_dump_tdep): Delete macros and | |
3581 | only use. | |
3582 | ||
c9343fd1 AC |
3583 | * mips-tdep.c (temp_saved_regs): Delete. |
3584 | (set_reg_offset): Replace saved_regs parameter with this_cache. | |
3585 | (heuristic_proc_desc, mips16_heuristic_proc_desc) | |
3586 | (mips32_heuristic_proc_desc): Add this_cache parameter. | |
3587 | (mips_insn32_frame_cache, mips_insn16_frame_cache) | |
3588 | (after_prologue): Pass a NULL this_cache. | |
3589 | ||
9733cfe1 AC |
3590 | * mips-tdep.c (mips_mdebug_frame_cache): Delete code handling |
3591 | non-kernel trap prologues. | |
3592 | ||
0d5febcc AC |
3593 | * mips-tdep.c (find_proc_desc): Delete function. |
3594 | (mips_mdebug_frame_cache): Inline call to find_proc_desc, | |
3595 | simplify. | |
3596 | (mips_insn16_frame_cache): Replace find_proc_desc with code from | |
3597 | mips_insn32_frame_cache. | |
3598 | ||
9733cfe1 | 3599 | * mips-tdep.c (after_prologue): Inline call to find_proc_desc. |
283be873 AC |
3600 | Simplify as NEXT_FRAME is NULL. |
3601 | (find_proc_desc): Simplify as NEXT_FRAME is non-NULL. | |
3602 | ||
177f84a3 AC |
3603 | * mips-tdep.c (after_prologue): Replace proc_desc parameter with |
3604 | local variable. | |
3605 | (mips_skip_prologue): Update. | |
3606 | ||
465f7520 AC |
3607 | * mips-tdep.c (find_proc_desc, heuristic_proc_desc): Delete |
3608 | "cur_frame" parameter. | |
177f84a3 AC |
3609 | (after_prologue, mips_mdebug_frame_cache, mips_insn16_frame_cache): |
3610 | (mips_insn32_frame_cache, find_proc_desc): Update | |
465f7520 | 3611 | |
e38b8658 AC |
3612 | * config/vax/nm-obsd.h: Delete file. |
3613 | * config/vax/obsd.mh (NAT_FILE): Set to config/nm-bsd.h. | |
3614 | * config/vax/nm-nbsd.h: Delete file. | |
3615 | * config/vax/nm-nbsdaout.h: Include config/nm-nbsd.h. | |
3616 | * config/vax/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h. | |
3617 | * config/sh/nm-nbsd.h: Delete file. | |
3618 | * config/sh/nbsd.mh (NAT_FILE): Set to config/nm-nbsd.h. | |
3619 | * config/rs6000/nm-rs6000ly.h: Delete file. | |
3620 | * config/djgpp/fnchange.lst: Do not rename nm-rs6000ly.h. | |
3621 | * config/rs6000/rs6000lynx.mh (NAT_FILE): Set to config/nm-lynx.h. | |
3622 | * config/powerpc/nm-obsd.h: Delete file. | |
3623 | * config/powerpc/obsd.mh (NAT_FILE): Set to config/nm-bsd.h. | |
3624 | * config/powerpc/nm-nbsd.h: Delete file. | |
3625 | * config/powerpc/nbsd.mh (NAT_FILE): Set to config/nm-nbsd.h. | |
3626 | * config/pa/nm-obsd.h: Delete file. | |
3627 | * config/pa/obsd.mh (NAT_FILE): Set to config/nm-bsd.h. | |
3628 | * config/mips/nm-nbsd.h: Delete file. | |
3629 | * config/mips/nbsd.mh (NAT_FILE): Set to config/nm-nbsd.h. | |
3630 | * config/m88k/nm-obsd.h: Delete file. | |
3631 | * config/m88k/obsd.mh (NAT_FILE): Set to config/nm-bsd.h. | |
3632 | * config/m68k/nm-nbsd.h: Delete file. | |
3633 | * config/m68k/nm-nbsdaout.h: Include config/nm-nbsd.h. | |
3634 | * config/m68k/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h. | |
3635 | * config/i386/nm-nbsd.h: Delete file. | |
3636 | * config/i386/nm-nbsdaout.h: Include config/nm-nbsd.h. | |
3637 | * config/i386/obsd64.mh (NAT_FILE): Set to config/nm-nbsd.h. | |
3638 | * config/i386/nbsd64.mh (NAT_FILE): Set to config/nm-nbsd.h. | |
3639 | * config/i386/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h. | |
3640 | * config/i386/nm-i386lynx.h: Delete file. | |
3641 | * config/i386/i386lynx.mh (NAT_FILE): Set to config/nm-lynx.h. | |
3642 | * config/arm/nm-nbsd.h: Delete file. | |
3643 | * config/arm/nm-nbsdaout.h: Include config/nm-nbsd.h. | |
3644 | * config/arm/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h. | |
3645 | ||
be1ed680 AC |
3646 | * config/i386/tm-fbsd.h: Delete file. |
3647 | * config/i386/fbsd64.mt (TM_FILE): Set to solib.h. | |
3648 | * config/i386/fbsd.mt (TM_FILE): Set to solib.h. | |
3649 | ||
4b392b26 AC |
3650 | * config/rs6000/tm-rs6000-aix4.h: Delete file. |
3651 | * config/djgpp/fnchange.lst: Do not rename tm-rs6000-aix4.h. | |
3652 | * config/rs6000/aix4.mt (TM_FILE): Set to | |
3653 | config/rs6000/tm-rs6000.h. | |
3654 | * config/powerpc/tm-ppc-aix.h: Delete file. | |
3655 | * config/powerpc/aix.mt (TM_FILE): Set to | |
3656 | config/rs6000/tm-rs6000.h. | |
3657 | * config/m68k/tm-linux.h: Delete file. | |
3658 | * config/m68k/linux.mt (TM_FILE): Set to solib.h | |
3659 | * config/i386/tm-linux64.h: Delete file. | |
3660 | * config/i386/linux64.mt (TM_FILE): Set to solib.h. | |
3661 | * config/djgpp/fnchange.lst: Do not rename tm-linux.h. | |
3662 | ||
f3219c75 AC |
3663 | * config/m68k/tm-linux.h (SVR4_SHARED_LIBS): Delete. |
3664 | * config/i386/tm-linux64.h (SVR4_SHARED_LIBS): Delete. | |
3665 | * config/i386/nm-i386sco5.h (SVR4_SHARED_LIBS): Delete. | |
3666 | * config/tm-linux.h (SVR4_SHARED_LIBS): Delete. | |
3667 | * config/nm-sysv4.h (SVR4_SHARED_LIBS): Delete. | |
3668 | * config/nm-linux.h (SVR4_SHARED_LIBS): Delete. | |
3669 | * config/nm-gnu.h (SVR4_SHARED_LIBS): Delete. | |
3670 | * sh64-tdep.c [SVR4_SHARED_LIBS]: Delete #ifdef wrapper. | |
3671 | * sh-tdep.c [SVR4_SHARED_LIBS]: Delete #ifdef wrapper. | |
3672 | ||
b8c4aece AC |
3673 | * configure.in (GDB_TM_FILE): Fix typo, use gdb_target_cpu and not |
3674 | gdb_host_cpu. | |
3675 | ||
8ac2e020 JB |
3676 | 2004-09-02 Joel Brobecker <brobecker@gnat.com> |
3677 | ||
3678 | * mips-tdep.c (mips_insn32_frame_cache): Remove some dead code. | |
3679 | Minor reformatting. Some code factoring. | |
3680 | ||
c185a355 AC |
3681 | 2004-09-02 Andrew Cagney <cagney@gnu.org> |
3682 | ||
63f22f0d AC |
3683 | * config/vax/nbsd.mt (TM_FILE): Set to solib.h. |
3684 | * config/vax/tm-nbsd.h: Delete file. | |
3685 | * config/sparc/vxworks.mt (TM_FILE): Set to config/tm-vxworks.h. | |
3686 | * config/sparc/tm-vxworks.h: Delete file. | |
3687 | * config/sparc/nbsd.mt (TM_FILE): Set to solib.h. | |
3688 | * config/sparc/tm-nbsd.h: Delete file. | |
3689 | * config/sparc/linux64.mt (TM_FILE): Set to solib.h. | |
3690 | * config/sparc/linux.mt (TM_FILE): Set to solib.h. | |
3691 | * config/sparc/tm-linux.h: Delete file. | |
3692 | * config/s390/s390.mt (TM_FILE): Set to config/tm-linux.h | |
3693 | * config/s390/tm-linux.h: Delete file. | |
3694 | * config/pa/obsd.mt (TM_FILE): Set to solib.h. | |
3695 | * config/pa/tm-bsd.h: Delete file. | |
3696 | * config/m68k/obsd.mt (TM_FILE): Set to solib.h. | |
3697 | * config/m68k/tm-obsd.h: Delete file. | |
3698 | * config/m68k/nbsd.mt (TM_FILE): Set to solib.h. | |
3699 | * config/m68k/tm-nbsd.h: Delete file. | |
3700 | * config/i386/vxworks.mt (TM_FILE): Set to config/tm-vxworks.h. | |
3701 | * config/i386/tm-vxworks.h: Delete file. | |
3702 | * config/i386/obsd64.mt (TM_FILE): Set to solib.h. | |
3703 | * config/i386/obsd.mt (TM_FILE): Set to solib.h. | |
3704 | * config/i386/nbsd64.mt (TM_FILE): Set to solib.h. | |
3705 | * config/i386/nbsd.mt (TM_FILE): Set to solib.h. | |
3706 | * config/i386/tm-nbsd.h: Delete file. | |
3707 | * config/i386/i386lynx.mt (TM_FILE): Set to config/tm-lynx.h. | |
3708 | * config/i386/tm-i386lynx.h: Delete file. | |
3709 | * config/cris/cris.mt (TM_FILE): Set to solib.h. | |
3710 | * config/cris/tm-cris.h: Delete file. | |
3711 | ||
0f475e27 AC |
3712 | * configure.in: Let TM_FILE, XM_FILE and NAT_FILE specify a path. |
3713 | * configure: Re-generate. | |
3714 | * config/arm/nbsd.mt (TM_FILE): Set to "solib.h". | |
3715 | * config/arm/tm-nbsd.h: Delete file. | |
3716 | ||
458ed000 AC |
3717 | * config/powerpc/tm-ppcle-sim.h: Delete. |
3718 | * config/powerpc/tm-ppcle-eabi.h: Delete. | |
3719 | * config/powerpc/tm-nbsd.h: Delete. | |
3720 | * config/powerpc/nbsd.mt (TM_FILE): Set to tm-ppc-eabi.h. | |
3721 | * config/djgpp/fnchange.lst: Do not rename tm-ppcle-sim.h or | |
3722 | tm-ppcle-eabi.h. | |
3723 | ||
f14375f3 AC |
3724 | * config/i386/nto.mh (NAT_FILE): Delete. |
3725 | * config/i386/nm-nto.h: Delete. | |
3726 | ||
c34d127c AC |
3727 | * config/m68k/tm-vx68.h: Do not include "tm-m68k.h". |
3728 | * config/m68k/tm-os68k.h: Ditto. | |
3729 | * config/m68k/tm-monitor.h: Ditto. | |
3730 | * config/m68k/tm-cisco.h: Ditto. | |
3731 | * config/m68k/st2000.mt (TM_FILE): Delete. | |
3732 | * config/m68k/tm-vx68.h (GET_LONGJMP_TARGET): Delete. | |
3733 | * config/m68k/tm-cisco.h (GET_LONGJMP_TARGET): Delete. | |
3734 | * config/m68k/tm-m68k.h (m68k_get_longjmp_target): Delete file. | |
3735 | * m68k-tdep.c (m68k_get_longjmp_target): Make static. | |
3736 | ||
f7f0fe03 AC |
3737 | * config/m68k/tm-st2000.h: Delete. |
3738 | * config/m68k/st2000.mt (TM_FILE): Set to tm-m68k.h. | |
3739 | * config/sparc/fbsd.mt (TM_FILE): Delete. | |
3740 | * config/sparc/tm-fbsd.h: Delete. | |
3741 | ||
a2558533 AC |
3742 | * acconfig.h (GDB_MULTI_ARCH): Delete undef. |
3743 | * defs.h (GDB_MULTI_ARCH_PARTIAL, GDB_MULTI_ARCH_TM) | |
3744 | (GDB_MULTI_ARCH_PURE, GDB_MULTI_ARCH): Delete macros. | |
3745 | ||
b78960be AC |
3746 | * gdbarch.sh: Instead of GDB_MULTI_ARCH print GDB_NM_FILE, |
3747 | GDB_TM_FILE and GDB_XM_FILE. | |
3748 | * gdbarch.c: Re-generate. | |
3749 | * configure.in (GDB_XM_FILE, GDB_NM_FILE, GDB_TM_FILE): Include | |
3750 | quotes in macro definition. | |
3751 | * configure.in: Re-generate. | |
3752 | ||
4d60522e AC |
3753 | * gdbarch.sh: Delete check for GDB_MULTI_ARCH_PARTIAL when |
3754 | validating architecture methods. | |
3755 | * gdbarch.c: Re-generate. | |
3756 | ||
5010d38b AC |
3757 | * gdbarch.sh: Delete check for consistency between GDB_MULTI_ARCH |
3758 | and GDB_TM_FILE. Check for GDB_TM_FILE instead of | |
3759 | GDB_MULTI_ARCH_PARTIAL. | |
3760 | * gdbarch.h: Re-generate. | |
3761 | ||
c185a355 AC |
3762 | * config/sparc/tm-vxworks.h (GDB_MULTI_ARCH): Delete. |
3763 | * config/sparc/tm-sol2.h (GDB_MULTI_ARCH): Delete. | |
3764 | * config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete. | |
3765 | * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete. | |
3766 | * config/sparc/tm-fbsd.h (GDB_MULTI_ARCH): Delete. | |
3767 | * config/sh/tm-sh.h (GDB_MULTI_ARCH): Delete. | |
3768 | * config/rs6000/tm-rs6000.h (GDB_MULTI_ARCH): Delete. | |
3769 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Delete. | |
3770 | * config/mips/tm-mips.h (GDB_MULTI_ARCH): Delete. | |
3771 | * config/ia64/tm-ia64.h (GDB_MULTI_ARCH): Delete. | |
3772 | * config/cris/tm-cris.h (GDB_MULTI_ARCH): Delete. | |
3773 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Delete. | |
3774 | ||
14aaa6ab AC |
3775 | 2004-09-01 Andrew Cagney <cagney@gnu.org> |
3776 | ||
3777 | * objfiles.h (struct entry_info): Delete fields main_func_lowpc | |
3778 | and main_func_highpc. | |
3779 | (INVALID_ENTRY_LOWPC, INVALID_ENTRY_HIGHPC): Delete macros. | |
3780 | * objfiles.c (init_entry_point_info, objfile_relocate): Update | |
3781 | * nlmread.c (nlm_symfile_read): Update. | |
3782 | ||
a343eb3c JB |
3783 | 2004-09-01 Joel Brobecker <brobecker@gnat.com> |
3784 | ||
3785 | * mips-tdep.c (linked_proc_desc_table): Delete, not used. | |
3786 | (mips_insn32_frame_cache): Inline call to find_proc_desc. | |
3787 | (find_proc_desc): Remove dead code. | |
3788 | ||
4fbbbd07 JB |
3789 | 2004-09-01 Joel Brobecker <brobecker@gnat.com> |
3790 | ||
3791 | * mips-tdep.c (mips_mdebug_frame_cache): Minor reformatting. | |
3792 | ||
84acb35a JJ |
3793 | 2004-09-01 Jeff Johnston <jjohnstn@redhat.com> |
3794 | ||
3795 | * observer.sh: Add struct so_list declaration. | |
3796 | * Makefile.in: Add dependencies on observer.h for solib.c and | |
3797 | breakpoint.c. | |
3798 | * breakpoint.c (disable_breakpoints_in_unloaded_shlib): New | |
3799 | function. | |
3800 | (_initialize_breakpoint): Register | |
3801 | disable_breakpoints_in_unloaded_shlib as an observer of the | |
3802 | "solib unloaded" observation event. | |
3803 | (re_enable_breakpoints_in_shlibs): For bp_shlib_disabled breakpoints, | |
3804 | call decode_line_1 so unfound breakpoint errors are silent. | |
3805 | * solib.c (update_solib_list): When a solib is discovered to have | |
3806 | been unloaded by the program, notify all observers of the | |
3807 | "solib unloaded" observation event. | |
3808 | ||
c8cd9f6c AC |
3809 | 2004-09-01 Andrew Cagney <cagney@gnu.org> |
3810 | ||
3811 | * frame.c: Include "objfiles.h". | |
3812 | (inside_main_func): New function. | |
3813 | (get_prev_frame): Use new inside_main_func. | |
3814 | * Makefile.in (frame.o): Update dependencies. | |
3815 | * defs.h (inside_main_func): Delete declaration. | |
3816 | * blockframe.c (inside_main_func): Delete function. | |
3817 | ||
1168df01 JB |
3818 | 2004-08-31 Jim Blandy <jimb@redhat.com> |
3819 | ||
3820 | * dwarf2read.c (is_vtable_name): New function, based on logic from | |
3821 | read_structure_type, but passing the correct length to strncmp, | |
3822 | and using 'sizeof' instead of 'strlen'. | |
3823 | (read_structure_type): Call it. | |
3824 | ||
f14f9744 JB |
3825 | 2004-08-31 Joel Brobecker <brobecker@gnat.com> |
3826 | ||
3827 | * config/powerpc/aix.mh: Add comment. | |
3828 | ||
386d4518 PG |
3829 | 2004-08-31 Paul GIlliam <pgilliam@us.ibm.com> |
3830 | ||
3831 | * MAINTAINERS: Add self to Write-After-Approval. | |
3832 | ||
7d97d5e2 MI |
3833 | 2004-08-30 Manoj Iyer <manjo@austin.ibm.com> |
3834 | ||
3835 | * MAINTAINERS: Add self to Write-After-Approval. | |
3836 | ||
68f53502 AC |
3837 | 2004-08-30 Andrew Cagney <cagney@gnu.org> |
3838 | ||
3839 | Fix PR breakpoints/1757. | |
3840 | * infrun.c (struct execution_control_state): Replace | |
3841 | remove_breakpoints_on_following_step with | |
3842 | step_after_step_resume_breakpoint. | |
3843 | (init_execution_control_state): Update. | |
3844 | (handle_inferior_event): For signals, when stepping off a | |
3845 | breakpoint, set step_after_step_resume_breakpoint. When | |
3846 | BPSTAT_WHAT_STEP_RESUME, do a single-step off the breakpoint. | |
3847 | (keep_going): Delete code handling | |
3848 | remove_breakpoints_on_following_step. | |
3849 | ||
7ca2d3a3 DL |
3850 | 2004-08-29 David Lecomber <david@streamline-computing.com> |
3851 | ||
3852 | Fix PR gdb/648 | |
3853 | * language.h (enum array_ordering): New enum. | |
3854 | * language.h (struct language_defn): New la_array_ordering | |
3855 | attribute. | |
3856 | * language.c (unknown_language_defn, auto_language_defn) | |
3857 | (local_language_defn): Ditto. | |
3858 | * ada-lang.c (ada_language_defn): Ditto. | |
3859 | * c-lang.c (c_language_defn, cplus_language_defn) | |
3860 | (asm_language_defn, minimal_language_defn): Ditto. | |
3861 | * f-lang.c (f_language_defn): Ditto. | |
3862 | * jv-lang.c (java_language_defn): Ditto. | |
3863 | * m2-lang.c (f_language_defn): Ditto. | |
3864 | * objc-lang.c (objc_language_defn): Ditto. | |
3865 | * p-lang.c (pascal_language_defn): Ditto. | |
3866 | * scm-lang.c (scm_language_defn): Ditto. | |
3867 | * eval.c (evaluate_subexp_standard): Assume Fortran arrays are | |
3868 | oriented large to small in type structure. | |
3869 | * dwarf2read.c (read_array_order): New function. | |
3870 | (read_array_type): Use read_array_order to check row/column | |
3871 | major ordering. | |
3872 | ||
e354df01 NW |
3873 | 2004-08-27 Nathan J. Williams <nathanw@wasabisystems.com> |
3874 | ||
3875 | * target.c (target_resize_to_sections): Check | |
3876 | current_target.to_sections for an old value when updating. | |
3877 | ||
9185ddce JB |
3878 | 2004-08-27 Joel Brobecker <brobecker@gnat.com> |
3879 | ||
3880 | * procfs.c (dbx_link_bpt_addr): New static global variable. | |
3881 | (dbx_link_shadow_contents): New static global variable. | |
3882 | (procfs_wait, case <PR_SYSEXIT>): Handle syssgi events. | |
3883 | (procfs_wait, case <FLTBPT>): Remove the __dbx_link brekapoint | |
3884 | if we just hit it. | |
3885 | (procfs_init_inferior): Enable syssgi() syscall trace if appropriate. | |
3886 | Reset dbx_link_bpt_addr as the address of __dbx_link() may change | |
3887 | from run to run. | |
3888 | (procfs_create_inferior): Remove syssgi syscall-exit notifications | |
3889 | after the inferior has been forked. | |
3890 | (remove_dbx_link_breakpoint): New function. | |
3891 | (dbx_link_addr): New function. | |
3892 | (insert_dbx_link_bpt_in_file): New function. | |
3893 | (insert_dbx_link_bpt_in_region): New function. | |
3894 | (insert_dbx_link_breakpoint): New function. | |
3895 | (proc_trace_syscalls_1): New function, extracted from | |
3896 | proc_trace_syscalls. | |
3897 | (proc_trace_syscalls): Replace extract code by call to | |
3898 | proc_trace_syscalls_1. | |
3899 | * solib-irix.c (disable_break): Remove stop_pc assertion, as it | |
3900 | is no longer valid. | |
3901 | ||
e6742ace JB |
3902 | 2004-08-25 Jim Blandy <jimb@redhat.com> |
3903 | ||
3904 | * gdbtypes.h (TYPE_CODE_ARRAY): Doc fix. | |
3905 | ||
8fb3e588 AC |
3906 | 2004-08-25 Andrew Cagney <cagney@gnu.org> |
3907 | ||
629a41ee AC |
3908 | * infrun.c (struct execution_control_state): Delete field |
3909 | "stepping_through_sigtramp". | |
3910 | (init_execution_control_state): Do not set same. | |
3911 | (context_switch): Do not pass same to save_infrun_state and | |
3912 | load_infrun_state. | |
3913 | * gdbthread.h (struct thread_info): Delete field | |
3914 | stepping_through_sigtramp. | |
3915 | (save_infrun_state, load_infrun_state): Delete parameter | |
3916 | stepping_through_sigtramp. | |
3917 | * thread.c (load_infrun_state, save_infrun_state): Update. | |
3918 | ||
8fb3e588 AC |
3919 | * infrun.c: Re-indent. Move expression operators to the beginning |
3920 | of the line. Remove long disabled #if 0 code. | |
3921 | ||
49c54768 AC |
3922 | 2004-08-24 Andrew Cagney <cagney@gnu.org> |
3923 | ||
3924 | * doublest.h (floatformat_ieee_quad): Rename | |
3925 | floatformat_ia64_quad. | |
3926 | * doublest.c (floatformat_ieee_quad): Rename | |
3927 | floatformat_ia64_quad. | |
3928 | (_initialize_doublest): Update. | |
3929 | ||
5ca2e327 JB |
3930 | 2004-08-24 Jim Blandy <jimb@redhat.com> |
3931 | ||
87808bd6 JB |
3932 | * dwarf2expr.h (struct dwarf_expr_context): New members |
3933 | 'num_pieces' and 'pieces', for returning the result of an | |
3934 | expression that uses DW_OP_piece. | |
3935 | (struct dwarf_expr_piece): New struct type. | |
3936 | * dwarf2expr.c (new_dwarf_expr_context): Initialize num_pieces and | |
3937 | pieces. | |
3938 | (free_dwarf_expr_context): Free pieces, if any. | |
3939 | (add_piece): New function. | |
3940 | (execute_stack_op): Implement DW_OP_piece. | |
3941 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): If the result of the | |
3942 | expression is a list of pieces, print an error message. | |
3943 | (dwarf2_loc_desc_needs_frame): If the expression yields | |
3944 | pieces, and any piece is in a register, then we need a frame. | |
3945 | ||
5ca2e327 JB |
3946 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Wait to fetch the top of |
3947 | the stack until we've decided what sort of result the evaluation | |
3948 | has produced. Use separate variables, with more specific names. | |
3949 | ||
2afeb6b8 RE |
3950 | 2004-08-23 Richard Earnshaw <rearnsha@arm.com> |
3951 | ||
3952 | * armnbsd-tdep.c (arm_nbsd_arm_be_breakpoint): Define. | |
3953 | (arm_nbsd_thumb_[lb]e_breakpoint): Define. | |
3954 | (arm_netbsd_init_abi_common): Register them. | |
3955 | ||
5885ab49 MK |
3956 | 2004-08-22 Mark Kettenis <kettenis@gnu.org> |
3957 | ||
fda820a6 MK |
3958 | * config/vax/vax.mh (NATDEPFILES): Add vax-nat.c. |
3959 | ||
1c5bf419 MK |
3960 | * amd64obsd-tdep.c (amd64obsd_sigtramp_p): Use |
3961 | safe_frame_unwind_memory instead of target_read_memory. | |
3962 | ||
8cbba7c8 MK |
3963 | * infptrace.c: Remove #ifdef'ed out inclusion of gdb_stat.h. |
3964 | Reorder includes. | |
3965 | (fetch_register, store_register): Remove prototypes. | |
3966 | (child_resume): Reorganize code and comments such that it is | |
3967 | grouped a bit more logically. | |
3968 | (attach): Explicitly compare errno against 0. | |
3969 | (detach): Likewise. Use perror_with_name instead of | |
3970 | print_sys_errmsg. | |
3971 | * Makefile.in (infptrace.o): Update dependencies. | |
3972 | ||
c5fa4245 MK |
3973 | * ia64-linux-nat.c: Update copyright year. |
3974 | (fetch_debug_register, store_debug_register) | |
3975 | (ia64_linux_stopped_by_watchpoint): Replace PTRACE_ARG3_TYPE with | |
3976 | PTRACE_TYPE_ARG3. | |
3977 | * config/ia64/nm-linux.h: Update copyright year. | |
3978 | (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove defines. | |
3979 | ||
387c058c MK |
3980 | * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Change argument |
3981 | from CORE_ADDR to struct frame_info *. Use | |
3982 | safe_frame_unwind_memory instead of deprecated_read_memory_nobpt. | |
3983 | (amd64_linux_sigtramp_p): Adjust for changed signature of | |
3984 | and64_linux_sigtramp_start | |
3985 | ||
277215a6 MK |
3986 | * gdb_ptrace.h: GNU/Linux. |
3987 | ||
25f6178e MK |
3988 | * config/alpha/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): |
3989 | Remove defines. | |
3990 | ||
652fc137 MK |
3991 | * infptrace.c: Include "gdb_assert.h". |
3992 | (PTRACE_XFER_TYPE): Remove define. | |
3993 | (offsetof): Only define if U_REGS_OFFSET isn't defined. | |
3994 | (fetch_register, store_register): Rewrite to use PTRACE_TYPE_RET. | |
3995 | Tweak comment. | |
3996 | (fetch_inferior_registers, store_inferior_registers): Remove | |
3997 | redundant culry braces. Tweak comment. s/regno/regnum. | |
3998 | * Makefile.in (infptrace.o): Update dependencies. | |
3999 | ||
5885ab49 MK |
4000 | * configure.in: Change test for return type of ptrace to default |
4001 | to `long' instead of `int'. | |
4002 | * configure: Regenerate. | |
4003 | ||
11003ae3 MK |
4004 | 2004-08-21 Mark Kettenis <kettenis@gnu.org> |
4005 | ||
6b95110c MK |
4006 | * config/alpha/alpha-linux.mh (LOADLIBES): New variable. |
4007 | ||
bcb3dc3d MK |
4008 | * configure.in: Check for ttrace function. |
4009 | * configure, config.in: Regenerate. | |
4010 | ||
11003ae3 MK |
4011 | * gdb_ptrace.h: New file. |
4012 | * infptrace.c: Include "gdb_ptrace.h" instead of <ptrace.h> or | |
4013 | <sys/ptrace.h>. | |
4014 | (PT_READ_I, PT_READ_D, PT_READ_U, PT_WRITE_I, PT_WRITE_D) | |
4015 | (PT_WRITE_U, PT_CONTINUE, PT_STEP, PT_KILL): Remove defines. | |
4016 | (attach): Don't define PT_ATTACH. | |
4017 | (detach): Don't define PT_DETACH. | |
4018 | * Makefile.in (gdb_ptrace_h): New variable. | |
4019 | (infptrace.o): Update dependencies. | |
4020 | ||
f8707cac MK |
4021 | 2004-08-16 Mark Kettenis <kettenis@gnu.org> |
4022 | ||
4023 | * inferior.h (PTRACE_ARG3_TYPE): Define as PTRACE_TYPE_ARG3 | |
4024 | instead of `int' if not already defined. | |
4025 | (call_ptrace): Revert change that replaced PTRACE_ARG3_TYPE with | |
4026 | PTRACE_TYPE_ARG3. | |
4027 | * infptrace.c (call_ptrace): Revert change that replaced | |
4028 | PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3. | |
4029 | ||
655c5466 MK |
4030 | 2004-08-15 Mark Kettenis <kettenis@gnu.org> |
4031 | ||
156e5ba7 MK |
4032 | * config/i386/nm-linux64.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): |
4033 | Remove defines. | |
4034 | ||
de9a9e51 MK |
4035 | * linux-nat.c (kill_inferior): Add missing third and fourth |
4036 | arguments to ptrace call. Don't use PTRACE_ARG3_TYPE. | |
4037 | ||
88800403 MK |
4038 | * infptrace.c (child_xfer_memory): Replace PTRACE_XFER_TYPE with |
4039 | PTRACE_TYPE_RET. | |
4040 | ||
849a1d7c MK |
4041 | * proc-why.c (proc_prettyfprint_why): Fix format string. |
4042 | ||
61ad16d1 MK |
4043 | * solib-osf.c (osf_current_sos): Remove unsused label. |
4044 | ||
a6ed5501 MK |
4045 | * configure.in: Add <ncurses/ncurses.h> to the list of possible |
4046 | curses headers. | |
4047 | * configure, config.in: Regenerate. | |
4048 | * gdb_curses.h [HAVE_NCURSES_NCURSES_H]: Include | |
4049 | <ncurses/ncurses.h>. | |
4050 | ||
016ddeca MK |
4051 | * config/nm-bsd.h (PTRACE_ARG3_TYPE): Remove define. |
4052 | * config/nm-nbsd.h: Update copyright year. | |
4053 | (PTRACE_ARG3_TYPE): Remove define. | |
4054 | ||
49ec097f MK |
4055 | * sparc-nat.c (fetch_inferior_registers) |
4056 | (store_inferior_registers, sparc_xfer_wcookie): | |
4057 | Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3. | |
4058 | ||
9f8e0089 MK |
4059 | * alphabsd-nat.c (fetch_inferior_registers): |
4060 | (store_inferior_registers): Replace PTRACE_ARG3_TYPE with | |
4061 | PTRACE_TYPE_ARG3. | |
4062 | * amd64bsd-nat.c (fetch_inferior_registers) | |
4063 | (store_inferior_registers): Replace PTRACE_ARG3_TYPE with | |
4064 | PTRACE_TYPE_ARG3. | |
4065 | * armnbsd-nat.c: Update copyright year. | |
4066 | (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs) | |
4067 | (store_register, store_regs, store_fp_register, store_fp_regs): | |
4068 | Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3. | |
4069 | * hppabsd-nat.c (fetch_inferior_registers) | |
4070 | (store_inferior_registers): Replace PTRACE_ARG3_TYPE with | |
4071 | PTRACE_TYPE_ARG3. | |
4072 | * i386bsd-nat.c (fetch_inferior_registers) | |
4073 | (store_inferior_registers, i386bsd_dr_set, i386bsd_dr_get_status): | |
4074 | Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3. | |
4075 | * m68kbsd-nat.c (fetch_inferior_registers) | |
4076 | (store_inferior_registers): Replace PTRACE_ARG3_TYPE with | |
4077 | PTRACE_TYPE_ARG3. | |
4078 | * m88kbsd-nat.c (fetch_inferior_registers) | |
4079 | (store_inferior_registers): Replace PTRACE_ARG3_TYPE with | |
4080 | PTRACE_TYPE_ARG3. | |
4081 | * mipsnbsd-nat.c: Update copyright year. | |
4082 | (fetch_inferior_registers, store_inferior_registers): | |
4083 | Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3. | |
4084 | * ns32knbsd-nat.c: Update copyright year. | |
4085 | (fetch_inferior_registers, store_inferior_registers): | |
4086 | Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3. | |
4087 | * ppcnbsd-nat.c (fetch_inferior_registers): | |
4088 | (store_inferior_registers): Replace PTRACE_ARG3_TYPE with | |
4089 | PTRACE_TYPE_ARG3. | |
4090 | * ppcobsd-nat.c (fetch_inferior_registers): | |
4091 | (store_inferior_registers): Replace PTRACE_ARG3_TYPE with | |
4092 | PTRACE_TYPE_ARG3. | |
4093 | * shnbsd-nat.c: Update copyright year. | |
4094 | (fetch_inferior_registers, store_inferior_registers): | |
4095 | Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3. | |
4096 | * vaxbsd-nat.c (fetch_inferior_registers) | |
4097 | (store_inferior_registers): Replace PTRACE_ARG3_TYPE with | |
4098 | PTRACE_TYPE_ARG3. | |
4099 | ||
655c5466 MK |
4100 | * inferior.h (call_ptrace): Replace PTRACE_ARG3_TYPE with |
4101 | PTRACE_TYPE_ARG3. | |
4102 | * infptrace.c (call_ptrace, child_resume, attach, detach) | |
4103 | (U_REGS_OFFSET, fetch_register, store_register, child_xfer_memory) | |
4104 | (udot_info): Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3. | |
4105 | * inftarg.c (ptrace_me): Replace PTRACE_ARG3_TYPE with | |
4106 | PTRACE_TYPE_ARG3. | |
4107 | ||
c40d0d10 MK |
4108 | 2004-08-14 Mark Kettenis <kettenis@gnu.org> |
4109 | ||
5cb0ff31 MK |
4110 | * defs.h: Remove out-of-date comment. |
4111 | [!FCLOSE_PROVIDED] (fclose): Remove prototype. | |
4112 | [!GETENV_PROVIDED] (getenv): Remove prototype. | |
4113 | ||
5f0f34cb MK |
4114 | * standalone.c: Remove file. |
4115 | * Makefile.in (standalone.o): Remove dependency. | |
4116 | ||
7532965f MK |
4117 | * i386-linux-nat.c (dummy_sse_values): Remove function and |
4118 | prototype. | |
4119 | (i386_linux_dr_get): Fix typo in comment. | |
4120 | (LINUX_SYSCALL_REGNUM): Define as I386_EAX_REGNUM. | |
4121 | ||
1bdc6c53 MK |
4122 | * config/i386/obsd64.mt (TDEPFILES): Add i386obsd-tdep.o. |
4123 | ||
c40d0d10 MK |
4124 | * defs.h (deprecated_error_hook): Remove RETURN and ATTR_NORETURN |
4125 | from declaration. | |
4126 | * top.c (deprecated_error_hook): Remove RETURN and ATTR_NORETURN | |
4127 | from definition. | |
4128 | ||
64218d3e MK |
4129 | 2004-08-13 Mark Kettenis <kettenis@gnu.org> |
4130 | ||
4131 | * configure.in (PTRACE_TYPE_ARG3, PTRACE_TYPE_ARG5): Don't use | |
4132 | parenthesis in definition. | |
4133 | * configure: Regenerated. | |
4134 | ||
926c94e7 MC |
4135 | 2004-08-12 Michael Chastain <mec.gnu@mindspring.com> |
4136 | ||
4137 | * PROBLEMS: Mention build/1411. | |
4138 | ||
69489883 NN |
4139 | 2004-08-09 Robert Millan <robertmh@gnu.org> |
4140 | ||
4141 | Committed by Nathanael Nerode. | |
4142 | * configure.host: Match kfreebsd*-gnu and knetbsd*-gnu. | |
4143 | * configure.tgt: Match kfreebsd*-gnu and knetbsd*-gnu. | |
4144 | ||
ebb7c577 AC |
4145 | 2004-08-12 Andrew Cagney <cagney@gnu.org> |
4146 | ||
4147 | * NEWS: Mention fixes in GDB 6.2.1. | |
4148 | * PROBLEMS: Remove mention of mips-irix. | |
4149 | ||
232d697c JB |
4150 | 2004-08-11 Joel Brobecker <brobecker@gnat.com> |
4151 | ||
4152 | * config/powerpc/xm-aix.h: Delete. | |
4153 | * config/powerpc/aix.mh (MH_FILE): Remove. | |
4154 | * config/powerpc/aix432.mh (MH_FILE): Remove. | |
4155 | ||
72f4e82b JB |
4156 | 2004-08-11 Joel Brobecker <brobecker@gnat.com> |
4157 | ||
4158 | * config/powerpc/aix.mh: Remove obsolete comment. | |
4159 | * config/powerpc/aix432.mh: Likewise. | |
4160 | ||
0687ccb2 JB |
4161 | 2004-08-11 Joel Brobecker <brobecker@gnat.com> |
4162 | ||
4163 | * config/powerpc/xm-aix.h (UINT_MAX): Remove undef. | |
4164 | ||
dbf3ada7 JB |
4165 | 2004-08-11 Joel Brobecker <brobecker@gnat.com> |
4166 | ||
e08e1886 JB |
4167 | * config/rs6000/xm-aix4.h: Remove "config/xm-aix4.h" include, |
4168 | this file is now empty. | |
4169 | * config/xm-aix4.h: Remove, this file is no longer included | |
4170 | anywhere. | |
4171 | ||
4172 | 2004-08-11 Joel Brobecker <brobecker@gnat.com> | |
4173 | ||
4174 | * config/powerpc/xm-aix.h: Remove "config/xm-aix4.h" include, | |
4175 | that file is now empty. | |
dbf3ada7 JB |
4176 | (termdef): Remove prototype, function no longer used. |
4177 | ||
4c525ef6 JB |
4178 | 2004-08-11 Joel Brobecker <brobecker@gnat.com> |
4179 | ||
4180 | * doc/gdbint.texinfo (Host Definition): Remove documentation | |
4181 | for USE_O_NOCTTY, no longer used. | |
4182 | * config/xm-aix4.h (USE_O_NOCTTY): Remove, no longer used. | |
4183 | * config/rs6000/xm-rs6000.h (USE_O_NOCTTY): Likewise. | |
4184 | ||
82e0b968 JB |
4185 | 2004-08-11 Joel Brobecker <brobecker@gnat.com> |
4186 | ||
4187 | * config/xm-aix4.h (FIVE_ARG_PTRACE): Remove, no longer used. | |
4188 | * config/pa/nm-hppah.h (FIVE_ARG_PTRACE): Likewise. | |
4189 | * config/rs6000/xm-rs6000.h (FIVE_ARG_PTRACE): Likewise. | |
4190 | ||
f2acbe1c MK |
4191 | 2004-08-11 Mark Kettenis <kettenis@gnu.org> |
4192 | ||
daa98270 MK |
4193 | * infptrace.c (call_ptrace): Select code based on PTRACE_TYPE_ARG5 |
4194 | instead of FIVE_ARG_PTRACE. | |
4195 | ||
f2acbe1c MK |
4196 | * inflow.c (O_NOCTTY): Define to zero if not already defined. |
4197 | (new_tty): Use O_NOCTTY unconditionally. | |
4198 | ||
cc377e6b MK |
4199 | 2004-08-10 Mark Kettenis <kettenis@gnu.org> |
4200 | ||
4201 | * procfs.c (procfs_detach): Cleanup. Print process ID, not LWP | |
4202 | ID. Use comma in output. Use gdb_flush on gdb_stdout instead of | |
4203 | fflush on stdout. | |
4204 | ||
3bcc18fa JB |
4205 | 2004-08-10 Joel Brobecker <brobecker@gnat.com> |
4206 | ||
4207 | * xcoff_symfile_finish: Replace last call to xmfree by call | |
4208 | to xfree. | |
4209 | ||
7936743b AC |
4210 | 2004-08-10 Andrew Cagney <cagney@gnu.org> |
4211 | ||
cc503c8a AC |
4212 | * main.c (captured_main): Delete call to init_malloc. |
4213 | * defs.h (init_malloc): Delete declaration. | |
4214 | * utils.c (mmalloc, mrealloc, mcalloc, mfree) | |
4215 | (init_malloc): Delete functions. | |
4216 | ||
2dc74dc1 AC |
4217 | * defs.h (xmfree): Delete. |
4218 | * utils.c (xmfree): Delete function. | |
4219 | (xfree): Inline calls to xmfree and mfree. | |
4220 | * symmisc.c (free_symtab_block, free_symtab): Use xfree. | |
4221 | * symfile.c (reread_symbols, init_psymbol_list): Ditto. | |
4222 | * source.c (forget_cached_source_info, find_and_open_source): Ditto. | |
4223 | * somread.c (som_symfile_finish): Ditto. | |
4224 | * objfiles.c (allocate_objfile, free_objfile): | |
4225 | * nlmread.c (nlm_symfile_finish): Ditto. | |
4226 | * hpread.c (hpread_symfile_finish): Ditto. | |
4227 | * elfread.c (free_elfinfo, elf_symfile_finish): Ditto. | |
4228 | * dbxread.c (dbx_symfile_finish, free_bincl_list): Ditto. | |
4229 | * coffread.c (coff_symfile_finish): Ditto. | |
4230 | ||
aa2ee5f6 AC |
4231 | * defs.h (xmcalloc): Delete declaration. |
4232 | * utils.c (xmcalloc): Delete. | |
4233 | (xcalloc): Inline calls to xmcalloc and mcalloc. | |
4234 | * ada-lang.c (_initialize_ada_language): Use htab_create_alloc, | |
4235 | xcalloc and xfree. | |
4236 | * symtab.c (create_demangled_names_hash): Ditto. | |
4237 | ||
0efffb96 AC |
4238 | * defs.h (xmrealloc): Delete. |
4239 | * utils.c (xmrealloc): Delete. | |
4240 | (xrealloc): Inline calls to xmrealloc, mmalloc and mrealloc. | |
4241 | * symmisc.c (extend_psymbol_list): Use xrealloc. | |
4242 | * source.c (find_source_lines): Ditto. | |
4243 | * hpread.c (hpread_lookup_type): Ditto. | |
4244 | * dbxread.c (add_bincl_to_list): Ditto. | |
4245 | ||
7936743b AC |
4246 | * utils.c (xmmalloc): Delete. |
4247 | (xmalloc): Inline xmmalloc and mmalloc calls. | |
4248 | (msavestring): Use xmalloc. | |
4249 | * defs.h (xmmalloc): Delete declaration. | |
4250 | * xcoffread.c (xcoff_symfile_init): Use xmalloc instead of | |
4251 | xmmalloc. | |
4252 | * symmisc.c (extend_psymbol_list): Ditto. | |
4253 | * symfile.c (init_psymbol_list): Ditto. | |
4254 | * source.c (find_source_lines): Ditto. | |
4255 | * hpread.c (hpread_symfile_init, hpread_lookup_type): Ditto. | |
4256 | * elfread.c (elf_symtab_read): Ditto. | |
4257 | * dbxread.c (dbx_symfile_init, init_bincl_list): Ditto. | |
4258 | * coffread.c (coff_symfile_init): Ditto. | |
4259 | ||
252ab814 DC |
4260 | 2004-08-10 David Carlton <carlton@bactrian.org> |
4261 | ||
4262 | * MAINTAINERS: Remove David Carlton from c++ testsuite | |
4263 | maintainers. | |
4264 | ||
8f5ba92b JG |
4265 | 2004-08-10 Jerome Guitton <guitton@gnat.com> |
4266 | ||
4267 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure to | |
4268 | print a line feed before the prompt. | |
4269 | ||
21749010 MK |
4270 | 2004-08-10 Mark Kettenis <kettenis@gnu.org> |
4271 | ||
4272 | * procfs.c (procfs_pid_to_str): Use "%ld" to print LWP. | |
4273 | ||
1f011ce2 JB |
4274 | 2004-08-09 Joel Brobecker <brobecker@gnat.com> |
4275 | ||
4276 | General cleanup of the AIX xm include file: | |
4277 | * config/xm-aix4.h (fd_set): Remove undefine. | |
4278 | Remove include of <sys/select.h>. | |
4279 | (HAVE_TERMIO): Remove define. | |
4280 | (USG): Likewise. | |
4281 | (NULL): Remove redefine. | |
4282 | (alloca): Remove #pragma. | |
4283 | (vfork): Remove define. | |
4284 | (termdef): Remove. | |
4285 | (SIGWINCH_HANDLER): Remove. | |
4286 | (SIGWINCH_HANDLER_BODY): Remove. | |
4287 | ||
cf4e7692 MK |
4288 | 2004-08-09 Mark Kettenis <kettenis@gnu.org> |
4289 | ||
4290 | * configure.tgt (x86_64-*-openbsd*): Set gdb_osabi to | |
4291 | GDB_OSABI_OPENBSD_ELF. | |
4292 | ||
ac5754fa MK |
4293 | 2004-08-07 Robert Millan <robertmh@gnu.org> |
4294 | ||
4295 | * bsd-kvm.c: Check for nlist.h before including it. | |
4296 | ||
086ec9eb MK |
4297 | 2004-08-09 Mark Kettenis <kettenis@gnu.org> |
4298 | ||
bbe06c74 MK |
4299 | * i386bsd-nat.c (_initialize_i386bsd_nat): Remove `struct |
4300 | sigcontext' offset consistency checks for ancient BSD. | |
4301 | ||
3aa7b3b3 MK |
4302 | * gdb_curses.h [HAVE_CURSESX_H]: Include <cursesX.h> |
4303 | ||
086ec9eb MK |
4304 | * configure.in: Check for <sys/types.h>. Check return and |
4305 | argument types of ptrace. | |
4306 | * configure, config.in: Regenerate. | |
4307 | ||
09991fa0 JB |
4308 | 2004-08-09 Jim Blandy <jimb@redhat.com> |
4309 | ||
4310 | * rs6000-tdep.c (set_sim_regno, init_sim_regno_table, | |
4311 | rs6000_register_sim_regno): Doc fixes. | |
4312 | ||
fed7ba43 JB |
4313 | 2004-08-08 Joel Brobecker <brobecker@gnat.com> |
4314 | ||
4315 | * mips-tdep.c: Include "floatformat.h". | |
4316 | (n32n64_floatformat_always_valid): New function. | |
4317 | (floatformat_n32n64_long_double_big): New constant. | |
4318 | (mips_gdbarch_init): Set size and format of long double | |
4319 | for N32 and N64 ABIs. | |
4320 | * Makefile.in (mips-tdep.o): Update dependencies. | |
4321 | ||
456fcf94 AC |
4322 | 2004-08-08 Andrew Cagney <cagney@gnu.org> |
4323 | ||
2f9b146e AC |
4324 | * gdbarch.sh: Delete "fmt" and "attrib" fields. Always use %s to |
4325 | print. Improve script's error messages. | |
4326 | * gdbarch.h: Re-generate. | |
4327 | ||
456fcf94 AC |
4328 | * gdbarch.sh (pformat): New function. |
4329 | (float_format, double_format, long_double_format): List with bit | |
4330 | members. Use pformat when printing. | |
4331 | * gdbarch.c, gdbarch.h: Re-generate. | |
4332 | ||
69e9e646 NW |
4333 | 2004-08-08 Nathan J. Williams <nathanw@wasabisystems.com> |
4334 | ||
4335 | * ppcnbsd-nat.c: Include <machine/frame.h>, <machine/pcb.h>, | |
4336 | "gdbcore.h", "regcache.h", and "bsd-kvm.h". | |
4337 | (ppcnbsd_supply_pcb): New function. | |
4338 | (_initialize_ppcnbsd_nat): New prototype and function. | |
4339 | * config/powerpc/nbsd.mh (NATDEPFILES): Add bsd-kvm.o. | |
4340 | (LOADLIBES): New variable. | |
4341 | * Makefile.in (ppcnbsd-nat.o): Update dependencies. | |
4342 | ||
5ef2d0aa AC |
4343 | 2004-08-08 Andrew Cagney <cagney@gnu.org> |
4344 | ||
4345 | * gdbtypes.c (builtin_type_arm_ext, builtin_type_ieee_single) | |
4346 | (builtin_type_ieee_double, builtin_type_ia64_quad) | |
4347 | (builtin_type_ia64_spill, _initialize_gdbtypes): Add tables of | |
4348 | BE/LE floating-point types. | |
4349 | * gdbtypes.h (builtin_type_arm_ext, builtin_type_ieee_single) | |
4350 | (builtin_type_ieee_double, builtin_type_ia64_quad) | |
4351 | (builtin_type_ia64_spill): Declare. | |
4352 | * doublest.c (_initialize_doublest, floatformat_ieee_single) | |
4353 | (floatformat_ieee_double, floatformat_arm_ext) | |
4354 | (floatformat_ia64_spill, floatformat_ia64_quad): Add tables | |
4355 | of LE/BE floatformats. | |
4356 | * doublest.h: (struct floatformat, floatformat_ieee_single) | |
4357 | (floatformat_ieee_double, floatformat_arm_ext) | |
4358 | (floatformat_ia64_spill, floatformat_ia64_quad): Declare. | |
4359 | ||
5c7f2947 MK |
4360 | 2004-08-08 Mark Kettenis <kettenis@gnu.org> |
4361 | ||
ecac404d MK |
4362 | * i386gnu-nat.c (gnu_store_registers): Fix typo. |
4363 | ||
9b8607ce MK |
4364 | * i386gnu-nat.c (gnu_store_registers): Use regcache_raw_collect |
4365 | instead of regcache_raw_supply when storing the registers. | |
4366 | ||
f6052080 MK |
4367 | * i386gnu-nat.c: Update copyright year. |
4368 | (gnu_store_registers): Don't use deprecated_registers and | |
4369 | deprecated_registers_valid. Use regcache_valid_p and | |
4370 | regcache_raw_supply instead. | |
4371 | ||
17777823 MK |
4372 | * vax-tdep.c (vax_frame_this_id): Use frame_func_unwind instead of |
4373 | frame_pc_unwind. | |
4374 | ||
5240ceac MK |
4375 | * procfs.c (procfs_pid_to_str): Remove redundant and unused |
4376 | variables. Incapitalized "process". | |
4377 | ||
5c7f2947 MK |
4378 | * configure.in: Add cursesX to the list of possible curses libs. |
4379 | Add cursesX.h to the list of possible curses headers. | |
4380 | * configure, config.in: Regenerate. | |
4381 | ||
da7d81e3 NW |
4382 | 2004-08-07 Nathan J. Williams <nathanw@wasabisystems.com> |
4383 | ||
4384 | * configure.in: Test for struct lwp in <sys/lwp.h>. | |
4385 | * bsd-kvm.c (bsd_kvm_proc_cmd): If HAVE_STRUCT_LWP is defined, use | |
4386 | the offset of l_addr in struct lwp. | |
4387 | ||
7f245d65 NW |
4388 | 2004-08-07 Nathan J. Williams <nathanw@wasabisystems.com> |
4389 | ||
4390 | * bsd-kvm.c: Include "gdbcore.h" | |
4391 | (bsd_kvm_open): Use get_exec_file() to set 'execfile'. | |
4392 | ||
47b3f456 AC |
4393 | 2004-08-07 Andrew Cagney <cagney@gnu.org> |
4394 | ||
70bd8e24 AC |
4395 | * gdbtypes.c (build_flt, build_complex): New functions. |
4396 | (gdbtypes_post_init): Use. | |
4397 | ||
9b0dea39 AC |
4398 | * doublest.c (floatformat_from_length): Fix tipo, "*" not "&". |
4399 | ||
5cf7abac AC |
4400 | * gdbtypes.c (_initialize_gdbtypes): Do not swap builtin_type_int8 |
4401 | through to builtin_type_uint128. | |
4402 | ||
64d2b26d AC |
4403 | * c-exp.y: Use builtin_type function to obtain builtin types. |
4404 | ||
7ad6570d AC |
4405 | * gdbtypes.h (struct builtin_type): Delete builtin_int0 through to |
4406 | builtin_uint128. | |
4407 | * gdbtypes.c (gdbtypes_post_init): Update. | |
4408 | (build_gdbtypes): Move initialization of builtin_type_int0 | |
4409 | through to builtin_type_uint128 from here ... | |
4410 | (_initialize_gdbtypes): ... to here. | |
4411 | * d10v-tdep.c (d10v_register_type): Update. | |
4412 | ||
47b3f456 AC |
4413 | * doublest.c: Update copyright. |
4414 | (floatformat_from_length): Call error when floatformat is NULL. | |
4415 | (extract_floating_by_length): Remove NULL fmt check. | |
4416 | (store_floating_by_length): Ditto. | |
4417 | ||
0a8146bf AC |
4418 | 2004-08-07 Andrew Cagney <cagney@gnu.org> |
4419 | ||
4420 | * regcache.c (regcache_raw_read): For the moment, #ifdef assert | |
4421 | that the register is valid. | |
4422 | ||
c0ccb908 MK |
4423 | 2004-08-05 Mark Kettenis <kettenis@chello.nl> |
4424 | ||
8e6bed05 MK |
4425 | * i386-linux-tdep.c (i386_linux_sigtramp_start) |
4426 | (i386_linux_rt_sigtramp_start): Change argument from CORE_ADDR to | |
4427 | struct frame_info *. Use safe_frame_unwind_memory instead of | |
4428 | deprecated_read_memory_nobpt. | |
4429 | (i386_linux_sigtramp_p, i386_linux_sigcontext_addr): Adjust for | |
4430 | changed signature of i386_linux_sigtramp_start and | |
4431 | i386_linux_rt_sigtramp_start. | |
4432 | ||
24f9f5e3 MK |
4433 | * i386nbsd-tdep.c (i386nbsd_sigtramp_offset): Change argument from |
4434 | CORE_ADDR to struct frame_info *. Use safe_frame_unwind_memory | |
4435 | instead of deprecated_read_memory_nobpt. | |
4436 | (i386nbsd_sigtramp_p): Adjust for changed signature of | |
4437 | i386nbsd_sigtramp_offset. | |
4438 | ||
c822af0c MK |
4439 | * i386obsd-tdep.c (i386obsd_sigtramp_p): Use |
4440 | safe_frame_unwind_memory instead of target_read_memory. | |
4441 | ||
c0ccb908 MK |
4442 | * infptrace.c: Include <sys/file.h> if HAVE_SYS_FILE_H instead of |
4443 | !NO_SYS_FILE. | |
4444 | [KERNEL_U_ADDR_BSD]: Don't include <a.out.h>. | |
4445 | [KERNEL_U_ADDR_BSD] (kernel_u_addr): Remove variable. | |
4446 | (_initialize_kernel_u_addr): Remove prototype and function. | |
4447 | * infttrace.c: Include <sys/file.h> if HAVE_SYS_FILE_H instead of | |
4448 | !NO_SYS_FILE. | |
4449 | * xcoffread.c: Likewise. | |
4450 | ||
b9e1c0d6 MK |
4451 | 2004-08-06 Mark Kettenis <kettenis@gnu.org> |
4452 | ||
4453 | * vax-nat.c: New file. | |
4454 | * vaxbsd-nat.c: Tweak comment. | |
4455 | * Makefile.in (ALLDEPFILES): Add vax-nat.c, vaxbsd-nat.c and | |
4456 | vaxnbsd-tdep.c. | |
4457 | (vax-nat.o): New dependency. | |
4458 | * configure.host (vax-*-bsd*, vax-*-ultrix*): Set gdb_host to vax. | |
4459 | (vax-*-ultrix2*): Remove. | |
4460 | * config/vax/vax.mh: New file. | |
4461 | * config/vax/nm-vax.h (vax_kernel_u_addr): New extern declaration. | |
4462 | (KERNEL_U_ADDR): Define as vax_kernel_u_addr. | |
4463 | (vax_register_u_addr): New prototype. | |
4464 | (REGISTER_U_ADDR): Define using vax_register_u_addr. | |
4465 | * config/vax/vaxult2.mh: Remove file. | |
4466 | * config/vax/vaxult.mh: Remove file. | |
4467 | * config/vax/vaxbsd.mh: Remove file. | |
4468 | * config/vax/vax.mt (TM_FILE): Remove. | |
4469 | * config/vax/tm-vaxbsd.h: Remove file. | |
4470 | ||
9ad7bec7 JB |
4471 | 2004-08-06 Joel Brobecker <brobecker@gnat.com> |
4472 | ||
4473 | * aix-thread.c (get_signaled_thread): New function. | |
4474 | (iter_trap): Delete, no longer used. | |
4475 | (iter_tid): New function. | |
4476 | (pd_update): Find the thread that received the SIGTRAP signal | |
4477 | by first locating the kernel thread, and then finding its | |
4478 | associated thread. | |
4479 | ||
bf0d233d UW |
4480 | 2004-08-06 Ulrich Weigand <uweigand@de.ibm.com> |
4481 | ||
4482 | * lin-lwp.c (child_wait): Continue inferior after processing | |
4483 | PTRACE_EVENT_CLONE event. | |
4484 | ||
d0f853e1 NN |
4485 | 2004-08-05 Nathanael Nerode <neroden@gcc.gnu.org> |
4486 | ||
4487 | * MAINTAINERS: Add self to Write-After-Approval. | |
4488 | ||
ab14aeb0 JJ |
4489 | 2004-08-05 Jeff Johnston <jjohnstn@redhat.com> |
4490 | ||
4491 | * libunwind-frame.c (LIBUNWIND_SO): Change to be of form: | |
4492 | libunwind-xxxx.so" where xxxx is UNW_TARGET. | |
4493 | ||
9c8dbfa9 AC |
4494 | 2004-08-05 Andrew Cagney <cagney@gnu.org> |
4495 | ||
c8f3ca46 AC |
4496 | * config/xm-sysv4.h: Delete file. |
4497 | * config/mips/xm-irix5.h: Delete file. | |
4498 | * config/mips/irix6.mh (XM_FILE, XM_CLIBS): Delete. | |
4499 | * config/mips/irix5.mh (XM_FILE, XM_CLIBS): Delete. | |
4500 | * config/ia64/xm-aix.h: Delete file. | |
4501 | * config/ia64/aix.mh (XM_FILE): Delete. | |
4502 | * config/pa/xm-hppah.h: Delete file. | |
4503 | * config/pa/hpux11w.mh (XM_FILE): Delete. | |
4504 | * config/pa/hpux11.mh (XM_FILE): Delete. | |
4505 | * config/pa/hpux1020.mh (XM_FILE): Delete. | |
4506 | * config/pa/hppahpux.mh (XM_FILE): Delete. | |
4507 | ||
5f7daaff AC |
4508 | * config/alpha/xm-alphalinux.h: Delete file. |
4509 | * config/djgpp/fnchange.lst: Do not fix xm-alphalinux.h. | |
4510 | * config/alpha/alpha-linux.mh (XM_FILE, LOADLIBES): Delete. | |
4511 | * config/alpha/xm-alphaosf.h: Delete file. | |
4512 | * config/djgpp/fnchange.lst: Do not fix xm-alphaosf.h. | |
4513 | * config/alpha/alpha-osf3.mh (XM_FILE): Delete. | |
4514 | * config/alpha/alpha-osf2.mh (XM_FILE): Delete. | |
4515 | * config/alpha/alpha-osf1.mh (XM_FILE): Delete. | |
4516 | ||
69babf95 AC |
4517 | * config/i386/xm-i386v.h: Delete file. |
4518 | * config/i386/i386v.mh (XM_FILE, XM_CLIBS): Delete. | |
4519 | * config/i386/i386sco5.mh (XM_FILE, XM_CLIBS): Delete. | |
4520 | * config/i386/xm-i386sco.h: Delete file. | |
4521 | * config/i386/i386sco4.mh (XM_FILE, XM_CLIBS, MH_CFLAGS): Delete. | |
4522 | * config/i386/i386sco.mh (XM_FILE, XM_CLIBS, CC): Delete. | |
4523 | * config/i386/xm-i386v4.h: Delete file. | |
4524 | * config/djgpp/fnchange.lst: Do not fix xm-i386v4.h. | |
4525 | * config/i386/ncr3000.mh (CC, CFLAGS, XM_FILE): Delete. | |
4526 | * config/i386/i386v42mp.mh (XM_FILE, XM_CLIBS): Delete. | |
4527 | * config/i386/i386v4.mh (XM_FILE, XM_CLIBS): Delete. | |
4528 | ||
6f009c8a AC |
4529 | * config/vax/xm-vax.h: Delete file. |
4530 | * Makefile.in (xm-vaxult.h, xm-vaxbsd.h): Delete. | |
4531 | * config/vax/xm-vaxult2.h: Delete file. | |
4532 | * config/djgpp/fnchange.lst: Do not fix xm-vaxult2.h. | |
4533 | * config/vax/vaxult2.mh (XM_FILE): Delete. | |
4534 | * config/vax/xm-vaxult.h: Delete file. | |
4535 | * config/vax/vaxult.mh (XM_FILE): Delete. | |
4536 | * config/vax/xm-vaxbsd.h: Delete file. | |
4537 | * config/vax/vaxbsd.mh (XM_FILE): Delete. | |
4538 | ||
9c8dbfa9 AC |
4539 | * gdbarch.sh (deprecated_frame_saved_pc): Delete. |
4540 | * gdbarch.h, gdbarch.c: Re-generate. | |
4541 | * regcache.c (deprecated_read_fp, deprecated_write_sp): Delete. | |
4542 | * inferior.h (deprecated_read_fp, deprecated_write_sp): Delete. | |
4543 | * frame.h: Delete deprecated_read_fp from comments. | |
4544 | * arch-utils.c (deprecated_init_frame_pc_default): Delete. | |
4545 | * arch-utils.h (deprecated_init_frame_pc_default): Delete. | |
4546 | ||
84367a3e MK |
4547 | 2004-08-04 Mark Kettenis <kettenis@gnu.org> |
4548 | ||
9c8e3411 MK |
4549 | * i386obsd-tdep.c (i386obsd_sigtramp_p): Adjust for changed signal |
4550 | trampoline in OpenBSD 3.5-current. | |
4551 | ||
b87bc0d8 MK |
4552 | * i387-tdep.c (i387_supply_fsave): Provide summy values for the |
4553 | SSE registers. | |
4554 | ||
84367a3e MK |
4555 | * Makefile.in: Remove embedded page breaks. |
4556 | ||
a44bddec JB |
4557 | 2004-08-04 Jim Blandy <jimb@redhat.com> |
4558 | ||
7ab3286f JB |
4559 | * regcache.c (regcache_raw_read): Assert that, after calling |
4560 | target_fetch_registers, the register we're reading is cached. | |
4561 | ||
a44bddec JB |
4562 | * ppc-linux-nat.c (fetch_register): Replace 'gdb_assert (0)' with |
4563 | a call to 'internal_error', with a more helpful error message. | |
4564 | * rs6000-tdep.c (e500_pseudo_register_read, | |
870d65d5 | 4565 | e500_pseudo_register_write, rs6000_store_return_value): Same. |
a44bddec | 4566 | |
35124113 AC |
4567 | 2004-08-04 Andrew Cagney <cagney@gnu.org> |
4568 | ||
4569 | * Makefile.in: Update dependencies. | |
4570 | ||
9f643768 JB |
4571 | 2004-08-04 Jim Blandy <jimb@redhat.com> |
4572 | ||
6ced10dd JB |
4573 | Change the layout of the PowerPC E500 raw register cache to allow |
4574 | the lower 32-bit halves of the GPRS to be their own raw registers, | |
4575 | not pseudoregisters. | |
4576 | * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_gprs_pseudo_p flag; | |
4577 | add ppc_ev0_upper_regnum flag. | |
4578 | * rs6000-tdep.c: #include "reggroups.h". | |
4579 | (spe_register_p): Recognize the ev upper half registers as SPE | |
4580 | registers. | |
4581 | (init_sim_regno_table): Build gdb->sim mappings for the upper-half | |
4582 | registers. | |
4583 | (e500_move_ev_register): New function. | |
4584 | (e500_pseudo_register_read, e500_pseudo_register_write): The 'ev' | |
4585 | vector registers are the pseudo-registers now, formed by splicing | |
4586 | together the gprs and the upper-half registers. | |
4587 | (e500_register_reggroup_p): New function. | |
4588 | (P): Macro deleted. | |
4589 | (P8, A4): New macro. | |
4590 | (PPC_EV_REGS, PPC_GPRS_PSEUDO_REGS): Macros deleted. | |
4591 | (PPC_SPE_GP_REGS, PPC_SPE_UPPER_GP_REGS, PPC_EV_PSEUDO_REGS): New | |
4592 | macros. | |
4593 | (registers_e500): Rearrange register set so that the raw register | |
4594 | set contains 32-bit GPRs and upper-half registers, and the SPE | |
4595 | vector registers become pseudo-registers. | |
4596 | (rs6000_gdbarch_init): Don't initialize tdep->ppc_gprs_pseudo_p; | |
4597 | it has been deleted. Initialize ppc_ev0_upper_regnum. Many other | |
4598 | register numbers are now the same for the E500 as they are for | |
4599 | other PowerPC variants. Register e500_register_reggroup_p as the | |
4600 | register group function for the E500. | |
4601 | * Makefile.in (rs6000-tdep.o): Update dependencies. | |
4602 | ||
4603 | Adapt PPC E500 native support to the new raw regcache layout. | |
4604 | * ppc-linux-nat.c (struct gdb_evrregset_t): Doc fixes. | |
4605 | (read_spliced_spe_reg, write_spliced_spe_reg): Deleted. | |
4606 | (fetch_spe_register, store_spe_register): Handle fetching/storing | |
4607 | all the SPE registers at once, if regno == -1. These now take | |
4608 | over the job of fetch_spe_registers and store_spe_registers. | |
4609 | (fetch_spe_registers, store_spe_registers): Deleted. | |
4610 | (fetch_ppc_registers, store_ppc_registers): Fetch/store gprs | |
4611 | unconditionally; they're always raw. Fetch/store SPE upper half | |
4612 | registers, if present, instead of ev registers. | |
4613 | (fetch_register, store_register): Remove sanity checks: gprs are | |
4614 | never pseudo-registers now, so we never need to even mention any | |
4615 | registers that are ever pseudoregisters. | |
4616 | ||
9f643768 JB |
4617 | Use a fixed register numbering when communicating with the PowerPC |
4618 | simulator. | |
4619 | * ppc-tdep.h (struct gdbarch_tdep): New member: 'sim_regno'. | |
4620 | * rs6000-tdep.c: #include "sim-regno.h" and "gdb/sim-ppc.h". | |
4621 | (set_sim_regno, init_sim_regno_table, rs6000_register_sim_regno): | |
4622 | New functions. | |
4623 | (rs6000_gdbarch_init): Register rs6000_register_sim_regno. Call | |
4624 | init_sim_regno_table. | |
4625 | * Makefile.in (gdb_sim_ppc_h): New variable. | |
4626 | (rs6000-tdep.o): Update dependencies. | |
4627 | ||
1e2279c8 AC |
4628 | 2004-08-02 Andrew Cagney <cagney@gnu.org> |
4629 | ||
1d94326f AC |
4630 | * cris-tdep.c (cris_register_size): Restore function, still used |
4631 | locally. | |
4632 | ||
331ae7ed AC |
4633 | * gdbarch.sh (deprecated_target_read_fp) |
4634 | (deprecated_frame_locals_address, deprecated_frame_args_address) | |
4635 | (deprecated_frame_chain_valid, deprecated_frame_chain) | |
4636 | (deprecated_init_extra_frame_info, deprecated_pop_frame) | |
4637 | (deprecated_frame_init_saved_regs, deprecated_get_saved_register) | |
4638 | (deprecated_do_registers_info, deprecated_init_frame_pc): Delete. | |
4639 | * gdbarch.h, gdbarch.c: Re-generate. | |
4640 | * regcache.c (deprecated_read_fp): Do not call | |
4641 | DEPRECATED_TARGET_READ_FP_P. | |
4642 | * infcmd.c (default_print_registers_info): Do not call | |
4643 | DEPRECATED_DO_REGISTERS_INFO. | |
4644 | * frame-base.c (default_frame_locals_address): Do not call | |
4645 | DEPRECATED_FRAME_LOCALS_ADDRESS. | |
4646 | (default_frame_args_address): Do not call | |
4647 | DEPRECATED_FRAME_ARGS_ADDRESS. | |
4648 | ||
1e2279c8 AC |
4649 | * gdbarch.sh (deprecated_register_raw_size) |
4650 | (deprecated_register_virtual_size:int): Delete. | |
4651 | * gdbarch.h, gdbarch.c: Re-generate. | |
4652 | * cris-tdep.c (cris_register_size): Delete. | |
4653 | (cris_gdbarch_init): Update. | |
4654 | * alpha-tdep.c (alpha_register_raw_size) | |
4655 | (alpha_register_virtual_size): Delete. | |
4656 | (alpha_gdbarch_init): Update. | |
4657 | ||
a90c06b4 AC |
4658 | * gdbarch.sh (deprecated_register_virtual_type) |
4659 | (deprecated_save_dummy_frame_tos, deprecated_push_return_address) | |
4660 | (deprecated_dummy_write_sp): Delete. | |
4661 | * gdbarch.h, gdbarch.c: Re-generate. | |
4662 | ||
f42accbe AC |
4663 | * gdbarch.sh (deprecated_register_bytes): Delete. |
4664 | * gdbarch.h, gdbarch.c: Re-generate. | |
4665 | * regcache.c (deprecated_register_bytes): New function. | |
4666 | * regcache.h (deprecated_register_bytes): Declare. | |
4667 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
4668 | * v850-tdep.c (v850_gdbarch_init): Update. | |
4669 | * sh64-tdep.c (sh64_gdbarch_init): Update. | |
4670 | * ns32k-tdep.c (ns32k_gdbarch_init_32082): Update. | |
4671 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
4672 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
4673 | * cris-tdep.c (cris_gdbarch_init): Update. | |
4674 | * arm-tdep.c (arm_gdbarch_init): Update. | |
4675 | * remote.c (init_remote_state): Update. | |
4676 | * remote-vx.c (vx_prepare_to_store): Update. | |
4677 | * remote-sds.c (sds_fetch_registers, sds_prepare_to_store): Update. | |
4678 | * irix5-nat.c (fetch_core_registers): Update. | |
4679 | * cris-tdep.c (cris_register_bytes_ok): Update. | |
4680 | * config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update. | |
4681 | ||
45c9dd44 AC |
4682 | * mips-tdep.c (mips_gdbarch_init, mips_insn16_frame_cache) |
4683 | (mips_insn16_frame_this_id, mips_insn16_frame_prev_register) | |
4684 | (mips_insn16_frame_unwind, mips_insn16_frame_sniffer) | |
4685 | (mips_insn16_frame_base_address, mips_insn16_frame_base) | |
4686 | (mips_insn16_frame_base_sniffer, mips_insn32_frame_cache) | |
4687 | (mips_insn32_frame_this_id, mips_insn32_frame_prev_register) | |
4688 | (mips_insn32_frame_unwind, mips_insn32_frame_sniffer) | |
4689 | (mips_insn32_frame_base_address, mips_insn32_frame_base) | |
4690 | (mips_insn32_frame_base_sniffer): Replace mips16 / mips32 prefix | |
4691 | with mips_insn16 and mips_insn32. | |
4692 | ||
3acba339 AC |
4693 | Replace DEPRECATED_REGISTER_RAW_SIZE with register_size. |
4694 | * rs6000-tdep.c (rs6000_push_dummy_call) | |
4695 | (rs6000_extract_return_value): Use register_size. | |
4696 | * xstormy16-tdep.c (xstormy16_get_saved_register) | |
4697 | (xstormy16_extract_return_value): Ditto. | |
4698 | * valops.c (value_assign): Ditto. | |
4699 | * v850ice.c (v850ice_fetch_registers, v850ice_store_registers): | |
4700 | * v850-tdep.c (v850_extract_return_value): Ditto. | |
4701 | * tracepoint.c (collect_symbol): Ditto. | |
4702 | * target.c (debug_print_register): Ditto. | |
4703 | * stack.c (frame_info): Ditto. | |
4704 | * rs6000-nat.c (ARCH64, fetch_register, store_register): Ditto. | |
4705 | * rom68k-rom.c (rom68k_supply_one_register): Ditto. | |
4706 | * remote.c (struct packet_reg, remote_wait, remote_async_wait) | |
4707 | (store_register_using_P): Ditto. | |
4708 | * remote-vxmips.c (vx_read_register, vx_write_register): Ditto. | |
4709 | * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Ditto. | |
4710 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
4711 | * remote-e7000.c (fetch_regs_from_dump, sub2_from_pc): Ditto. | |
4712 | * regcache.c (deprecated_read_register_bytes) | |
4713 | (deprecated_write_register_bytes, read_register) | |
4714 | (write_register): Ditto. | |
4715 | * ppc-linux-nat.c (fetch_altivec_register, fetch_register) | |
4716 | (supply_vrregset, store_altivec_register, fill_vrregset): Ditto. | |
4717 | * monitor.c (monitor_supply_register, monitor_fetch_register) | |
4718 | (monitor_store_register): Ditto. | |
4719 | * mn10300-tdep.c (mn10300_pop_frame_regular) | |
4720 | (mn10300_print_register): Ditto. | |
4721 | * mipsv4-nat.c (fill_fpregset): Ditto. | |
4722 | * mips-linux-tdep.c (supply_32bit_reg, fill_fpregset) | |
4723 | (mips64_fill_fpregset): Ditto. | |
4724 | * mi/mi-main.c (register_changed_p, get_register) | |
4725 | (mi_cmd_data_write_register_values): Ditto. | |
4726 | * lynx-nat.c (fetch_inferior_registers, store_inferior_registers): | |
4727 | * irix5-nat.c (fill_gregset, fetch_core_registers): | |
4728 | * infrun.c (write_inferior_status_register): Ditto. | |
4729 | * infptrace.c (fetch_register, store_register): Ditto. | |
4730 | * infcmd.c (default_print_registers_info): Ditto. | |
4731 | * ia64-linux-nat.c (COPY_REG, fill_fpregset): Ditto. | |
4732 | * ia64-aix-nat.c (COPY_REG, fill_gregset): Ditto. | |
4733 | * i386gnu-nat.c (gnu_store_registers, fill): Ditto. | |
4734 | * hpux-thread.c (hpux_thread_fetch_registers) | |
4735 | (hpux_thread_store_registers): Ditto. | |
4736 | * hppah-nat.c (store_inferior_registers, fetch_register): | |
4737 | * findvar.c (value_from_register): Ditto. | |
4738 | * dve3900-rom.c (fetch_bitmapped_register): | |
4739 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
4740 | * alpha-tdep.h: Ditto. | |
4741 | * aix-thread.c (pd_enable, fill_sprs64, fill_sprs32): Ditto. | |
4742 | ||
01e1877c AC |
4743 | * regcache.h: Delete DEPRECATED_REGISTER_VIRTUAL_SIZE and |
4744 | DEPRECATED_REGISTER_RAW_SIZE from comments. | |
4745 | * regcache.c (init_regcache_descr, regcache_dump): Do not check or | |
4746 | use DEPRECATED_REGISTER_VIRTUAL_SIZE and | |
4747 | DEPRECATED_REGISTER_RAW_SIZE. | |
4748 | * findvar.c (value_of_register): Simplify by assuming that the | |
4749 | registers raw and virtual sizes are identical. | |
4750 | * regcache.h: Delete DEPRECATED_REGISTER_VIRTUAL_TYPE in | |
4751 | comment. | |
4752 | * arch-utils.c (generic_register_size): Simplify by assuming | |
4753 | register_type. | |
4754 | ||
73f458fb AC |
4755 | * regcache.c (legacy_read_register_gen, real_register) |
4756 | (legacy_write_register_gen): Delete, not used. | |
4757 | ||
336a3131 AC |
4758 | * regcache.c (struct regcache_descr): Delete legacy_p. |
4759 | (init_legacy_regcache_descr): Delete function. | |
4760 | (init_regcache_descr): Delete call to init_legacy_regcache_descr. | |
4761 | Do not use deprecated register functions. | |
4762 | (regcache_raw_read, deprecated_write_register_gen): | |
4763 | (deprecated_read_register_gen, regcache_raw_write): Delete code | |
4764 | predicated on legacy_p. | |
4765 | (register_size): Delete check against register raw size. | |
4766 | ||
c1d546cd AC |
4767 | * cris-tdep.c (cris_register_type): Replace |
4768 | cris_register_virtual_type. | |
4769 | (cris_gdbarch_init): Update, set register_type. | |
4770 | ||
48c2c0a6 AC |
4771 | * gdbarch.sh (deprecated_frameless_function_invocation): Delete. |
4772 | * gdbarch.h, gdbarch.c: Re-generate. | |
4773 | * arm-tdep.c (arm_frameless_function_invocation): Delete. | |
4774 | (arm_gdbarch_init) Do not set frameless function invocation. | |
4775 | * frame.h (legacy_frameless_look_for_prologue): Delete declaration. | |
4776 | * blockframe.c (legacy_frameless_look_for_prologue): Delete function. | |
4777 | * frv-tdep.c (frv_frameless_function_invocation): Delete. | |
4778 | (frv_gdbarch_init): Do not set frameless function invocation. | |
4779 | * sh64-tdep.c (sh64_gdbarch_init): Ditto. | |
4780 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
4781 | * m32r-tdep.c (m32r_gdbarch_init): Ditto. | |
4782 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
4783 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
4784 | ||
474093a6 AC |
4785 | * blockframe.c (legacy_frame_chain_valid): Delete function. |
4786 | ||
3c109c8b AC |
4787 | * dummy-frame.c (struct dummy_frame): Delete call_lo, call_hi, top |
4788 | and pc. Update comments. | |
4789 | (pc_in_dummy_frame): Delete function. | |
4790 | (deprecated_pc_in_call_dummy): Inline old pc_in_dummy_frame code, | |
4791 | use the "id". | |
4792 | (dummy_frame_push, dummy_frame_sniffer): Instead of call_lo, | |
4793 | call_hi, top and pc, use the id. | |
4794 | (fprint_dummy_frames): Do not print call_lo, call_hi, top and pc. | |
4795 | ||
96860204 AC |
4796 | * dummy-frame.c: Include "gdb_string.h". |
4797 | (generic_save_call_dummy_addr, generic_push_dummy_frame) | |
4798 | (generic_save_dummy_frame_tos): Delete. | |
4799 | (dummy_frame_push): New function, replaces above. | |
4800 | * dummy-frame.h: Update copyright. | |
4801 | (dummy_frame_push): Declare. | |
4802 | * frame.h (generic_save_dummy_frame_tos, generic_push_dummy_frame) | |
4803 | (generic_save_call_dummy_addr): Delete declarations. | |
4804 | * infcall.c: Include "dummy-frame.h". | |
4805 | (call_function_by_hand): Add locals caller_regcache, | |
4806 | caller_regcache_cleanup and dummy_id. Replace push_dummy_frame | |
4807 | with call to frame_save_as_regcache plus cleanup. Delete calls to | |
4808 | generic_save_call_dummy_addr and generic_save_dummy_frame_tos. | |
4809 | Move clear_proceed_status to just before the resume, add call to | |
4810 | dummy_frame_push (discard cleanup). | |
4811 | * Makefile.in (infcall.o): Add $(dummy_frame_h). | |
4812 | (dummy-frame.o): Add $(gdb_string_h). | |
4813 | ||
d67ec5db AC |
4814 | 2004-08-01 Andrew Cagney <cagney@gnu.org> |
4815 | ||
4816 | * dummy-frame.h (dummy_frame_unwind): Replace dummy_frame_sniffer. | |
4817 | * frame-unwind.c (frame_unwind_init): Use dummy_frame_unwind. | |
4818 | * dummy-frame.c (find_dummy_frame): Delete. | |
4819 | (struct dummy_frame_cache, dummy_frame_sniffer) | |
4820 | (dummy_frame_prev_register, dummy_frame_this_id) | |
4821 | (dummy_frame_unwinder, dummy_frame_unwind): Re-implement dummy | |
4822 | frame unwinder using a dummy_frame_cache. | |
4823 | ||
a81dcb05 AC |
4824 | 2004-08-01 Andrew Cagney <cagney@gnu.org> |
4825 | ||
4826 | * frame.h (frame_save_as_regcache): Declare. | |
4827 | * frame.c (frame_save_as_regcache): New function. | |
4828 | (do_frame_read_register): Replace do_frame_unwind_register. | |
4829 | (frame_pop): Use frame_save_as_regcache. | |
4830 | * dummy-frame.c (generic_push_dummy_frame): Use | |
4831 | frame_save_as_regcache. | |
4832 | ||
aa495d11 JB |
4833 | 2004-08-01 Joel Brobecker <brobecker@gnat.com> |
4834 | ||
4835 | * dwarf2read.c (dwarf_decode_lines): Do not consider the current | |
4836 | file as included until we record the first line in the linetable. | |
4837 | ||
ff65ac78 AC |
4838 | 2004-08-01 Andrew Cagney <cagney@gnu.org> |
4839 | ||
4840 | * frame.h (deprecated_pop_dummy_frame) | |
4841 | (deprecated_read_register_dummy) | |
4842 | (deprecated_generic_find_dummy_frame): Delete. | |
4843 | * dummy-frame.c (deprecated_generic_find_dummy_frame) | |
4844 | (deprecated_read_register_dummy) | |
4845 | (deprecated_find_dummy_frame_regcache) | |
4846 | (discard_innermost_dummy) | |
4847 | (deprecated_pop_dummy_frame): Delete. | |
4848 | (dummy_frame_this_id): Simplify. | |
4849 | (struct dummy_frame): Delete "fp" and "sp". | |
4850 | (find_dummy_frame): Simplify. | |
4851 | (generic_push_dummy_frame): Do not set "fp" or "sp". | |
4852 | (fprint_dummy_frames): Do not print "fp" and "sp" | |
4853 | ||
37bdc87e MK |
4854 | 2004-08-01 Mark Kettenis <kettenis@gnu.org> |
4855 | ||
4856 | * i386-tdep.c (I386_MAX_INSN_LEN): New define. | |
4857 | (struct i386_insn): New structure. | |
4858 | (i386_match_insn): New function. | |
4859 | (i386_frame_setup_skip_insns): New variable. | |
4860 | (i386_analyze_frame_setup): Change to use i386_match_insn and the | |
4861 | array i386_frame_setup_insns of instructions that should be | |
4862 | skipped inside the frame setup sequence. | |
4863 | ||
8241eaa6 AC |
4864 | 2004-08-01 Andrew Cagney <cagney@gnu.org> |
4865 | ||
5bc602c7 AC |
4866 | * frame.h (deprecated_frame_xmalloc_with_cleanup) |
4867 | (frame_saved_regs_zalloc, frame_extra_info_zalloc) | |
4868 | (get_frame_extra_info, deprecated_get_frame_saved_regs): Delete. | |
4869 | * stack.c (frame_info): Delete references to | |
4870 | DEPRECATED_FRAME_INIT_SAVED_REGS and | |
4871 | deprecated_get_frame_saved_regs. | |
4872 | * frame.c (struct frame_info): Delete saved_regs and extra_info. | |
4873 | (frame_pc_unwind): Do not use DEPRECATED_FRAME_SAVED_PC. | |
4874 | (frame_register): Do not use DEPRECATED_GET_SAVED_REGISTER. | |
4875 | (frame_unwind_register_signed) | |
4876 | (frame_unwind_register_unsigned) | |
4877 | (frame_unwind_unsigned_register): Use register_size. | |
4878 | (create_new_frame): Do not use DEPRECATED_INIT_EXTRA_FRAME_INFO. | |
4879 | (deprecated_frame_xmalloc_with_cleanup) | |
4880 | (frame_saved_regs_zalloc, frame_extra_info_zalloc) | |
4881 | (get_frame_extra_info, deprecated_get_frame_saved_regs): Delete. | |
4882 | ||
03d363a1 AC |
4883 | * sh-tdep.c (sh_gdbarch_init): Disable call to sh64_gdbarch_init. |
4884 | * config/sh/nbsd.mt (TDEPFILES): Remove sh64-tdep.o. | |
4885 | * config/sh/linux.mt (TDEPFILES): Remove sh64-tdep.o. | |
4886 | * config/sh/embed.mt (TDEPFILES): Remove sh64-tdep.o. | |
4887 | ||
8241eaa6 AC |
4888 | * infcall.c (call_function_by_hand): Do not use |
4889 | DEPRECATED_PUSH_RETURN_ADDRESS, DEPRECATED_DUMMY_WRITE_SP, | |
4890 | DEPRECATED_SAVE_DUMMY_FRAME_TOS, DEPRECATED_TARGET_READ_FP, | |
4891 | DEPRECATED_FP_REGNUM, DEPRECATED_STORE_STRUCT_RETURN, and | |
4892 | DEPRECATED_STACK_ALIGN. | |
4893 | ||
f00df8b7 AC |
4894 | 2004-07-30 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> |
4895 | ||
4896 | Committed by Andrew Cagney. | |
4897 | * arm-tdep.c: Remove references to add_setshow_cmd_full for apcs32 . | |
4898 | ||
eec63939 AC |
4899 | 2004-08-01 Andrew Cagney <cagney@gnu.org> |
4900 | ||
4901 | * mips-tdep.c (mips16_frame_cache) | |
4902 | (mips16_frame_this_id, mips16_frame_prev_register) | |
4903 | (mips16_frame_unwind, mips16_frame_sniffer) | |
4904 | (mips16_frame_base_address, mips16_frame_base) | |
4905 | (mips16_frame_base_sniffer, mips32_frame_cache) | |
4906 | (mips32_frame_this_id, mips32_frame_prev_register) | |
4907 | (mips32_frame_unwind, mips32_frame_sniffer) | |
4908 | (mips32_frame_base_address, mips32_frame_base) | |
4909 | (mips32_frame_base_sniffer): Clone the mdebug unwinder into | |
4910 | separate heuristic mips16 and mips32 unwinders. | |
4911 | (mips_stub_frame_cache, mips_stub_frame_this_id) | |
4912 | (mips_stub_frame_prev_register) | |
4913 | (mips_stub_frame_unwind, mips_stub_frame_sniffer) | |
4914 | (mips_stub_frame_base_address, mips_stub_frame_base) | |
4915 | (mips_stub_frame_base_sniffer): Add a simple stub unwinder. | |
4916 | (mips_mdebug_frame_base_sniffer, mips_mdebug_frame_sniffer): Only | |
4917 | match true mdebug frames. | |
4918 | (non_heuristic_proc_desc): Add forward declaration. | |
4919 | ||
e66299b3 AC |
4920 | 2004-08-01 Andrew Cagney <cagney@gnu.org> |
4921 | ||
83cbbf3e AC |
4922 | * config/mips/tm-irix6.h: Delete file. |
4923 | * config/mips/tm-irix5.h: Delete file. | |
4924 | * config/mips/irix5.mt (TM_FILE): Set to tm-mips.h | |
4925 | * config/mips/irix6.mt (TM_FILE): Set to tm-mips.h | |
4926 | ||
22d41b37 AC |
4927 | * config/ia64/tm-linux.h (IA64_GNULINUX_TARGET): Delete. |
4928 | * config/alpha/nm-osf2.h (PROCFS_SIGPEND_OFFSET): Delete. | |
4929 | * config/nm-gnu.h (NO_CORE_OPS): Delete. | |
4930 | * config/pa/nm-hppah.h (MAY_SWITCH_FROM_INFERIOR_PID): Delete. | |
4931 | * config/i386/nm-i386v4.h (LOSING_POLL): Delete. | |
4932 | * config/alpha/nm-osf2.h (LOSING_POLL): Delete. | |
4933 | * config/tm-nto.h (RAW_SIGNAL_LO, RAW_SIGNAL_HI): Delete. | |
4934 | * config/m68k/tm-vx68.h (VX_SIZE_FPREGS): Delete. | |
4935 | * config/nm-linux.h (USE_THREAD_STEP_NEEDED): Delete. | |
4936 | * config/pa/nm-hppah.h (USE_THREAD_STEP_NEEDED): Delete. | |
4937 | * config/tm-nto.h (TARGET_SIGNAL_RAW_TABLE) Delete. | |
4938 | (TARGET_SIGNAL_RAW_VALUES): Delete. | |
4939 | * config/pa/nm-hppah.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT): | |
4940 | Delete. | |
4941 | * config/frv/tm-frv.h (TARGET_HW_BREAK_LIMIT) | |
4942 | (TARGET_HW_WATCH_LIMIT): Delete. | |
4943 | * Makefile.in (minimon_h, HFILES_NO_SRCDIR): Remove minimon.h. | |
4944 | * minimon.h: Delete file. | |
4945 | ||
e66299b3 AC |
4946 | * trad-frame.c (trad_frame_get_this_base) |
4947 | (trad_frame_set_this_base, trad_frame_set_reg_realreg): New | |
4948 | functions. | |
4949 | * trad-frame.h (trad_frame_set_this_base) | |
4950 | (trad_frame_get_this_base, trad_frame_set_reg_realreg): Declare. | |
4951 | ||
1f67027d AC |
4952 | 2004-07-31 Andrew Cagney <cagney@gnu.org> |
4953 | ||
4954 | * trad-frame.c (trad_frame_get_prev_register): Rename | |
4955 | trad_frame_get_prev_register. | |
4956 | * vax-tdep.c (vax_frame_prev_register): Update. | |
4957 | * trad-frame.h: Update. | |
4958 | * trad-frame.c (trad_frame_get_register): Update. | |
4959 | * sparcobsd-tdep.c (sparc32obsd_frame_prev_register): Update. | |
4960 | * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_prev_register): | |
4961 | Update. | |
4962 | * sparc64obsd-tdep.c (sparc64obsd_frame_prev_register): Update. | |
4963 | * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_prev_register): | |
4964 | Update. | |
4965 | * sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_prev_register): | |
4966 | Update. | |
4967 | * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_prev_register): | |
4968 | Update. | |
4969 | * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_prev_register): | |
4970 | Update. | |
4971 | * sparc-linux-tdep.c (sparc32_linux_sigtramp_frame_prev_register): | |
4972 | Update. | |
4973 | * s390-tdep.c (s390_frame_prev_register) | |
4974 | (s390_stub_frame_prev_register) | |
4975 | (s390_sigtramp_frame_prev_register): Update. | |
4976 | * rs6000-tdep.c (rs6000_frame_prev_register): Update. | |
4977 | * ppc-linux-tdep.c (ppc_linux_sigtramp_prev_register): Update. | |
4978 | * mips-tdep.c (mips_mdebug_frame_prev_register): Update. | |
4979 | * m88k-tdep.c (m88k_frame_prev_register) | |
4980 | * m68hc11-tdep.c (m68hc11_frame_prev_register) | |
4981 | * m32r-tdep.c (m32r_frame_prev_register): Update. | |
4982 | * hppa-tdep.c (hppa_frame_prev_register_helper) | |
4983 | * frv-tdep.c (frv_frame_prev_register): Update. | |
4984 | * d10v-tdep.c (d10v_frame_prev_register): Update. | |
4985 | * cris-tdep.c (cris_frame_prev_register): Update. | |
4986 | * avr-tdep.c (avr_frame_prev_register): Update. | |
4987 | * arm-tdep.c (arm_prologue_prev_register) | |
4988 | (arm_sigtramp_prev_register): Update. | |
4989 | ||
c1bf6f65 AC |
4990 | 2004-07-31 Andrew Cagney <cagney@gnu.org> |
4991 | ||
4992 | * frame.h (legacy_saved_regs_unwind) | |
4993 | (legacy_frame_chain_valid, legacy_frame_p) | |
4994 | (enum frame_type): Delete UNKNOWN_FRAME. | |
01fbbd97 AC |
4995 | * dummy-frame.c (dummy_frame_this_id): Simplify. |
4996 | * frame-unwind.c (frame_unwind_find_by_frame): Simplify. | |
c1bf6f65 AC |
4997 | * frame.c (struct frame_info): Delete the field "type". |
4998 | (legacy_saved_regs_prev_register, legacy_get_prev_frame) | |
4999 | (legacy_saved_regs_this_id, legacy_saved_regs_unwinder) | |
5000 | (legacy_saved_regs_unwind, legacy_frame_p) | |
5001 | (frame_type_from_pc): Delete. | |
5002 | (get_frame_id, frame_pop, frame_register_unwind, get_prev_frame_1) | |
5003 | (fprint_frame, create_new_frame, fprint_frame_type): Simplify. | |
5004 | ||
dc856692 MK |
5005 | 2004-07-31 Mark Kettenis <kettenis@gnu.org> |
5006 | ||
5a5effe1 MK |
5007 | * sparc64obsd-tdep.c (sparc64obsd_pc_in_sigtramp): Fix |
5008 | indentation. | |
5009 | ||
d4fd50a6 MK |
5010 | * mips-nat.c: Remove file. |
5011 | * Makefile.in (ALLDEPFILES): Remove mips-nat.c | |
5012 | (mips-nat.o): Remove dependency. | |
5013 | ||
2689df5a MK |
5014 | * infptrace.c: Update copyright year. |
5015 | (fetch_register): Pass NULL in regcache_raw_supply call instead of | |
5016 | explicitly setting the buffer to all zeroes. | |
5017 | ||
dc856692 MK |
5018 | * sparc64obsd-tdep.c (sparc64obsd_sigreturn_offset): New variable. |
5019 | (sparc64obsd_pc_in_sigtramp): Reorganize to avoid goto. | |
5020 | ||
763910e0 AC |
5021 | 2004-07-30 Andrew Cagney <cagney@gnu.org> |
5022 | ||
5023 | * GDB 6.2 released from gdb_6_2-branch. | |
5024 | ||
0b66e38c EZ |
5025 | 2004-07-30 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr> |
5026 | ||
5027 | * defs.h (OPF_TRY_CWD_FIRST, OPF_SEARCH_IN_PATH): New macros. | |
5028 | ||
5029 | * exec.c (exec_file_attach): | |
5030 | * nto-tdep.c (nto_find_and_open_solib): | |
5031 | * pa64solib.c (pa64_solib_sizeof_symbol_table): | |
5032 | * solib.c (solib_open): | |
5033 | * somsolib.c (som_solib_sizeof_symbol_table): | |
5034 | * source.c (is_regular_file, openp, open_source_file): | |
5035 | * symfile.c (symfile_bfd_open): | |
5036 | * wince.c (upload_to_device): Differentiate between the search for | |
5037 | binary and source files. | |
5038 | ||
be7d7357 AC |
5039 | 2004-07-30 Andrew Cagney <cagney@gnu.org> |
5040 | ||
5041 | * complaints.c (_initialize_complaints): Pass NULL to | |
5042 | add_setshow_zinteger_cmd for help_doc. | |
5043 | * cli/cli-decode.c (add_setshow_cmd_full): Handle a NULL help_doc. | |
5044 | ||
ddc9cd0f AC |
5045 | 2004-07-30 Andrew Cagney <cagney@gnu.org> |
5046 | ||
5047 | Fix PR i18n/761. | |
5048 | * Makefile.in (.SUFFIXES): Add po .gmo, and .pox. | |
5049 | (.PHONY): Add all-po install-po, uninstall-po, clean-po, | |
5050 | $(PACKAGE).pot and update-po. | |
5051 | (all-po, .po.gmo, .po.pox, install-po, $(PACKAGE).pot) | |
5052 | (po/$(PACKAGE).pot, clean-po, uninstall-po, install-po) | |
5053 | (update-po): New rules. | |
5054 | (localedir): Define using autoconf. | |
5055 | (diststuff): Add $(PACKAGE).pot and $(CATALOGS) | |
5056 | (GDB_CFLAGS): Define LOCALEDIR using $(localedir). | |
5057 | (XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): Define. | |
5058 | * configure.in: Generate CATALOGS and LINGUAS from contents of | |
5059 | src/gdb/po/ directory. Set @localedir@ in Makefile.in. | |
5060 | * configure: Re-generate. | |
5061 | * po/gdbtext: New file | |
5062 | ||
e92f3704 JG |
5063 | 2004-07-30 Jerome Guitton <guitton@gnat.com> |
5064 | ||
5065 | * MAINTAINERS: Reorder Write After Approval list in alphabetical | |
5066 | order. | |
5067 | ||
b0f35d58 DL |
5068 | 2004-07-30 David Lecomber <dsl@sources.redhat.com> |
5069 | ||
5070 | * dwarf2read.c (read_file_scope): Set producer if attribute | |
5071 | present. | |
5072 | (struct dwarf2_cu): Added new member producer. | |
5073 | ||
ce7d4522 JG |
5074 | 2004-07-30 Jerome Guitton <guitton@gnat.com> |
5075 | ||
5076 | * inflow.c (kill_command): release file handles in BFD. | |
5077 | * exec.c (exec_file_attach): Ditto. | |
5078 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Ditto. | |
5079 | ||
05ee07c7 AC |
5080 | 2004-07-29 Andrew Cagney <cagney@gnu.org> |
5081 | ||
5082 | * PROBLEMS (mips-irix): Note that it is broken. | |
5083 | ||
62eceb47 AC |
5084 | 2004-07-29 Andrew Cagney <cagney@gnu.org> |
5085 | ||
e57b8d41 AC |
5086 | * config/mips/xm-irix5.h (REGISTER_U_ADDR): Move from here ... |
5087 | * config/mips/nm-irix5.h (REGISTER_U_ADDR): ... to here. | |
5088 | ||
d334389b AC |
5089 | * config/xm-nbsd.h: Delete file. |
5090 | * config/arm/xm-nbsd.h: Delete file. | |
5091 | * config/i386/xm-nbsd.h: Delete file. | |
5092 | * config/ns32k/xm-nbsd.h: Delete file. | |
5093 | * config/ns32k/nbsdaout.mh (XM_FILE): Delete. | |
5094 | * config/i386/nbsdelf.mh (XM_FILE): Delete. | |
5095 | * config/i386/nbsdaout.mh (XM_FILE): Delete. | |
5096 | * config/arm/nbsdelf.mh (XM_FILE): Delete. | |
5097 | * config/arm/nbsdaout.mh (XM_FILE): Delete. | |
5098 | ||
e910f676 AC |
5099 | * config/i386/xm-i386v.h (KERNEL_U_ADDR): Move from here ... |
5100 | * config/i386/nm-i386v42mp.h (KERNEL_U_ADDR): ... to here, ... | |
5101 | * config/i386/nm-i386v4.h (KERNEL_U_ADDR): ... here, ... | |
5102 | * config/i386/nm-i386v.h (KERNEL_U_ADDR): ... and here. | |
5103 | * config/vax/xm-vax.h (KERNEL_U_ADDR): Move from here ... | |
5104 | * config/vax/nm-vax.h (KERNEL_U_ADDR): ... to here. | |
5105 | ||
6fa856b9 AC |
5106 | * config/powerpc/xm-linux.h: Delete empty file. |
5107 | * config/powerpc/ppc64-linux.mh (XM_FILE): Delete. | |
5108 | * config/powerpc/linux.mh (XM_FILE): Delete. | |
5109 | * config/m68k/xm-linux.h: Delete empty file. | |
5110 | * config/m68k/linux.mh (XM_FILE): Delete. | |
5111 | * config/ia64/xm-linux.h: Delete empty file. | |
5112 | * config/ia64/linux.mh (XM_FILE): Delete. | |
5113 | * config/arm/xm-linux.h: Delete empty file. | |
5114 | * config/arm/linux.mh (XM_FILE): Delete. | |
5115 | ||
471ae5ae AC |
5116 | * config/powerpc/xm-linux.h (KERNEL_U_ADDR): Move from here ... |
5117 | * config/powerpc/nm-linux.h (KERNEL_U_ADDR): ... to here. | |
5118 | * config/m68k/xm-linux.h (KERNEL_U_ADDR): Move from here ... | |
5119 | * config/m68k/nm-linux.h (KERNEL_U_ADDR): ... to here. | |
5120 | * config/ia64/xm-linux.h (KERNEL_U_ADDR): Move from here ... | |
5121 | * config/ia64/nm-linux.h (KERNEL_U_ADDR): ... to here. | |
5122 | * config/arm/xm-linux.h (KERNEL_U_ADDR): Move from here ... | |
5123 | * config/arm/nm-linux.h (KERNEL_U_ADDR): ... to here. | |
5124 | ||
62eceb47 AC |
5125 | * config/m68k/xm-m68k.h: Delete file. |
5126 | * config/m68k/xm-linux.h: Do not include "m68k/xm-m68k.h". Update | |
5127 | copyright. | |
5128 | (HOST_LONG_DOUBLE_FORMAT): Delete macro. | |
5129 | * config/pa/xm-linux.h: Delete empty file. | |
5130 | * config/pa/linux.mh (XM_FILE): Delete. | |
5131 | * config/i386/xm-i386.h: Delete empty file. | |
5132 | * config/i386/xm-nbsd.h, config/i386/xm-go32.h: Do not include | |
5133 | "i386/xm-i386.h". | |
5134 | * config/i386/obsdaout.mh (XM_FILE): Delete. | |
5135 | * config/i386/obsd64.mh (XM_FILE): Delete. | |
5136 | * config/i386/fbsd64.mh (XM_FILE): Delete. | |
5137 | * config/i386/nto.mh (XM_FILE): Delete. | |
5138 | * config/i386/obsd.mh (XM_FILE): Delete. | |
5139 | * config/i386/linux64.mh (XM_FILE): Delete. | |
5140 | * config/i386/linux.mh (XM_FILE): Delete. | |
5141 | * config/i386/i386sol2.mh (XM_FILE): Delete. | |
5142 | * config/i386/i386gnu.mh (XM_FILE): Delete. | |
5143 | * config/i386/fbsd.mh (XM_FILE): Delete. | |
5144 | * config/i386/nbsd64.mh (XM_FILE): Delete. | |
5145 | ||
c35f4ffc AC |
5146 | 2004-07-29 Andrew Cagney <cagney@gnu.org> |
5147 | ||
5148 | * config/pa/xm-linux.h: Do not include "floatformat.h". | |
5149 | (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT) | |
5150 | (HOST_LONG_DOUBLE_FORMAT): Delete macros. | |
5151 | * config/i386/xm-i386.h: Do not include "floatformat.h". | |
5152 | (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT) | |
5153 | (HOST_LONG_DOUBLE_FORMAT): Delete macros. | |
5154 | * doublest.c (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT) | |
5155 | (HOST_LONG_DOUBLE_FORMAT): Delete macros. Use | |
5156 | GDB_HOST_FLOAT_FORMAT, GDB_HOST_DOUBLE_FORMAT and | |
5157 | GDB_HOST_LONG_DOUBLE_FORMAT instead. | |
5158 | * configure.in (GDB_HOST_FLOAT_FORMAT, GDB_HOST_DOUBLE_FORMAT) | |
5159 | (GDB_HOST_LONG_DOUBLE_FORMAT): Define. | |
5160 | * configure, config.in: Regenerate. | |
5161 | * configure.host (gdb_host_float_format, gdb_host_double_format) | |
5162 | (gdb_host_long_double_format): Set according to the host. | |
5163 | ||
624a44a3 AC |
5164 | 2004-07-29 Andrew Cagney <cagney@gnu.org> |
5165 | ||
5166 | * Makefile.in (CONFIG_CLEAN): Delete duplicate definition. | |
5167 | ||
0dea2468 AC |
5168 | 2004-07-28 Andrew Cagney <cagney@gnu.org> |
5169 | ||
5170 | * PROBLEMS: Mention threads/1650. | |
5171 | * NEWS: Mention the NPTL fix. | |
5172 | ||
b3f42336 AC |
5173 | 2004-07-28 Andrew Cagney <cagney@gnu.org> |
5174 | ||
5175 | * cli/cli-decode.c (add_setshow_cmd): Delete function. | |
5176 | (add_setshow_cmd_full): Make static. | |
5177 | * command.h (add_setshow_cmd, add_setshow_cmd_full): Delete. | |
5178 | (add_setshow_filename_cmd, add_setshow_string_cmd): Declare. | |
5179 | * cli/cli-decode.c (add_setshow_filename_cmd) | |
5180 | (add_setshow_string_cmd): New functions. | |
5181 | * nto-tdep.c (_initialize_nto_tdep): Update. Fix parameters. | |
5182 | * mips-tdep.c (_initialize_mips_tdep): Update. | |
5183 | * m32r-rom.c (_initialize_m32r_rom): Update. Update copyright. | |
5184 | * cli/cli-logging.c (_initialize_cli_logging): Update. | |
5185 | * complaints.c (_initialize_complaints): Update. | |
5186 | * remote.c (_initialize_remote): Update. | |
5187 | ||
3b64bf98 AC |
5188 | 2004-07-28 Andrew Cagney <cagney@gnu.org> |
5189 | ||
5190 | * cli/cli-decode.c (add_setshow_zinteger_cmd) | |
5191 | (add_setshow_cmd, add_setshow_auto_boolean_cmd) | |
5192 | (add_setshow_boolean_cmd, add_setshow_cmd_full): Add help_doc and | |
5193 | print parameters. Make string parameters constant. | |
5194 | * command.h: Update. Update copyright. | |
5195 | * remote.c (add_packet_config_cmd, _initialize_remote): Ditto. | |
5196 | * observer.c (_initialize_observer): Ditto. | |
5197 | * frame.c (_initialize_frame): Ditto. | |
5198 | * complaints.c (_initialize_complaints): Ditto. | |
5199 | * maint.c (_initialize_maint_cmds): Ditto. | |
5200 | * target.c (initialize_targets): Ditto. | |
5201 | * cli/cli-logging.c (_initialize_cli_logging): Ditto. | |
5202 | * infcall.c (_initialize_infcall): Ditto. | |
5203 | * arm-tdep.c (_initialize_arm_tdep): Ditto. | |
5204 | * m32r-rom.c (_initialize_m32r_rom): Ditto. | |
5205 | * remote-rdi.c (_initialize_remote_rdi): Ditto. | |
5206 | * d10v-tdep.c (_initialize_d10v_tdep): Ditto. | |
5207 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
5208 | ||
e9667a65 AC |
5209 | 2004-07-28 Andrew Cagney <cagney@gnu.org> |
5210 | ||
54a5b07d AC |
5211 | * gdbtypes.c (lookup_primitive_typename): Delete function. |
5212 | * gdbtypes.h (lookup_primitive_typename): Delete declaration. | |
5213 | * ada-lex.l: Use language_lookup_primitive_type_by_name. | |
5214 | * gdbtypes.c (lookup_typename): Ditto. | |
5215 | * f-exp.y (yylex): Ditto. | |
5216 | * c-exp.y (yylex): Ditto, eliminate assignment in "if". | |
5217 | ||
e9667a65 AC |
5218 | * scm-lang.c (c_builtin_types): Delete extern declaration. |
5219 | (scm_language_defn): Replace | |
5220 | string_char_type and primitive_type_vector with | |
5221 | la_language_arch_info. | |
5222 | * jv-lang.c (java_language_defn): Replace | |
5223 | string_char_type and primitive_type_vector with | |
5224 | la_language_arch_info. | |
5225 | * config/i386/i386sco4.mh (NATDEPFILES): Remove reference to | |
5226 | c_builtin_types in comment. | |
5227 | * c-lang.h (struct language_arch_info): Declare opaque. | |
5228 | (c_language_arch_info): Declare. | |
5229 | (c_builtin_types): Delete declaration. | |
5230 | * c-lang.c (c_language_arch_info): Set string_char_type to | |
5231 | builtin_char, not builtin_true_char. Make global. | |
5232 | (c_builtin_types): Delete array. | |
5233 | (asm_language_defn, minimal_language_defn): Replace | |
5234 | string_char_type and primitive_type_vector with | |
5235 | la_language_arch_info. | |
5236 | ||
685419e2 AC |
5237 | 2004-07-28 Andrew Cagney <cagney@gnu.org> |
5238 | ||
5239 | * gdbtypes.h (struct builtin_type): Rename true_char to | |
5240 | builtin_true_char. | |
5241 | * gdbtypes.c (gdbtypes_post_init): Update. | |
5242 | * c-lang.c (arch_info): New function. | |
5243 | (enum c_primitive_types): New enum. | |
5244 | (c_language_defn): Instead of string_char_type and | |
5245 | primitive_type_vector set la_language_arch_info. | |
5246 | ||
5a44ea29 AC |
5247 | 2004-07-28 Andrew Cagney <cagney@gnu.org> |
5248 | ||
5249 | * language.h (struct language_arch_info): Fix typo | |
5250 | s/primative/primitive/. | |
5251 | * gdbtypes.c (lookup_primitive_typename): Ditto. | |
5252 | * language.c (language_lookup_primitive_type_by_name) | |
5253 | (unknown_language_arch_info): Ditto. | |
5254 | ||
f290d38e AC |
5255 | 2004-07-27 Andrew Cagney <cagney@gnu.org> |
5256 | ||
5257 | * defs.h (enum language): Add nr_languages. | |
5258 | * language.h (struct language_arch_info): Define. | |
5259 | (struct language_defn): Add la_language_arch_info. | |
5260 | (language_lookup_primative_type_by_name): Declare. | |
5261 | (language_string_char_type): Declare. | |
5262 | * language.c (_initialize_language, language_gdbarch_post_init) | |
5263 | (struct language_gdbarch, language_gdbarch_data): Implement | |
5264 | per-architecture language information. | |
5265 | (unknown_language_arch_info, language_string_char_type) | |
5266 | (language_lookup_primative_type_by_name): New functions. | |
5267 | (unknown_language_defn, auto_language_defn) | |
5268 | (local_language_defn): Set la_language_arch_info to | |
5269 | unknown_language_arch_info. | |
5270 | (unknown_builtin_types): Delete. | |
5271 | * gdbtypes.c (lookup_primitive_typename): Use | |
5272 | language_lookup_primative_type_by_name. | |
5273 | (create_string_type): Use language_string_char_type. | |
5274 | * values.c (value_from_string): Use language_string_char_type. | |
5275 | * scm-lang.c (scm_language_defn): Add NULL la_language_arch_info. | |
5276 | * p-lang.c (pascal_language_defn): Ditto. | |
5277 | * m2-lang.c (m2_language_defn): Ditto. | |
5278 | * jv-lang.c (java_language_defn): Ditto. | |
5279 | * objc-lang.c (objc_language_defn): Ditto. | |
5280 | * f-lang.c (f_language_defn): Ditto. | |
5281 | * c-lang.c (c_language_defn, cplus_language_defn) | |
5282 | (asm_language_defn, minimal_language_defn): Ditto. | |
5283 | ||
000177f0 AC |
5284 | 2004-07-27 Andrew Cagney <cagney@gnu.org> |
5285 | ||
5286 | * gdbtypes.h (struct builtin_type): Declare. | |
5287 | (builtin_type): Declare. | |
5288 | * d10v-tdep.c (d10v_register_type): Use builtin_type. | |
5289 | * gdbtypes.c (_initialize_gdbtypes): Register gdbtypes_post_init. | |
5290 | (gdbtypes_post_init): New function. | |
5291 | (builtin_type): New function. | |
5292 | ||
e22f895c KI |
5293 | 2004-07-27 Kei Sakamoto <sakamoto.kei@renesas.com> |
5294 | ||
5295 | * remote-m32r-sdi.c: Fix breakpoint bug. | |
5296 | (send_cmd, send_one_arg_cmd, send_two_arg_cmd, send_three_arg_cmd, | |
5297 | recv_char_data, recv_long_data): New functions to replace communication | |
5298 | sequences. | |
5299 | ||
536517dd MC |
5300 | 2004-07-26 Michael Chastain <mec.gnu@mindspring.com> |
5301 | ||
5302 | Document PR threads/1650. | |
5303 | * PROBLEMS (Threads): Document problem with many threads | |
5304 | ||
a0a44d18 AC |
5305 | 2004-07-26 Andrew Cagney <cagney@gnu.org> |
5306 | ||
5307 | * gdb-mi.el: Move from here ... | |
5308 | * mi/gdb-mi.el: ... to here. | |
5309 | ||
7ac4ac06 AC |
5310 | 2004-07-26 Andrew Cagney <cagney@gnu.org> |
5311 | ||
5312 | Problem reported by Ashley Pittman <ashley@quadrics.com>. | |
5313 | * main.c (captured_main): When in batch mode always detach. | |
5314 | ||
a1b461bf AC |
5315 | 2004-07-26 Andrew Cagney <cagney@gnu.org> |
5316 | ||
5317 | * MAINTAINERS: Mark the xstormy16, sh64, ns32k, mn10300, mcore, | |
5318 | and h8300 as broken. | |
5319 | * NEWS: END-OF-LIFE frame compatibility module. | |
5320 | * PROBLEMS: For "Stack backtraces", remove powerpc, hppa and mips | |
5321 | specific comments. | |
5322 | ||
cb1a6d5f AC |
5323 | 2004-07-26 Andrew Cagney <cagney@gnu.org> |
5324 | ||
5325 | * cli/cli-decode.c (deprecated_add_show_from_set): Deprecate. | |
5326 | * xcoffsolib.c (_initialize_xcoffsolib): Update. | |
5327 | * wince.c (_initialize_wince): Update. | |
5328 | * win32-nat.c (_initialize_win32_nat): Update. | |
5329 | * varobj.c (_initialize_varobj): Update. | |
5330 | * valops.c (_initialize_valops): Update. | |
5331 | * utils.c (initialize_utils, initialize_utils): Update. | |
5332 | * tui/tui-win.c (_initialize_tui_win): Update. | |
5333 | * top.c (init_main): Update. | |
5334 | * symfile.c (_initialize_symfile): Update. | |
5335 | * source.c (_initialize_source): Update. | |
5336 | * somsolib.c (_initialize_som_solib): Update. | |
5337 | * solib.c (_initialize_solib): Update. | |
5338 | * solib-frv.c (_initialize_frv_solib): Update. | |
5339 | * serial.c (_initialize_serial): Update. | |
5340 | * ser-go32.c (_initialize_ser_dos, _initialize_ser_dos): Update. | |
5341 | * remote.c (_initialize_remote, _initialize_remote): Update. | |
5342 | * remote-vx.c (_initialize_vx): Update. | |
5343 | * remote-utils.c (_initialize_sr_support): Update. | |
5344 | * remote-sds.c (_initialize_remote_sds): Update. | |
5345 | * remote-mips.c (_initialize_remote_mips): Update. | |
5346 | * remote-e7000.c (_initialize_remote_e7000): Update. | |
5347 | * proc-api.c (_initialize_proc_api): Update. | |
5348 | * printcmd.c: Update. | |
5349 | * parse.c (_initialize_parse): Update. | |
5350 | * pa64solib.c (_initialize_pa64_solib): Update. | |
5351 | * p-valprint.c (_initialize_pascal_valprint): Update. | |
5352 | * monitor.c (_initialize_remote_monitors): Update. | |
5353 | * mips-tdep.c (_initialize_mips_tdep): Update. | |
5354 | * mcore-tdep.c (_initialize_mcore_tdep): Update. | |
5355 | * maint.c (_initialize_maint_cmds): Update. | |
5356 | * lin-lwp.c (_initialize_lin_lwp): Update. | |
5357 | * language.c (_initialize_language): Update. | |
5358 | * kod.c (_initialize_kod): Update. | |
5359 | * infrun.c (set_schedlock_func, _initialize_infrun): Update. | |
5360 | * i386-tdep.c (_initialize_i386_tdep): Update. | |
5361 | * gdbtypes.c (build_gdbtypes, _initialize_gdbtypes): Update. | |
5362 | * gdbarch.sh: Update. | |
5363 | * gdbarch.c: Re-generate. | |
5364 | * gdb-events.sh: Update. | |
5365 | * gdb-events.c: Re-generate. | |
5366 | * frame.c (_initialize_frame): Update. | |
5367 | * exec.c: Update. | |
5368 | * demangle.c (_initialize_demangler): Update. | |
5369 | * dcache.c (_initialize_dcache): Update. | |
5370 | * cris-tdep.c (_initialize_cris_tdep, cris_version_update): Update. | |
5371 | * cp-valprint.c (_initialize_cp_valprint): Update. | |
5372 | * corefile.c (_initialize_core): Update. | |
5373 | * command.h: Update. | |
5374 | * cli/cli-decode.h: Update. | |
5375 | * cli/cli-cmds.c (init_cli_cmds): Update. | |
5376 | * charset.c (_initialize_charset): Update. | |
5377 | * breakpoint.c (_initialize_breakpoint): Update. | |
5378 | * arm-tdep.c (_initialize_arm_tdep_initialize_arm_tdep): Update. | |
5379 | * alpha-tdep.c (_initialize_alpha_tdep): Update. | |
5380 | * aix-thread.c (_initialize_aix_thread): Update. | |
5381 | ||
b4632131 MK |
5382 | 2004-07-24 Mark Kettenis <kettenis@gnu.org> |
5383 | ||
5384 | Partial fix for PR backtrace/1718. | |
5385 | * i386-tdep.c (i386_analyze_frame_setup): Handle more instructions | |
5386 | that GCC migrates into the prolugue. Don't handle any | |
5387 | instructions that clobber %ebx. | |
5388 | ||
822c9732 AC |
5389 | 2004-07-23 Andrew Cagney <cagney@gnu.org> |
5390 | ||
5391 | Use regcache_raw_collect instead of regcache_collect. | |
5392 | * regcache.h (regcache_collect): Delete declaration. | |
5393 | * regcache.c (regcache_colect): Delete function. | |
5394 | * win32-nat.c (do_child_store_inferior_registers): Update. | |
5395 | * sol-thread.c (sol_thread_store_registers): Update. | |
5396 | * shnbsd-tdep.c (shnbsd_fill_reg): Update. | |
5397 | * rs6000-nat.c (store_register): Update. | |
5398 | * remote.c (store_register_using_P, remote_store_registers): Update. | |
5399 | * ppcnbsd-tdep.c (ppcnbsd_fill_reg): Update. | |
5400 | * ppc-linux-nat.c (store_altivec_register, store_spe_register) | |
5401 | (fill_vrregset, store_spe_registers, fill_gregset) | |
5402 | (fill_gregset): Update. | |
5403 | * nto-procfs.c (procfs_store_registers): Update. | |
5404 | * mipsnbsd-tdep.c (mipsnbsd_fill_reg): Update. | |
5405 | * mips-linux-tdep.c (fill_gregset, mips64_fill_gregset): Update. | |
5406 | * m68klinux-nat.c (store_register, fill_gregset): Update. | |
5407 | * m68k-tdep.c (fill_gregset): Update. | |
5408 | * infptrace.c (store_register): Update. | |
5409 | * i386-nto-tdep.c (i386nto_regset_fill): Update. | |
5410 | * i386-linux-nat.c (store_register, fill_gregset): Update. | |
5411 | * hppa-linux-nat.c (fill_gregset): Update. | |
5412 | * go32-nat.c (store_register): Update. | |
5413 | * armnbsd-nat.c (store_register, store_regs, store_fp_register) | |
5414 | (store_fp_regs): Update. | |
5415 | * arm-linux-nat.c (store_nwfpe_single, store_nwfpe_double) | |
5416 | (store_nwfpe_extended, store_fpregister, store_fpregs) | |
5417 | (store_register, store_regs, fill_gregset, fill_fpregset): Update. | |
5418 | * alpha-tdep.c (alpha_fill_int_regs, alpha_fill_fp_regs): Update. | |
5419 | * aix-thread.c (fill_gprs64, fill_fprs, fill_sprs64, fill_sprs32) | |
5420 | (store_regs_user_thread, store_regs_kernel_thread): Update. | |
5421 | ||
32b05c07 MK |
5422 | 2004-07-24 Mark Kettenis <kettenis@gnu.org> |
5423 | ||
5424 | * dwarf2-frame.c (struct dwarf2_cie): Delete `addr_size' member. | |
5425 | (decode_frame_entry_1): Use DW_EH_PE_absptr as default for CIE | |
5426 | encoding. | |
5427 | (dwarf2_build_frame_info): Adjust for removal of `addr_size' | |
5428 | member of `struct comp_unit'. | |
5429 | ||
8567c30f AC |
5430 | 2004-07-23 Andrew Cagney <cagney@gnu.org> |
5431 | ||
5432 | * infrun.c (handle_inferior_event): Separate the STEP_OVER_ALL and | |
5433 | DEPRECATED_IGNORE_HELPER_CALL cases, only #ifdef the latter. | |
5434 | ||
f6da8dd8 MH |
5435 | 2004-07-23 Martin Hunt <hunt@redhat.com> |
5436 | Kevin Buettner <kevinb@redhat.com> | |
5437 | ||
5438 | * dwarf2-frame.c (execute_cfa_program): Fix typo in which the | |
5439 | alignment was being added to the offset instead of multiplied. | |
5440 | ||
bd921882 MK |
5441 | 2004-07-23 Mark Kettenis <kettenis@gnu.org> |
5442 | ||
24f033e8 MK |
5443 | * sparc64obsd-tdep.c (sparc64obsd_pc_in_sigtramp): Adjust for |
5444 | changed signal trampoline in OpenBSD 3.5-current. | |
5445 | ||
90f3cecd MK |
5446 | * sparc64nbsd-nat.c: Include "regcache.h", <sys/types.h>, |
5447 | <machine/pcb.h> and "bsd-kvm.h". | |
5448 | (sparc64nbsd_supply_pcb): New function. | |
5449 | (_initialize_sparc64nbsd_nat): Renamed from | |
5450 | _initialize_sparcnbsd_nat. Enable libkvm interface. | |
5451 | * Makefile.in (sparc64nbsd-nat.o): Update dependencies. | |
5452 | * config/sparc/nbsd64.mh (NATDEPFILES): Add bsd-kvm.o | |
5453 | (LOADLIBES): New variable. | |
5454 | ||
a4954a62 MK |
5455 | * config/sparc/obsd64.mt (TDEPFILES): Add sparcobsd-tdep.o. |
5456 | ||
bd921882 MK |
5457 | * sparcnbsd-nat.c (sparc32nbsd_supply_pcb): Fix typo in comment. |
5458 | ||
23a6d369 AC |
5459 | 2004-07-21 Andrew Cagney <cagney@gnu.org> |
5460 | ||
5461 | Use regcache_raw_supply instead of supply_register. | |
5462 | * regcache.h (supply_register): Delete declaration. | |
5463 | * regcache.c (supply_register): Delete function. | |
5464 | * wince.c (do_child_fetch_inferior_registers): Update. | |
5465 | * win32-nat.c (do_child_fetch_inferior_registers) | |
5466 | (fetch_elf_core_registers): Update. | |
5467 | * v850ice.c (v850ice_fetch_registers): Update. | |
5468 | * thread-db.c (thread_db_store_registers): Update. | |
5469 | * sol-thread.c (sol_thread_store_registers): Update. | |
5470 | * shnbsd-tdep.c (shnbsd_supply_reg): Update. | |
5471 | * rs6000-nat.c (fetch_register): Update. | |
5472 | * rom68k-rom.c (rom68k_supply_one_register): Update. | |
5473 | * remote.c (remote_wait, remote_async_wait): Update. | |
5474 | * remote-st.c (get_hex_regs): Update. | |
5475 | * remote-sim.c (gdbsim_fetch_register): Update. | |
5476 | * remote-sds.c (sds_fetch_registers): Update. | |
5477 | * remote-rdp.c (remote_rdp_fetch_register): Update. | |
5478 | * remote-rdi.c (arm_rdi_fetch_registers): Update. | |
5479 | * remote-mips.c (mips_wait, mips_fetch_registers): Update. | |
5480 | * remote-m32r-sdi.c (m32r_fetch_register): Update. | |
5481 | * remote-hms.c (init_hms_cmds): Update. | |
5482 | * remote-est.c (init_est_cmds): Update. | |
5483 | * remote-e7000.c (get_hex_regs, fetch_regs_from_dump) | |
5484 | (e7000_fetch_registers, sub2_from_pc, e7000_wait): Update. | |
5485 | * ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_supply_fpreg): Update. | |
5486 | * ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register) | |
5487 | (fetch_register, supply_vrregset, supply_vrregset) | |
5488 | (fetch_spe_registers): Update. | |
5489 | * ppc-bdm.c (bdm_ppc_fetch_registers): Update. | |
5490 | * monitor.c (monitor_supply_register): Update. | |
5491 | * mipsv4-nat.c (supply_gregset, supply_fpregset): Update. | |
5492 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg) | |
5493 | (mipsnbsd_supply_fpreg): Update. | |
5494 | * mips-nat.c (fetch_inferior_registers) | |
5495 | (fetch_core_registers): Update. | |
5496 | * mips-linux-tdep.c (supply_32bit_reg, supply_gregset) | |
5497 | (supply_fpregset, mips64_supply_gregset) | |
5498 | (mips64_supply_fpregset): Update. | |
5499 | * m68klinux-nat.c (fetch_register, supply_gregset) | |
5500 | (supply_fpregset): Update. | |
5501 | * m68k-tdep.c (supply_gregset, supply_fpregset): Update. | |
5502 | * m32r-rom.c (init_m32r_cmds, init_mon2000_cmds): Update. | |
5503 | * lynx-nat.c (fetch_inferior_registers, fetch_core_registers): Update. | |
5504 | * irix5-nat.c (supply_gregset, supply_fpregset): Update. | |
5505 | * infptrace.c (fetch_register): Update. | |
5506 | * ia64-linux-nat.c (supply_gregset, supply_fpregset): Update. | |
5507 | * ia64-aix-nat.c (supply_gregset, supply_fpregset): Update. | |
5508 | * i386gnu-nat.c (fetch_fpregs, supply_gregset) | |
5509 | (gnu_fetch_registers, gnu_store_registers): Update. | |
5510 | * i386-nto-tdep.c (i386nto_supply_gregset): Update. | |
5511 | * i386-linux-nat.c (fetch_register, supply_gregset) | |
5512 | (dummy_sse_values): Update. | |
5513 | * hpux-thread.c (hpux_thread_fetch_registers): Update. | |
5514 | * hppah-nat.c (fetch_register): Update. | |
5515 | * hppa-linux-nat.c (fetch_register, supply_gregset) | |
5516 | (supply_fpregset): Update. | |
5517 | * go32-nat.c (fetch_register): Update. | |
5518 | * dve3900-rom.c (fetch_bitmapped_register) | |
5519 | (_initialize_r3900_rom): Update. | |
5520 | * cris-tdep.c (supply_gregset): Update. | |
5521 | * abug-rom.c (init_abug_cmds): Update. | |
5522 | * core-aout.c (fetch_core_registers): Update. | |
5523 | * armnbsd-nat.c (supply_gregset, supply_fparegset) | |
5524 | (fetch_register, fetch_fp_register): Update. | |
5525 | * arm-linux-nat.c (fetch_nwfpe_single, fetch_nwfpe_none) | |
5526 | (fetch_nwfpe_extended, fetch_fpregister, fetch_fpregs) | |
5527 | (fetch_register, fetch_regs, supply_gregset, supply_fpregset): Update. | |
5528 | * alphanbsd-tdep.c (fetch_core_registers): Update. | |
5529 | * alpha-tdep.c (alpha_supply_int_regs, alpha_supply_fp_regs): Update. | |
5530 | * alpha-nat.c (fetch_osf_core_registers) | |
5531 | (fetch_osf_core_registers, fetch_osf_core_registers): Update. | |
5532 | * aix-thread.c (supply_gprs64, supply_reg32, supply_fprs) | |
5533 | (supply_sprs64, supply_sprs32, fetch_regs_kernel_thread): Update. | |
5534 | ||
73cc75f3 AC |
5535 | 2004-07-21 Andrew Cagney <cagney@gnu.org> |
5536 | ||
5537 | * PROBLEMS: Mention breakpoints/1702. | |
5538 | * NEWS: For signal trampolines, cite s390 GNU/Linux as a system | |
5539 | that is known to work. | |
5540 | ||
a53c66de AC |
5541 | 2004-07-21 Andrew Cagney <cagney@gnu.org> |
5542 | ||
5543 | * config/mips/tm-mips.h (DEPRECATED_IGNORE_HELPER_CALL): Deprecate. | |
5544 | * mips-tdep.c (mips_dump_tdep, mips_ignore_helper): Update. | |
5545 | * infrun.c (DEPRECATED_IGNORE_HELPER_CALL): Delete macro. | |
5546 | (handle_inferior_event): Wrap call to deprecated | |
5547 | IGNORE_HELPER_CALL in #ifdef. | |
5548 | * config/mips/tm-nbsd.h: Update. | |
5549 | ||
708ff411 JB |
5550 | 2004-07-20 Jim Blandy <jimb@redhat.com> |
5551 | ||
412b3060 JB |
5552 | * rs6000-tdep.c (rs6000_gdbarch_init): The register set used for |
5553 | bfd_mach_ppc has no segment registers. | |
5554 | ||
13ac140c JB |
5555 | Include PowerPC SPR numbers for special-purpose registers. |
5556 | * rs6000-tdep.c (struct reg): Add new member, 'spr_num'. | |
5557 | (R, R4, R8, R16, F, P, R32, R64, R0): Include value for | |
5558 | new member in initializer. | |
5559 | (S, S4, SN4, S64): New macros for defining special-purpose | |
5560 | registers. | |
5561 | (PPC_UISA_SPRS, PPC_UISA_NOFP_SPRS, PPC_OEA_SPRS, registers_power, | |
5562 | registers_403, registers_403GC, registers_505, registers_860, | |
5563 | registers_601, registers_602, registers_603, registers_604, | |
5564 | registers_750, registers_e500): Use them. | |
5565 | ||
708ff411 JB |
5566 | * rs6000-tdep.c (rs6000_gdbarch_init): Delete variable 'power'; |
5567 | replace references with expression used to initialize variable. | |
5568 | ||
1f602b35 AC |
5569 | 2004-07-20 Andrew Cagney <cagney@gnu.org> |
5570 | ||
5571 | * breakpoint.c (deprecated_read_memory_nobpt): Rename | |
5572 | read_memory_nobpt. | |
5573 | * sparc-linux-tdep.c (sparc_linux_sigtramp_start): Update. | |
5574 | * s390-tdep.c (s390_readinstruction, s390_in_function_epilogue_p) | |
5575 | (s390_sigtramp_frame_sniffer): Update. | |
5576 | * mn10300-tdep.c (mn10300_analyze_prologue): Update. | |
5577 | * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Update. | |
5578 | * mips-tdep.c (mips_fetch_instruction, mips16_fetch_instruction) | |
5579 | (mips32_fetch_instruction): Update. | |
5580 | * mcore-tdep.c (get_insn): Update. | |
5581 | * m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Update. | |
5582 | * i386nbsd-tdep.c (i386nbsd_sigtramp_offset): Update. | |
5583 | * i386ly-tdep.c (i386lynx_saved_pc_after_call): Update. | |
5584 | * i386-linux-tdep.c (i386_linux_sigtramp_start) | |
5585 | (i386_linux_rt_sigtramp_start): Update. | |
5586 | * i386-linux-nat.c (child_resume): Update. | |
5587 | * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Update. | |
5588 | * hppa-linux-tdep.c (insns_match_pattern): Update. | |
5589 | * gdbcore.h: Update. | |
5590 | * frv-tdep.c (frv_gdbarch_adjust_breakpoint_address): Update. | |
5591 | * frame.c (safe_frame_unwind_memory): Update. | |
5592 | * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Update. | |
5593 | * alphanbsd-tdep.c (alphanbsd_sigtramp_offset): Update. | |
5594 | * alpha-tdep.c (alpha_read_insn): Update. | |
5595 | ||
2cd8546d AC |
5596 | 2004-07-20 Andrew Cagney <cagney@gnu.org> |
5597 | ||
5598 | * tramp-frame.h (struct tramp_frame): Change "insn" to a struct | |
5599 | containing both bytes and mask. Add "frame_type". | |
5600 | * tramp-frame.c (tramp_frame_start): Update. | |
5601 | (tramp_frame_prepend_unwinder): Update. | |
5602 | * mips-linux-tdep.c (mips_linux_o32_sigframe) | |
5603 | (mips_linux_o32_rt_sigframe, mips_linux_n32_rt_sigframe) | |
5604 | (mips_linux_n64_rt_sigframe): Update. Make "static const". | |
5605 | * ppcnbsd-tdep.c (tramp_frame ppcnbsd_sigtramp): Update. | |
5606 | ||
f928dd62 EZ |
5607 | 2004-07-19 Eli Zaretskii <eliz@gnu.org> |
5608 | ||
5609 | * config/djgpp/fnchange.lst: Add remapping for bfd/elf32-cr*.c, | |
5610 | bfd/elf32-sh-symbian.c, bfd/elf32-sh64-com.c, | |
5611 | sim/testsuite/sim/mips/hilo-hazard-[123].s, and | |
5612 | sim/testsuite/sim/mips/fpu64-ps-sb1.s. | |
5613 | ||
d5c560f7 AC |
5614 | 2004-07-17 Andrew Cagney <cagney@gnu.org> |
5615 | ||
860660cb AC |
5616 | * NEWS, PROBLEMS: Update for 6.2. |
5617 | ||
8c266f54 AC |
5618 | * README: Update to 6.2. |
5619 | ||
a552edd9 AC |
5620 | * utils.c (xvasprintf): Call xstrvprintf. |
5621 | ||
c4a172b5 AC |
5622 | * parse.c: Update copyright. |
5623 | (null_post_parser): Eliminate ARGSUSED. | |
5624 | ||
da745b36 AC |
5625 | * ppc-linux-nat.c (store_spe_registers): Eliminate K&R C. |
5626 | * tui/tui-win.c (tui_get_cmd_list): Ditto. | |
5627 | * symfile-mem.c (_initialize_symfile_mem): Ditto. | |
5628 | ||
9cbc6ef0 AC |
5629 | * ppc-linux-tdep.c (ppc_linux_init_abi): Add [sic] to Linux. |
5630 | * ppc-linux-nat.c: Use "Linux kernel". | |
5631 | * hppa-linux-tdep.c: Use GNU/Linux. | |
5632 | * hppa-linux-nat.c: Use GNU/Linux. | |
5633 | * dwarfread.c: Add [sic] to use of Linux. | |
5634 | ||
1b89295f AC |
5635 | * hppa-linux-nat.c: Do not include <string.h>. |
5636 | (supply_fpregset): Remove "register" attribute. | |
5637 | ||
d5c560f7 AC |
5638 | * solib-frv.c (fetch_loadmap): Use xfree, not free. |
5639 | ||
7ddd7709 MK |
5640 | 2004-07-17 Mark Kettenis <kettenis@gnu.org> |
5641 | ||
b1d19a62 MK |
5642 | * configure.in: Define _MSE_INT_H on Solaris 9 too. |
5643 | * configure, config.in: Regenerated. | |
5644 | ||
7ddd7709 MK |
5645 | * vaxbsd-nat.c: Include <sys/types.h>, <machine/pcb.h> and |
5646 | "bsd-kvm.h". | |
5647 | (vaxbsd_supply_pcb): New function. | |
5648 | (_initialize_vaxbsd_nat): New prototype and function. | |
5649 | * config/vax/nbsdaout.mh (NATDEPFILES): Add bsd-kvm.o, solib.o and | |
5650 | solib-sunos.o. | |
5651 | (LOADLIBES): New variable. | |
5652 | * config/vax/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o. | |
5653 | (LOADLIBES): New variable. | |
5654 | * config/vax/obsd.mh (NATDEPFILES): Add bsd-kvm.o. | |
5655 | (LOADLIBES): New variable. | |
5656 | * Makefile.in (vaxbsd-nat.o): Update dependencies. | |
5657 | ||
2c07db7a AC |
5658 | 2004-07-16 Andrew Cagney <cagney@gnu.org> |
5659 | ||
5660 | * defs.h (event_loop_p): Replace variable declaration with macro, | |
5661 | always 1. | |
5662 | * main.c (captured_main): Delete options "-async" and "-noasync". | |
5663 | (event_loop_p): Delete variable. | |
5664 | * NEWS: Mention that "-async" and "-noasync" were removed. | |
5665 | ||
717eb1cf AC |
5666 | 2004-07-16 Andrew Cagney <cagney@gnu.org> |
5667 | ||
5668 | * remote-m32r-sdi.c: Re-indent. | |
5669 | ||
c101bc14 JB |
5670 | 2004-07-16 Jim Blandy <jimb@redhat.com> |
5671 | ||
5109a438 JB |
5672 | * ppc-tdep.h (ppc_spr_asr): Add missing OEA SPR. |
5673 | (ppc_spr_mi_dbcam, ppc_spr_mi_dbram0, ppc_spr_mi_dbram1) | |
5674 | (ppc_spr_md_cam, ppc_spr_md_ram0, ppc_spr_md_ram1): Add | |
5675 | missing MPC823 SPRs. | |
5676 | (ppc_spr_m_twb): Renamed from ppc_spr_md_twb; the old name was | |
5677 | incorrect. (This was corrected in GDB's register name tables on | |
5678 | 2004-07-14.) | |
5679 | ||
c101bc14 JB |
5680 | * rs6000-tdep.c (registers_602): Correct register name: "esassr" |
5681 | should be "esasrr" ("ESA Save and Restore Register"). | |
5682 | ||
7ce450bd AC |
5683 | 2004-07-16 Andrew Cagney <cagney@gnu.org> |
5684 | ||
5685 | * infrun.c (insert_step_resume_breakpoint): Delete gdb_assert | |
5686 | calls, no longer applicable. Update comments and rename parameter | |
5687 | "step_frame" to "return_frame". | |
5688 | ||
ca73dd9d AC |
5689 | 2004-07-16 Andrew Cagney <cagney@gnu.org> |
5690 | ||
5691 | * frame.c (fprint_field): New function. | |
5692 | (fprint_frame_id): Use fprint_field. | |
5693 | ||
31941f6d JB |
5694 | 2004-07-15 Joel Brobecker <brobecker@gnat.com> |
5695 | ||
5696 | * ada-lang.c (ada_language_defn): Remove commented out code. | |
5697 | ||
f86a7158 JB |
5698 | 2004-07-15 Jim Blandy <jimb@redhat.com> |
5699 | ||
5700 | * ppc-tdep.h (struct gdbarch_tdep): New member: ppc_sr0_regnum. | |
5701 | * rs6000-tdep.c (rs6000_gdbarch_init): Initialize it. | |
5702 | ||
c24791ec JB |
5703 | 2004-07-14 Jim Blandy <jimb@redhat.com> |
5704 | ||
29bb1356 JB |
5705 | * rs6000-tdep.c (COMMON_UISA_NOFP_REGS): Delete; unused. |
5706 | ||
cc98b5cc JB |
5707 | * ppc-tdep.h (ppc_num_vrs): New enum constant. |
5708 | ||
8f088af7 JB |
5709 | * ppc-tdep.h (ppc_num_srs): New enum constant. |
5710 | ||
0ea0ec5f JB |
5711 | * ppc-tdep.h (ppc_spr_mq, ppc_spr_xer, ppc_spr_rtcu, ppc_spr_rtcl) |
5712 | (ppc_spr_lr, ppc_spr_ctr, ppc_spr_cnt, ppc_spr_dsisr, ppc_spr_dar) | |
5713 | (ppc_spr_dec, ppc_spr_sdr1, ppc_spr_srr0, ppc_spr_srr1) | |
5714 | (ppc_spr_eie, ppc_spr_eid, ppc_spr_nri, ppc_spr_sp, ppc_spr_cmpa) | |
5715 | (ppc_spr_cmpb, ppc_spr_cmpc, ppc_spr_cmpd, ppc_spr_icr) | |
5716 | (ppc_spr_der, ppc_spr_counta, ppc_spr_countb, ppc_spr_cmpe) | |
5717 | (ppc_spr_cmpf, ppc_spr_cmpg, ppc_spr_cmph, ppc_spr_lctrl1) | |
5718 | (ppc_spr_lctrl2, ppc_spr_ictrl, ppc_spr_bar, ppc_spr_vrsave) | |
5719 | (ppc_spr_sprg0, ppc_spr_sprg1, ppc_spr_sprg2, ppc_spr_sprg3) | |
5720 | (ppc_spr_ear, ppc_spr_tbl, ppc_spr_tbu, ppc_spr_pvr) | |
5721 | (ppc_spr_spefscr, ppc_spr_ibat0u, ppc_spr_ibat0l, ppc_spr_ibat1u) | |
5722 | (ppc_spr_ibat1l, ppc_spr_ibat2u, ppc_spr_ibat2l, ppc_spr_ibat3u) | |
5723 | (ppc_spr_ibat3l, ppc_spr_dbat0u, ppc_spr_dbat0l, ppc_spr_dbat1u) | |
5724 | (ppc_spr_dbat1l, ppc_spr_dbat2u, ppc_spr_dbat2l, ppc_spr_dbat3u) | |
5725 | (ppc_spr_dbat3l, ppc_spr_ic_cst, ppc_spr_ic_adr, ppc_spr_ic_dat) | |
5726 | (ppc_spr_dc_cst, ppc_spr_dc_adr, ppc_spr_dc_dat, ppc_spr_dpdr) | |
5727 | (ppc_spr_dpir, ppc_spr_immr, ppc_spr_mi_ctr, ppc_spr_mi_ap) | |
5728 | (ppc_spr_mi_epn, ppc_spr_mi_twc, ppc_spr_mi_rpn, ppc_spr_mi_cam) | |
5729 | (ppc_spr_mi_ram0, ppc_spr_mi_ram1, ppc_spr_md_ctr, ppc_spr_m_casid) | |
5730 | (ppc_spr_md_ap, ppc_spr_md_epn, ppc_spr_md_twb, ppc_spr_md_twc) | |
5731 | (ppc_spr_md_rpn, ppc_spr_m_tw, ppc_spr_md_dbcam, ppc_spr_md_dbram0) | |
5732 | (ppc_spr_md_dbram1, ppc_spr_ummcr0, ppc_spr_upmc1, ppc_spr_upmc2) | |
5733 | (ppc_spr_usia, ppc_spr_ummcr1, ppc_spr_upmc3, ppc_spr_upmc4) | |
5734 | (ppc_spr_zpr, ppc_spr_pid, ppc_spr_mmcr0, ppc_spr_pmc1) | |
5735 | (ppc_spr_sgr, ppc_spr_pmc2, ppc_spr_dcwr, ppc_spr_sia) | |
5736 | (ppc_spr_mmcr1, ppc_spr_pmc3, ppc_spr_pmc4, ppc_spr_sda) | |
5737 | (ppc_spr_tbhu, ppc_spr_tblu, ppc_spr_dmiss, ppc_spr_dcmp) | |
5738 | (ppc_spr_hash1, ppc_spr_hash2, ppc_spr_icdbdr, ppc_spr_imiss) | |
5739 | (ppc_spr_esr, ppc_spr_icmp, ppc_spr_dear, ppc_spr_rpa) | |
5740 | (ppc_spr_evpr, ppc_spr_cdbcr, ppc_spr_tsr, ppc_spr_602_tcr) | |
5741 | (ppc_spr_403_tcr, ppc_spr_ibr, ppc_spr_pit, ppc_spr_esasrr) | |
5742 | (ppc_spr_tbhi, ppc_spr_tblo, ppc_spr_srr2, ppc_spr_sebr) | |
5743 | (ppc_spr_srr3, ppc_spr_ser, ppc_spr_hid0, ppc_spr_dbsr) | |
5744 | (ppc_spr_hid1, ppc_spr_iabr, ppc_spr_dbcr, ppc_spr_iac1) | |
5745 | (ppc_spr_dabr, ppc_spr_iac2, ppc_spr_dac1, ppc_spr_dac2) | |
5746 | (ppc_spr_l2cr, ppc_spr_dccr, ppc_spr_ictc, ppc_spr_iccr) | |
5747 | (ppc_spr_thrm1, ppc_spr_pbl1, ppc_spr_thrm2, ppc_spr_pbu1) | |
5748 | (ppc_spr_thrm3, ppc_spr_pbl2, ppc_spr_fpecr, ppc_spr_lt) | |
5749 | (ppc_spr_pir, ppc_spr_pbu2): New enum constants for PowerPC | |
5750 | special-purpose register numbers. | |
5751 | ||
c24791ec JB |
5752 | * rs6000-tdep.c (registers_860): Correct register name. (No PPC |
5753 | manual mentions 'md_twb', but many mention 'm_twb', and at that | |
5754 | point in the register list.) | |
5755 | ||
d833db3b AC |
5756 | 2004-07-14 Andrew Cagney <cagney@gnu.org> |
5757 | ||
5758 | * utils.c (internal_warning_problem): Fix typo, "internal-warning" | |
5759 | instead of "internal-error". | |
5760 | ||
080228b2 JB |
5761 | 2004-07-10 Joel Brobecker <brobecker@gnat.com> |
5762 | ||
5763 | * hppa-hpux-tdep.c: Fix a compilation failure due to a comment | |
5764 | that was inserted inside a comment. | |
5765 | ||
c268433a RC |
5766 | 2004-07-10 Randolph Chung <tausq@debian.org> |
5767 | ||
5768 | * hppa-hpux-tdep.c (hppa_hpux_som_find_global_pointer): New | |
5769 | function. | |
5770 | (hppa_hpux_push_dummy_code): New function. | |
5771 | (hppa_hpux_init_abi): Set push_dummy_code and call_dummy_location. | |
5772 | Set find_global_pointer method. | |
5773 | ||
71009278 MK |
5774 | 2004-07-10 Mark Kettenis <kettenis@gnu.org> |
5775 | ||
5776 | * NEWS: Mention BSD libkvm interface. | |
5777 | ||
b2fa5097 MS |
5778 | 2004-07-10 Michael Snyder <msnyder@redhat.com> |
5779 | ||
5780 | * symfile.c (generic_load): Comment typo. | |
5781 | * stack.c (get_selected_block): Ditto. | |
5782 | * regcache.c (regcache_cooked_read): Ditto. | |
5783 | * monitor.c (monitor_debug): Ditto. | |
5784 | * mips-tdep.c (mips_read_pc): Ditto. | |
5785 | * i386-linux-nat.c (ps_get_thread_area): Ditto. | |
5786 | * gdb_mbuild.sh: Ditto. | |
5787 | * gdbarch.sh: Ditto. | |
5788 | * gdbarch.h: Ditto. | |
5789 | ||
c3e5cd34 PH |
5790 | 2004-07-09 Paul N. Hilfinger <Hilfinger@gnat.com> |
5791 | ||
8a2225b2 PH |
5792 | * ada-tasks.c: Remove file. |
5793 | ||
c3e5cd34 PH |
5794 | Remove ARI problems: |
5795 | ||
5796 | * ada-exp.y (write_var_from_sym): Reformat to put operator at | |
5797 | beginning of line. | |
5798 | ||
5799 | * ada-lang.c (MAX_OF_SIZE): Rename max_of_size. | |
5800 | Add comment. | |
5801 | Add comment concerning MAX_OF_TYPE and MIN_OF_TYPE. | |
5802 | (MIN_OF_SIZE): Rename min_of_size. Add comment. | |
5803 | (UMAX_OF_SIZE): Renmae umax_of_size. Add comment. | |
5804 | (UMIN_OF_SIZE): Remove. | |
5805 | (max_of_type): New function to replace orphan macro in gdbtypes.h | |
5806 | (min_of_type): Ditto. | |
5807 | (discrete_type_high_bound): Use max_of_type. | |
5808 | (discrete_type_low_bound): Use min_of_type. | |
5809 | (possible_user_operator_p): Move operator to beginning of line. | |
5810 | (ada_is_variant_part): Ditto. | |
5811 | (ensure_lval): Rewrite to avoid deprecated operations. | |
5812 | (ada_finish_decode_line_1): Use gdbarch_convert_from_func_ptr_addr | |
5813 | rather than adding DEPRECATED_FUNCTION_START_OFFSET. | |
5814 | (ada_enum_name): Remove assignments in 'if' statements. | |
5815 | (build_ada_types): Add gdbarch parameter. | |
5816 | (_initialize_ada_language): Replace deprecated_register_gdbarch_swap | |
5817 | with gdbarch_data_register_post_init. | |
5818 | Use add_setshow_uinteger_cmd rather than add_set_cmd and | |
5819 | add_show_from_set. | |
5820 | ||
5821 | * ada-valprint.c (inspect_it): Remove declaration. | |
5822 | (repeat_count_threshold): Remove declaration. | |
5823 | (ada_print_floating): Remove assignments in 'if' statements. | |
5824 | (print_str): Move operator to beginning of line. | |
5825 | ||
61ce229a JB |
5826 | 2004-07-08 Jim Blandy <jimb@redhat.com> |
5827 | ||
5828 | * rs6000-tdep.c (registers_powerpc_nofp): Unused; deleted. | |
5829 | ||
09bcec80 BR |
5830 | 2004-07-08 Bob Rossi <bob@brasko.net> |
5831 | ||
5832 | * symtab.c (lookup_symtab): check return value of symtab_to_fullname | |
5833 | ||
31c27f77 JJ |
5834 | 2004-07-06 Jeff Johnston <jjohnstn@redhat.com> |
5835 | ||
5836 | * language.h (struct_language_defn): Add new function pointer: | |
5837 | la_class_name_from_physname. Also add new prototype for | |
5838 | language_class_name_from_physname. | |
5839 | * language.c (language_class_name_from_physname): New function. | |
5840 | (unk_lang_class_name): Ditto. | |
5841 | (unknown_language_defn, auto_language_defn): Change | |
5842 | to add unk_lang_class_name function pointer for | |
5843 | la_class_name_from_physname. | |
5844 | (local_language_defn): Ditto. | |
5845 | * dwarf2read.c (guess_structure_name): Change to call | |
5846 | language_class_name_from_physname. | |
5847 | (determine_class_name): Ditto. | |
5848 | * cp-support.c (class_name_from_physname): Renamed. | |
5849 | (cp_class_name_from_physname): New name of function. | |
5850 | * cp-support.h: Ditto. | |
5851 | * c-lang.c (c_language_defn): Change to add NULL | |
5852 | for class_name_from_physname function pointer. | |
5853 | (cplus_language_defn): Change to add cp_class_name_from_physname. | |
5854 | * jv-lang.c (java_class_name_physname): New function. | |
5855 | (java_find_last_component): New static routine. | |
5856 | (java_language_defn): Add java_class_name_from_physname pointer. | |
5857 | * ada-lang.c (ada_language_defn): Change to add NULL | |
5858 | for class_name_from_physname function pointer. | |
5859 | * f-lang.c (f_language_defn): Ditto. | |
5860 | * m2-lang.c (m2_language_defn): Ditto. | |
5861 | * objc-lang.c (objc_language_defn): Ditto. | |
5862 | * p-lang.c (pascal_language_defn): Ditto. | |
5863 | * scm-lang.c (scm_language_defn): Ditto. | |
5864 | ||
ee28ca0f AC |
5865 | 2004-07-06 Andrew Cagney <cagney@gnu.org> |
5866 | ||
5867 | Patch from Bart Robinson. | |
5868 | * corelow.c (core_open): Add variable "flags", or in O_LARGEFILE. | |
5869 | (O_LARGEFILE): Define to 0, if not defined. | |
5870 | ||
fdb1bf9d MK |
5871 | 2004-07-03 Mark Kettenis <kettenis@gnu.org> |
5872 | ||
cb162ff6 MK |
5873 | * m68kbsd-nat.c: Include "gdbcore.h", <sys/types.h>, |
5874 | <machine/pcb.h> and "bsd-kvm.h". | |
5875 | (PCB_REGS_FP, PCB_REGS_SP): Define if not already defined. | |
5876 | (m68kbsd_supply_pcb): New function. | |
5877 | (_initialize_m68kbsd_nat): New prototype and function. | |
5878 | * Makefile.in (m68kbsd-nat.o): Update dependencies. | |
5879 | * config/m68k/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o. | |
5880 | (LOADLIBES): New variable. | |
5881 | * config/m68k/obsd.mh (NATDEPFILES): Add bsd-kvm.o. | |
5882 | (LOADLIBES): New variable. | |
5883 | ||
fdb1bf9d MK |
5884 | * bsd-kvm.c (bsd_kvm_cmdlist): Remove unecessary initialization. |
5885 | ||
963c4174 MK |
5886 | 2004-07-03 Mark Kettenis <kettenis@gnu.org> |
5887 | ||
5888 | * bsd-kvm.c: Include "cli/cli-cmds.h", "command.h", "value.h" and | |
5889 | <sys/proc.h>. | |
5890 | (bsd_kvm_cmdlist): New variable. | |
5891 | (bsd_kvm_cmd, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): New functions. | |
5892 | (bsd_kvm_add_target): Register "kvm" command prefix, "kvm pcb" | |
5893 | command and "kvm proc" command. | |
5894 | * Makefile.in (bsd-kvm.o): Update dependencies. | |
5895 | ||
533f1d8f MK |
5896 | 2004-07-02 Mark Kettenis <kettenis@gnu.org> |
5897 | ||
5898 | * osabi.c: Update copyright year. | |
5899 | (generic_elf_osabi_sniffer): Tweak comment. Look for OS-specific | |
5900 | notes if EI_OSABI is set to ELFOSABI_HPUX. | |
5901 | ||
6780dcde MS |
5902 | 2004-07-01 Michael Snyder <msnyder@redhat.com> |
5903 | ||
5904 | * win32-nat.c (core_dll_symbols_add): Re-indent a small section | |
5905 | that seems to have gotten whacked out of line. | |
5906 | ||
67bebe79 MK |
5907 | 2004-07-01 Mark Kettenis <kettenis@gnu.org> |
5908 | ||
5909 | * dbxread.c (process_one_symbol) [PCC_SOL_BROKEN]: Remove dead | |
5910 | code. | |
5911 | ||
0b5d8877 PH |
5912 | 2004-07-01 Paul N. Hilfinger <Hilfinger@gnat.com> |
5913 | ||
5914 | * ada-lang.c (decode_packed_array): Minor change to comment. | |
5915 | (ada_value_slice_ptr): New function. | |
5916 | (ada_value_slice): New function. | |
5917 | (ada_evaluate_subexp): Remove XVS-suffix code from subscripting | |
5918 | test. Don't know why it is there. | |
5919 | Change slice code to use ada_value_slice_ptr and ada_value_slice, and | |
5920 | to avoid dereferencing huge arrays from which one is slicing. | |
5921 | (empty_array): Correct to return an array rather than | |
5922 | a subrange value. | |
5923 | * ada-valprint.c (print_optional_low_bound): Don't print lower bound | |
5924 | on empty arrays (let'em use 'FIRST instead). | |
5925 | ||
19c1ef65 PH |
5926 | 2004-07-01 Paul N. Hilfinger <Hilfinger@gnat.com> |
5927 | ||
5928 | Address complaints from gdb_ari.sh: | |
5929 | ||
5930 | * ada-exp.y: Include gdb_string.h rather than string.h. | |
5931 | (convert_char_literal): Reformat declaration. | |
5932 | * ada-lang.h: Include opaque struct declaration for struct frame_info. | |
5933 | * ada-lex.l: Change use of free to xfree (the macro would do so | |
5934 | anyway, but this is harmless). | |
5935 | Include gdb_string.h rather than string.h. | |
5936 | * ada-valprint.c (ada_val_print_stub): Change PTR => void*. | |
5937 | ||
5938 | * ada-lang.c (parse): Remove K&Rism in parameter list. | |
5939 | (is_name_suffix): Correct Linux => GNU/Linux in comment. | |
5940 | ||
d81cbc94 MK |
5941 | 2004-06-30 Mark Kettenis <kettenis@gnu.org> |
5942 | ||
5943 | * dbxread.c (process_one_symbol) [SUN_FIXED_LBRAC_BUG]: Remove | |
5944 | dead code. | |
5945 | ||
07681759 MK |
5946 | 2004-06-30 Mark Kettenis <kettenis@gnu.org> |
5947 | ||
5948 | * alphabsd-nat.c: Update copyright year. | |
5949 | (getregs_supplies): Use ALPHA_PC_REGNUM instead of PC_REGNUM. | |
5950 | ||
f7948b5f JB |
5951 | 2004-06-29 Joel Brobecker <brobecker@gnat.com> |
5952 | ||
6e0cdd28 | 5953 | * i386-cygwin-tdep.c (i386_cygwin_skip_trampoline_code): New function. |
f7948b5f JB |
5954 | (i386_cygwin_in_solib_call_trampoline): New function. |
5955 | (i386_cygwin_init_abi): Initialize the in_solib_call_trampoline | |
5956 | and skip_trampoline_code gdbarch methods. | |
5957 | ||
8f113c9a JB |
5958 | 2004-06-29 Jim Blandy <jimb@redhat.com> |
5959 | ||
5960 | * Makefile.in (gdb_callback_h): Renamed from callback_h to the | |
5961 | name actually used in the dependency lists. | |
5962 | ||
97dc871c RC |
5963 | 2004-06-29 Randolph Chung <tausq@debian.org> |
5964 | ||
5965 | * NEWS (New native configurations): Mention GNU/Linux/hppa. | |
5966 | ||
47216e51 CV |
5967 | 2004-06-29 Corinna Vinschen <vinschen@redhat.com> |
5968 | ||
5969 | * win32-nat.c (child_pid_to_exec_file): New function. | |
6780dcde | 5970 | (init_child_ops): Add child_pid_to_exec_file as to_pid_to_exec_file |
47216e51 CV |
5971 | functionality. |
5972 | ||
e623b504 AC |
5973 | 2004-06-28 Andrew Cagney <cagney@gnu.org> |
5974 | ||
5975 | * defs.h (xstrvprintf): Declare. | |
5976 | * utils.c (xstrvprintf): New function. | |
5977 | (internal_vproblem, xstrprintf, xasprintf) | |
5978 | (vfprintf_maybe_filtered, vfprintf_unfiltered): Use xstrvprintf. | |
5979 | * serial.c (serial_printf): Ditto. | |
5980 | * complaints.c (vcomplaint): Ditto. | |
5981 | ||
79acc9b3 CV |
5982 | 2004-06-29 Corinna Vinschen <vinschen@redhat.com> |
5983 | ||
5984 | * infcmd.c (attach_command): Move call to target_terminal_inferior | |
5985 | behind loading symbol table. | |
5986 | ||
1daf35d9 AC |
5987 | 2004-06-28 Andrew Cagney <cagney@gnu.org> |
5988 | ||
5989 | * rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Revert 2004-06-24 | |
5990 | change - add back extern deprecated_ui_loop_hook declaration. | |
5991 | ||
b435e160 AC |
5992 | 2004-06-28 Andrew Cagney <cagney@gnu.org> |
5993 | ||
5994 | * xcoffsolib.c (xcoff_solib_address): Replace xasprintf with | |
5995 | xstrprintf. | |
5996 | * varobj.c (varobj_gen_name, create_child, c_name_of_child) | |
5997 | (c_value_of_variable): Ditto. | |
5998 | * utils.c (internal_vproblem): Ditto. | |
5999 | * solib-aix5.c (build_so_list_from_mapfile): Ditto. | |
6000 | * remote.c (add_packet_config_cmd): Ditto. | |
6001 | * remote-rdp.c (rdp_set_command_line): Ditto. | |
6002 | * regcache.c (regcache_dump): Ditto. | |
6003 | * frv-tdep.c (new_variant, new_variant): Ditto. | |
6004 | * fbsd-proc.c (child_pid_to_exec_file): Ditto. | |
6005 | (fbsd_find_memory_regions): Ditto. | |
6006 | * breakpoint.c (create_thread_event_breakpoint) | |
6007 | (create_breakpoints): Ditto. | |
6008 | * aix-thread.c (aix_thread_pid_to_str): Ditto. | |
6009 | * ada-lang.c (is_package_name): Ditto. Also delete xmalloc call. | |
6010 | ||
06d5cf63 JB |
6011 | 2004-06-28 Joel Brobecker <brobecker@gnat.com> |
6012 | ||
6013 | * ada-lang.c: Re-indent file, with some massaging to help indent | |
6014 | a bit when the result is otherwise really too ugly. | |
6015 | ||
35809fad UW |
6016 | 2004-06-27 Ulrich Weigand <uweigand@de.ibm.com> |
6017 | ||
6018 | * frame.h (struct frame_id): Change bit field type of stack_addr_p, | |
6019 | code_addr_p and special_addr_p to 'unsigned int'. | |
6020 | ||
40e20472 MK |
6021 | 2004-06-27 Mark Kettenis <kettenis@gnu.org> |
6022 | ||
6023 | * i386v4-nat.c: Update copyright year and tweak comment. | |
6024 | (regmap): Remove trailing comma. | |
6025 | (supply_gregset): Rename local variable i to regnum. Call | |
6026 | regcache_raw_supply instead of supply_register. | |
6027 | (fill_gregset): Rename argument regno to regnum. Call | |
6028 | regcache_raw_collect instead of regcache_collect. | |
6029 | ||
12b0b6de UW |
6030 | 2004-06-27 Ulrich Weigand <uweigand@de.ibm.com> |
6031 | ||
6032 | * frame.h (struct frame_id): New fields stack_addr_p, code_addr_p | |
6033 | and special_addr_p. | |
6034 | (frame_id_build, frame_id_build_special): Update comments. | |
6035 | (frame_id_build_wild): New prototype. | |
6036 | * frame.c (frame_id_build, frame_id_build_special): Fill in new | |
6037 | struct frame_id fields. | |
6038 | (frame_id_build_wild): New function. | |
6039 | (frame_id_eq, frame_id_inner): Use new struct frame_id fields. | |
6040 | ||
47b42a3e MK |
6041 | 2004-06-27 Mark Kettenis <kettenis@gnu.org> |
6042 | ||
6043 | * config/djgpp/fnchange.lst: Add entries for hppabsd-nat.c and | |
6044 | hppabsd-tdep.c. | |
6045 | ||
1265e4aa JB |
6046 | 2004-06-27 Joel Brobecker <brobecker@gnat.com> |
6047 | ||
6048 | * ada-lang.c: Minor reformatting to conform to GNU coding standards. | |
6049 | ||
76a01679 JB |
6050 | 2004-06-27 Joel Brobecker <brobecker@gnat.com> |
6051 | ||
6052 | * ada-lang.c: Re-indent file. | |
6053 | ||
7aca490a JB |
6054 | 2004-06-27 Joel Brobecker <brobecker@gnat.com> |
6055 | ||
6056 | * ada-lang.c (symtab_symbol_info): Remove unused declaration. | |
6057 | (no_symtab_msg): Likewise. | |
6058 | ||
5e987968 AS |
6059 | 2004-06-27 Andreas Schwab <schwab@suse.de> |
6060 | ||
6061 | * source.c: Fix whitespace. | |
6062 | ||
315c4276 MK |
6063 | 2004-06-27 Mark Kettenis <kettenis@gnu.org> |
6064 | ||
d15be926 MK |
6065 | * configure.in: Include <sys/param.h> for td_pcb test. |
6066 | * configure: Regenerated. | |
6067 | ||
9062529b MK |
6068 | * i386nbsd-nat.c: New file. |
6069 | * Makefile.in (ALLDEPFILES): Add i386nbsd-nat.c, i386nbsd-tdep.c, | |
6070 | i386obsd-nat.c and i386obsd-tdep.c. | |
6071 | (i386nbsd-nat.o): New dependency. | |
6072 | * config/i386/obsd.mh (NATDEPFILES): Add i386nbsd-nat.o and | |
6073 | bsd-kvm.o. | |
6074 | (LOADLIBES): New variable. | |
6075 | * config/i386/nbsdelf.mh (NATDEPFILES): Add i386nbsd-nat.o and | |
6076 | bsd-kvm.o. | |
6077 | (LOADLIBES): New variable. | |
6078 | ||
8010310e MK |
6079 | * config/i386/fbsd64.mh (NATDEPFILES): Add bsd-kvm.o. |
6080 | (LOADLIBES): New variable. | |
6081 | ||
efe1d7b9 MK |
6082 | * bsd-kvm.c (bsd_kvm_fetch_registers): Directly return after |
6083 | fetching from BSD_KVM_PADDR. Correctly lookup address for | |
6084 | "_thread0". | |
6085 | ||
315c4276 MK |
6086 | * amd64fbsd-nat.c: Include <sys/types.h, <machine/pcb.h> and |
6087 | "bsd-kvm.h". | |
6088 | (amd64fbsd_supply_pcb): New funcion. | |
6089 | (_initialize_amd64fbsd_nat): Enable libkvm interface. | |
6090 | ||
399cfac6 DL |
6091 | 2004-06-27 <david@streamline-computing.com> |
6092 | ||
6093 | Partial fix for PR cli/1056. | |
6094 | * valarith.c: Check for zero in division and remainder | |
6095 | evaluation. | |
6096 | ||
6235f9c8 MK |
6097 | 2004-06-27 Mark Kettenis <kettenis@gnu.org> |
6098 | ||
6099 | * i387-tdep.c: Remove excessive whitespace. | |
6100 | ||
2726dafc AC |
6101 | 2004-06-26 Andrew Cagney <cagney@gnu.org> |
6102 | ||
6103 | * gdb-events.sh (deprecated_set_gdb_event_hooks): Deprecated. | |
6104 | * gdb-events.h, gdb-events.c: Re-generate. | |
6105 | * tui/tui-hooks.c (tui_install_hooks): Update. | |
6106 | (tui_remove_hooks): Update. | |
6107 | * mi/mi-cmd-break.c (mi_cmd_break_insert): Update. | |
6108 | ||
0e56aeaf MK |
6109 | 2004-06-26 Mark Kettenis <kettenis@gnu.org> |
6110 | ||
cb461069 MK |
6111 | * amd64fbsd-nat.c: Don't include <sys/procfs.h> and "gregset.h". |
6112 | (gregset_t, fpregset_t): Remove typedefs. | |
6113 | (REG_OFFSET): Rename argument. | |
6114 | (amd64bsd_r_reg_offset): Rename from reg_offset. | |
6115 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): | |
6116 | Remove functions. | |
6117 | (_initialize_amd64fbsd_nat): Use amd64fbsd64_r_reg_offset instead | |
6118 | of reg_offset. | |
6119 | * Makefile.in (amd64fbsd-nat.o): Update dependencies. | |
6120 | ||
ecba89de MK |
6121 | * amd64-nat.c (amd64_supply_native_gregset): Fix comment. |
6122 | ||
4cd80476 MK |
6123 | * vax-tdep.c: Tweak comment. |
6124 | ||
0e56aeaf MK |
6125 | Add OpenBSD/hppa support. |
6126 | * NEWS (New native configurations): Mention OpenBSD/hppa. | |
6127 | * hppabsd-nat.c, hppabsd-tdep.c, config/pa/obsd.mh, | |
6128 | config/pa/obsd.mt, config/pa/nm-obsd.h, config/pa/tm-bsd.h: New | |
6129 | files. | |
6130 | * Makefile.in (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c. | |
6131 | (hppabsd-nat.o, hppabsd-tdep.c): New dependencies. | |
6132 | * configure.host: Add hppa*-*-openbsd*. | |
6133 | * configure.tgt: Add hppa*-*-openbsd*. | |
6134 | ||
98bbd631 AC |
6135 | 2004-06-25 Andrew Cagney <cagney@gnu.org> |
6136 | ||
6137 | * defs.h (deprecated_ui_loop_hook): Deprecated. | |
6138 | * wince.c (child_wait): Update. | |
6139 | * win32-nat.c (child_wait): Update. | |
6140 | * v850ice.c (v850ice_wait): Update. | |
6141 | * top.c (deprecated_ui_loop_hook): Update. | |
6142 | * serial.h: Update. | |
6143 | * ser-unix.c (do_hardwire_readchar, do_hardwire_readchar) | |
6144 | (do_unix_readchar): Update. | |
6145 | * ser-tcp.c (net_open): Update. | |
6146 | * remote-sim.c (gdb_os_poll_quit): Update. | |
6147 | * rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Update. | |
6148 | ||
769d7dc4 AC |
6149 | 2004-06-24 Andrew Cagney <cagney@gnu.org> |
6150 | ||
6151 | * defs.h (deprecated_pre_add_symbol_hook) | |
6152 | (deprecated_post_add_symbol_hook): Deprecated. | |
6153 | * symfile.c (symbol_file_add_with_addrs_or_offsets) | |
6154 | (symbol_file_add_with_addrs_or_offsets): Update references. | |
6155 | ||
11c949aa AC |
6156 | 2004-06-24 Andrew Cagney <cagney@gnu.org> |
6157 | ||
6158 | * defs.h (post_add_symbol_hook, pre_add_symbol_hook) | |
6159 | (ui_loop_hook, selected_frame_level_changed_hook): Declare. | |
6160 | * wince.c (ui_loop_hook): Delete extern declaration. | |
6161 | * win32-nat.c (ui_loop_hook): Delete extern declaration.. | |
6162 | * v850ice.c (ui_loop_hook): Delete extern declaration.. | |
6163 | * ser-unix.c (ui_loop_hook): Delete extern declaration.. | |
6164 | * ser-tcp.c (ui_loop_hook): Delete extern declaration.. | |
6165 | * remote-sim.c (ui_loop_hook): Delete extern declaration.. | |
6166 | * rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Delete extern. | |
6167 | ui_loop_hook declaration. | |
6168 | ||
eedc19af AC |
6169 | 2004-06-24 Andrew Cagney <cagney@gnu.org> |
6170 | ||
6171 | * objfiles.h (struct entry_info): Delete entry_func_lowpc and | |
6172 | entry_func_highpc fields. | |
6173 | * objfiles.c (init_entry_point_info): Do not clear | |
6174 | entry_func_lowpc and entry_func_highpc. | |
6175 | (objfile_relocate): Do not relocate entry_func_lowpc and | |
6176 | entry_func_highpc. | |
6177 | * dwarfread.c (read_func_scope): Do not set entry_func_lowpc and | |
6178 | entry_func_highpc. | |
6179 | * dwarf2read.c (read_func_scope): Do not set entry_func_lowpc and | |
6180 | entry_func_highpc. | |
6181 | * blockframe.c (legacy_frame_chain_valid): Replace tests against | |
6182 | entry_func_lowpc and entry_func_highpc with call to | |
6183 | inside_entry_func. | |
6184 | ||
d47079be MK |
6185 | 2004-06-24 Mark Kettenis <kettenis@gnu.org> |
6186 | ||
6187 | * sparc64-tdep.c (sparc64_store_arguments): Fix passing | |
6188 | quad-precision floating point arguments in registers. | |
6189 | ||
2107e348 MK |
6190 | 2004-06-24 Mark Kettenis <kettenis@gnu.org> |
6191 | ||
6192 | From Michael Mueller <m.mueller99@kay-mueller.de>: | |
6193 | * sparc64-tdep.c (sparc64_frame_base_address): Take BIAS into | |
6194 | account. | |
6195 | ||
46587c42 JJ |
6196 | 2004-06-22 Jeff Johnston <jjohnstn@redhat.com> |
6197 | ||
6198 | * infrun.c (handle_inferior_event): Initialize stopped_by_watchpoint | |
6199 | to -1. | |
6200 | * breakpoint.c (bpstat_stop_status): Move check for ignoring | |
6201 | untriggered watchpoints to a separate if clause. Update function | |
6202 | comment regarding STOPPED_BY_WATCHPOINT argument. | |
6203 | ||
226f5cf4 JB |
6204 | 2004-06-22 Jim Blandy <jimb@redhat.com> |
6205 | ||
6206 | * gdbarch.sh: Doc fix. | |
6207 | ||
f10683bb MH |
6208 | 2004-06-21 Martin Hunt <hunt@redhat.com> |
6209 | Kevin Buettner <kevinb@redhat.com> | |
6210 | ||
6211 | * config/mips/tm-mips.h (SP_REGNUM): Delete define. | |
6212 | * mips-tdep.h (MIPS_SP_REGNUM): Define. | |
6213 | * mips-tdep.c (mips_gdbarch_init): Set SP_REGNUM via call | |
6214 | to set_gdbarch_sp_regnum(). Use cooked register number. | |
6215 | (SP_REGNUM): Replace all occurrences with MIPS_SP_REGNUM. | |
6216 | ||
412d5987 AC |
6217 | 2004-06-21 Andrew Cagney <cagney@gnu.org> |
6218 | ||
6219 | * gdbarch.sh: When the macro field is empty, do not generate a | |
6220 | macro definition. When the macro field is "=", generate the macro | |
6221 | name from the upper-case function name. | |
6222 | (NUM_REGS, NUM_PSEUDO_REGS, SP_REGNUM, PC_REGNUM, PS_REGNUM) | |
6223 | (FP0_REGNUM, STAB_REG_TO_REGNUM, ECOFF_REG_TO_REGNUM) | |
6224 | (DWARF_REG_TO_REGNUM, SDB_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM) | |
6225 | (REGISTER_NAME, DEPRECATED_REGISTER_VIRTUAL_TYPE) | |
6226 | (DEPRECATED_REGISTER_BYTES, DEPRECATED_REGISTER_BYTE) | |
6227 | (DEPRECATED_REGISTER_RAW_SIZE, DEPRECATED_REGISTER_VIRTUAL_SIZE) | |
6228 | (DEPRECATED_SAVE_DUMMY_FRAME_TOS, DEPRECATED_FP_REGNUM) | |
6229 | (DEPRECATED_TARGET_READ_FP, DEPRECATED_PUSH_ARGUMENTS) | |
6230 | (DEPRECATED_PUSH_RETURN_ADDRESS, DEPRECATED_DUMMY_WRITE_SP) | |
6231 | (DEPRECATED_REGISTER_SIZE, CALL_DUMMY_LOCATION) | |
6232 | (DEPRECATED_DO_REGISTERS_INFO, REGISTER_SIM_REGNO) | |
6233 | (REGISTER_BYTES_OK, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER) | |
6234 | (GET_LONGJMP_TARGET, DEPRECATED_INIT_FRAME_PC) | |
6235 | (BELIEVE_PCC_PROMOTION, DEPRECATED_GET_SAVED_REGISTER) | |
6236 | (CONVERT_REGISTER_P, REGISTER_TO_VALUE, VALUE_TO_REGISTER) | |
6237 | (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER, INTEGER_TO_ADDRESS) | |
6238 | (DEPRECATED_POP_FRAME, DEPRECATED_STORE_STRUCT_RETURN) | |
6239 | (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE) | |
6240 | (DEPRECATED_EXTRACT_RETURN_VALUE, DEPRECATED_STORE_RETURN_VALUE) | |
6241 | (DEPRECATED_USE_STRUCT_CONVENTION) | |
6242 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS) | |
6243 | (DEPRECATED_FRAME_INIT_SAVED_REGS) | |
6244 | (DEPRECATED_INIT_EXTRA_FRAME_INFO, SKIP_PROLOGUE, INNER_THAN) | |
6245 | (BREAKPOINT_FROM_PC, MEMORY_INSERT_BREAKPOINT) | |
6246 | (MEMORY_REMOVE_BREAKPOINT, DECR_PC_AFTER_BREAK) | |
6247 | (DEPRECATED_FUNCTION_START_OFFSET, FRAME_ARGS_SKIP) | |
6248 | (DEPRECATED_FRAMELESS_FUNCTION_INVOCATION, DEPRECATED_FRAME_CHAIN) | |
6249 | (DEPRECATED_FRAME_CHAIN_VALID, DEPRECATED_FRAME_SAVED_PC) | |
6250 | (DEPRECATED_FRAME_ARGS_ADDRESS, DEPRECATED_FRAME_LOCALS_ADDRESS) | |
6251 | (DEPRECATED_SAVED_PC_AFTER_CALL, FRAME_NUM_ARGS) | |
6252 | (DEPRECATED_STACK_ALIGN, DEPRECATED_REG_STRUCT_HAS_ADDR) | |
6253 | (FRAME_RED_ZONE_SIZE, ADDR_BITS_REMOVE, SMASH_TEXT_ADDRESS) | |
6254 | (SOFTWARE_SINGLE_STEP, SKIP_TRAMPOLINE_CODE) | |
6255 | (IN_SOLIB_CALL_TRAMPOLINE, IN_SOLIB_RETURN_TRAMPOLINE) | |
6256 | (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) | |
6257 | (NAME_OF_MALLOC, CANNOT_STEP_BREAKPOINT) | |
6258 | (HAVE_NONSTEPPABLE_WATCHPOINT, ADDRESS_CLASS_TYPE_FLAGS) | |
6259 | (FETCH_POINTER_ARGUMENT): Replace the macro name with "=". | |
6260 | ||
68908a3e AC |
6261 | 2004-06-21 Andrew Cagney <cagney@gnu.org> |
6262 | ||
48f7351b AC |
6263 | * gdbarch.sh: For gdbarch_dump, print the "function" rather than |
6264 | macro name, and the function rather than macro value. Only wrap | |
6265 | macro print statements in #ifdef. Move format logic to where it | |
6266 | is needed. | |
6267 | * gdbarch.c: Re-generate. | |
6268 | ||
283354d8 AC |
6269 | * gdbarch.sh (read): Delete "print_p" and "description", add |
6270 | "garbage_at_eol". Check for non-empty garbage at end-of-line. | |
6271 | Delete references to print_p. | |
6272 | (TARGET_ARCHITECTURE): Delete print predicate. | |
6273 | * gdbarch.c: Re-generate. | |
6274 | ||
68908a3e AC |
6275 | * gdbarch.sh: Check that multi-arch methods do not provide a |
6276 | macro. | |
6277 | (register_type, unwind_dummy_id, push_dummy_call, push_dummy_code) | |
6278 | (print_registers_info, print_float_info, print_vector_info) | |
6279 | (adjust_breakpoint_address, remote_translate_xfer_address) | |
6280 | (construct_inferior_arguments, skip_solib_resolver, unwind_pc) | |
6281 | (address_class_type_flags_to_name, unwind_sp): Remove the macro | |
6282 | name from the multi-arch definition. | |
6283 | ||
a2428dbe AC |
6284 | 2004-06-20 Andrew Cagney <cagney@gnu.org> |
6285 | ||
6286 | * gdbarch.sh: Sort by the function, instead of macro name. | |
6287 | * gdbarch.c: Re-generate. | |
6288 | ||
750eb019 AC |
6289 | 2004-06-20 Andrew Cagney <cagney@gnu.org> |
6290 | ||
66d659b1 AC |
6291 | * gdbarch.sh: Use the function, instead of macro name in |
6292 | errors and the log file. | |
6293 | (return_value): Remove stray ":" in spec. | |
6294 | ||
750eb019 AC |
6295 | * gdbarch.sh (RETURN_VALUE): Default to legacy_return_value. |
6296 | * gdbarch.h, gdbarch.c: Re-generate. | |
6297 | * Makefile.in (arch-utils.o): Update dependencies. | |
6298 | * values.c (using_struct_return): Move code calling | |
6299 | USE_STRUCT_CONVENTION to legacy_return_value, simplify. | |
6300 | * stack.c (return_command): Move code calling STORE_RETURN_VALUE | |
6301 | to legacy_return_value, simplify. | |
6302 | * infcmd.c (print_return_value): Move code calling | |
6303 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS and EXTRACT_RETURN_VALUE | |
6304 | to legacy_return_value, simplify. | |
6305 | * infcall.c (call_function_by_hand): Move code calling | |
6306 | EXTRACT_RETURN_VALUE to legacy_return_value, simplify. | |
6307 | * arch-utils.c: Update copyright. Include "gdbcore.h". | |
6308 | (legacy_return_value): New function. | |
6309 | * arch-utils.h: Update copyright. | |
6310 | (legacy_return_value): Declare. | |
6311 | ||
b5622e8d AC |
6312 | 2004-06-20 Andrew Cagney <cagney@gnu.org> |
6313 | ||
6314 | * gdbarch.sh (DEPRECATED_USE_STRUCT_CONVENTION): Deprecated. | |
6315 | * gdbarch.h, gdbarch.c: Re-generate. | |
6316 | * values.c (using_struct_return): Update call. | |
6317 | * mcore-tdep.c: Update comment. | |
6318 | * infcall.c (call_function_by_hand): Update comment. | |
6319 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
6320 | * arch-utils.h (always_use_struct_convention): Update. | |
6321 | * v850-tdep.c (v850_gdbarch_init): Update. | |
6322 | * sh64-tdep.c (sh64_gdbarch_init): Update. | |
6323 | * sh-tdep.c (sh_gdbarch_init): Update. | |
6324 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
6325 | * mips-tdep.c (mips_gdbarch_init): Update. | |
6326 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
6327 | * m32r-tdep.c (m32r_gdbarch_init): Update. | |
6328 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
6329 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
6330 | * frv-tdep.c (frv_gdbarch_init): Update. | |
6331 | * cris-tdep.c (cris_gdbarch_init): Update. | |
6332 | * arm-tdep.c (arm_gdbarch_init): Update. | |
6333 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
6334 | ||
5191de37 MC |
6335 | 2004-06-18 Michael Chastain <mec.gnu@mindspring.com> |
6336 | ||
6337 | * PROBLEMS: Add more specific information, and a work-around, | |
6338 | for PR gdb/1458. | |
6339 | ||
782263ab AC |
6340 | 2004-06-18 Andrew Cagney <cagney@gnu.org> |
6341 | ||
6342 | * gdbarch.sh (DEPRECATED_FUNCTION_START_OFFSET): Deprecated. | |
6343 | * gdbarch.h, gdbarch.c: Re-generate. | |
6344 | * ada-lang.c (ada_finish_decode_line_1): Update. | |
6345 | * infrun.c (handle_inferior_event): Update. | |
6346 | * infcall.c (find_function_addr): Update. | |
6347 | * linespec.c (minsym_found): Update. | |
6348 | * symtab.c (find_function_start_sal, skip_prologue_using_sal): | |
6349 | Update. | |
6350 | * blockframe.c (legacy_frameless_look_for_prologue): Update. | |
6351 | * cli/cli-cmds.c (disassemble_command): Update. | |
6352 | * vax-tdep.c (vax_gdbarch_init): Update. | |
6353 | ||
2f305df1 MK |
6354 | 2004-06-18 Mark Kettenis <kettenis@gnu.org> |
6355 | ||
6356 | * i386-tdep.c (i386_collect_fpregset): Fix comment. | |
6357 | ||
e5fe55f7 AC |
6358 | 2004-06-17 Andrew Cagney <cagney@gnu.org> |
6359 | ||
6360 | GDB 6.1.1 released from the GDB 6.1 branch. | |
6361 | * NEWS: Merge in 6.1.1 NEWS from 6.1 branch. | |
6362 | * PROBLEMS: Ditto. | |
6363 | ||
473b7be6 DJ |
6364 | 2004-06-16 Daniel Jacobowitz <dan@debian.org> |
6365 | ||
6366 | PR gdb/1658 | |
6367 | * dwarf2read.c (dwarf_decode_lines): Read the length of the extended | |
6368 | operation as a uleb128. Found by Michael Coulter. | |
6369 | ||
96d887e8 PH |
6370 | 2004-06-16 Paul N. Hilfinger <Hilfinger@gnat.com> |
6371 | ||
6372 | * ada-tasks.c: Rename build_task_list to ada_build_task_list, and | |
6373 | make it non-static. | |
6374 | * ada-lang.h (task_control_block): declaration moved from ada-task.c | |
6375 | to ada-lang.h; this is needed to be able to implement the kill command | |
6376 | in multi-task mode. | |
6377 | (task_ptid): Ditto. | |
6378 | (task_entry): Ditto. | |
6379 | (task_list): Ditto. | |
6380 | (ada_build_task_list): Ditto. | |
6381 | ||
6382 | * ada-lang.c: Conditionalize routines and data structures related | |
6383 | to breakpoints, exceptions, completion, and symbol caching on | |
6384 | GNAT_GDB, since these are not yet used in the submitted public sources. | |
6385 | (ada_main_name): Editorial: Move definition out of exception-related | |
6386 | code. | |
6387 | ||
31eef181 AC |
6388 | 2004-06-15 Andrew Cagney <cagney@gnu.org> |
6389 | ||
6390 | * mips-tdep.c (non_heuristic_proc_desc): Delete call to | |
6391 | deprecated_pc_in_call_dummy. | |
6392 | ||
2c500098 AM |
6393 | 2004-06-15 Alan Modra <amodra@bigpond.net.au> |
6394 | ||
6395 | * dsrec.c (load_srec, make_srec): Use bfd_get_section_size instead of | |
6396 | bfd_get_section_size_before_reloc or _raw_size. | |
6397 | * dwarf2-frame.c (dwarf2_build_frame_info): Likewise. | |
6398 | * dwarf2read.c (dwarf2_locate_sections): Likewise. | |
6399 | (dwarf2_read_section): Likewise. | |
6400 | * elfread.c (elf_locate_sections): Likewise. | |
6401 | * gcore.c (derive_heap_segment): Likewise. | |
6402 | * mipsread.c (read_alphacoff_dynamic_symtab): Likewise. | |
6403 | * remote-e7000.c (e7000_load): Likewise. | |
6404 | * remote-m32r-sdi.c (m32r_load): Likewise. | |
6405 | * remote-mips.c (mips_load_srec): Likewise. | |
6406 | (pmon_load_fast): Likewise. | |
6407 | * remote.c (compare_sections_command): Likewise. | |
6408 | * symfile.c (add_section_size_callback): Likewise. | |
6409 | (load_section_callback): Likewise. | |
6410 | (pc_in_unmapped_range): Likewise. | |
6411 | (pc_in_mapped_range): Likewise. | |
6412 | (sections_overlap): Likewise. | |
6413 | (list_overlays_command): Likewise. | |
6414 | (simple_overlay_update_1): Likewise. | |
6415 | (simple_overlay_update): Likewise. | |
6416 | * tracepoint.c (remote_set_transparent_ranges): Likewise. | |
6417 | * win32-nat.c (core_section_load_dll_symbols): Likewise. | |
6418 | ||
90f943f1 RC |
6419 | 2004-06-14 Randolph Chung <tausq@debian.org> |
6420 | ||
6421 | * Makefile.in (hppa-hpux-tdep.o): Update dependency. | |
6422 | * hppa-hpux-tdep.c (hp_cxx_exception_support_initialized): Make | |
6423 | static. | |
6424 | (hppa_hpux_inferior_created): New function. | |
6425 | (hppa_hpux_init_abi): Register observer. | |
6426 | * symfile.c (hp_cxx_exception_support_initialized) | |
6427 | (RESET_HP_UX_GLOBALS): Remove HPUXHPPA specific hacks. | |
6428 | (symbol_file_add_main_1, symbol_file_clear): Likewise. | |
6429 | ||
700c15aa RC |
6430 | 2004-06-14 Randolph Chung <tausq@debian.org> |
6431 | ||
3973a7d3 AC |
6432 | * MAINTAINERS (Write After Approval): Alphabetize my entry |
6433 | correctly. | |
700c15aa | 6434 | |
cea4838c AC |
6435 | 2004-06-14 Andrew Cagney <cagney@gnu.org> |
6436 | ||
6437 | * MAINTAINERS (testsuite): List Michael Chastain as the lead | |
6438 | testsuite maintainer. | |
6439 | ||
97092415 AC |
6440 | 2004-06-13 Andrew Cagney <cagney@gnu.org> |
6441 | ||
e8c3165b AC |
6442 | * infcmd.c (print_return_value): Fix logic, allow |
6443 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS when struct_return. | |
6444 | ||
bceabdd8 AC |
6445 | * gdbarch.sh: For predicates, do not check GDB_MULTI_ARCH when |
6446 | defining any macros. | |
6447 | * gdbarch.h: Re-generate. | |
6448 | ||
57010b1c AC |
6449 | * gdbarch.sh: Delete "level" attribute. Only check for a macro |
6450 | redefinition when multi-arch greater than GDB_MULTI_ARCH_PARTIAL. | |
6451 | * gdbarch.h: Re-generate. | |
6452 | ||
bc87dfa0 AC |
6453 | * values.c (generic_use_struct_convention): Don't check gcc_p. |
6454 | ||
15ac804d AC |
6455 | * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE) |
6456 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Delete. | |
6457 | * gdbarch.h, gdbarch.c: Regenerate. | |
6458 | * ns32k-tdep.h (NS32K_MAX_REGISTER_RAW_SIZE) | |
6459 | (NS32K_MAX_REGISTER_VIRTUAL_SIZE): Delete macros. | |
6460 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
6461 | deprecated_max_register_raw_size and | |
6462 | deprecated_max_register_virtual_size. | |
6463 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
6464 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
6465 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
6466 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
6467 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
6468 | ||
97092415 AC |
6469 | * gdbarch.sh (RETURN_VALUE_ON_STACK): Delete method. |
6470 | * gdbarch.h, gdbarch.c: Re-generate. | |
6471 | * m68hc11-tdep.c (m68hc11_return_value_on_stack): Delete function. | |
6472 | (m68hc11_use_struct_convention): Delete function. | |
6473 | (m68hc11_extract_struct_value_address): Delete function. | |
6474 | (m68hc11_return_value): New function. | |
6475 | (m68hc11_gdbarch_init): Instead of store_return_value, | |
6476 | extract_return_value, return_value_on_stack, | |
6477 | deprecated_extract_struct_value_address and use_struct_convention, | |
6478 | set return_value. | |
6479 | * values.c (using_struct_return): Do not call | |
6480 | RETURN_VALUE_ON_STACK. | |
6481 | * arch-utils.h (generic_return_value_on_stack_not): Delete | |
6482 | declaration. | |
6483 | * arch-utils.c (generic_return_value_on_stack_not): Delete | |
6484 | function. | |
6485 | ||
44e5158b AC |
6486 | 2004-06-12 Andrew Cagney <cagney@gnu.org> |
6487 | ||
6488 | * values.c (register_value_being_returned): Delete function. | |
6489 | * infcmd.c (legacy_return_value): Delete function. | |
6490 | * infcall.c (call_function_by_hand): Inline | |
6491 | "register_value_being_returned", simplify. | |
6492 | * values.c (using_struct_return): Update comment, refer to | |
6493 | print_return_value instead of register_value_being_returned. | |
6494 | * infcmd.c (print_return_value): Inline calls to | |
6495 | register_value_being_returned and legacy_return_value. Simplify. | |
6496 | ||
b887c273 RC |
6497 | 2004-06-11 Randolph Chung <tausq@debian.org> |
6498 | ||
6499 | * somread.c (som_symtab_read): Exclude gcc local symbols. | |
6500 | ||
1b2bfbb9 RC |
6501 | 2004-06-11 Randolph Chung <tausq@debian.org> |
6502 | ||
3973a7d3 AC |
6503 | * infrun.c (handle_inferior_event): Handle the case when a |
6504 | trampoline ends up in the runtime resolver, and if the trampoline | |
6505 | has no name. Rearrange the code so that all the trampoline | |
6506 | processing happens before other step-out-of-range handling. | |
1b2bfbb9 | 6507 | |
a9d61c86 MH |
6508 | 2004-06-11 Martin Hunt <hunt@redhat.com> |
6509 | ||
6510 | * mips-tdep.c (mips_gdbarch_init): Recognize vr4120 | |
6511 | has no fpu. | |
6512 | ||
2c87cf5a AC |
6513 | 2004-06-10 Andrew Cagney <cagney@gnu.org> |
6514 | ||
6515 | * blockframe.c (legacy_inside_entry_func): Delete. | |
6516 | (legacy_frame_chain_valid): Inline call to | |
6517 | legacy_inside_entry_func, simplify. | |
6518 | ||
0b67b468 | 6519 | 2004-06-10 Bob Rossi <bob@brasko.net> |
57c22c6c BR |
6520 | |
6521 | * dbxread.c (read_dbx_symtab): Set pst->dirname when known. | |
3973a7d3 AC |
6522 | * dwarf2read.c (partial_die_info): Add dirname field. |
6523 | (dwarf2_build_psymtabs_hard): Set pst->dirname when known. | |
6524 | (read_partial_die): Save away DW_AT_comp_dir. | |
6525 | * defs.h (symtab_to_filename): Removed. | |
6526 | * source.c (find_and_open_source): Added. | |
57c22c6c | 6527 | (open_source_file): Just calls find_and_open_source. |
3973a7d3 AC |
6528 | (symtab_to_filename): Removed. |
6529 | (symtab_to_fullname, psymtab_to_fullname): Added. | |
57c22c6c BR |
6530 | * source.h (psymtab_to_fullname,symtab_to_fullname): Added. |
6531 | * symtab.c (lookup_symtab): Call symtab_to_fullname instead of | |
6532 | symtab_to_filename. | |
6533 | * symtab.h (partial_symtab): Add dirname field. | |
6534 | * mi/mi-cmd-file.c (FILENAME,FULLNAME): Added. | |
3973a7d3 AC |
6535 | (mi_cmd_file_list_exec_source_file): Call new function |
6536 | symtab_to_fullname to find fullname. | |
57c22c6c | 6537 | (mi_cmd_file_list_exec_source_files): Added. |
3973a7d3 | 6538 | * mi/mi-cmds.c (mi_cmd_mi_cmds): Add -file-list-exec-source-files. |
57c22c6c BR |
6539 | * mi/mi-cmds.h (mi_cmd_file_list_exec_source_files): Added. |
6540 | ||
9a1dd1ad AC |
6541 | 2004-06-10 Andrew Cagney <cagney@gnu.org> |
6542 | ||
239ae8c7 AC |
6543 | * avr-tdep.c (avr_gdbarch_init): Do not set use_struct_convention |
6544 | to generic_use_struct_convention, the default value. | |
6545 | ||
fc720350 AC |
6546 | * mn10300-tdep.c (mn10300_type_align): Call internal_error instead |
6547 | of abort. | |
6548 | ||
9a1dd1ad AC |
6549 | * ns32k-tdep.c (ns32k_push_arguments): New function. |
6550 | (ns32k_gdbarch_init): Set deprecated_push_arguments. | |
6551 | * infcall.c (call_function_by_hand): Call error instead of | |
6552 | legacy_push_arguments. | |
6553 | * value.h (legacy_push_arguments): Delete declaration. | |
6554 | * valops.c (legacy_push_arguments): Delete function. | |
6555 | (value_push): Delete function. | |
6556 | ||
fea25152 BF |
6557 | 2004-06-10 Brian Ford <ford@vss.fsi.com> |
6558 | ||
6559 | * coffread.c (coff_symfile_read): Prevent mixed debugging formats | |
6560 | from corrupting/reinitializing the psymtab. Support DWARF 2 frame | |
6561 | info. | |
6562 | * dbxread.c (elfstab_build_psymtabs): Remove bogus comment. | |
6563 | ||
30a4a8e0 AC |
6564 | 2004-06-10 Andrew Cagney <cagney@gnu.org> |
6565 | ||
6566 | * gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Delete. | |
6567 | * gdbarch.h, gdbarch.c: Re-generate. | |
6568 | * frame.h (deprecated_pc_in_call_dummy): Delete "sp" and "fp" | |
6569 | parameters. | |
6570 | * dummy-frame.c (deprecated_pc_in_call_dummy): Update. | |
6571 | * arm-tdep.c (arm_pc_is_thumb_dummy): Call | |
6572 | deprecated_pc_in_call_dummy instead of | |
6573 | DEPRECATED_PC_IN_CALL_DUMMY. | |
6574 | (arm_skip_prologue): Ditto. | |
6575 | * xstormy16-tdep.c (xstormy16_pop_frame, xstormy16_scan_prologue) | |
6576 | (xstormy16_frame_saved_pc, xstormy16_frame_chain): Ditto. | |
6577 | * v850-tdep.c (v850_find_callers_reg, v850_frame_chain) | |
6578 | (v850_pop_frame, v850_frame_saved_pc, v850_frame_init_saved_regs): | |
6579 | Ditto. | |
6580 | * sh64-tdep.c (sh64_frame_chain, sh64_get_saved_pr) | |
6581 | (sh64_init_extra_frame_info, sh64_get_saved_register) | |
6582 | (sh64_pop_frame): Ditto. | |
6583 | * mips-tdep.c (non_heuristic_proc_desc): Ditto. | |
6584 | * mcore-tdep.c (mcore_find_callers_reg, mcore_frame_saved_pc) | |
6585 | (mcore_pop_frame, mcore_init_extra_frame_info): Ditto. | |
6586 | * h8300-tdep.c (h8300_frame_chain, h8300_frame_saved_pc) | |
6587 | (h8300_pop_frame): Ditto. | |
6588 | * blockframe.c (legacy_inside_entry_func) | |
6589 | (legacy_frame_chain_valid): Ditto. | |
6590 | * frame.c (frame_type_from_pc, legacy_get_prev_frame): Update call | |
6591 | to deprecated_pc_in_call_dummy. | |
6592 | ||
81cfbe54 AC |
6593 | 2004-06-09 Andrew Cagney <cagney@gnu.org> |
6594 | ||
a1f4a1b6 AC |
6595 | * gdbarch.sh (REGISTER_TO_VALUE, VALUE_TO_REGISTER): Do not |
6596 | provide a default value. | |
6597 | (CONVERT_REGISTER_P): Default to generic_convert_register_p. | |
6598 | * gdbarch.h, gdbarch.c: Re-generate. | |
6599 | * arch-utils.c (generic_convert_register_p): Rename | |
6600 | legacy_convert_register_p | |
6601 | (legacy_register_to_value, legacy_value_to_register): Delete | |
6602 | functions. | |
6603 | * arch-utils.h (generic_convert_register_p): Rename | |
6604 | legacy_convert_register_p. | |
6605 | (legacy_register_to_value, legacy_value_to_register): Delete | |
6606 | declarations. | |
6607 | ||
9730f241 AC |
6608 | * gdbarch.sh (DEPRECATED_REGISTER_CONVERT_TO_RAW) |
6609 | (DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL) | |
6610 | (DEPRECATED_REGISTER_CONVERTIBLE): Delete. | |
6611 | * gdbarch.h, gdbarch.c: Re-generate. | |
6612 | * infcmd.c (default_print_registers_info): Simplify. | |
6613 | * findvar.c (value_of_register): Simplify. | |
6614 | * mi/mi-main.c (get_register): Simplify. | |
6615 | * arch-utils.c (legacy_convert_register_p): Always return 0. | |
6616 | (legacy_register_to_value, legacy_value_to_register): Always call | |
6617 | internal_error. | |
6618 | ||
8a1bf479 AC |
6619 | * infptrace.c (child_xfer_memory) [CLEAR_INSN_CACHE]: Delete |
6620 | #ifdef CLEAR_INSN_CACHE code. | |
6621 | * target.c (generic_mourn_inferior) [CLEAR_DEFERRED_STORES]: | |
6622 | Delete #ifdef CLEAR_DEFERRED_STORES code. | |
6623 | ||
4b38d6f1 AC |
6624 | * solib-svr4.c [HANDLE_SVR4_EXEC_EMULATORS]: Delete #ifdef code. |
6625 | ||
2d62ecc7 AC |
6626 | * config/ia64/tm-linux.h (TARGET_ELF64): Delete macro, Update |
6627 | copyright. | |
6628 | * config/ia64/tm-aix.h (TARGET_ELF64): Ditto. | |
6629 | ||
be4f7469 AC |
6630 | * config/mips/mipsv4.mh: Delete file. |
6631 | ||
81cfbe54 AC |
6632 | * config/pa/tm-hppa64.h (HPREAD_ADJUST_STACK_ADDRESS): Delete |
6633 | unreferenced macro. | |
6634 | (hpread_adjust_stack_address): Delete declaration. | |
6635 | ||
d966f0cb AC |
6636 | 2004-06-08 Andrew Cagney <cagney@gnu.org> |
6637 | ||
6638 | * infptrace.c [ATTACH_DETACH]: Remove #ifdef wrappers. | |
6639 | (attach, detach): When neither PT_ATTACH / PT_DETACH nor | |
6640 | PTRACE_ATTACH / PTRACE_DETACH available call error. | |
6641 | (PT_ATTACH, PT_DETACH): Move definition to attach / detach. | |
6642 | * infttrace.c (update_thread_state_after_attach, attach, detach): | |
6643 | Remove #ifdef wrappers. | |
6644 | * inftarg.c (child_attach, child_detach): Remove #ifdef wrappers. | |
6645 | * gnu-nat.c [ATTACH_DETACH]: Remove #ifdef wrappers. | |
6646 | * config/nm-bsd.h (ATTACH_DETACH): Delete. | |
6647 | * config/nm-sysv4.h (ATTACH_DETACH): Delete. | |
6648 | * config/nm-nbsd.h (ATTACH_DETACH): Delete. | |
6649 | * config/nm-linux.h (ATTACH_DETACH): Delete. | |
6650 | * config/rs6000/nm-rs6000.h (ATTACH_DETACH): Delete. | |
6651 | * config/pa/nm-hppah.h (ATTACH_DETACH): Delete. | |
6652 | * config/i386/nm-i386sco5.h (ATTACH_DETACH): Delete. | |
6653 | * config/i386/nm-i386sco4.h (ATTACH_DETACH): Delete. | |
6654 | * config/i386/nm-i386gnu.h (ATTACH_DETACH): Delete. | |
6655 | ||
d91670b9 CV |
6656 | 2004-06-08 Corinna Vinschen <vinschen@redhat.com> |
6657 | ||
6658 | * configure.in: Set $configdir to the right OS specific value. | |
6659 | Use value when setting $tcldir and $tkdir. | |
6660 | * configure: Regenerate. | |
6661 | ||
28ba0b33 PB |
6662 | 2004-06-06 Paul Brook <paul@codesourcery.com> |
6663 | ||
6664 | * gdb/dwarf2-frame.c (decode_frame_entry_1): Decode version 3 CIE | |
6665 | records. | |
6666 | ||
f26caa11 PH |
6667 | 2004-06-08 Paul N. Hilfinger <Hilfinger@gnat.com> |
6668 | ||
6669 | * ada-lang.c (lookup_symbol_in_language): New function to allow | |
6670 | re-use of another language's symbol lookup code. (Placed here | |
6671 | temporarily while Ada support is being integrated into the public | |
6672 | tree). | |
6673 | (restore_language): New auxiliary function for | |
6674 | lookup_symbol_in_language. | |
6675 | * ada-lang.h (lookup_symbol_in_language): Declare (Placed here | |
6676 | temporarily while Ada support is being integrated into the public | |
6677 | tree). | |
6678 | ||
d560a54b AO |
6679 | 2004-06-08 Alexandre Oliva <aoliva@redhat.com> |
6680 | ||
e75d110c AO |
6681 | * Makefile.in (check//%): New. |
6682 | ||
d560a54b AO |
6683 | * mn10300-tdep.c (mn10300_extract_return_value): Rewrite. |
6684 | (mn10300_store_return_value): Rewrite. | |
6685 | (mn10300_type_align): New. | |
6686 | (mn10300_use_struct_convention): Rewrite. | |
6687 | (mn10300_return_value): New, using all of the above. | |
6688 | (mn10300_pop_frame_regular): Add saved_regs_size. | |
6689 | (mn10300_gdbarch_init): Remove deprecated rewritten entry points. | |
6690 | ||
a72fbdb7 AO |
6691 | * mn10300-tdep.c (mn10300_analyze_prologue): Don't compute saved |
6692 | regs if PC is on movm. | |
6693 | ||
01904826 JB |
6694 | 2004-06-07 Jim Blandy <jimb@redhat.com> |
6695 | ||
6696 | Add native Linux support for the PowerPC E500. | |
6697 | * ppc-tdep.h (struct gdbarch_tdep): New member: 'ppc_gprs_pseudo_p'. | |
6698 | * rs6000-tdep.c (rs6000_gdbarch_init): Initialize it to false on | |
6699 | all architectures except the E500. | |
6700 | * ppc-linux-nat.c: (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): New | |
6701 | #definitions. | |
6702 | (struct gdb_evrregset_t): New type. | |
6703 | (have_ptrace_getsetevrregs): New variable. | |
6704 | (get_spe_registers, read_spliced_spe_reg, fetch_spe_register, | |
6705 | fetch_spe_registers): New functions. | |
6706 | (fetch_register): Call fetch_spe_register as appropriate. | |
6707 | Assert that we're only passed raw register numbers. | |
6708 | (fetch_ppc_registers): Call fetch_spe_registers as appropriate. | |
6709 | Don't fetch gprs if they're pseudoregisters. | |
6710 | (set_spe_registers, write_spliced_spe_reg, store_spe_register, | |
6711 | store_spe_registers): New functions. | |
6712 | (store_register): Call store_spe_register as appropriate. | |
6713 | Assert that we're only passed raw register numbers. | |
6714 | (store_ppc_registers): Call store_spe_registers as appropriate. | |
6715 | Don't store gprs if they're pseudoregisters. | |
6716 | ||
f90ef764 JJ |
6717 | 2004-06-07 Jeff Johnston <jjohnstn@redhat.com> |
6718 | ||
6719 | * thread-db.c (thread_get_info_callback): Fill in the thread_info | |
6720 | struct if one exists, even if we are dealing with a zombie thread. | |
6721 | ||
45b75230 AC |
6722 | 2004-06-07 Andrew Cagney <cagney@gnu.org> |
6723 | ||
6724 | * target.h (PC_REQUIRES_RUN_BEFORE_USE): Delete definition. | |
6725 | * config/pa/tm-hppa.h (DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE): | |
6726 | Rename PC_REQUIRES_RUN_BEFORE_USE. | |
6727 | * breakpoint.c (breakpoint_sals_to_pc): Update. Wrap reference in | |
6728 | #ifdef. | |
6729 | ||
1658da49 RC |
6730 | 2004-06-07 Randolph Chung <tausq@debian.org> |
6731 | ||
6732 | * hppa-tdep.c (hppa_frame_cache): Handle the cases when we start | |
6733 | unwinding after sp has been saved to the stack but before the end | |
6734 | of the prologue, and after the fp has been modified but before it has | |
6735 | been saved to the stack. | |
6736 | (hppa_frame_base_address, hppa_frame_base, hppa_frame_base_sniffer): | |
6737 | Remove superfluous definitions. | |
6738 | (hppa_gdbarch_init): Remove superfluous frame base sniffer. | |
6739 | ||
9a727a3c RC |
6740 | 2004-06-07 Guy Martin <gmsoft@gentoo.org> |
6741 | ||
6742 | Committed by Randolph Chung. | |
6743 | * hppa-linux-nat.c: Include the correct version of the header file | |
6744 | depending on the kernel version. | |
6745 | ||
9e500012 RC |
6746 | 2004-06-06 Randolph Chung <tausq@debian.org> |
6747 | ||
6748 | * infrun.c (trap_expected_after_continue): Remove HP_OS_BUG workaround. | |
6749 | (proceed, init_wait_for_inferior, handle_inferior_event): Likewise. | |
6750 | ||
3388d7ff RC |
6751 | 2004-06-06 Randolph Chung <tausq@debian.org> |
6752 | ||
6753 | * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline) | |
6754 | (hppa_hpux_skip_trampoline_code): Don't cache symbol values. | |
6755 | * hppa-linux-tdep.c (hppa_linux_in_dyncall): Likewise. | |
6756 | * hppa-tdep.c (hppa_symbol_address): New function definition. | |
6757 | * hppa-tdep.h (hppa_symbol_address): New function declaration. | |
6758 | ||
d49771ef RC |
6759 | 2004-06-06 Randolph Chung <tausq@debian.org> |
6760 | ||
6761 | * hppa-tdep.h (struct value): Forward declaration. | |
6762 | (gdbarch_tdep): Define tdep find_global_pointer method. | |
6763 | * hppa-tdep.c (hppa32_push_dummy_call): Find the global pointer | |
6764 | associated with the function we are trying to call, and write it | |
6765 | to the gp register. | |
6766 | (hppa32_convert_from_funct_ptr_addr): New function. | |
6767 | (hppa_find_global_pointer): New function. | |
6768 | (hppa_gdbarch_init): Set default find_global_pointer method; set | |
6769 | convert_from_func_ptr_addr method. | |
6770 | * hppa-linux-tdep.c (hppa_linux_find_global_pointer): New function. | |
6771 | (hppa_linux_init_abi): Set find_global_pointer method. | |
6772 | * Makefile.in (hppa-linux-tdep.o): Add value.h dependency. | |
6773 | ||
7d9b040b RC |
6774 | 2004-06-06 Randolph Chung <tausq@debian.org> |
6775 | ||
6776 | * gdbarch.sh (PUSH_DUMMY_CALL): Change CORE_ADDR func_addr argument | |
6777 | to struct value *function. | |
6778 | * gdbarch.c: Regenerate. | |
6779 | * gdbarch.h: Likewise. | |
6780 | * infcall.c (call_function_by_hand): Pass entire function value | |
6781 | to push_dummy_call. | |
6782 | ||
6783 | * Makefile.in (alpha-tdep.o, frv-tdep.o, ia64-tdep.o, mips-tdep.o) | |
6784 | (ppc-sysv-tdep.o, rs6000-tdep.o): Update dependencies. | |
6785 | * alpha-tdep.c (alpha_push_dummy_call): Update call signature. | |
6786 | * amd64-tdep.c (amd64_push_dummy_call): Likewise. | |
6787 | * arm-tdep.c (arm_push_dummy_call): Likewise. | |
6788 | * avr-tdep.c (avr_push_dummy_call): Likewise. | |
6789 | * cris-tdep.c (cris_push_dummy_call): Likewise. | |
6790 | * d10v-tdep.c (d10v_push_dummy_call): Likewise. | |
6791 | * frv-tdep.c (frv_push_dummy_call): Likewise. | |
6792 | * h8300-tdep.c (h8300_push_dummy_call): Likewise. | |
6793 | * hppa-tdep.c (hppa32_push_dummy_call) | |
6794 | (hppa64_push_dummy_call): Likewise. | |
6795 | * i386-tdep.c (i386_push_dummy_call): Likewise. | |
6796 | * ia64-tdep.c (ia64_push_dummy_call): Likewise. | |
6797 | * m32r-tdep.c (m32r_push_dummy_call): Likewise. | |
6798 | * m68hc11-tdep.c (m68hc11_push_dummy_call): Likewise. | |
6799 | * m68k-tdep.c (m68k_push_dummy_call): Likewise. | |
6800 | * m88k-tdep.c (m88k_push_dummy_call): Likewise. | |
6801 | * mips-tdep.c (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call) | |
6802 | (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Likewise. | |
6803 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call) | |
6804 | (ppc64_sysv_abi_push_dummy_call): Likewise. | |
6805 | * ppc-tdep.h (ppc_sysv_abi_push_dummy_call) | |
6806 | (ppc64_sysv_abi_push_dummy_call): Likewise. | |
6807 | * rs6000-tdep.c (rs6000_push_dummy_call): Likewise. | |
6808 | * s390-tdep.c (s390_push_dummy_call): Likewise. | |
6809 | * sh-tdep.c (sh_push_dummy_call_fpu) | |
6810 | (sh_push_dummy_call_nofpu): Likewise. | |
6811 | * sparc-tdep.c (sparc32_push_dummy_call): Likewise. | |
6812 | * sparc64-tdep.c (sparc64_push_dummy_call): Likewise. | |
6813 | * vax-tdep.c (vax_push_dummy_call): Likewise. | |
6814 | ||
4a19ea35 JB |
6815 | 2004-06-04 Jim Blandy <jimb@redhat.com> |
6816 | ||
8327ccee JB |
6817 | * ppc-linux-nat.c (fetch_register): Don't forget to pass the |
6818 | gdbarch argument to register_size. | |
6819 | ||
a3c001ce JB |
6820 | * rs6000-tdep.c (rs6000_store_return_value): Use |
6821 | regcache_cooked_write_part instead of | |
6822 | deprecated_write_register_bytes. | |
6823 | (rs6000_gdbarch_init): Register it for gdbarch_store_return_value, | |
6824 | not gdbarch_deprecated_store_return_value. | |
6825 | ||
4a19ea35 JB |
6826 | * ppc-linux-nat.c (store_register, fetch_register): Remove |
6827 | incorrect assertions. Simplify and generalize handling of | |
6828 | transfers whose sizes are not multiples of, or less than, sizeof | |
6829 | (PTRACE_XFER_TYPE). | |
6830 | ||
b9b5d7ea JJ |
6831 | 2004-06-04 Jeff Johnston <jjohnstn@redhat.com> |
6832 | ||
6833 | * infrun.c (handle_inferior_event): Don't treat an invalid ptid | |
6834 | as a new thread event. | |
720c7d64 | 6835 | * thread-db.c (thread_get_info_callback): If the thread is a |
b9b5d7ea | 6836 | zombie, return TD_THR_ZOMBIE. |
720c7d64 | 6837 | (thread_from_lwp): If thread_get_info_callback returns |
b9b5d7ea JJ |
6838 | TD_THR_ZOMBIE, check if the thread is still on the thread list |
6839 | and return a -1 ptid if not found. | |
6840 | (thread_db_wait): If thread_from_lwp returns a -1 ptid, then | |
6841 | change the status to TARGET_WAITKIND_SPURIOUS. | |
6842 | ||
c8a3b559 CV |
6843 | 2004-06-03 Corinna Vinschen <vinschen@redhat.com> |
6844 | ||
6845 | * sh-tdep.c (sh3e_sh4_store_return_value): Correctly store | |
6846 | double values in little endian mode. | |
6847 | ||
20605361 AC |
6848 | 2004-06-02 Albert Chin-A-Young <china@thewrittenword.com> |
6849 | ||
6850 | Committed by Andrew Cagney. | |
6851 | * gdb/dictionary.c, gdb/gdbtypes.h: Remove trailing comma | |
6852 | after last enum constant to avoid error from IBM C | |
6853 | compiler. | |
6854 | ||
bc97b3ba JB |
6855 | 2004-06-02 Jim Blandy <jimb@redhat.com> |
6856 | ||
6857 | * ppc-linux-nat.c (store_register, fetch_register): Rename 'mess' | |
6858 | to 'message', and make it local to the lone block that uses it. | |
6859 | ||
1da28ab0 JB |
6860 | * ppc-linux-nat.c (store_register): Remove unused local 'offset'. |
6861 | ||
4c4b4cd2 PH |
6862 | 2004-06-02 Paul N. Hilfinger <hilfinger@gnat.com> |
6863 | ||
8a2225b2 PH |
6864 | * ada-exp.y: Update copyright notice. |
6865 | Include block.h. | |
6866 | ||
6867 | Replace REGNAME, LAST, INTERNAL_VARIABLE with | |
6868 | SPECIAL_VARIABLE and unify the treatment of these cases. | |
6869 | ||
6870 | (write_attribute_call0): Remove. | |
6871 | (write_attribute_call1): Remove. | |
6872 | (write_attribute_calln): Remove. | |
6873 | (save_qualifier): Add missing semicolon. | |
6874 | ||
6875 | (simple_exp,exp): Decomment (i.e., reactivate) code that was | |
6876 | temporarily disabled to allow compilation with FSF head version. | |
6877 | ||
6878 | (simple_exp syntax): Remove use of OP_ADA_ATTRIBUTE and | |
6879 | use individual operators (OP_*) for all attributes. | |
6880 | (exp syntax): Use write_int. | |
6881 | Handle STRING literals with OP_STRING. | |
6882 | (variable syntax): Add limit parameter to calls to | |
6883 | write_object_renaming. | |
6884 | ||
6885 | (temp_parse_space): New definition to hold entities that need | |
6886 | only live until the next call to ada_parse. | |
6887 | (string_to_operator): Rename fields of ada_opname_table entries. | |
6888 | ||
6889 | (write_var_from_sym): Record block. | |
6890 | (write_var_from_name): Minor reformatting. | |
6891 | Make sure saved name is properly encoded in the case of multiple | |
6892 | matches, and set its language to Ada. | |
6893 | Update comment. | |
6894 | Modify to indicate unresolved name as symbol in the UNRESOLVED | |
6895 | namespace, allocated in temp_parse_space. | |
6896 | (write_int): New function. | |
6897 | ||
6898 | (write_object_renaming): Add max_depth parameter to limit | |
6899 | chains of object renamings. | |
6900 | Handle case where root of renaming expression is itself a renaming. | |
6901 | Use temp_parse_space for temporary name buffer. | |
6902 | Handle renamings to dereferenced pointers (___XEXA suffices). | |
6903 | ||
6904 | (ada_parse, yyerror, string_to_operator, | |
6905 | write_var_from_sym, write_var_from_name, write_attribute_call0, | |
6906 | write_attribute_call1, write_attribute_calln, | |
6907 | write_object_renaming): Protoize. | |
6908 | ||
6909 | (_initialize_ada_exp): New function. | |
6910 | ||
6911 | * ada-lang.c: Update copyright notice. | |
6912 | General terminology change to conform to GNAT compiler usage: | |
6913 | mangle => encode, demangle => decode | |
6914 | Include gdb_obstack.h. | |
6915 | Include gdb_regex.h | |
6916 | Include frame.h | |
6917 | Include hashtab.h | |
6918 | Include completer.h | |
6919 | Include gdb_stat.h | |
6920 | Include block.h | |
6921 | Include infcall.h | |
6922 | ||
6923 | (ADA_RETAIN_DOTS): Make sure this is defined. | |
6924 | (TRUNCATION_TOWARDS_ZERO): Define. | |
6925 | (struct string_vector): Define. | |
6926 | (unresolved_names): Remove definition. | |
6927 | (xnew_string_vector): New function. | |
6928 | (string_vector_append): New function. | |
6929 | (extract_string): Make static. | |
6930 | (ada_unqualified_name): New function. | |
6931 | (add_angle_brackets): New function. | |
6932 | (function_name_from_pc): New function. | |
6933 | (place_on_stack): Rename to ensure_lval. | |
6934 | ||
6935 | (ensure_lval): Renamed from place_on_stack. | |
6936 | Make identity on lvals. | |
6937 | Update comment. | |
6938 | (is_nonfunction): New interface. | |
6939 | Only symbols in LOC_CONST class can be enumerals. | |
6940 | (fill_in_ada_prototype): Remove; now independent of language. | |
6941 | (add_defn_to_vec): Add obstack and symtab arguments. | |
6942 | Use obstack to hold collected definitions. | |
6943 | (num_defns_collected): New function. | |
6944 | (defns_collected): New function. | |
6945 | (ada_resolve_subexp): Rename to resolve_subexp. | |
6946 | (resolve_subexp): Renamed from ada_resolve_subexp. | |
6947 | (ada_op_name): Return non-const result. | |
6948 | (ada_decoded_op_name): Renamed from ada_op_name, now used for | |
6949 | other purposes. | |
6950 | ||
6951 | (to_fixed_array_type): Add declaration. | |
6952 | (coerce_unspec_val_to_type): Remove offset parameter. | |
6953 | (find_sal_from_funcs_and_line): New interface. | |
6954 | (find_line_in_linetable): Ditto. | |
6955 | ||
6956 | (all_sals_for_line): Rename to ada_sals_for_line and make | |
6957 | global. | |
6958 | Add new parameter. When set, do not ask the user to choose the | |
6959 | instance, but use the first one found instead. | |
6960 | Use given line number in returned sals. | |
6961 | Fix comment. | |
6962 | Skip the prologue if funfirstline is set. | |
6963 | Correct for memory leak when 0 lines found. | |
6964 | ||
6965 | (value_pos_atr): Use pos_atr. | |
6966 | (pos_atr): New function. | |
6967 | (standard_lookup): Add block parameter. | |
6968 | ||
6969 | (makeTimeStart): Remove declaration and uses. | |
6970 | (makeTimeStop): Remove declaration and uses. | |
6971 | ||
6972 | (ada_completer_word_break_characters): Allow for VMS. | |
6973 | (ADA_MAIN_PROGRAM_SYMBOL_NAME): Make into constant. | |
6974 | (raise_sym_name): New constant. | |
6975 | (raise_unhandled_sym_name): New constant. | |
6976 | (raise_assert_sym_name): New constant. | |
6977 | (process_raise_exception_name): New constant. | |
6978 | (longest_exception_template): New constant. | |
6979 | (warning_limit): New variable to limit warnings during expression | |
6980 | evaluation. | |
6981 | (warnings_issued): New variable to keep track of warnings issued. | |
6982 | (known_runtime_file_name_patterns): New constant. | |
6983 | (known_auxiliary_function_name_patterns): New constant. | |
6984 | (symbol_list_obstack): New variable. | |
6985 | ||
6986 | (field_name_match,is_suffix,is_suppressed_name,ada_encode, | |
6987 | ada_decode,ada_match_name,encoded_ordered_before,equiv_types, | |
6988 | lesseq_defined_than,is_nondebugging_type,is_name_suffix,wild_match, | |
6989 | find_sal_from_funcs_and_line, ada_breakpoint_rewrite, | |
6990 | ada_is_tagged_type, ada_is_parent_field, ada_is_wrapper_field, | |
6991 | ada_variant_discrim_name, field_alignment, dynamic_template_type, | |
6992 | ada_is_character_type, ada_is_aligner_type, ada_is_vax_floating_type): | |
6993 | Replace use of deprecated STREQ and STREQN macros by calls to strncmp | |
6994 | and strcmp. | |
6995 | ||
6996 | (ada_get_field_index): New function. | |
6997 | (lim_warning): New function. | |
6998 | (ada_translate_error_message): New function. | |
6999 | (MAX_OF_SIZE): New function. | |
7000 | (MIN_OF_SIZE): New function. | |
7001 | (UMAX_OF_SIZE): New function. | |
7002 | (UMIN_OF_SIZE): New function. | |
7003 | (discrete_type_high_bound): New function. | |
7004 | (discrete_type_low_bound): New function. | |
7005 | (base_type): New function. | |
7006 | (do_command): Remove. | |
7007 | ||
7008 | (ada_update_initial_language): Use language_ada, not language_unknown. | |
7009 | (ada_encode): Renamed from ada_mangle. | |
7010 | Obey ADA_RETAIN_DOTS. | |
7011 | (ada_decode): Renamed from ada_demangle. | |
7012 | Update coding conventions. | |
7013 | (decoded_names_store): New hash table. | |
7014 | (ada_decode_symbol): New function. | |
7015 | (ada_la_decode): New function. | |
7016 | ||
7017 | (modify_general_field): Correct computations of offset and bit | |
7018 | position. | |
7019 | (desc_base_type): Handle ref types, too. | |
7020 | (ada_is_direct_array_type): New function. | |
7021 | ||
7022 | (ada_is_simple_array): Rename to ada_is_simple_array_type. | |
7023 | (ada_is_array_descriptor): Rename to ada_is_array_descriptor_type. | |
7024 | (ada_is_bogus_array_descriptor,ada_type_of_array, | |
7025 | ada_coerce_to_simple_array_ptr,ada_coerce_to_simple_array, | |
7026 | ada_type_match,convert_actual,ada_evaluate_subexp): Use renamed | |
7027 | ada_is_array_descriptor_type. | |
7028 | ||
7029 | (ada_coerce_to_simple_array_type): Fix incorrect value freeing. | |
7030 | (ada_is_packed_array_type): Handle pointers or | |
7031 | references to packed arrays as well. | |
7032 | (packed_array_type): Uncomment use of TYPE_FLAG_FIXED_INSTANCE. | |
7033 | (decode_packed_array_type): Search for the packed array type | |
7034 | symbol in the currently selected block and associated | |
7035 | superblocks too. | |
7036 | Use lookup_symbol again. | |
7037 | ||
7038 | (decode_packed_array): Handle pointers and references. | |
7039 | Update call to coerce_unspec_val_to_type. | |
7040 | (decode_packed_array_type,value_subscript_packed): Limit warnings. | |
7041 | (ada_value_primitive_packed_val): Improve comment. | |
7042 | ||
7043 | (ada_index_type): Substitute int type for "undefined". | |
7044 | (ada_index_type,ada_array_bound_from_type,ada_array_bound, | |
7045 | ada_array_langth, ada_is_string_type): Use renamed | |
7046 | ada_is_simple_array_type. | |
7047 | (empty_array): New function. | |
7048 | ||
7049 | (ada_resolve): Rename to resolve. | |
7050 | (resolve): Make static. | |
7051 | Call renamed resolve_subexp. | |
7052 | Update comment. | |
7053 | (ada_resolve_subexp): Rename to resolve_subexp. | |
7054 | (resolve_subexp): Update comment. | |
7055 | Decomment disabled code. | |
7056 | Add LOC_COMPUTED* cases. | |
7057 | Modify to use temporary struct symbols (marked as being in | |
7058 | UNDEF_NAMESPACE) to indicate unresolved names, instead of | |
7059 | OP_UNRESOLVED_VALUE. | |
7060 | Remove OP_ATTRIBUTE; use individual opcodes for attributes. | |
7061 | Add OP_STRING case. | |
7062 | Remove OP_ARRAY. | |
7063 | Use SYMBOL_PRINT_NAME instead of ada_demangle. | |
7064 | Use new ada_lookup_symbol_list interface. | |
7065 | Use new ada_resolve_function interface. | |
7066 | Remove OP_TYPE case. | |
7067 | ||
7068 | (ada_args_match): Idiot proof against null actuals. | |
7069 | Use intermediate variables to clarify. | |
7070 | (ada_resolve_function): Update comment and interface. | |
7071 | (mangled_ordered_before): Rename to encoded_ordered_before and | |
7072 | update comment. | |
7073 | (sort_choices): Update comment and interface. | |
7074 | Use SYMBOL_LINKAGE_NAME in place of SYMBOL_NAME. | |
7075 | (user_select_syms): New interface. | |
7076 | Use new sort_choices interface. | |
7077 | Use SYMBOL_PRINT_NAME rather than SYMBOL_SOURCE_NAME. | |
7078 | (possible_user_operator_p): Idiot-proof against null values. | |
7079 | (ada_simple_renamed_entity): Don't make cleanup; rely on | |
7080 | caller to free result string. | |
7081 | Remove const from return type. | |
7082 | (make_array_descriptor): Rename uses of place_on_stack to | |
7083 | ensure_lval. | |
7084 | Make sure that arrays are on stack. | |
7085 | ||
7086 | (HASH_SIZE): Define. | |
7087 | (struct cache_entry): Define. | |
7088 | (cache_space): Define. | |
7089 | (cache): Define. | |
7090 | (clear_ada_sym_cache): New function. | |
7091 | (find_entry): New function. | |
7092 | (lookup_cached_symbol): New function. | |
7093 | (defn_vector_size): Define. | |
7094 | (cache_symbol): New function. | |
7095 | (defn_symbols): Remove. | |
7096 | ||
7097 | (standard_lookup): Use lookup_symbol_in_language to get effect of | |
7098 | C lookup. | |
7099 | Cache results. | |
7100 | ||
7101 | (symbol_completion_match): New function. | |
7102 | (symbol_completion_add): New function. | |
7103 | (ada_make_symbol_completion_list): New function. | |
7104 | ||
7105 | (ada_lookup_partial_symbol,ada_lookup_simple_minsym, | |
7106 | add_symbols_from_enclosing_procs,remove_extra_symbols): Replace | |
7107 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
7108 | (symtab_for_sym): Handle LOC_COMPUTED, LOC_COMPUTED_ARG. | |
7109 | ||
7110 | (ada_lookup_simple_minsym): New function. | |
7111 | (ada_lookup_minimal_symbol): Use ada_lookup_simple_minsym. | |
7112 | ||
7113 | (add_symbols_from_enclosing_procs): New interface. | |
7114 | Conditionalize more helpfully. | |
7115 | Don't bother if program isn't running. | |
7116 | Use new interface to get_frame_block. | |
7117 | Limit number of levels searched with MAX_LEXICAL_LEVELS, just in case. | |
7118 | ||
7119 | (remove_extra_symbols): New interface. | |
7120 | (xget_renaming_scope): New function. | |
7121 | (is_package_name): New function. | |
7122 | (renaming_is_visible): New function. | |
7123 | (remove_out_of_scope_renamings): New function. | |
7124 | ||
7125 | (ada_lookup_symbol_list): New interface. | |
7126 | Properly reinitialize the symbol list obstack. | |
7127 | Don't call add_symbols_from_enclosing_procs if we start from a | |
7128 | static or global block. | |
7129 | Use new interfaces to ada_add_block_symbols, add_defn_to_vec, | |
7130 | add_symbols_from_enclosing_procs. | |
7131 | Add symtab data to cached entries. | |
7132 | Handle symbols prefixed with | |
7133 | "standard__" specially; strip prefix and don't look in local symbols. | |
7134 | Do not include out of scope renaming symbols in list of | |
7135 | symbols returned. | |
7136 | Add const to block parameter. | |
7137 | Move check for non-local, non-global symbols earlier. | |
7138 | Remove timing stuff. | |
7139 | (ada_lookup_symbol): New interface. | |
7140 | Find symtab as well. | |
7141 | (ada_lookup_symbol_nonlocal): New function. | |
7142 | ||
7143 | (is_name_suffix): Enhance suffix detection to recognize | |
7144 | an optional "__[:digit:]+" before any "\.[:digit:]+" suffix. | |
7145 | (is_dot_digits_suffix): New function. | |
7146 | (wild_match): Ignore ".[:digit:]*" suffixes during matches. | |
7147 | ||
7148 | (ada_add_block_symbols): New interface. Use obstack to return results | |
7149 | in a vector of struct ada_symbol_infos. Add symtab argument. | |
7150 | Use new interface to add_defn_to_vec. | |
7151 | Remove calls to fill_in_ada_prototype. | |
7152 | Use BLOCK_BUCKETS, BLOCK_BUCKET. | |
7153 | ||
7154 | (ada_finish_decode_line_1): Add const qualification to local to fix | |
7155 | warning. | |
7156 | Start looking in static block for functions to avoid attempts | |
7157 | to search frame chain for up-level variables. | |
7158 | Adapt to new ada_sals_for_line interface. | |
7159 | Use new interfaces to ada_lookup_symbol_list and user_select_syms. | |
7160 | Handle quoting of the function name inside the spec string. | |
7161 | Skip prologue when funfirstline is set and update the | |
7162 | function documentation to that effect. | |
7163 | ||
7164 | (debug_print_lines, debug_print_block, debug_print_blocks, | |
7165 | debug_print_symtab): Remove. | |
7166 | ||
7167 | (ada_main_name): New function. | |
7168 | (ada_exception_breakpoint_type): New function. | |
7169 | (is_known_support_routine): New function. | |
7170 | (ada_find_printable_frame): Renamed from find_printable_frame and made | |
7171 | global. | |
7172 | Remove level parameter. | |
7173 | Use new interface to select_frame. | |
7174 | ||
7175 | (begin_command): Remove. | |
7176 | (ada_adjust_exception_stop): New function. | |
7177 | (ada_print_exception_stop): New function. | |
7178 | (exception_name_from_cond): New function. | |
7179 | (ada_report_exception_break): Replace disabled code with | |
7180 | conditionalization on GNAT_GDB. | |
7181 | Get the exception name from the condition string. | |
7182 | Remove and move functionality into new functions | |
7183 | ada_print_exception_breakpoint_task and | |
7184 | ada_print_exception_breakpoint_nontask. | |
7185 | (error_breakpoint_runtime_sym_not_found): New function. | |
7186 | (is_runtime_sym_defined): New function. | |
7187 | (ada_breakpoint_rewrite): Uncomment suppressed code. | |
7188 | Use symbolic error-message and runtime-symbol names. | |
7189 | Surround runtime symbol names in quotes. | |
7190 | Allow non-specific breakpoints on exceptions and assertions before | |
7191 | program starts. | |
7192 | ||
7193 | (ada_is_tagged_type): Add parameter. | |
7194 | (ada_is_tag_type): New function. | |
7195 | (ada_tag_type): Use new ada_lookup_struct_elt_type interface. | |
7196 | (ada_variant_discrim_type): Ditto. | |
7197 | (value_tag_from_contents_and_address): New function. | |
7198 | (type_from_tag): New function. | |
7199 | (struct tag_args): New structure used to communicate with | |
7200 | ada_tag_name_1. | |
7201 | (ada_tag_name_1): New function. | |
7202 | (ada_tag_name): New function. | |
7203 | ||
7204 | (ada_scan_number): Update comment. | |
7205 | (find_struct_field): New function. | |
7206 | (ada_search_struct_field): Make static. | |
7207 | (ada_value_struct_elt): New version that returns references when | |
7208 | given pointers or references to structs. | |
7209 | (ada_lookup_struct_elt_type): Add 'refok' parameter. | |
7210 | (ada_which_variant_applies): Use new ada_lookup_struct_elt_type | |
7211 | interface. | |
7212 | (ada_value_ind): Use new ada_to_fixed_value interface. | |
7213 | (ada_coerce_ref): Ditto. | |
7214 | (field_offset): Remove. | |
7215 | ||
7216 | (ada_find_any_symbol): New function, extracted from ada_find_any_type. | |
7217 | (ada_find_renaming_symbol): New function. | |
7218 | (ada_prefer_type): Prefer named types over unnamed ones. | |
7219 | (variant_field_index): New function. | |
7220 | (contains_variant_part): Removed: subsumed by variant_field_index. | |
7221 | (ada_template_to_fixed_record_type): New function, mostly from | |
7222 | template_to_fixed_record_type. | |
7223 | (template_to_fixed_record_type): | |
7224 | Do not scan the type fields beyond the last one; prevents a | |
7225 | potential SEGV. | |
7226 | Handle case where variant field is listed BEFORE discriminant it | |
7227 | depends on. | |
7228 | Fix calculation of record length when bit length is | |
7229 | not evenly divisible by char length. | |
7230 | Move code to ada_template_to_fixed_record_type and call it. | |
7231 | ||
7232 | (template_to_static_fixed_type): Revise comment. | |
7233 | Modify to work on ordinary record types as well as templates, | |
7234 | so as to handle fields that use ___XVE or ___XVU encodings. | |
7235 | (to_record_with_fixed_variant_part): Fill out comment. | |
7236 | Initialize C++ stuff in right type. | |
7237 | Allow case where DVAL is null. | |
7238 | Handle case where variant field is not last. | |
7239 | Fix typo concerning record length. | |
7240 | (to_fixed_record_type): Decomment disabled code. | |
7241 | (to_fixed_record_type): Use variant_field_index instead of | |
7242 | contains_variant_part. | |
7243 | (to_fixed_variant_branch_type): Ditto. | |
7244 | (to_fixed_array_type): Decomment disabled code. | |
7245 | (ada_to_fixed_type): Convert tagged types to the specific type. | |
7246 | Deactivate the size-check for array types in order to avoid | |
7247 | some false size alarms. | |
7248 | (to_static_fixed_type): Decomment disabled code. | |
7249 | Modify to call template_to_static_fixed_type | |
7250 | on ordinary structs, not just ___XVE- and ___XVU-encoded fields. | |
7251 | (ada_to_fixed_value_create): Renamed version of old ada_to_fixed_value. | |
7252 | Remove valaddr argument, as it is never really used. | |
7253 | (ada_to_fixed_value): Change interface to act on single struct value* | |
7254 | operand. | |
7255 | (adjust_pc_past_prologue): New function. | |
7256 | (ada_attribute_name): Modify to take enum exp_opcode argument. | |
7257 | ||
7258 | (ada_enum_name): Recognize new homonym-distinguishing convention. | |
7259 | Adjust local variable's type to remove compiler warning. | |
7260 | Fix a small problem in the part that unqualifies the enumeration name. | |
7261 | (ada_value_binop): New function. | |
7262 | (ada_value_equal): New function. | |
7263 | ||
7264 | (ada_evaluate_subexp): Use new ada_lookup_struct_elt_type interface. | |
7265 | Don't give error message when not doing normal evaluation | |
7266 | and a tagged type doesn't seem to contain a structure member. | |
7267 | Give error message for packed arrays. | |
7268 | For indexing arrays, handle pointers to packed arrays correctly. | |
7269 | Handle case of 'first and 'last attributes of bare integral type | |
7270 | without encoded subtype info. | |
7271 | Remove some unnecessary casts. | |
7272 | Fix uninitialized value of type in computing 'first, 'last, or 'length | |
7273 | of array object. | |
7274 | Add BINOP_EQUAL and BINOP_NOTEQUAL cases. | |
7275 | Remove binop_user_defined_p tests and value_x_binop and value_x_unop | |
7276 | calls. | |
7277 | Attributes are now exp_opcode values. | |
7278 | Correct treatment of 'modulus. | |
7279 | Better error message for taking 'length of wrong kind of type; | |
7280 | improve comment. | |
7281 | Change EVAL_NORMAL to noside for consistency. | |
7282 | Use ada_value_binop for DIV, MOD, REM. | |
7283 | Make special case out of array of length 0, since an argument | |
7284 | of 0 upsets some platforms' malloc. | |
7285 | Use OP_STRING instead of OP_ARRAY. | |
7286 | For slice, add check that we have an array type before extracting | |
7287 | a slice out of it. Avoids a SEGV. | |
7288 | When evaluating an array slice, if the array type is a reference to | |
7289 | an aligner type, then replace the aligner type by the actual type. | |
7290 | Decomment disabled code. | |
7291 | Remove some dead code. | |
7292 | Use temporary struct symbols (marked as being in UNDEF_NAMESPACE) | |
7293 | to indicate unresolved names, instead of OP_UNRESOLVED_VALUE. | |
7294 | Rename BINOP_MBR to BINOP_IN_BOUNDS, TERNOP_MBR to TERNOP_IN_RANGE, | |
7295 | and UNOP_MBR to UNOP_IN_RANGE. | |
7296 | If an array type has a parallel ___XVE type, then use it. | |
7297 | Turn arrays into pointers for lvalue arrays. | |
7298 | Change TERNOP_SLICE code to work even when bounds are unknown, ignoring | |
7299 | bounds error and handle 0-length slices. | |
7300 | Use lim_warning. | |
7301 | When selecting fields, apply ada_to_fixed_value (because the fields | |
7302 | might have ___XVU or ___XVE encodings even if not dynamic.) | |
7303 | Use ada_to_fixed_value_create and new ada_to_fixed_value interface. | |
7304 | (ada_is_system_address_type): New function. | |
7305 | ||
7306 | (get_var_value): Use new interface to ada_lookup_symbol_list. | |
7307 | (get_int_var_value): New interface. | |
7308 | (to_fixed_range_type): Allow unknown bound, with warning. | |
7309 | (ada_is_modular_type): Decomment disabled code. | |
7310 | (ADA_OPERATORS): New definition. | |
7311 | (ada_operator_length): New function. | |
7312 | (ada_expr_op_name): New function. | |
7313 | (ada_forward_operator_length): New function. | |
7314 | (ada_dump_subexp_body): New function. | |
7315 | (ada_print_subexp): New function. | |
7316 | (ada_exp_descriptor): New constant. | |
7317 | (ada_op_print_tab): Add 'size. Remove FIXMEs. | |
7318 | (ada_language_defn): Add ada_exp_descriptor entry. | |
7319 | Change ada_parse => parse. | |
7320 | Add post-parser entry. | |
7321 | Use ada-specific non-local symbol lookup. | |
7322 | Don't use C-style arrays. | |
7323 | String lower-bound is 1. | |
7324 | Decomment disabled code. | |
7325 | (parse): New function. | |
7326 | New fields ada_translate_error_message, ada_lookup_symbol, | |
7327 | ada_lookup_minimal_symbol. | |
7328 | ||
7329 | * ada-lang.h: Update copyright dates. | |
7330 | Replace the mangle/demangle terminology throughout by the | |
7331 | more appropriate encode/decode one. | |
7332 | Include breakpoint.h. | |
7333 | Forward declare struct partial_symbol, struct block. | |
7334 | (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Define. | |
7335 | (EXTRACT_ADDRESS): Remove. | |
7336 | (EXTRACT_INT): Remove. | |
7337 | (ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS): Define. | |
7338 | (MAX_ENCLOSING_FRAME_LEVELS): Define. | |
7339 | (MAX_RENAMING_CHAIN_LENGTH): Define. | |
7340 | (struct ada_opname_map): mangled => decoded, demangled=>encoded. | |
7341 | ||
7342 | (enum task_states): Remove. | |
7343 | ada_task_states: Remove. | |
7344 | (fat_string): Remove. | |
7345 | (struct entry_call): Remove. | |
7346 | (struct task_fields): Remove. | |
7347 | (struct task_entry): Remove. | |
7348 | ||
7349 | (struct ada_symbol_info): Define. | |
7350 | (enum ada_attribute): Remove. | |
7351 | (enum ada_operator): Define. | |
7352 | ||
7353 | (ada_get_field_index): Declare. | |
7354 | (ada_coerce_to_simple_array): Rename to ada_coerce_to_simple_array_ptr. | |
7355 | (ada_is_simple_array): Rename to ada_is_simple_array_type. | |
7356 | (ada_is_array_descriptor): Rename to ada_is_array_descriptor_type. | |
7357 | (ada_lookup_symbol_list): New interface. | |
7358 | (ada_decode_symbol): Declare. | |
7359 | (ada_decode): Declare. | |
7360 | (ada_lookup_symbol): New interface. | |
7361 | (ada_update_initial_language): Declare. | |
7362 | (ada_lookup_simple_minsym): Declare. | |
7363 | (user_select_syms): New interface. | |
7364 | (ada_sals_for_line): Declare. | |
7365 | (ada_is_tagged_type): New interface. | |
7366 | (ada_tag_name): Declare. | |
7367 | (ada_lookup_struct_elt_type): Remove declaration. | |
7368 | (ada_search_struct_field): Remove declaration. | |
7369 | (ada_attribute_name): New interface. | |
7370 | (ada_is_system_address_type): Declare. | |
7371 | (ada_to_fixed_value): Remove declaration. | |
7372 | (ada_template_to_fixed_record_type_1): Declare. | |
7373 | (get_int_var_value): New interface. | |
7374 | (ada_find_any_symbol): Declare. | |
7375 | (ada_find_renaming_symbol): Declare. | |
7376 | (ada_mangle): Rename to ada_encode. | |
7377 | (ada_simple_renamed_entity): Remove const. | |
7378 | (ada_main_name): Declare. | |
7379 | (get_current_task): Rename to ada_get_current_task. | |
7380 | (get_entry_number): Remove declaration. | |
7381 | (ada_report_exception_break): Remove declaration. | |
7382 | (ada_print_exception_breakpoint_nontask): Declare. | |
7383 | (ada_print_exception_breakpoint_task): Declare. | |
7384 | (ada_find_printable_frame): Declare. | |
7385 | ||
7386 | * ada-lex.l: Update copyright notices. | |
7387 | Use xmalloc and xfree instead of malloc and free. | |
7388 | Use new interface to name_lookup. | |
7389 | Use new interface to | |
7390 | ada_mangle=>ada_encode. | |
7391 | Redo handling of '$...' variable to parallel current treatment | |
7392 | in c-exp.y. | |
7393 | (resize_tempbuf, canonicalizeNumeral, is_digit_in_base, | |
7394 | digit_to_int, strtoulst, processInt, processReal, processId, | |
7395 | block_lookup, name_lookup, find_dot_all, subseqMatch, processAttribute, | |
7396 | yywrap): Protoize. | |
7397 | ||
7398 | (processInt): Use cast to remove harmless warning. | |
7399 | (processReal): Modify to get rid of compiler warning on scan formats. | |
7400 | ||
7401 | (processId): Replace xmalloc with obstack_alloc for name and remove | |
7402 | call to ada_name_string_cleanup. | |
7403 | Remove obsolete disabled code. | |
7404 | (name_lookup): Ditto. | |
7405 | New interface. | |
7406 | Use obsavestring on temp_parse_space instead of savestring | |
7407 | on name, and remove call to ada_name_string_cleanup. | |
7408 | Free string returned from ada_simple_renamed_entity. | |
7409 | Use new interface to ada_lookup_symbol_list. | |
7410 | Decomment disabled code. | |
7411 | Treat LOC_COMPUTED and LOC_COMPUTED_ARG symbols as variables, | |
7412 | not types. | |
7413 | When a type name lookup succeeds as a result of | |
7414 | lookup_primitive_typename, check for regular type entry that has not | |
7415 | yet been read in. | |
7416 | Limit length of chain of renamed symbols we are willing to follow. | |
7417 | Do not break names beginning with "standard__" into segments. | |
7418 | (block_lookup): Use new interface to ada_lookup_symbol_list. | |
7419 | ||
7420 | * ada-typeprint.c: Update copyright notice. | |
7421 | (demangled_type_name): Rename to decoded_type_name. | |
7422 | (ada_typedef_print): Use SYMBOL_PRINT_NAME. | |
7423 | (print_range_bound): Correct handling of negative | |
7424 | bounds that make the index type looked unsigned under STABS. | |
7425 | (print_dynamic_range_bound): Use new interface to get_int_var_value. | |
7426 | (print_range_type_named): Use the builtin int type if no type | |
7427 | corresponding to the given type name could be found. | |
7428 | (print_array_type): ada_is_simple_array => ada_is_simple_array_type. | |
7429 | Add some bullet-proofing. | |
7430 | (print_variant_clauses): Allow for variant branches with ___XVU | |
7431 | encodings that are not dynamic fields. | |
7432 | Use new interface to ada_is_tagged_type. | |
7433 | (print_record_type): Allow for fields with ___XVE encodings that | |
7434 | are not dynamic fields. | |
7435 | Use new interface to ada_is_tagged_type. | |
7436 | (ada_print_type): ada_is_array_descriptor => | |
7437 | ada_is_array_descriptor_type. | |
7438 | ||
7439 | * ada-valprint.c: Update copyright notice. | |
7440 | Include gdb_string.h | |
7441 | Include infcall.h | |
7442 | (ui_memcpy): New function. | |
7443 | (ada_print_floating): New function. | |
7444 | (ada_print_str): Order arguments correctly. | |
7445 | Correct handling of empty arrays and arrays of 0-length items. | |
7446 | ada_is_array_descriptor => ada_is_array_descriptor_type | |
7447 | Print values of type System.Address in hexadecimal format. | |
7448 | Use ada_print_floating to print floating-point numbers in Ada format. | |
7449 | Print class tag values with type names. | |
7450 | No longer print the address of reference values. Avoids | |
7451 | a potential confusion. | |
7452 | (ada_value_print): Stop printing the object type for reference | |
7453 | values, but preserve that behavior for access types. Avoids | |
7454 | a potential confusion. | |
7455 | Simplify one conditional expression, as the first part is now | |
7456 | necessarily true. | |
7457 | ada_is_array_descriptor => ada_is_array_descriptor_type | |
7458 | Add check for arrays for null records, and print them by hand. | |
4c4b4cd2 | 7459 | |
f65f91b5 JB |
7460 | 2004-06-01 Jim Blandy <jimb@redhat.com> |
7461 | ||
7462 | * ppc-tdep.h: Delete unused 'regoff' member. | |
7463 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't initialize it. | |
7464 | ||
d4687fa0 MC |
7465 | 2004-06-01 Michael Chastain <mec.gnu@mindspring.com> |
7466 | ||
7467 | Fix PR symtab/1661. | |
7468 | * hpread.c (hpread_pxdb_needed): Call memset after alloca. | |
7469 | (hpread_read_struct_type): Likewise. | |
7470 | ||
de169ec9 AC |
7471 | 2004-06-01 Andrew Cagney <cagney@gnu.org> |
7472 | ||
c6902d46 AC |
7473 | * mi/mi-cmd-env.c (env_execute_cli_command): Use xstrprintf |
7474 | instead of xasprintf. | |
7475 | * mi/mi-main.c (mi_error_last_message, mi_cmd_exec_interrupt) | |
7476 | (mi_cmd_thread_select, mi_cmd_thread_list_ids) | |
7477 | (mi_cmd_data_list_register_names) | |
7478 | (mi_cmd_data_list_changed_registers) | |
7479 | (mi_cmd_data_list_register_values) | |
7480 | (get_register, mi_cmd_data_write_register_values) | |
7481 | (mi_cmd_data_write_register_values) | |
7482 | (mi_cmd_data_assign, mi_cmd_data_evaluate_expression) | |
7483 | (mi_cmd_target_download, mi_cmd_target_select) | |
7484 | (mi_cmd_data_read_memory, mi_cmd_data_write_memory) | |
7485 | (mi_execute_cli_command, mi_execute_async_cli_command) | |
7486 | (mi_execute_async_cli_command): Ditto. | |
7487 | * mi/mi-interp.c (mi_cmd_interpreter_exec) Ditto. | |
7488 | * mi/mi-cmd-var.c (mi_cmd_var_create): Ditto. | |
7489 | ||
6085fc2d AC |
7490 | * mi/mi-cmds.h (mi_error_last_message): Delete declaration. |
7491 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Call | |
7492 | error_last_message instead of mi_error_last_message. | |
7493 | * mi/mi-main.c (mi_error_last_message): Delete function. | |
7494 | ||
de169ec9 AC |
7495 | * mi/mi-main.c (mi_cmd_data_read_memory): Add missing return for |
7496 | "invalid number of columns" error. Delete redundant "out of | |
7497 | memory" check. | |
7498 | ||
1fc7d519 MK |
7499 | 2004-05-31 Mark Kettenis <kettenis@gnu.org> |
7500 | ||
6cfb2041 MK |
7501 | * i386bsd-nat.c: Don't include <sys/procfs.h>. |
7502 | (gregset_t, fpregset_t): Remove typedefs. | |
7503 | (CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Remove macros. | |
7504 | (REG_OFFSET): Rename argument. | |
7505 | (i386bsd_r_reg_offset): Rename from reg_offset. | |
7506 | (REG_ADDR): Remove macro. | |
7507 | (cannot_fetch_register, supply_gregset, fill_gregset): Remove | |
7508 | functions. | |
7509 | (i386bsd_supply_gregset, i386bsd_collect_gregset): New functions. | |
7510 | (fetch_inferior_registers): Use `struct reg' and `struct fpreg' | |
7511 | instead of gregset_t and fpregset_t. Use i386bsd_supply_gregset | |
7512 | instead of supply_gregset. | |
7513 | (store_inferior_registers): Use `struct reg' and `struct fpreg' | |
7514 | instead of gregset_t and fpregset_t. Use i386bsd_collect_gregset | |
7515 | instead of fill_gregset. | |
7516 | (register_u_addr): Use i386_r_reg_offset instead of REG_ADDR. | |
7517 | ||
1fc7d519 MK |
7518 | * i386bsd-nat.c: Don't include "gregset.h". |
7519 | (supply_gregset, fill_gregset): Make static. | |
7520 | (supply_fpregset, fill_fpregset): Remove. | |
7521 | * Makefile.in (i386bsd-nat.o): Update dependencies. | |
7522 | ||
2c34abbe MK |
7523 | 2004-05-30 Mark Kettenis <kettenis@gnu.org> |
7524 | ||
448724fb MK |
7525 | * fbsd-proc.c: Include "regcache.h", "regset.h" and |
7526 | "gdb_assert.h". Con't include "gregset.h". | |
7527 | (fbsd_make_corefile_notes): Use regset-based core file support | |
7528 | instead off fill_gregset and fill_fpregset. | |
7529 | * Makefile.in (fbsd-proc.o): Update dependencies. | |
7530 | ||
5ca8ca7c MK |
7531 | * m88k-tdep.c (m88k_analyze_prologue): Fix handling of branch |
7532 | instructions. | |
7533 | (m88k_frame_prev_register): Simplify code a bit. | |
7534 | ||
593adc23 MK |
7535 | * amd64-tdep.c (amd64_supply_fpregset): Adjust comment. |
7536 | (amd64_collect_fpregset): New function. | |
7537 | (amd64_regset_from_core_section): Use amd64_collect_fpregset. | |
7538 | ||
8d1b517b MK |
7539 | * hppa-tdep.h (hppa_regnum): Add HPPA_R31_REGNUM. |
7540 | ||
7fdafb5a MK |
7541 | * i386-tdep.c (i386_supply_gregset): Adjust comment. |
7542 | (i386_collect_gregset): New function. | |
7543 | (i386_supply_fpregset): Adjust comment. | |
7544 | (i386_collect_fpregset): New function. | |
7545 | (i386_regset_from_core_section): Use i386_collect_gregset and | |
7546 | i386_collect_fpregset. | |
7547 | ||
8693c419 MK |
7548 | * hppa-tdep.c (hppa_frame_prev_register_helper): Reimplement to |
7549 | handle VALUEP being null. | |
7550 | ||
2c34abbe MK |
7551 | * regset.h (collect_regset_ftype): Unconstify fourth argument. |
7552 | ||
45d134d8 MK |
7553 | 2004-05-29 Mark Kettenis <kettenis@gnu.org> |
7554 | ||
1698f4e7 MK |
7555 | * MAINTAINERS: Undelete m88k. Add myself as maintainer. |
7556 | ||
45d134d8 MK |
7557 | * amd64obsd-tdep.c (amd64obsd_sigtramp_p): Adjust for new |
7558 | assembler in OpenBSD 3.5-current. | |
7559 | (amd64obsd_sigcontext_addr): Likewise. | |
7560 | ||
691d145a JB |
7561 | 2004-05-28 Jim Blandy <jimb@redhat.com> |
7562 | ||
7563 | * rs6000-tdep.c: Use the modern gdbarch methods for handling the | |
7564 | register set, so our regcache isn't declared "legacy" and our E500 | |
7565 | pseudoregister read and write functions aren't ignored. | |
7566 | (rs6000_register_byte, rs6000_register_raw_size, | |
7567 | rs6000_register_virtual_type, rs6000_register_convertible, | |
7568 | rs6000_register_convert_to_virtual, | |
7569 | rs6000_register_convert_to_raw): Deleted. | |
7570 | (rs6000_register_type, rs6000_convert_register_p, | |
7571 | rs6000_register_to_value, rs6000_value_to_register): New | |
7572 | functions. | |
7573 | (rs6000_gdbarch_init): Don't register | |
7574 | gdbarch_deprecated_register_size, | |
7575 | gdbarch_deprecated_register_bytes, | |
7576 | gdbarch_deprecated_register_byte, | |
7577 | gdbarch_deprecated_register_raw_size, | |
7578 | gdbarch_deprecated_register_virtual_type, | |
7579 | gdbarch_deprecated_register_convertible, | |
7580 | gdbarch_deprecated_register_convert_to_virtual, or | |
7581 | gdbarch_deprecated_register_convert_to_raw methods. Instead, | |
7582 | register gdbarch_register_type, gdbarch_convert_register_p, | |
7583 | gdbarch_register_to_value, and gdbarch_value_to_register methods. | |
7584 | ||
18ed0c4e JB |
7585 | 2004-05-26 Jim Blandy <jimb@redhat.com> |
7586 | ||
7587 | * rs6000-tdep.c (rs6000_dwarf2_stab_reg_to_regnum): Deleted. | |
7588 | (rs6000_stab_reg_to_regnum, rs6000_dwarf2_reg_to_regnum): New | |
7589 | functions, updated to match the register numberings used in GCC. | |
7590 | (rs6000_gdbarch_init): Register rs6000_stab_reg_to_regnum and | |
7591 | rs6000_dwarf2_reg_to_regnum as register number conversions | |
7592 | functions for STABS and Dwarf2. | |
7593 | ||
779af9e3 RC |
7594 | 2004-05-26 Randolph Chung <tausq@debian.org> |
7595 | ||
7596 | * infttrace.h (target_waitkind): Forward declare type instead of pulling | |
7597 | in header file. | |
7598 | ||
c23968a2 JB |
7599 | 2004-05-25 Joel Brobecker <brobecker@gnat.com> |
7600 | ||
7601 | * NEWS: Document new "start" command. | |
7602 | ||
3a7d1c27 RC |
7603 | 2004-05-25 Randolph Chung <tausq@debian.org> |
7604 | ||
7605 | * hppa-linux-tdep.c (hppa_linux_init_abi): sizeof(long double) == 8 on | |
7606 | hppa-linux. | |
7607 | ||
43613416 RC |
7608 | 2004-05-25 Randolph Chung <tausq@debian.org> |
7609 | ||
7610 | * hppa-hpux-tdep.c (offsetof): Define. | |
7611 | (hppa_hpux_pc_in_sigtramp, hppa32_hpux_frame_saved_pc_in_sigtramp) | |
7612 | (hppa32_hpux_frame_base_before_sigtramp) | |
7613 | (hppa32_hpux_frame_find_saved_regs_in_sigtramp) | |
7614 | (hppa64_hpux_frame_saved_pc_in_sigtramp) | |
7615 | (hppa64_hpux_frame_base_before_sigtramp) | |
7616 | (hppa64_hpux_frame_find_saved_regs_in_sigtramp): Remove unused | |
7617 | functions. | |
7618 | (struct hppa_hpux_sigtramp_unwind_cache, hppa_hpux_tramp_reg) | |
7619 | (hppa_hpux_sigtramp_frame_unwind_cache) | |
7620 | (hppa_hpux_sigtramp_frame_this_id) | |
7621 | (hppa_hpux_sigtramp_frame_prev_register) | |
7622 | (hppa_hpux_sigtramp_frame_unwind) | |
7623 | (hppa_hpux_sigtramp_unwind_sniffer): New signal trampoline unwinder. | |
7624 | (hppa_hpux_init_abi): Register sigtramp unwinder. | |
7625 | * Makefile.in (hppa-hpux-tdep.o): Update dependencies. | |
7626 | ||
6d1be3f1 RC |
7627 | 2004-05-25 Randolph Chung <tausq@debian.org> |
7628 | ||
7629 | * hppa-tdep.c (hppa_fallback_frame_cache): Handle stack adjustment, | |
7630 | and multiple stack unwinds. | |
7631 | (hppa_stub_unwind_sniffer): Handle unwind from pc == 0. | |
7632 | ||
97c34f65 AC |
7633 | 2004-05-25 Andrew Cagney <cagney@gnu.org> |
7634 | ||
7635 | * symfile.h (symbol_file_add_from_memory): Delete declaration. | |
7636 | * symfile-mem.h: Delete file. | |
7637 | * symfile-mem.c: Do not include "symfile-mem.h". | |
7638 | (symbol_file_add_from_memory): Make static. Use "struct bfd" and | |
7639 | "struct bfd_section". When an error do not bother returning NULL. | |
7640 | (add_symbol_file_from_memory_command): Use "struct bfd" and | |
7641 | "struct bfd_section". | |
7642 | * Makefile.in (symfile_mem_h): Delete. | |
7643 | (symfile-mem.o): Update dependencies. | |
7644 | ||
e23cbd82 NR |
7645 | 2004-05-25 Nick Roberts <nickrob@gnu.org> |
7646 | ||
7647 | * gdb-mi.el: New file. | |
7648 | ||
20d2ca3e AC |
7649 | 2004-05-25 Andrew Cagney <cagney@gnu.org> |
7650 | ||
7651 | * inftarg.c: Include "observer.h". | |
7652 | (child_attach, child_create_inferior): Notify inferior_created. | |
7653 | * corelow.c: Include "observer.h". | |
7654 | (core_open): Notify inferior_created. | |
7655 | * Makefile.in (inftarg.o, corelow.o): Update dependencies. | |
7656 | ||
c27cda74 AC |
7657 | 2004-05-25 Andrew Cagney <cagney@gnu.org> |
7658 | ||
7659 | * target.h (struct target_ops): Add from_tty to | |
7660 | to_create_inferior. | |
7661 | (target_create_inferior, find_default_create_inferior): Update. | |
7662 | * infcmd.c (run_command): Update. | |
7663 | * wince.c (child_create_inferior): Update. | |
7664 | * win32-nat.c (child_create_inferior): Update. | |
7665 | * uw-thread.c (uw_thread_create_inferior): Update. | |
7666 | * thread-db.c (thread_db_create_inferior): Update. | |
7667 | * target.c (debug_to_create_inferior) | |
7668 | (find_default_create_inferior): Update. | |
7669 | (maybe_kill_then_create_inferior): Update. | |
7670 | * sol-thread.c (sol_thread_create_inferior): Update. | |
7671 | * remote.c (extended_remote_async_create_inferior) | |
7672 | (extended_remote_create_inferior): Update. | |
7673 | * remote-vx.c (vx_create_inferior): Update. | |
7674 | * remote-st.c (st2000_create_inferior): Update. | |
7675 | * remote-sim.c (gdbsim_create_inferior): Update. | |
7676 | * remote-sds.c (sds_create_inferior): Update. | |
7677 | * remote-rdp.c (remote_rdp_create_inferior): Update. | |
7678 | * remote-rdi.c (arm_rdi_create_inferior): Update. | |
7679 | * remote-m32r-sdi.c (m32r_create_inferior): Update. | |
7680 | * remote-e7000.c (e7000_create_inferior): Update. | |
7681 | * procfs.c (procfs_create_inferior): Update. | |
7682 | * ocd.c (ocd_create_inferior): Update. | |
7683 | * ocd.h (ocd_create_inferior): Update. | |
7684 | * nto-procfs.c (procfs_create_inferior): Update. | |
7685 | * monitor.c (monitor_create_inferior): Update. | |
7686 | * lin-lwp.c (lin_lwp_create_inferior): Update. | |
7687 | * inftarg.c (child_create_inferior): Update. | |
7688 | * hpux-thread.c (hpux_thread_create_inferior): Update. | |
7689 | * gnu-nat.c (gnu_create_inferior): Update. | |
7690 | ||
1db2a798 AC |
7691 | 2004-05-25 Andrew Cagney <cagney@gnu.com> |
7692 | ||
7693 | * MAINTAINERS: Update e-mail address. | |
7694 | ||
007d08bb RC |
7695 | 2004-05-24 Randolph Chung <tausq@debian.org> |
7696 | ||
7697 | * thread.c (info_threads_command, thread_apply_all_command) | |
7698 | (thread_apply_command, thread_command, do_captured_thread_select): | |
7699 | Remove HPUXHPPA-specific code. | |
7700 | ||
69e7b95e RC |
7701 | 2004-05-24 Randolph Chung <tausq@debian.org> |
7702 | ||
7703 | * hppa-tdep.c (SR4EXPORT_LDIL_OFFSET, SR4EXPORT_LDO_OFFSET): Remove | |
7704 | unused symbols. | |
7705 | * hppa-tdep.h (HPPA_INSTRUCTION_SIZE): Remove, since there are no more | |
7706 | references. | |
7707 | ||
a4d5f2e0 JB |
7708 | 2004-05-24 Joel Brobecker <brobecker@gnat.com> |
7709 | ||
7710 | * infcmd.c (kill_if_already_running): New function, extracted | |
7711 | from run_command(). | |
7712 | (run_command): Replace extracted code by call to | |
7713 | kill_if_already_running(). | |
7714 | (start_command): New function. | |
7715 | (_initialize_infcmd): Add "start" command. | |
7716 | ||
bf2ca189 MK |
7717 | 2004-05-24 Mark Kettenis <kettenis@gnu.org> |
7718 | ||
7719 | Add OpenBSD/m88k support. | |
7720 | * NEWS (New native configurations): Mention OpenBSD/m88k. | |
7721 | * m88k-tdep.c, m88k-tdep.h, m88kbsd-nat.c, config/m88k/nm-obsd.h, | |
7722 | config/m88k/obsd.mh, config/m88k/obsd.mt: New files. | |
7723 | * Makefile.in (m88k_tdep_h): New variable. | |
7724 | (ALLDEPFILES): Add m88k-tdep.c and m88kbsd-nat.c. | |
7725 | (m88kbsd-nat.o, m88k-tdep.o): New dependencies. | |
7726 | * configure.host: Add m88*-*-openbsd*. | |
7727 | * configure.tgt: Add m88*-*-openbsd*. | |
7728 | ||
80fadb11 JB |
7729 | 2004-05-24 Jim Blandy <jimb@redhat.com> |
7730 | ||
7731 | * MAINTAINERS (tracing bytecode stuff): Allow global maintainers | |
7732 | to approve changes. | |
7733 | ||
19e2d14b KB |
7734 | 2004-05-24 Kevin Buettner <kevinb@redhat.com> |
7735 | ||
7736 | * symtab.c (fixup_section): Search section table when lookup by | |
7737 | name fails. | |
7738 | ||
1b07b470 RC |
7739 | 2004-05-24 Randolph Chung <tausq@debian.org> |
7740 | ||
7741 | * hppa-tdep.c: Fix handling of 8-byte structures; they should not | |
7742 | be "small_struct". | |
7743 | ||
368702b1 MK |
7744 | 2004-05-24 Mark Kettenis <kettenis@gnu.org> |
7745 | ||
5df97fde MK |
7746 | * m68kbsd-nat.c (m68kbsd_collect_gregset): Specify correct |
7747 | register number in regcache_raw_collect call. | |
7748 | (m68kbsd_collect_fpregset): Likewise. | |
7749 | * vaxbsd-nat.c (vaxbsd_collect_gregset): Likewise. | |
7750 | ||
368702b1 MK |
7751 | * regset.h (struct regset): Add back `regset' member. |
7752 | ||
a770d4ec MK |
7753 | 2004-05-23 Mark Kettenis <kettenis@gnu.org> |
7754 | ||
70f9f479 MK |
7755 | * configure.in: Check for td_pcb in `struct thread'. |
7756 | * configure, config.in: Regenerated. | |
7757 | ||
2e16d79e MK |
7758 | * dpx2-nat.c: Remove file. |
7759 | * Makefile.in (ALLDEPFILES): Remove dpx2-nat.c. | |
7760 | (dpx2-nat.o): Remove dependencies. | |
7761 | ||
492cf391 MK |
7762 | * amd64obsd-nat.c: Include "gdbcore.h", "regcache.h", |
7763 | <sys/types.h>, <machine/frame.h>, <machine/pcb.h> and "bsd-kvm.h". | |
7764 | (amd64obsd_supply_pcb): New function. | |
7765 | (_initialize_amd64obsd_nat): Enable libkvm interface. | |
7766 | * Makefile.in (amd64obsd-nat.o): Update dependencies. | |
7767 | * config/i386/obsd64.mh (NATDEPFILES): Add bsd-kvm.o | |
7768 | (LOADLIBES): New variable. | |
7769 | ||
a770d4ec MK |
7770 | * sparcnbsd-nat.c: Include "gdbcore.h", "regcache.h", |
7771 | <sys/types.h>, <machine/pcb.h> and "bsd-kvm.h". | |
7772 | (sparc32nbsd_supply_pcb): New function. | |
7773 | (_initialize_sparcnbsd_nat): Enable libkvm interface. | |
7774 | * Makefile.in (sparcnbsd-nat.o): Update dependencies. | |
7775 | * config/sparc/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o. | |
7776 | (LOADLIBES): New variable. | |
7777 | ||
9ea75c57 MK |
7778 | 2004-05-22 Mark Kettenis <kettenis@gnu.org> |
7779 | ||
2e0c3539 MK |
7780 | * bsd-kvm.c, bsd-kvm.h: New files. |
7781 | * i386fbsd-nat.c: Include <sys/types.h>, <machine/pcb.h> and | |
7782 | "bsd-kvm.h". | |
7783 | (i386fbsd_supply_pcb): New function. | |
7784 | * Makefile.in (ALLDEPFILES): Add bsd-kvm.c. | |
7785 | (i386fbsd-nat.o): Update dependencies. | |
7786 | (bsd_kvm_h): New variable. | |
7787 | (bsd-kvm.o): New dependency. | |
7788 | * config/i386/fbsd.mh (NATDEPFILES): Add bsd-kvm.o. | |
7789 | (LOADLIBES): New variable. | |
7790 | ||
9ea75c57 MK |
7791 | * regset.c: Tweak comment. |
7792 | (regset_alloc): Remove descr argument. Use GDBARCH_OBSTACK_ZALLOC | |
7793 | macro. | |
7794 | * regset.h: Update copyright year. | |
7795 | (struct regset): Remove `descr' member, add `gdbarch' member. | |
7796 | (regset_alloc): Adjust prototype and comment. | |
7797 | * i386-tdep.c (i386_supply_gregset): Get TDEP from REGSET->arch. | |
7798 | (i386_supply_fpregset): Likewise. | |
7799 | (i386_regset_from_core_section): Update call to regset_alloc. | |
7800 | * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get TDEP from | |
7801 | REGSET->arch. | |
7802 | (i386obsd_aout_regset_from_core_section): Update call to | |
7803 | regset_alloc. | |
7804 | * i386nbsd-tdep.c (i386nbsd_aout_supply_regset): Get TDEP from | |
7805 | REGSET->arch. | |
7806 | (i386nbsd_aout_regset_from_core_section): Update call to | |
7807 | regset_alloc. | |
7808 | * amd64-tdep.c (amd64_supply_fpregset): Get TDEP from | |
7809 | REGSET->arch. | |
7810 | (amd64_regset_from_core_section): Update call to regset_alloc. | |
7811 | * amd64obsd-tdep.c (amd64obsd_supply_regset): Get TDEP from | |
7812 | REGSET->arch. | |
7813 | (amd64obsd_regset_from_core_section): Update call to regset_alloc. | |
7814 | * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Directly pass | |
7815 | &sparc32nbsd_gregset in sparc32_supply_gregset call. | |
7816 | (sparc32nbsd_init_abi): Update call to regset_alloc. | |
7817 | * sparc64obsd-tdep.c (sparc64obsd_supply_gregset): Directly pass | |
7818 | &sparc64obsd_core_gregset in sparc64_supply_gregset call. | |
7819 | (sparc64obsd_init_abi): Update call to regset_alloc. | |
7820 | * sparc64nbsd-tdep.c (sparc64nbsd_supply_gregset): Directly pass | |
7821 | &sparc64nbsd_gregset in sparc64_supply_gregset call. | |
7822 | (sparc64nbsd_init_abi): Update call to regset_alloc. | |
7823 | * sparc64fbsd-tdep.c (sparc64fbsd_supply_gregset): Directly pass | |
7824 | &sparc64fbsd_gregset in sparc64_supply_gregset call. | |
7825 | (sparc64fbsd_init_abi): Update call to regset_alloc. | |
7826 | ||
867e2dc5 JB |
7827 | 2004-05-22 Jim Blandy <jimb@redhat.com> |
7828 | ||
7829 | * ppc-tdep.h (spe_register_p): New declaration. | |
7830 | (struct gdbarch_tdep): New members: ppc_acc_regnum and | |
7831 | ppc_spefscr_regnum. | |
7832 | * rs6000-tdep.c (spe_register_p): New function. | |
7833 | (rs6000_dwarf2_stab_reg_to_regnum): Recognize numbers for acc and | |
7834 | spefscr. | |
7835 | (rs6000_gdbarch_init): Initialize the new members of the tdep | |
7836 | structure. | |
7837 | ||
617a4cba JB |
7838 | 2004-05-21 Jim Blandy <jimb@redhat.com> |
7839 | ||
0397dee1 JB |
7840 | * ppc-linux-nat.c (fetch_register): Move code back to be next |
7841 | to the comment that describes it. (Moved code, instead of | |
7842 | comment, for symmetry with store_register.) | |
7843 | ||
617a4cba JB |
7844 | Allocate regset structures in the gdbarch's obstack, not using |
7845 | xmalloc. | |
7846 | * regset.c (regset_alloc): Renamed from regset_xmalloc. | |
7847 | Add 'arch' argument. Allocate the regset on arch's obstack, not | |
7848 | using xmalloc. | |
7849 | * regset.h (regset_alloc): Update declaration. | |
7850 | * am64-tdep.c (amd64_regset_from_core_section): Update call; pass | |
7851 | gdbarch argument. | |
7852 | * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Same. | |
7853 | * i386-tdep.c (i386_regset_from_core_section): Same. | |
7854 | * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Same. | |
7855 | * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Same. | |
7856 | * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Same. | |
7857 | * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Same. | |
7858 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Same. | |
7859 | * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Same. | |
7860 | ||
9aa3914d JB |
7861 | 2004-05-21 Joel Brobecker <brobecker@gnat.com> |
7862 | ||
7863 | * config/djgpp/fnchange.lst: Undo previous change, was useless. | |
7864 | ||
99c87dab JB |
7865 | 2004-05-21 Jim Blandy <jimb@redhat.com> |
7866 | ||
7867 | * dwarf2expr.c (execute_stack_op): Add 'break' statements after | |
7868 | cases for DW_OP_div and DW_OP_shr. (Thanks to Reva Cuthbertson.) | |
7869 | ||
c2b6b4aa JB |
7870 | 2004-05-20 Jim Blandy <jimb@redhat.com> |
7871 | ||
7872 | * rs6000-tdep.c (rs6000_push_dummy_call): Formatting fixes. | |
7873 | ||
144529d0 MK |
7874 | 2004-05-20 Mark Kettenis <kettenis@gnu.org> |
7875 | ||
7876 | * regset.h: Make prototype const-correct. | |
7877 | * regset.c (regset_xmalloc): Make const-correct. | |
7878 | ||
4725b721 PH |
7879 | 2004-05-20 Paul N. Hilfinger <hilfinger@gnat.com> |
7880 | ||
7881 | * symtab.h (SYMBOL_SEARCH_NAME): New definition. | |
7882 | (SYMBOL_MATCHES_SEARCH_NAME): New definition. | |
7883 | (symbol_search_name): Declare. | |
7884 | ||
7885 | * dictionary.c (iter_name_first_hashed): Match on SYMBOL_SEARCH_NAME. | |
7886 | (iter_name_next_hashed): Ditto. | |
7887 | (iter_name_next_linear): Ditto. | |
7888 | (insert_symbol_hashed): Hash on SYMBOL_SEARCH_NAME. | |
7889 | ||
7890 | * symtab.c (lookup_partial_symbol): Assume symbols ordered by | |
7891 | search name, using SYMBOL_SEARCH_NAME and SYMBOL_MATCHES_SEARCH_NAME. | |
7892 | (symbol_search_name): New function. | |
7893 | ||
7894 | * symfile.c (compare_psymbols): Order by SYMBOL_SEARCH_NAME. | |
7895 | ||
7896 | * minsyms.c (build_minimal_symbol_hash_tables): Change | |
7897 | test for adding to demangled hash table to check for difference | |
7898 | between SYMBOL_SEARCH_NAME and SYMBOL_LINKAGE_NAME. | |
7899 | ||
be07a590 JB |
7900 | 2004-05-19 Jim Blandy <jimb@redhat.com> |
7901 | ||
7902 | Use a constructor function to create regset structures. | |
7903 | * regset.h (supply_regset_ftype, collect_regset_ftype): New typedefs. | |
7904 | (struct regset): Use supply_regset_ftype. Add new | |
7905 | 'collect_regset' member. | |
7906 | (regset_xmalloc): New declaration. | |
7907 | * regset.c: New file. | |
7908 | * am64-tdep.c (amd64_regset_from_core_section): Use | |
7909 | regset_xmalloc to construct regset structures. | |
7910 | * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Same. | |
7911 | * i386-tdep.c (i386_regset_from_core_section): Same. | |
7912 | * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Same. | |
7913 | * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Same. | |
7914 | * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Same. | |
7915 | * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Same. | |
7916 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Same. | |
7917 | * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Same. | |
7918 | * Makefile.in (COMMON_OBS): Add regset.o. | |
7919 | (regset.o): New rule. | |
7920 | ||
604368f5 JB |
7921 | 2004-05-19 Joel Brobecker <brobecker@gnat.com> |
7922 | ||
7923 | * config/djgpp/fnchange.lst: Add entries for pthread_cond_wait.exp | |
7924 | and pthread_cond_wait.c. | |
7925 | ||
82d69f8b JB |
7926 | 2004-05-18 Jim Blandy <jimb@redhat.com> |
7927 | ||
7928 | * rs6000-tdep.c (rs6000_gdbarch_init): Initialize tdep fields | |
7929 | before the mach-specific switch, and then let the individual cases | |
7930 | override the defaults, rather than leaving them uninitialized | |
7931 | until the switch and then setting them in each case. | |
7932 | ||
5859efe5 RC |
7933 | 2004-05-18 Randolph Chung <tausq@debian.org> |
7934 | ||
7935 | * hppa-tdep.c (hppa_frame_cache): Check for validity of r31 for | |
7936 | millicode functions. | |
7937 | ||
9ca80cf8 RC |
7938 | 2004-05-18 Randolph Chung <tausq@debian.org> |
7939 | ||
7940 | * somsolib.c (som_solib_remove_inferior_hook): Make all the size | |
7941 | references to dld_flags_buffer consistent. | |
7942 | ||
ed70ba00 RC |
7943 | 2004-05-18 Randolph Chung <tausq@debian.org> |
7944 | ||
7945 | * hppa-tdep.c (hppa_frame_cache): If a frame pointer is available, use | |
7946 | it for unwinding the stack. | |
7947 | ||
63100632 RC |
7948 | 2004-05-18 Randolph Chung <tausq@debian.org> |
7949 | ||
7950 | * config/pa/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, SKIP_TRAMPOLINE_CODE) | |
7951 | Undefine these so we can overide them using gdbarch. | |
7952 | ||
090ccbb7 RC |
7953 | 2004-05-18 Randolph Chung <tausq@debian.org> |
7954 | ||
7955 | * hppa-tdep.c (hppa_stub_frame_unwind_cache): Don't do export stub | |
7956 | handling for 64-bit HPUX (elf). | |
7957 | ||
594706e6 DJ |
7958 | 2004-05-18 Daniel Jacobowitz <dan@debian.org> |
7959 | ||
7960 | * alpha-tdep.c (alpha_gdbarch_init): Use LL suffix for large | |
7961 | constants. | |
7962 | * amd64-tdep.c (amd64_skip_prologue): Likewise. | |
7963 | * ia64-tdep.c (examine_prologue): Likewise. | |
7964 | * ns32k-tdep.c (ns32k_fix_call_dummy): Remove unused function. | |
7965 | * v850-tdep.c (v850_fix_call_dummy): Likewise. | |
7966 | ||
e5483145 MK |
7967 | 2004-05-18 Mark Kettenis <kettenis@gnu.org> |
7968 | ||
7969 | * vax-tdep.c (vax_return_value): Implement | |
7970 | RETURN_VALUE_ABI_RETURNS_ADDRESS. | |
7971 | ||
caed1a45 MK |
7972 | 2004-05-17 Mark Kettenis <kettenis@gnu.org> |
7973 | ||
7974 | * vax-tdep.c (vax_return_value): Fix typo. | |
7975 | ||
3c0b7db2 AC |
7976 | 2004-05-17 Andrew Cagney <cagney@redhat.com> |
7977 | ||
5aae53e5 AC |
7978 | * MAINTAINERS: Mark Salter was also responsible for |
7979 | testsuite/config/ | |
7980 | ||
3c0b7db2 AC |
7981 | * NEWS: Mention signal fixes. |
7982 | ||
22b0923d RC |
7983 | 2004-05-17 Randolph Chung <tausq@debian.org> |
7984 | ||
7985 | * hppa-tdep.c (hppa_stub_frame_unwind_cache): For HPUX stub unwinding, | |
7986 | check to see if we are unwinding an export stub. Export stubs clobber | |
7987 | the %rp in the call path and stores the original rp in a stack slot. | |
7988 | ||
22f2b2f3 JB |
7989 | 2004-05-17 Jim Blandy <jimb@redhat.com> |
7990 | ||
7991 | * MAINTAINERS: Update address for J.T. Conklin. | |
7992 | ||
cea96d64 RC |
7993 | 2004-05-17 Randolph Chung <tausq@debian.org> |
7994 | ||
7995 | * hppa-tdep.c: Remove superfluous #include's. | |
7996 | * Makefile.in (hppa-tdep.o): Update dependencies. | |
7997 | ||
f08f6a4a RC |
7998 | 2004-05-17 Randolph Chung <tausq@debian.org> |
7999 | ||
8000 | * hppa-tdep.c (THREAD_INITIAL_FRAME_SYMBOL): Delete unused symbol. | |
8001 | (THREAD_INITIAL_FRAME_SYM_LEN): Likewise. | |
8002 | (unwind_command, hppa_alignof, prologue_inst_adjust_sp) | |
8003 | (is_branch, inst_saves_gr, inst_saves_fr, compare_unwind_entries) | |
8004 | (read_unwind_info, internalize_unwinds, record_text_segment_lowaddr): | |
8005 | Remove static function declarations. | |
8006 | ||
51da707a MK |
8007 | 2004-05-17 Mark Kettenis <kettenis@gnu.org> |
8008 | ||
caed1a45 MK |
8009 | * alphabsd-nat.c: Update copyright year. |
8010 | (getregs_supplies): Replace PC_REGNUM with ALPHA_PC_REGNUM. | |
8011 | ||
c0c2b0db MK |
8012 | * m68k-tdep.h (m68k_regnum): Add M68K_D2_REGNUM, M68K_D7_REGNUM |
8013 | and M68K_A2_REGNUM. | |
8014 | ||
51da707a MK |
8015 | * m68k-tdep.c (m68k_svr4_return_value): Implement |
8016 | RETURN_VALUE_ABI_RETURNS_ADDRESS. | |
8017 | ||
8d027a04 MK |
8018 | 2004-05-16 Mark Kettenis <kettenis@gnu.org> |
8019 | ||
8020 | * sol-thread.c Update copyright year. Fix various coding | |
8021 | standards violations. Tweak a few comments. | |
8022 | (td_err_string, td_state_string, thread_to_lwp, lwp_to_thread): | |
8023 | Delete prototypes. | |
8024 | ||
0d99fdb9 RC |
8025 | 2004-05-15 Randolph Chung <tausq@debian.org> |
8026 | ||
8027 | * hppa-tdep.h (hppa_frame_prev_register_helper): Pass save_regs | |
8028 | as pointer instead of array reference since HPUX compiler does | |
8029 | not accept unsized array arguments. | |
8030 | * somsolib.c (dld_flags_buffer): Use constant array size. | |
8031 | ||
f7e3843a MK |
8032 | 2004-05-15 Mark Kettenis <kettenis@gnu.org> |
8033 | ||
0fe85704 MK |
8034 | * amd64obsd-tdep.c (amd64obsd_sigtramp_p): Replace hexadecimal |
8035 | offset with decimal offset. | |
8036 | (amd64obsd_sigcontext_addr): Return correct address for entire | |
8037 | signal trampoline. | |
8038 | ||
a54f9a00 MK |
8039 | * vax-tdep.c (vax_frame_num_args): Use get_frame_base_address |
8040 | instead of get_frame_base. | |
8041 | ||
feae6502 MK |
8042 | * i386bsd-nat.c (supply_gregset): Use regcache_raw_supply. |
8043 | (fill_gregset): Use regcache_raw_collect. | |
8044 | ||
0382d099 MK |
8045 | * config/djgpp/fnchange.lst: Add entries for ppcobsd-nat.c and |
8046 | ppcobsd-tdep.c. | |
8047 | ||
f7e3843a MK |
8048 | * config/sparc/tm-nbsd64.h: Remove file. |
8049 | * config/tm-sunos.h: Remove file. | |
8050 | ||
773df3e5 JB |
8051 | 2004-05-15 Joel Brobecker <brobecker@gnat.com> |
8052 | ||
8053 | * rs6000-tdep.c (store_param_on_stack_p): New function, | |
8054 | an improved version of some code extracted from skip_prologue(). | |
8055 | (skip_prologue): Use store_param_on_stack_p() to detect | |
8056 | instructions saving a parameter on the stack. Detect when r0 | |
8057 | is used to save a parameter. | |
8058 | Do not mark "li rx, SIMM" instructions as part of the prologue, | |
8059 | unless the following instruction is also part of the prologue. | |
8060 | ||
95918acb AC |
8061 | 2004-05-14 Andrew Cagney <cagney@redhat.com> |
8062 | ||
06f32659 AC |
8063 | * infrun.c (handle_inferior_event): Simplify |
8064 | STEP_OVER_UNDEBUGGABLE. | |
8065 | ||
95918acb AC |
8066 | * infrun.c (handle_step_into_function): Delete function. |
8067 | (handle_inferior_event): Inline calls to | |
8068 | handle_step_into_function. | |
8069 | ||
40711ff1 | 8070 | 2004-05-14 Jerome Guitton <guitton@gnat.com> |
42203e46 JG |
8071 | |
8072 | * rs6000-nat.c: Fix a comment. | |
8073 | ||
02f60eae JB |
8074 | 2004-05-12 David Anderson <davea@sgi.com> |
8075 | ||
8076 | Committed by Jim Blandy <jimb@redhat.com>: | |
8077 | * regcache.c (struct regcache_descr): fix comment spelling. | |
8078 | ||
552e377b JB |
8079 | 2004-05-13 J. Brobecker <brobecker@gnat.com> |
8080 | ||
8081 | * aix-thread.c: s/ppc_floating_point_p/ppc_floating_point_unit_p/. | |
8082 | Fixes a link link failure. | |
8083 | ||
349766b2 JB |
8084 | 2004-05-13 J. Brobecker <brobecker@gnat.com> |
8085 | ||
8086 | * aix-thread.c (store_regs_kernel_thread): Fix a little obvious | |
8087 | error that was causing the build to fail. | |
8088 | ||
0d4d5484 JB |
8089 | 2004-05-13 J. Brobecker <brobecker@gnat.com> |
8090 | ||
8091 | * aix-thread.c: #include "gdb_string.h". Needed for memset and memcopy. | |
8092 | * Makefile.in (aix-thread.o): Add dependency on gdb_string.h. | |
8093 | ||
0b30808c AC |
8094 | 2004-05-13 Andrew Cagney <cagney@redhat.com> |
8095 | ||
8096 | * infrun.c (handle_inferior_event): Check for | |
8097 | STEP_OVER_UNDEBUGGABLE after signal trampolines and function | |
8098 | calls. Update comments. | |
8099 | ||
cdf2c5f5 JB |
8100 | 2004-05-13 Jim Blandy <jimb@redhat.com> |
8101 | ||
063715bf JB |
8102 | * aix-thread.c (pdc_read_regs, supply_gprs64, supply_fprs) |
8103 | (fetch_regs_user_thread, fetch_regs_kernel_thread) | |
8104 | (store_regs_user_thread, store_regs_kernel_thread): Use | |
8105 | ppc_num_gprs and ppc_num_fprs instead of '32' and '31'. | |
8106 | * ppc-linux-nat.c (fill_gregset): Same. | |
8107 | * ppc-linux-tdep.c (ppc_linux_supply_gregset) | |
8108 | (ppc_linux_sigtramp_cache): Same. | |
8109 | * ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_fill_reg) | |
8110 | (ppcnbsd_sigtramp_cache_init): Same. | |
8111 | * rs6000-nat.c (fetch_core_registers): Same. | |
8112 | * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset) | |
8113 | (rs6000_frame_cache): Same. | |
8114 | ||
cdf2c5f5 JB |
8115 | * aix-thread.c (supply_gprs64, fetch_regs_user_thread) |
8116 | (store_regs_user_thread): Use tdep->ppc_gp0_regnum, instead | |
8117 | of assuming that the gprs are numbered starting with zero. | |
8118 | * ppc-linux-nat.c (fill_gregset): Same. | |
8119 | * ppc-linux-tdep.c (ppc_linux_supply_gregset): Same. | |
8120 | * ppcnbsd-nat.c (getregs_supplies): Same. | |
8121 | * ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_fill_reg): Same. | |
8122 | * rs6000-nat.c (fetch_core_registers): Same. | |
8123 | * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset): Same. | |
8124 | ||
450bd37b MS |
8125 | 2004-05-07 Michael Snyder <msnyder@redhat.com> |
8126 | ||
8127 | * tracepoint.c (scope_info): Add handling for LOC_COMPUTED, | |
8128 | LOC_COMPUTED_ARG, and LOC_INDIRECT. | |
8129 | ||
4a72a2a6 AC |
8130 | 2004-05-13 Andrew Cagney <cagney@redhat.com> |
8131 | ||
8132 | * infrun.c (handle_inferior_event): Use frame_unwind_id. | |
8133 | ||
8edfa926 BM |
8134 | 2004-05-13 Bryce McKinlay <mckinlay@redhat.com> |
8135 | ||
8136 | * dwarf2loc.c (find_location_expression): Use ANOFFSET to adjust | |
8137 | base_address for shared libraries. | |
8138 | ||
723e0e3d BM |
8139 | 2004-05-13 Bryce McKinlay <mckinlay@redhat.com> |
8140 | ||
8141 | * MAINTAINERS (write after approval): Add myself. | |
8142 | ||
00d4360e UW |
8143 | 2004-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
8144 | ||
8145 | * breakpoint.c (bpstat_stop_status): Add new argument | |
8146 | STOPPED_BY_WATCHPOINT. Use it instead of testing | |
8147 | target_stopped_data_address agaist 0 to check whether | |
8148 | or not we stopped due to a hardware watchpoint. | |
8149 | * breakpoint.h (bpstat_stop_status): Adapt prototype. | |
8150 | * infrun.c (handle_inferior_event): Call bpstat_stop_status | |
8151 | with new argument. | |
8152 | ||
ec76baa5 JB |
8153 | 2004-05-12 Jim Blandy <jimb@redhat.com> |
8154 | ||
8155 | * configure.in: When checking whether we should use the -bbigtoc | |
8156 | option, don't forget to restore the original value of LDFLAGS. | |
8157 | * configure: Regenerated. | |
8158 | ||
f2c9ca08 AC |
8159 | 2004-05-12 Andrew Cagney <cagney@redhat.com> |
8160 | ||
8161 | * thread.c (load_infrun_state): Delete step_sp. | |
8162 | * infrun.c (context_switch): Ditto. | |
8163 | * inferior.h (step_sp): Ditto. | |
8164 | * infcmd.c (step_sp, step_1, step_once, until_next_command): Ditto. | |
8165 | * gdbthread.h (struct thread_info, save_infrun_state) | |
8166 | (restore_infrun_state): Ditto. | |
8167 | ||
090ddb2a UW |
8168 | 2004-05-12 Ulrich Weigand <uweigand@de.ibm.com> |
8169 | ||
8170 | * MAINTAINERS (write after approval): Add myself. | |
8171 | ||
8aad930b AC |
8172 | 2004-05-12 Andrew Cagney <cagney@redhat.com> |
8173 | ||
8174 | * infrun.c (adjust_pc_after_break): Rewrite decr logic, | |
8175 | eliminate reference to step_sp. | |
8176 | (struct execution_control_state, init_execution_control_state) | |
8177 | (handle_inferior_event, keep_going): Delete update_step_sp and | |
8178 | step_sp. | |
8179 | * infcmd.c (step_sp): Note that variable is unused. | |
8180 | ||
922d5ae0 AC |
8181 | 2004-05-11 Andrew Cagney <cagney@redhat.com> |
8182 | ||
8183 | * infrun.c (step_over_function): Delete function. | |
8184 | (handle_step_into_function): Use insert_step_resume_breakpoint. | |
8185 | (insert_step_resume_breakpoint): Fix assertion. | |
8186 | ||
017c5ca5 NR |
8187 | 2004-05-11 Nick Roberts <nickrob@gnu.org> |
8188 | ||
8189 | * utils.c (defaulted_query): Just use the normal query input type | |
8190 | when printing the annotations. | |
8191 | ||
42edda50 AC |
8192 | 2004-05-11 Andrew Cagney <cagney@redhat.com> |
8193 | ||
8194 | * infrun.c (handle_inferior_event): Simplify code handling | |
8195 | step-into or return-from a signal trampoline. | |
8196 | ||
d28b44a7 AC |
8197 | 2004-05-11 Andrew Cagney <cagney@redhat.com> |
8198 | ||
8199 | * ppcnbsd-tdep.c: Include "gdb_assert.h". | |
8200 | * Makefile.in (ppcnbsd-tdep.o): Update dependencies. | |
8201 | ||
383f0f5b JB |
8202 | 2004-05-10 Jim Blandy <jimb@redhat.com> |
8203 | ||
d0b57c3a JB |
8204 | * ppc-bdm.c (bdm_ppc_fetch_registers): Replace utterly broken code |
8205 | with a call to internal_error. | |
8206 | ||
383f0f5b JB |
8207 | * ppc-tdep.h (struct gdbarch_tdep): Change definition of |
8208 | ppc_fp0_regnum and ppc_fpscr_regnum: if they are -1, then this | |
8209 | processor variant lacks those registers. | |
8210 | (ppc_floating_point_unit_p): Change description to make it clear | |
8211 | that this returns info about the ISA, not the ABI. | |
8212 | * rs6000-tdep.c (ppc_floating_point_unit_p): Decide whether to | |
8213 | return true or false by checking tdep->ppc_fp0_regnum and | |
8214 | tdep->ppc_fpscr_regnum. The original code replicated the BFD | |
8215 | arch/mach switching done in rs6000_gdbarch_init; it's better to | |
8216 | keep that logic there, and just check the results here. | |
8217 | (rs6000_gdbarch_init): On the E500, set tdep->ppc_fp0_regnum and | |
8218 | tdep->ppc_fpscr_regnum to -1 to indicate that we have no | |
8219 | floating-point registers. | |
8220 | (ppc_supply_fpregset, ppc_collect_fpregset) | |
8221 | (rs6000_push_dummy_call, rs6000_extract_return_value) | |
8222 | (rs6000_store_return_value): Assert that we have floating-point | |
8223 | registers. | |
8224 | (rs6000_dwarf2_stab_reg_to_regnum): Add FIXME. | |
8225 | (rs6000_frame_cache): Don't note the locations at which | |
8226 | floating-point registers were saved if we have no fprs. | |
8227 | * aix-thread.c (supply_fprs, fill_fprs): Assert that we have FP | |
8228 | registers. | |
8229 | (fetch_regs_user_thread, fetch_regs_kernel_thread) | |
8230 | (store_regs_user_thread, store_regs_kernel_thread): Only call | |
8231 | supply_fprs / fill_fprs if we actually have floating-point | |
8232 | registers. | |
8233 | (special_register_p): Check ppc_fpscr_regnum before matching | |
8234 | against it. | |
8235 | (supply_sprs64, supply_sprs32, fill_sprs64, fill_sprs32): Don't | |
8236 | supply / collect fpscr if we don't have it. | |
8237 | * ppc-bdm.c: #include "gdb_assert.h". | |
8238 | (bdm_ppc_fetch_registers, bdm_ppc_store_registers): Assert that we | |
8239 | have floating-point registers, since I can't test this code on | |
8240 | FP-free systems to adapt it. | |
8241 | * ppc-linux-nat.c (ppc_register_u_addr): Don't match against the | |
8242 | fpscr and floating point register numbers if they don't exist. | |
8243 | (fetch_register): Assert that we have floating-point registers | |
8244 | before we reach the code that handles them. | |
8245 | (store_register): Same. And use tdep instead of calling | |
8246 | gdbarch_tdep again. | |
8247 | (fill_fpregset): Don't try to collect FP registers and fpscr if we | |
8248 | don't have them. | |
8249 | (ppc_linux_sigtramp_cache): Don't record the saved locations of | |
8250 | fprs and fpscr if we don't have them. | |
8251 | (ppc_linux_supply_fpregset): Don't supply fp regs and fpscr if we | |
8252 | don't have them. | |
8253 | * ppcnbsd-nat.c: #include "gdb_assert.h". | |
8254 | (getfpregs_supplies): Assert that we have floating-point registers. | |
8255 | * ppcnbsd-tdep.c (ppcnbsd_supply_fpreg, ppcnbsd_fill_fpreg): Same. | |
8256 | * ppcobsd-tdep.c: #include "gdb_assert.h". | |
8257 | (ppcobsd_supply_gregset, ppcobsd_collect_gregset): Assert that we | |
8258 | have floating-point registers. | |
8259 | * rs6000-nat.c (regmap): Don't match against the fpscr and | |
8260 | floating point register numbers if they don't exist. | |
8261 | (fetch_inferior_registers, store_inferior_registers, | |
8262 | fetch_core_registers): Only fetch / store / supply the | |
8263 | floating-point registers and the fpscr if we have them. | |
8264 | * Makefile.in (ppc-bdm.o, ppc-linux-nat.o, ppcnbsd-nat.o) | |
8265 | (ppcobsd-tdep.o): Update dependencies. | |
8266 | ||
15960608 AC |
8267 | 2004-05-10 Andrew Cagney <cagney@redhat.com> |
8268 | ||
8269 | * infrun.c (through_sigtramp_breakpoint): Delete variable. | |
8270 | (context_switch): Do not switch through_sigtramp_breakpoint. | |
8271 | * gdbthread.h (save_infrun_state, load_infrun_state) | |
8272 | (struct thread_info): Delete through_sigtramp_breakpoint parameter | |
8273 | and structure member. | |
8274 | * thread.c (load_infrun_state, save_infrun_state): Update. | |
8275 | ||
5ab5aa0f MK |
8276 | 2004-05-10 Mark Kettenis <kettenis@gnu.org> |
8277 | ||
8278 | * m68kbsd-tdep.c (m68kbsd_elf_init_abi): Call m68k_svr4_init_abi. | |
8279 | ||
da78b0e7 DJ |
8280 | 2004-05-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
8281 | ||
8282 | * acinclude.m4: Quote macro names being defined by AC_DEFUN | |
8283 | throughout. | |
8284 | * aclocal.m4: Regenerate. | |
8285 | ||
cca0d3b0 NW |
8286 | 2004-05-10 Nathan J. Williams <nathanw@wasabisystems.com> |
8287 | ||
8288 | * alphanbsd-tdep.c: Fix include of "gdb_string.h". | |
8289 | ||
d303a6c7 AC |
8290 | 2004-05-10 Andrew Cagney <cagney@redhat.com> |
8291 | ||
8292 | * infrun.c (check_sigtramp2): Delete function. | |
8293 | (handle_inferior_event): When single stepping, and taking a | |
8294 | signal, set a breakpoint at the signal return address. Delete | |
8295 | redundant calls to check_sigtramp2. | |
8296 | (insert_step_resume_breakpoint): New function. | |
8297 | (through_sigtramp_breakpoint, handle_inferior_event) | |
8298 | (follow_exec, wait_for_inferior, fetch_inferior_event) | |
8299 | (currently_stepping, keep_going): Delete most uses of | |
8300 | through_sigtramp_breakpoint, not that it should be deleted. | |
8301 | (delete_breakpoint_current_contents): Delete function. | |
8302 | ||
03f4cc20 RC |
8303 | 2004-05-10 Randolph Chung <tausq@debian.org> |
8304 | ||
8305 | * config/pa/linux.mt (TM_FILE): Use new tm-linux.h for hppa-linux | |
8306 | target. | |
8307 | * config/pa/tm-linux.h: New file. | |
8308 | ||
37fc812e DJ |
8309 | 2004-05-10 Daniel Jacobowitz <drow@mvista.com> |
8310 | ||
8311 | * cli/cli-setshow.c (cmd_show_list): Check for "show" in the middle | |
8312 | of prefixes. Don't print the prefix twice in the CLI. | |
8313 | ||
26c0b942 JB |
8314 | 2004-05-10 Jim Blandy <jimb@redhat.com> |
8315 | ||
2e56e9c1 JB |
8316 | * rs6000-tdep.c (ppc_collect_gregset): When regnum == -1, do |
8317 | collect all the gprs. | |
8318 | ||
26c0b942 JB |
8319 | * rs6000-tdep.c (ppc_collect_gregset): Correct off-by-one error in |
8320 | loop collecting gprs. | |
8321 | ||
dc497459 AC |
8322 | 2004-05-09 Andrew Cagney <cagney@redhat.com> |
8323 | ||
8324 | * remote-vx.c (net_step): Delete step-range code. | |
8325 | * remote.c (remote_resume, init_all_packet_configs) | |
8326 | (set_remote_protocol_E_packet_cmd) | |
8327 | (show_remote_protocol_E_packet_cmd) | |
8328 | (remote_protocol_E, show_remote_cmd, _initialize_remote) | |
8329 | (remote_protocol_e, set_remote_protocol_e_packet_cmd) | |
8330 | (show_remote_protocol_e_packet_cmd): Ditto. | |
8331 | ||
0543f387 MK |
8332 | 2004-05-09 Mark Kettenis <kettenis@gnu.org> |
8333 | ||
c481d1ca MK |
8334 | * hppa-tdep.h (enum hppa_regnum): Name enum, add HPPA_R1_REGNUM. |
8335 | ||
f626a069 MK |
8336 | * hppa-tdep.h: Update copyright year. |
8337 | (struct trad_frame_saved_reg): Add opaque declaration. | |
8338 | ||
6fa57a7d MK |
8339 | * amd64-tdep.c (amd64_return_value): Implement |
8340 | RETURN_VALUE_ABI_RETURNS_ADDRESS. | |
8341 | ||
e47577ab MK |
8342 | * m68k-tdep.c (m68k_convert_register_p, m68k_register_to_value) |
8343 | (m68k_value_to_register): New functions. | |
8344 | (m68k_gdbarch_init): Set convert_register_p, register_to_value and | |
8345 | value_to_register. | |
8346 | ||
31db7b6c MK |
8347 | * defs.h (enum return_value_convention): Add |
8348 | RETURN_VALUE_ABI_RETURNS_ADDRESS and | |
8349 | RETURN_VALUE_ABI_PRESERVES_ADDRESS. | |
8350 | * infcmd.c (legacy_return_value): New function. | |
8351 | (print_return_value): Rwerite to implement | |
8352 | RETURN_VALUE_ABI_RETURNS_ADDRESS. | |
8353 | * values.c (using_struct_return): Check for inequality to | |
8354 | RETURN_VALUE_REGISTER_CONVENTION instead of equality to | |
8355 | RETURN_VALUE_STRUCT_CONVENTION. | |
8356 | * i386-tdep.c (i386_return_value): Implement | |
8357 | RETURN_VALUE_ABI_RETURNS_ADDRESS. | |
8358 | ||
0543f387 MK |
8359 | * vax-tdep.c: Tweak comments. Reorder include files. Don't |
8360 | include "symtab.h", "opcode/vax.h" and "inferior.h". | |
8361 | (vax_skip_prologue): Replace calls to read_memory_integer by calls | |
8362 | to read_memory_unsigned_integer. | |
8363 | (vax_gdbarch_init): Reorder. | |
8364 | (_initialize_vax_tdep): Spell out prototype. | |
8365 | * Makefile.in (vax-tdep.o): Update dependencies. | |
8366 | ||
0c93b7b6 AC |
8367 | 2004-05-08 Andrew Cagney <cagney@redhat.com> |
8368 | ||
e6b55ae2 AC |
8369 | * infrun.c (resume): Delete call to DO_DEFERRED_STORES. |
8370 | * target.c (target_detach, target_disconnect): Ditto. | |
8371 | ||
1ac839b8 AC |
8372 | * infcall.c (call_function_by_hand): When no |
8373 | DEPRECATED_SAVE_DUMMY_FRAME_TOS call generic_save_dummy_frame_tos. | |
8374 | * rs6000-tdep.c (rs6000_gdbarch_init): Do not set | |
8375 | DEPRECATED_SAVE_DUMMY_FRAME_TOS. | |
8376 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8377 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8378 | ||
28954179 AC |
8379 | * gdbarch.sh (DEPRECATED_FIX_CALL_DUMMY): Delete. |
8380 | * gdbarch.h, gdbarch.c: Re-generate. | |
8381 | * ns32k-tdep.c (ns32k_gdbarch_init): Do not set | |
8382 | deprecated_fix_call_dummy. | |
8383 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8384 | * infcall.c (call_function_by_hand): Do not call | |
8385 | DEPRECATED_FIX_CALL_DUMMY. | |
8386 | ||
434b87dd AC |
8387 | * gdbarch.sh (DEPRECATED_CALL_DUMMY_WORDS) |
8388 | (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Delete. | |
8389 | * gdbarch.h, gdbarch.c: Re-generate. | |
8390 | * arm-linux-tdep.c (arm_linux_call_dummy_words) | |
8391 | (arm_linux_init_abi): Do not set deprecated_call_dummy_words or | |
8392 | deprecated_sizeof_call_dummy_words. | |
8393 | * arm-tdep.c (arm_call_dummy_words, arm_gdbarch_init): Ditto. | |
8394 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
8395 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8396 | * sh64-tdep.c (sh64_gdbarch_init): Ditto. | |
8397 | * ns32k-tdep.c (ns32k_call_dummy_words, ns32k_gdbarch_init): Ditto. | |
8398 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8399 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8400 | * arch-utils.h (legacy_call_dummy_words) | |
8401 | (legacy_sizeof_call_dummy_words): Delete declarations. | |
8402 | * arch-utils.c (legacy_call_dummy_words) | |
8403 | (legacy_sizeof_call_dummy_words): Delete variables. | |
8404 | ||
58d28df8 AC |
8405 | * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Delete. |
8406 | * gdbarch.h, gdbarch.c: Re-generate. | |
8407 | * inferior.h (PUSH_DUMMY_FRAME): Delete macro. | |
8408 | * infcall.c (call_function_by_hand): Eliminate call to | |
8409 | DEPRECATED_PUSH_DUMMY_FRAME. | |
8410 | * ns32k-tdep.c (ns32k_gdbarch_init): Do not set deprecated | |
8411 | push_dummy_frame. | |
8412 | (ns32k_push_dummy_frame): Delete function. | |
8413 | ||
e4a2df64 AC |
8414 | * ns32k-tdep.c (ns32k_gdbarch_init): Do not set |
8415 | deprecated_call_dummy_breakpoint_offset or | |
8416 | deprecated_call_dummy_start_offset. | |
8417 | * dummy-frame.c, arm-tdep.c: Update comments. | |
8418 | * gdbarch.sh (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET) | |
8419 | (DEPRECATED_CALL_DUMMY_START_OFFSET): Delete. | |
8420 | * gdbarch.h, gdbarch.c: Re-generate. | |
8421 | ||
d3712828 AC |
8422 | * infcall.c (legacy_push_dummy_code): Delete function. |
8423 | (push_dummy_code): Delete call. | |
8424 | ||
7a882905 AC |
8425 | * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete. |
8426 | * gdbarch.h, gdbarch.c: Re-generate. | |
8427 | * blockframe.c (legacy_frame_chain_valid): Simplify by eliminating | |
8428 | DEPRECATED_USE_GENERIC_DUMMY_FRAMES. | |
8429 | * infcall.c (legacy_push_dummy_code, call_function_by_hand): Ditto. | |
8430 | * frame.c (frame_type_from_pc, legacy_get_prev_frame): Ditto. | |
8431 | ||
0ec5872b AC |
8432 | * breakpoint.h (deprecated_frame_in_dummy): Delete declaration. |
8433 | (struct frame_info): Delete opaque declaration. | |
8434 | * breakpoint.c (deprecated_frame_in_dummy): Delete function. | |
8435 | * frame.c (get_frame_type): Delete call. | |
8436 | ||
0c93b7b6 AC |
8437 | * ns32k-tdep.c (ns32k_gdbarch_init): Do not set deprecated |
8438 | pc_in_call_dummy. | |
8439 | * inferior.h (deprecated_pc_in_call_dummy_on_stack): Delete. | |
8440 | * blockframe.c (deprecated_pc_in_call_dummy_on_stack): Delete. | |
8441 | ||
75536971 MK |
8442 | 2004-05-08 Mark Kettenis <kettenis@gnu.org> |
8443 | ||
527ca6bb MK |
8444 | * alphanbsd-tdep.c: Include "gdb_string.h". |
8445 | * armnbsd-tdep.c: Update copyright year. | |
8446 | Include "gdb_string.h". | |
8447 | * Makefile.in (alphanbsd-tdep.o, armnbsd-tdep.o): Update | |
8448 | dependencies. | |
8449 | ||
d39fdc61 MK |
8450 | * delta68-nat.c: Remove file. |
8451 | * m68k-tdep.c (delta68_in_sigtramp, delta68_frame_args_address) | |
8452 | (delta68_frame_saved_pc, delta68_frame_num_args): Remove functions. | |
8453 | * Makefile.in (ALLDEPFILES): Remove delta68-nat.c. | |
8454 | (delta68-nat.o): Remove dependency. | |
8455 | ||
75536971 MK |
8456 | * m68k-tdep.c (m68k_frameless_function_invocation): Remove |
8457 | function. | |
8458 | (m68k_gdbarch_init): Don't set | |
8459 | deprecated_frameless_function_invocation. | |
8460 | ||
f4ca1d1f RC |
8461 | 2004-05-07 Randolph Chung <tausq@debian.org> |
8462 | ||
8463 | * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Use | |
8464 | read_memory_nobpt for code reading when doing frame unwinding. | |
8465 | * hppa-linux-tdep.c (insns_match_pattern): Likewise. | |
8466 | ||
2f0e8c7a RC |
8467 | 2004-05-07 Randolph Chung <tausq@debian.org> |
8468 | ||
8469 | * hppa-linux-tdep.c (hppa_linux_sigtramp_find_sigcontext): Pass in pc | |
8470 | instead of sp, handle sigaltstack case. | |
8471 | (hppa_linux_sigtramp_frame_unwind_cache): Adjust calls to | |
8472 | hppa_linux_sigtramp_find_sigcontext, and set base to the frame of the | |
8473 | signal handler and not that of the caller. | |
8474 | (hppa_linux_sigtramp_unwind_sniffer): Adjust calls to | |
8475 | hppa_linux_sigtramp_find_sigcontext. | |
8476 | ||
959464ff RC |
8477 | 2004-05-07 Randolph Chung <tausq@debian.org> |
8478 | ||
8479 | * Makefile.in (ALLDEPFILES): Add hppa-linux-tdep.c and | |
8480 | hppa-linux-nat.c. | |
8481 | (hppa-linux-tdep.o, hppa-linux-nat.o): Define rules. | |
8482 | * hppa-linux-nat.c (fetch_register, store_register): Define. | |
8483 | (fetch_inferior_registers, store_inferior_registers): Define. | |
8484 | (supply_gregset): Add comment and clean up some unneeded code. | |
8485 | (fill_gregset): Add comment and fix so that it saves registers in | |
8486 | the right place in the gregset. | |
8487 | (fill_fpregset): Fix buffer overrun problem. | |
8488 | * config/pa/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define. | |
8489 | ||
0da28f8a RC |
8490 | 2004-05-07 Randolph Chung <tausq@debian.org> |
8491 | ||
8492 | * hppa-tdep.c (hppa_frame_prev_register_helper): New function to | |
8493 | do common handling of the pcoqt register. | |
8494 | (hppa_frame_prev_register, hppa_stub_frame_prev_register): Convert | |
8495 | to use helper function. | |
8496 | (hppa_frame_unwind_sniffer): Only use if unwind entry is present. | |
8497 | (hppa_fallback_frame_cache, hppa_fallback_frame_this_id) | |
8498 | (hppa_fallback_frame_prev_register, hppa_fallback_frame_unwind): New | |
8499 | generic fallback unwinder when all else fails. | |
8500 | (hppa_gdbarch_init): Add fallback sniffer. | |
8501 | * hppa-tdep.h (hppa_frame_prev_register_helper): Prototype. | |
8502 | * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_prev_register): Convert | |
8503 | to use helper function. | |
8504 | ||
b9ec757a JB |
8505 | 2004-05-08 Joel Brobecker <brobecker@gnat.com> |
8506 | ||
8507 | * config/djgpp/fnchange.lst: Add translation rules for | |
8508 | gdb.arch/powerpc-aix-prologue.c and gdb.arch/powerpc-aix-prologue.exp. | |
8509 | ||
756e95f1 MK |
8510 | 2004-05-08 Mark Kettenis <kettenis@gnu.org> |
8511 | ||
8512 | * frame.c (get_prev_frame_1): Work around GCC bug. | |
8513 | * frame.h: Add comment about GCC bug. | |
8514 | ||
2b4855ab AC |
8515 | 2004-05-07 Andrew Cagney <cagney@redhat.com> |
8516 | ||
8517 | * observer.c: Include "commands.h" and "gdbcmd.h". | |
8518 | (observer_debug, _initialize_observer): Add the | |
8519 | command "set/show debug observer". | |
8520 | * observer.sh: When observer debugging, log notify calls. | |
8521 | * Makefile.in (observer.o): Update dependencies. | |
8522 | ||
ba3e8e46 JM |
8523 | 2004-05-07 Jason Molenda (jmolenda@apple.com) |
8524 | ||
8525 | * cli/cli-decode.c: Fix "SHOW_DOR" comment typeos. | |
8526 | ||
16796152 JB |
8527 | 2004-05-07 Jim Blandy <jimb@redhat.com> |
8528 | ||
daf6dc85 JB |
8529 | * aix-thread.c (fetch_regs_kernel_thread, fill_gprs64, |
8530 | fill_gprs32, store_regs_kernel_thread): Use tdep->ppc_gp0_regnum | |
8531 | to recognize gpr regnums, instead of assuming that | |
8532 | tdep->ppc_fp0_regnum marks the end of the general-purpose | |
8533 | registers. | |
8534 | ||
16796152 JB |
8535 | * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Assert that |
8536 | the given architecture has floating-point registers. | |
8537 | ||
c69b8bfc AC |
8538 | 2004-05-07 Andrew Cagney <cagney@redhat.com> |
8539 | ||
8540 | * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Replace with | |
8541 | macro defined to 1. | |
8542 | * gdbarch.h, gdbarch.c: Re-generate. | |
8543 | * ns32k-tdep.c (ns32k_gdbarch_init): Do not set | |
8544 | deprecated_use_generic_dummy_frames. | |
8545 | ||
7243600a BF |
8546 | 2004-05-07 Brian Ford <ford@vss.fsi.com> |
8547 | ||
8548 | * NEWS: Mention Cygwin DWARF 2 support. | |
8549 | ||
73c1e0a1 AC |
8550 | 2004-05-07 Andrew Cagney <cagney@redhat.com> |
8551 | ||
8552 | * objfiles.h (struct entry_info): Delete unused fields | |
8553 | deprecated_entry_file_lowpc and deprecated_entry_file_highpc. | |
8554 | * objfiles.c (init_entry_point_info, objfile_relocate): Update. | |
8555 | * mipsread.c (mipscoff_symfile_read): Update. | |
8556 | * mdebugread.c (parse_partial_symbols): Update. | |
8557 | * dwarfread.c (read_file_scope): Update. | |
8558 | * dwarf2read.c (read_file_scope): Update. | |
8559 | * dbxread.c (read_dbx_symtab, read_dbx_symtab): Update. | |
8560 | * coffread.c (complete_symtab): Update. | |
8561 | ||
1d3056ac MK |
8562 | 2004-05-07 Mark Kettenis <kettenis@gnu.org> |
8563 | ||
8564 | * infcall.c (_initialize_infcall): Fix typo. | |
8565 | ||
15170568 AC |
8566 | 2004-05-07 Andrew Cagney <cagney@redhat.com> |
8567 | ||
8568 | * cli/cli-decode.c (add_setshow_zinteger_cmd): New function. | |
8569 | * command.h (add_setshow_zinteger_cmd): Declare. | |
8570 | ||
34f75cc1 RC |
8571 | 2004-05-06 Randolph Chung <tausq@debian.org> |
8572 | ||
8573 | * config/pa/tm-hppa.h (RO_REGNUM, FLAGS_REGNUM, RP_REGNUM) | |
8574 | (HPPA_FP_REGNUM, HPPA_SP_REGNUM, SAR_REGNUM, IPSW_REGNUM) | |
8575 | (PCOQ_HEAD_REGNUM, PCSQ_HEAD_REGNUM, PCOQ_TAIL_REGNUM, PCSQ_TAIL_REGNUM) | |
8576 | (EIEM_REGNUM, IIR_REGNUM, ISR_REGNUM, IOR_REGNUM, SR4_REGNUM) | |
8577 | (RCR_REGNUM, PID0_REGNUM, PID1_REGNUM, PID2_REGNUM, PID3_REGNUM) | |
8578 | (CCR_REGNUM, TR0_REGNUM, CR27_REGNUM, HPPA_FP0_REGNUM, FP4_REGNUM) | |
8579 | (ARG0_REGNUM, ARG1_REGNUM, ARG2_REGNUM, ARG3_REGNUM): Move *_REGNUM | |
8580 | definitions ... | |
8581 | * hppa-tdep.h: ... to here, with HPPA_ prefix. | |
8582 | * Makefile.in (hppah-nat.o): Add $(hppa_tdep_h) | |
8583 | * hppa-hpux-tdep.c (hppa32_hpux_frame_find_saved_regs_in_sig) | |
8584 | (hppa64_hpux_frame_find_saved_regs_in_sig) | |
8585 | (child_get_current_exception_event): Add HPPA_ prefix to *_REGNUM usage. | |
8586 | * hppa-linux-nat.c (GR_REGNUM, TR_REGNUM, greg_map): Likewise. | |
8587 | * hppa-linux-tdep.c (hppa_dwarf_reg_to_regnum) | |
8588 | (hppa_linux_target_write_pc, hppa_linux_sigtramp_frame_unwind_cache) | |
8589 | (hppa_linux_sigtramp_frame_prev_register): Likewise. | |
8590 | * hppa-tdep.c (hppa32_return_value, hppa64_return_value) | |
8591 | (hppa32_push_dummy_call, hppa64_push_dummy_call, hppa64_frame_align) | |
8592 | (hppa_target_read_pc, hppa_target_write_pc, hppa_frame_cache) | |
8593 | (hppa_frame_prev_register, hppa_stub_frame_unwind_cache) | |
8594 | (hppa_stub_frame_prev_register, hppa_unwind_dummy_id) | |
8595 | (hppa_skip_permanent_breakpoint, hppa_instruction_nullified) | |
8596 | (hppa32_register_type, hppa_cannot_store_register) | |
8597 | (hppa_fetch_pointer_argument, hppa_pseudo_register_read): Likewise. | |
8598 | * hppah-nat.c (store_inferior_registers, fetch_register): Likewise. | |
8599 | * hpread.c (hpread_process_one_debug_symbol): Likewise. | |
8600 | * pa64solib.c (pa64_solib_have_load_event) | |
8601 | (pa64_solib_have_unload_event, pa64_solib_loaded_library_pathname) | |
8602 | (pa64_solib_unloaded_library_pathname): Likewise. | |
8603 | * somsolib.c (som_solib_have_load_event, som_solib_have_unload_event) | |
8604 | (som_solib_library_pathname): Likewise. | |
8605 | ||
0a5e7efe JI |
8606 | 2004-05-05 Jim Ingham <jingham@apple.com> |
8607 | ||
8608 | * breakpoint.c (create_breakpoints): Copy the ignore count and | |
8609 | thread id over from the pended breakpoint to the actual | |
8610 | breakpoint. | |
8611 | ||
10a4b113 AC |
8612 | 2004-05-05 Andrew Cagney <cagney@redhat.com> |
8613 | ||
8614 | * gdbarch.sh (PARM_BOUNDARY): Delete. | |
8615 | gdbarch.h, gdbarch.c: Re-generate. | |
8616 | * valops.c (PARM_BOUNDARY): Delete macro. | |
8617 | (value_push): Delete PARM_BOUNDARY code. | |
8618 | * m68k-tdep.c (m68k_gdbarch_init): Do not set parm_boundary. | |
8619 | ||
366f009f JB |
8620 | 2004-05-04 Jim Blandy <jimb@redhat.com> |
8621 | ||
32b99774 JB |
8622 | * ppc-linux-nat.c (fetch_ppc_registers, store_ppc_registers): |
8623 | Don't assume that the gprs, fprs, and UISA sprs are | |
8624 | contiguous, start at register number zero, and end with fpscr. | |
8625 | Instead, use the numbers from the tdep structure. | |
8626 | ||
366f009f JB |
8627 | * config/rs6000/tm-rs6000.h (FP0_REGNUM): Document that this |
8628 | should no longer be used in code specific to the RS6000 and its | |
8629 | derivatives. | |
8630 | * ppc-tdep.h (struct gdbarch_tdep): Add 'ppc_fp0_regnum' member. | |
8631 | * rs6000-tdep.c (rs6000_gdbarch_init): Initialize | |
8632 | tdep->ppc_fp0_regnum. | |
8633 | (ppc_supply_fpregset, ppc_collect_fpregset) | |
8634 | (rs6000_push_dummy_call, rs6000_extract_return_value) | |
8635 | (rs6000_dwarf2_stab_reg_to_regnum, rs6000_store_return_value) | |
8636 | (rs6000_frame_cache): Use tdep->ppc_fp0_regnum instead of | |
8637 | FP0_REGNUM. | |
8638 | * aix-thread.c (supply_fprs, fetch_regs_kernel_thread) | |
8639 | (fill_gprs64, fill_gprs32, fill_fprs, store_regs_kernel_thread): | |
8640 | Same. | |
8641 | * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_fetch_registers, | |
8642 | bdm_ppc_store_registers): Same. | |
8643 | * ppc-linux-nat.c (ppc_register_u_addr, fetch_register) | |
8644 | (store_register, fill_fpregset): Same. | |
8645 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache) | |
8646 | (ppc_linux_supply_fpregset): Same. | |
8647 | * ppcnbsd-nat.c (getfpregs_supplies): Same. | |
8648 | * ppcnbsd-tdep.c (ppcnbsd_supply_fpreg, ppcnbsd_fill_fpreg): | |
8649 | Same. | |
8650 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call, | |
8651 | do_ppc_sysv_return_value, ppc64_sysv_abi_push_dummy_call, | |
8652 | ppc64_sysv_abi_return_value): Same. | |
8653 | * rs6000-nat.c (regmap, fetch_inferior_registers) | |
8654 | (store_inferior_registers, fetch_core_registers): Same. | |
8655 | ||
827f338d MK |
8656 | 2004-05-01 Mark Kettenis <kettenis@gnu.org> |
8657 | ||
8658 | * m68knbsd-nat.c: Remove file. | |
8659 | * m68knbsd-tdep.c: Remove file. | |
8660 | * Makefile.in: (m68knbsd-nat.o, m68knbsd-tdep.o): Remove | |
8661 | dependencies. | |
8662 | * configure.host: Add m68k-*-netbsdelf*. | |
8663 | * configure.tgt (m68k-*-netbsd*): Set gdb_target to nbsd. | |
8664 | * config/m68k/nbsdaout.mh (NATDEPFILES): Add m68kbsd-nat.o, | |
8665 | solib.o and solib-sunos.o. Remove m68knbsd-nat.o, corelow.o. | |
8666 | (XM_FILE): Remove. | |
8667 | * config/m68k/nbsdelf.mh: New file. | |
8668 | * config/m68k/nbsd.mt: New file. | |
8669 | * config/m68k/nbsdaout.mt: Remove file. | |
8670 | * config/m68k/tm-nbsd.h: Don't include <sys/param.h>, | |
8671 | <machine/vmparam.h> and "m68k/tm-m68k.h". Include "solib.h". | |
8672 | (BPT_VECTOR, STACK_END_ADDR): Remove defines. | |
8673 | (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Likewise. | |
8674 | (use_struct_convention): Remove prototype. | |
8675 | (USE_STRUCT_CONVENTION): Remove define. | |
8676 | * config/m68k/xm-nbsd.h: Remove file. | |
8677 | ||
66894781 MS |
8678 | 2004-05-04 Michael Snyder <msnyder@redhat.com> |
8679 | ||
8680 | * m68k-tdep.c (m68k_gdbarch_init): Default to using | |
8681 | reg_struct_return method (as gcc usually does for cross targets). | |
8682 | ||
f0f63663 AC |
8683 | 2004-05-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
8684 | ||
8685 | Committed by Andrew Cagney. | |
8686 | * s390-tdep.c (s390_sigtramp_frame_unwind_cache): Account for | |
8687 | alignment padding when accessing ucontext struct members. | |
8688 | ||
edf61169 JB |
8689 | 2004-05-04 Jim Blandy <jimb@redhat.com> |
8690 | ||
8bf659e8 JB |
8691 | * config/ppc-tdep.h (struct gdbarch_tdep): Delete |
8692 | 'ppc_gplast_regnum' member. | |
8693 | (ppc_num_gprs): New enum constant. | |
8694 | * ppc-linux-nat.c (ppc_register_u_addr): Use tdep->ppc_gp0_regnum | |
8695 | and ppc_num_gprs instead of tdep->ppc_gplast_regnum. | |
8696 | * rs6000-nat.c (regmap, fetch_inferior_registers, | |
8697 | store_inferior_registers): Same. | |
8698 | * rs6000-tdep.c (e500_pseudo_register_read) | |
8699 | (e500_pseudo_register_write): Same. | |
8700 | (rs6000_gdbarch_init): Don't initialize tdep->ppc_gplast_regnum. | |
8701 | ||
b967e06f JB |
8702 | * config/rs6000/tm-rs6000.h (FPLAST_REGNUM): Delete #definition. |
8703 | * ppc-tdep.h (ppc_num_fprs): New enum constant. | |
8704 | * aix-thread.c (fetch_regs_kernel_thread, fill_fprs, | |
8705 | store_regs_kernel_thread): Use FP0_REGNUM + ppc_num_fprs, not | |
8706 | FPLAST_REGNUM. | |
8707 | * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers): | |
8708 | Same. | |
8709 | * ppc-linux-nat.c (ppc_register_u_addr): Same. | |
8710 | * rs6000-nat.c (regmap, fetch_inferior_registers) | |
8711 | (store_inferior_registers): Same. | |
8712 | ||
edf61169 JB |
8713 | * aix-thread.c (fill_fprs): Fix off-by-one error comparing regno |
8714 | with FPLAST_REGNUM. | |
8715 | ||
58a9656e JB |
8716 | 2004-05-03 Joel Brobecker <brobecker@gnat.com> |
8717 | ||
8718 | * dwarf2read.c (dwarf2_create_include_psymtab): Fix build | |
8719 | failure detected by recent versions of GCC. | |
8720 | (psymtab_to_symtab_1): No longer use the PST_PRIVATE macro | |
8721 | to be consistent with the usage in dwarf2_create_include_psymtab. | |
8722 | ||
dc305454 MS |
8723 | 2004-05-03 Michael Snyder <msnyder@redhat.com> |
8724 | ||
8725 | * mips-tdep.c (mips_gdbarch_init): Fix typo in comment. | |
8726 | (heuristic_proc_start): Whitespace cleanup. | |
8727 | ||
29972665 MK |
8728 | 2004-05-04 Mark Kettenis <kettenis@gnu.org> |
8729 | ||
6b57680d MK |
8730 | * sun3-nat.c: Remove file. |
8731 | * Makefile.in (tm-sun3.h tm-altos.h tm-sun2.h tm-3b1.h): Remove | |
8732 | dependencies. | |
8733 | (ALLDEPFILES): Remove sun3-nat.c. | |
8734 | (sun3-nat.o): Remove dependencies. | |
8735 | ||
29972665 MK |
8736 | * i386-interix-nat.c, i386-interix-tdep.c, |
8737 | config/i386/nm-interix.h, config/i386/interix.mh, | |
8738 | config/i386/interix.mt: Remove files. | |
8739 | * Makefile.in (i386-interix-nat.o, i386-interix-tdep.o): Remove | |
8740 | dependencies. | |
8741 | ||
f595cb19 MK |
8742 | 2004-05-03 Mark Kettenis <kettenis@gnu.org> |
8743 | ||
8744 | * m68k-tdep.h (struct gdbarch_tdep): Add member | |
8745 | struct_value_regnum. | |
8746 | (m68k_svr4_init_abi): New prototype. | |
8747 | * m68k-tdep.c: Include "floatformat.h". Add comment about all the | |
8748 | different calling conventions. | |
8749 | (m68k_extract_return_value): Remove code dealing with single-field | |
8750 | structs. | |
8751 | (m68k_store_return_value): Remove code dealing with single-field | |
8752 | structs. Correctly store return values of 5, 6, 7 or 8 bytes. | |
8753 | (m68k_extract_struct_value_address): Remove function. | |
8754 | (m68k_svr4_extract_return_value,m68k_svr4_store_return_value) | |
8755 | (m68k_reg_struct_return_p, m68k_return_value) | |
8756 | (m68k_svr4_return_value): New functions. | |
8757 | (m68k_use_struct_convention): Remove function. | |
8758 | (m68k_push_dummy_call): Use new struct_value_regnum member of | |
8759 | `struct gdbarch_tdep' instead of hardcoded register number to | |
8760 | store STRUCT_ADDR. | |
8761 | (m68k_svr4_init_abi): New function. | |
8762 | (m68k_gdbarch_init): Don't set extract_return_value, | |
8763 | store_return_values, deprecated_extract_struct_value_address and | |
8764 | use_struct_convention. Set return_value instead. Initialize new | |
8765 | struct_value_regnum member of `struct gdbarch_tdep'. | |
8766 | * m68klinux-tdep.c: Update copyright year. | |
8767 | (m68k_linux_extract_return_value, m68k_linux_store_return_value) | |
8768 | (m68k_linux_extract_struct_value_address): Remove function. | |
8769 | (m68k_linux_init_abi): Don't set extract_return_value, | |
8770 | store_return_values, deprecated_extract_struct_value_address and | |
8771 | use_struct_convention. Call m68k_svr4_init_abi but override the | |
8772 | new struct_value_regnum member of `struct gdbarch_tdep'. | |
8773 | * Makefile.in (m68k-tdep.o): Update dependencies. | |
8774 | ||
aaa75496 JB |
8775 | 2004-05-03 J. Brobecker <brobecker@gnat.com> |
8776 | ||
8777 | * dwarf2read.c (line_header): Add new included_p field in | |
8778 | field file_names. | |
8779 | (partial_die_info): New field has_stmt_list. New field line_offset. | |
8780 | (dwarf2_create_include_psymtab): New function. | |
8781 | (dwarf2_build_include_psymtabs): New function. | |
8782 | (add_file_name): Add forward declaration. Initialize new field. | |
8783 | (dwarf_decode_lines): Add new parameter. Enhance this procedure | |
8784 | to be able to determine the list of files included by the | |
8785 | given unit, and build their associated psymtabs. | |
8786 | (dwarf2_build_psymtabs_hard): Build the psymtabs for the included | |
8787 | files as well. | |
8788 | (psymtab_to_symtab_1): Build the symtabs of all dependencies as well. | |
8789 | (read_file_scope): Update call to dwarf_decode_lines. | |
8790 | (read_partial_die): Handle DW_AT_stmt_list attributes. | |
8791 | ||
c848556f MC |
8792 | 2004-05-02 Michael Chastain <mec.gnu@mindspring.com> |
8793 | ||
8794 | Unfix PR gdb/1626. | |
8795 | * configure.in: Revert special case for osf5.*. | |
8796 | * configure: Regenerate. | |
8797 | ||
eb4556d7 JB |
8798 | 2004-05-02 Jim Blandy <jimb@redhat.com> |
8799 | ||
8800 | Move the symbol-file-from-memory functions into their own file. | |
8801 | * symfile-mem.c, symfile-mem.h: New files. | |
8802 | * symfile.c (symbol_file_add_from_bfd): New function. | |
8803 | (symbol_file_add): Call symbol_file_add_from_bfd. | |
8804 | (symbol_file_add_from_memory, add_symbol_file_from_memory_command): | |
8805 | Moved to symfile-mem.c. | |
8806 | (_initialize_symfile): Move definition of | |
8807 | add-symbol-file-from-memory command to symfile-mem.c. | |
8808 | * symfile.h (symbol_file_add_from_bfd): New declaration. | |
8809 | * config/i386/linux.mt (TDEPFILES): Add symfile-mem.o. | |
8810 | * config/powerpc/linux.mt (TDEPFILES): Same. | |
8811 | * Makefile.in (SFILES): Add symfile-mem.c. | |
8812 | (symfile_mem_h): New variable. | |
8813 | (HFILES_NO_SRCDIR): Add symfile-mem.h. | |
8814 | (symfile-mem.o): New rule. | |
8815 | ||
80bb239e AC |
8816 | 2004-05-01 Andrew Cagney <cagney@redhat.com> |
8817 | ||
7789d0fa AC |
8818 | * breakpoint.c (insert_bp_location): Use get_frame_id, and |
8819 | frame_find_by_id instead of frame_relative_level. | |
8820 | (do_enable_breakpoint): Ditto. | |
8821 | * thread.c: Update copyright. | |
8822 | (info_threads_command): Ditto, simplify. | |
8823 | ||
80bb239e AC |
8824 | * frame.c (deprecated_generic_get_saved_register): Delete |
8825 | function, moved to "xstormy16-tdep.c". | |
8826 | * xstormy16-tdep.c (xstormy16_get_saved_register): Inline | |
8827 | deprecated_generic_get_saved_register from "frame.c". | |
8828 | (xstormy16_frame_saved_register): Call | |
8829 | xstormy16_get_saved_register. | |
8830 | * dummy-frame.c (deprecated_find_dummy_frame_regcache): Make | |
8831 | static. | |
8832 | * dummy-frame.h (deprecated_find_dummy_frame_regcache): Delete. | |
8833 | * frame.h (deprecated_generic_get_saved_register): Delete. | |
8834 | ||
b2a871dd MC |
8835 | 2004-05-01 Michael Chastain <mec.gnu@mindspring.com> |
8836 | ||
8837 | * dwarfread.c: Update documentation on the state of dwarf-1. | |
8838 | ||
0e100dab AC |
8839 | 2004-05-01 Andrew Cagney <cagney@redhat.com> |
8840 | ||
acd8056e AC |
8841 | * stack.c (select_frame_command): Delete call to |
8842 | frame_relative_level. | |
8843 | (print_frame, set_backtrace_limit_command, backtrace_limit_info): | |
8844 | Delete #if0 code. | |
8845 | (frame_info): Do not print FRAMELESS. | |
8846 | (print_block_frame_labels): Replace DEPRECATED_STREQ. | |
8847 | (catch_info): Delete #if0 code. | |
8848 | ||
0e100dab AC |
8849 | * frame.c (create_sentinel_frame): Set type to SENTINEL_FRAME. |
8850 | * dummy-frame.c (dummy_frame_this_id): Use get_frame_type, instead | |
8851 | of frame_relative_level. | |
8852 | * sentinel-frame.c (sentinel_frame_unwinder): Set unwinder's type | |
8853 | to SENTINEL_FRAME. | |
8854 | * frame.h (enum frame_type): Add SENTINEL_FRAME. | |
8855 | * s390-tdep.c (s390_prologue_frame_unwind_cache): Delete calls to | |
8856 | frame_relative_level. | |
8857 | ||
55699d59 AC |
8858 | * frame.h (deprecated_set_frame_type): Delete declaration. |
8859 | * frame.c (deprecated_set_frame_type): Delete function, update | |
8860 | comments. | |
8861 | ||
fcf70625 AC |
8862 | * gdbarch.sh (DEPRECATED_PC_IN_SIGTRAMP): Delete. |
8863 | * gdbarch.h, gdbarch.c: Re-generate. | |
8864 | * shnbsd-tdep.c (shnbsd_init_abi): Do not set pc_in_sigtramp. | |
8865 | (shnbsd_pc_in_sigtramp): Delete. | |
8866 | * i386-interix-tdep.c (i386_interix_init_abi): Do not set | |
8867 | pc_in_sigtramp. | |
8868 | * hppa-hpux-tdep.c (hppa_hpux_init_abi): Do not set | |
8869 | pc_in_sigtramp. | |
8870 | * frame.h: Update comments. | |
8871 | * ppc-linux-tdep.c: Update comments. | |
8872 | * breakpoint.c (bpstat_what): Update comments. | |
8873 | ||
ac5eccb7 AC |
8874 | * Makefile.in (m68klinux-tdep.o, m68klinux-nat.o): Fix |
8875 | m68klinux-tdep.o's dependencies, were previously added to | |
8876 | m68klinux-nat.o. | |
8877 | ||
f2524b93 AC |
8878 | * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Use pc_in_sigtramp. |
8879 | * alpha-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp. | |
8880 | * alphafbsd-tdep.c (alphafbsd_init_abi): Update. | |
8881 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Update. | |
8882 | * alpha-linux-tdep.c (alpha_linux_init_abi): Update. | |
8883 | ||
17e20bce AC |
8884 | * Makefile.in (m68klinux-nat.o): Update dependencies. |
8885 | * m68klinux-tdep.c: Include "trad-frame.h" and "frame-unwind.h". | |
8886 | (m68k_linux_sigtramp_frame_cache) | |
8887 | (m68k_linux_sigtramp_frame_this_id) | |
8888 | (m68k_linux_sigtramp_frame_prev_register) | |
8889 | (m68k_linux_sigtramp_frame_unwind) | |
8890 | (m68k_linux_sigtramp_frame_sniffer) | |
8891 | (struct m68k_linux_sigtramp_info, m68k_linux_init_abi): Code from | |
8892 | m68k-tdep.h and m68k-tdep.c, add "linux" to function and variable | |
8893 | names, use trad-frame.h. | |
8894 | * m68k-tdep.h (struct gdbarch_tdep): Delete get_sigtramp_info. | |
8895 | (struct m68k_sigtramp_info): Delete. | |
8896 | * m68k-tdep.c (m68k_sigtramp_frame_cache) | |
8897 | (m68k_sigtramp_frame_this_id, m68k_sigtramp_frame_prev_register) | |
8898 | (m68k_sigtramp_frame_unwind, m68k_sigtramp_frame_sniffer) | |
8899 | (m68k_gdbarch_init): Delete all the sigtramp code, moved to | |
8900 | "m68klinux-tdep.c". | |
8901 | ||
c8864fa2 AC |
8902 | * infrun.c (check_sigtramp2): Delete check for |
8903 | DEPRECATED_PC_IN_SIGTRAMP and INNER_THAN. | |
8904 | ||
511dd2cd MK |
8905 | 2004-05-01 Mark Kettenis <kettenis@gnu.org> |
8906 | ||
8907 | * m68k-tdep.h (m68kbsd_fpreg_offset): New prototype. | |
8908 | ||
8c6b0e06 AC |
8909 | 2004-05-01 Andrew Cagney <cagney@redhat.com> |
8910 | ||
9df0bb3f AC |
8911 | * frv-linux-tdep.c: Include "trad-frame.h" and "frame-unwind.h". |
8912 | (frv_linux_sigtramp_frame_cache) | |
8913 | (frv_linux_sigtramp_frame_this_id) | |
8914 | (frv_linux_sigtramp_frame_prev_register) | |
8915 | (frv_linux_sigtramp_frame_unwind) | |
8916 | (frv_linux_sigtramp_frame_sniffer): Copied from frv-tdep.c, | |
8917 | include "linux" in function and variable names, directly call | |
8918 | frv_linux_pc_in_sigtramp and frv_linux_sigcontext_reg_addr, use | |
8919 | the latest trad-frame code. | |
8920 | (frv_linux_init_abi): Append frv_linux_sigtramp_frame_sniffer, do | |
8921 | not set frv_sigcontext_reg_addr or deprecated_pc_in_sigtramp | |
8922 | * Makefile.in (frv-linux-tdep.o): Update dependencies. | |
8923 | * frv-tdep.h (frv_set_sigcontext_reg_addr): Delete declaration. | |
8924 | * frv-tdep.c (frv_sigtramp_frame_cache) | |
8925 | (frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register) | |
8926 | (frv_sigtramp_frame_unwind, frv_sigtramp_frame_sniffer): Moved to | |
8927 | frv-linux-tdep.c. | |
8928 | (frv_gdbarch_init): Do not append a sigtramp sniffer. | |
8929 | (struct gdbarch_tdep): Delete sigcontext_reg_addr. | |
8930 | (frv_set_sigcontext_reg_addr): Delete function. | |
8931 | ||
8c6b0e06 AC |
8932 | * gdbarch.sh (DEPRECATED_SIGTRAMP_START) |
8933 | (DEPRECATED_SIGTRAMP_END): Delete. | |
8934 | * gdbarch.h, gdbarch.c: Re-generate. | |
8935 | * arch-utils.c (legacy_pc_in_sigtramp): Simplify. | |
8936 | * config/vax/tm-vaxbsd.h: Update copyright. | |
8937 | (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete. | |
8938 | (DEPRECATED_IN_SIGTRAMP): Define. | |
8939 | * config/m68k/tm-nbsd.h: Update copyright. | |
8940 | (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete. | |
8941 | (DEPRECATED_IN_SIGTRAMP): Define. | |
8942 | ||
50ea7769 MK |
8943 | 2004-05-01 Mark Kettenis <kettenis@gnu.org> |
8944 | ||
03ac2a74 MK |
8945 | * dwarf2-frame.c (read_encoded_value): Handle DW_EH_PE_funcrel |
8946 | encondings. Fixes PR gdb/1628. | |
8947 | ||
50ea7769 MK |
8948 | * dwarf2-frame.c (execute_cfa_program): Complain if we encounter a |
8949 | DW_CFA_restore state without a matching DW_CFA_remember_state | |
8950 | instead of aborting. Fixes PR backtrace/1589. | |
8951 | ||
9a5d7be1 JB |
8952 | 2004-04-30 Joel Brobecker <brobecker@gnat.com> |
8953 | ||
8954 | * MAINTAINERS: Add self as AIX maintainer. | |
8955 | Update my e-mail address in write-after-approval section. | |
8956 | ||
2593d1cd AC |
8957 | 2004-04-30 Andrew Cagney <cagney@redhat.com> |
8958 | ||
ce12bbf9 AC |
8959 | * frame.c (frame_type_from_pc): Delete call to PC_IN_SIGTRAMP. |
8960 | (legacy_get_prev_frame): Ditto. | |
8961 | ||
36710c63 AC |
8962 | * mips-tdep.c (mips_pc_in_sigtramp): Delete. |
8963 | (mips_gdbarch_init): Do not set pc_in_sigtramp. | |
8964 | * mipsread.c (sigtramp_address): Delete extern variable. | |
8965 | (mipscoff_new_init): Delete reference. | |
8966 | * mdebugread.c (sigtramp_address, sigtramp_end): Delete variables. | |
8967 | (fixup_sigtramp): Delete function. | |
8968 | * config/mips/tm-mips.h (sigtramp_address, sigtramp_end) | |
8969 | (fixup_sigtramp): Delete declarations. | |
8970 | ||
2593d1cd AC |
8971 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Do not set |
8972 | deprecated_pc_in_sigtramp. | |
8973 | (ppcnbsd_pc_in_sigtramp): Delete function. | |
8974 | ||
2a25f91c MK |
8975 | 2004-05-01 Mark Kettenis <kettenis@gnu.org> |
8976 | ||
8977 | * config/m68k/nm-nbsd.h: Tweak comments. | |
8978 | * config/m68k/nm-nbsdaout.h: Likewise. | |
8979 | ||
0b281939 AC |
8980 | 2004-04-30 Andrew Cagney <cagney@redhat.com> |
8981 | ||
8982 | * arm-tdep.c (arm_sigtramp_unwind_sniffer): Call | |
8983 | legacy_pc_in_sigtramp. | |
8984 | * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Ditto. | |
8985 | ||
8f2d3ea0 MK |
8986 | 2004-05-01 Mark Kettenis <kettenis@gnu.org> |
8987 | ||
8988 | Add OpenBSD/m68k support. | |
8989 | * NEWS (New native configurations): Mention OpenBSD/m68k. | |
8990 | * m68kbsd-tdep.c: New file. | |
8991 | * m68kbsd-nat.c: New file. | |
8992 | * Makefile.in (ALLDEPFILES): Add m68kbsd-nat.c and m68kbsd-tdep.c. | |
8993 | (m68kbsd-nat.o, m68kbsd-tdep.o): New dependencies. | |
8994 | * configure.host: Add m68k-*-openbsd. | |
8995 | * configure.tgt: Add m68k-*-openbsd. | |
8996 | * config/m68k/tm-obsd.h: New file. | |
8997 | * config/m68k/obsd.mt: New file. | |
8998 | * config/m68k/obsd.mh: New file. | |
8999 | * config/djgpp/fnchange.lst: Add entries for m68kbsd-nat.c and | |
9000 | m68kbsd-tdep.c. | |
9001 | ||
c40f49a4 AC |
9002 | 2004-04-30 Andrew Cagney <cagney@redhat.com> |
9003 | ||
9004 | * mipsnbsd-tdep.c (mipsnbsd_pc_in_sigtramp): Delete function. | |
9005 | (mipsnbsd_init_abi): Do not set pc_in_sigtramp. | |
9006 | ||
e81554cd MK |
9007 | 2004-04-30 Mark Kettenis <kettenis@gnu.org> |
9008 | ||
9009 | * m68k-tdep.c (REMOTE_BPT_VECTOR): Remove define. | |
9010 | * config/m68k/tm-nbsd.h (REMOTE_BPT_VECTOR): Remove define. | |
9011 | ||
d4dc1a91 BF |
9012 | 2004-04-30 Brian Ford <ford@vss.fsi.com> |
9013 | ||
9014 | Revert 2004-04-16 change. | |
9015 | * i386-tdep.c (i386_gdbarch_init): Fix comment typos. | |
9016 | (i386_coff_init_abi): Remove. | |
9017 | * i386-tdep.h (i386_coff_init_abi): Remove. | |
9018 | * i386-cygwin-tdep.c (i386_cygwin_init_abi): Remove call to above. | |
9019 | ||
2f72f850 AC |
9020 | 2004-04-30 Andrew Cagney <cagney@redhat.com> |
9021 | ||
e492f9d6 AC |
9022 | * blockframe.c (find_pc_partial_function): Delete use of |
9023 | DEPRECATED_PC_IN_SIGTRAMP, DEPRECATED_SIGTRAMP_START and | |
9024 | DEPRECATED_SIGTRAMP_END. | |
9025 | ||
7b7adad0 AC |
9026 | * config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Delete. |
9027 | * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Delete. | |
9028 | * config/mips/tm-nbsd.h: Delete undef DEPRECATED_IN_SIGTRAMP. | |
9029 | * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Delete. | |
9030 | * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Delete. | |
9031 | ||
2f72f850 AC |
9032 | * defs.h (deprecated_inside_entry_file): Delete declaration. |
9033 | * blockframe.c (deprecated_inside_entry_file): Delete function. | |
9034 | (legacy_frame_chain_valid): Delete call. | |
9035 | * sh64-tdep.c (sh64_frame_chain): Delete call. | |
9036 | * objfiles.h: Update comments. | |
9037 | * i386-interix-tdep.c (i386_interix_frame_chain_valid): Delete | |
9038 | call. | |
9039 | * frame.c (get_prev_frame): Delete call, update comments. | |
9040 | ||
283f90a7 BF |
9041 | 2004-04-30 Brian Ford <ford@vss.fsi.com> |
9042 | ||
9043 | * MAINTAINERS (Write After Approval): Add myself. | |
9044 | ||
8ee56bcf AC |
9045 | 2004-04-30 Andrew Cagney <cagney@redhat.com> |
9046 | ||
9047 | * gdbarch.sh (BELIEVE_PCC_PROMOTION_TYPE): Delete. | |
9048 | * gdbarch.h, gdbarch.c: Re-generate. | |
9049 | * stabsread.c (define_symbol): Delete BELIEVE_PCC_PROMOTION_TYPE | |
9050 | code. | |
9051 | ||
ee27e1b6 AC |
9052 | 2004-04-30 Andrew Cagney <cagney@redhat.com> |
9053 | ||
9054 | * gdb-events.sh (selected_thread_changed) | |
9055 | (selected_frame_level_changed, target_changed): Delete. | |
9056 | * gdb-events.h, gdb-events.c: Re-generate. | |
9057 | * valops.c (value_assign): Update. | |
9058 | * stack.c (select_frame_command, up_silently_base) | |
9059 | (down_silently_base): Update. | |
9060 | ||
d5ac5a39 AC |
9061 | 2004-04-29 Andrew Cagney <cagney@redhat.com> |
9062 | ||
9063 | * mips-tdep.c (mips_register_type): Re-write, handle 32-bit ABI | |
9064 | registers correctly. | |
9065 | (print_gp_register_row, mips32_heuristic_proc_desc) | |
9066 | (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call) | |
9067 | (mips_o64_push_dummy_call, mips_eabi_push_dummy_call): Eliminate | |
9068 | references to mips_isa_regsize. | |
9069 | ||
ceae6e75 AC |
9070 | 2004-04-29 Andrew Cagney <cagney@redhat.com> |
9071 | ||
9072 | * mips-tdep.c (struct gdbarch_tdep): Delete | |
9073 | mips_fp_register_double. | |
9074 | (FP_REGISTER_DOUBLE): Delete macro, replace with test for | |
9075 | mips_abi_regsize. | |
9076 | (mips_gdbarch_init): Do not set mips_fp_register_double. | |
9077 | (mips_dump_tdep): Do not print FP_REGISTER_DOUBLE. | |
9078 | ||
a587af0b AC |
9079 | 2004-04-29 Joel Brobecker <brobecker@gnat.com> |
9080 | ||
9081 | Committed by Andrew Cagney. | |
9082 | * infrun.c (handle_inferior_event): Rely on frame IDs to detect | |
9083 | function calls. | |
9084 | ||
13326b4e AC |
9085 | 2004-04-29 Andrew Cagney <cagney@redhat.com> |
9086 | ||
9087 | * mips-tdep.c (mips_abi_regsize): Replace tdep parameter with | |
9088 | gdbarch, use mips_abi, update callers. | |
9089 | (mips_stack_argsize): Replace tdep parameter with gdbarch, use | |
9090 | mips_abi_regsize, update callers. | |
9091 | (struct gdbarch_tdep): Delete mips_default_stack_argsize and | |
9092 | mips_default_abi_regsize. | |
9093 | (mips_gdbarch_init): Do not set mips_default_stack_argsize and | |
9094 | mips_default_abi_regsize. | |
9095 | ||
711cc5cd AC |
9096 | 2004-04-29 Andrew Cagney <cagney@redhat.com> |
9097 | ||
1b13c4f6 AC |
9098 | * mips-tdep.c (mips_abi_regsize): Rename mips_saved_regsize. |
9099 | (mips_abi_regsize_string): Rename mips_saved_regsize_string. | |
9100 | (struct gdbarch_tdep): Rename mips_default_saved_regsize to | |
9101 | mips_default_abi_regsize. | |
9102 | (mips_isa_regsize): Rename mips_regisze. | |
9103 | * mipsnbsd-tdep.c: Update. | |
9104 | * mips-linux-tdep.c: Update. | |
9105 | * irix5-nat.c: Update. | |
9106 | * mips-tdep.h (mips_isa_regsize): Update. | |
9107 | ||
711cc5cd AC |
9108 | * gdb-events.sh (WITH_GDB_EVENTS): Delete macro and references. |
9109 | Delete all disabled code. | |
9110 | * gdb-events.h, gdb-events.c: Re-generate. | |
9111 | ||
e63bbc88 MK |
9112 | 2004-04-19 Jerome Guitton <guitton@gnat.com> |
9113 | Mark Kettenis <kettenis@gnu.org> | |
9114 | ||
9115 | * i386-tdep.c (i386_skip_prologue): follow the last jump only if | |
9116 | the function begins with a branch instruction. | |
9117 | ||
fd35795f MK |
9118 | 2004-04-29 Mark Kettenis <kettenis@gnu.org> |
9119 | ||
9120 | * i386-tdep.c: Fix spelling mistakes. | |
9121 | ||
c960c18f AC |
9122 | 2004-04-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
9123 | Andrew Cagney <cagney@redhat.com> | |
9124 | ||
9125 | * configure.in (mips-sgi-irix5*): Define _KMEMUSER for | |
9126 | <sys/proc.h>. | |
9127 | * acconfig.h: Provide default _KMEMUSER value. | |
9128 | * config.in, configure: Re-generate. | |
9129 | * NEWS: Mention fix. | |
9130 | ||
50306a9d RC |
9131 | 2004-04-24 Randolph Chung <tausq@debian.org> |
9132 | ||
9133 | * configure.host (hppa*-*-linux*): New target. | |
9134 | * configure.tgt (hppa*-*-linux*): Likewise. | |
9135 | * hppa-tdep.c (hppa_gdbarch_init): Set cannot_fetch_register, move | |
9136 | gdbarch_init_osabi() call earlier so that osabi-specific frame | |
9137 | unwinders can be registered first. | |
9138 | * config/djgpp/fnchange.lst: Add entries for hppa-linux-tdep.c and | |
9139 | hppa-linux-nat.c. | |
9140 | * config/pa/tm-hppa.h (ISR_REGNUM, PID0_REGNUM, PID1_REGNUM) | |
9141 | (PID2_REGNUM, PID3_REGNUM): Add definitions of some register numbers. | |
9142 | * config/pa/linux.mh: New file. | |
9143 | * config/pa/linux.mt: New file. | |
9144 | * config/pa/nm-linux.h: New file. | |
9145 | * config/pa/xm-linux.h: New file. | |
9146 | * hppa-linux-nat.c: New file. | |
9147 | * hppa-linux-tdep.c: New file. | |
9148 | ||
2a6228ef RC |
9149 | 2004-04-28 Randolph Chung <tausq@debian.org> |
9150 | ||
9151 | * hppa-tdep.c (hppa32_return_value): Handle both 4- and 8-byte fp | |
9152 | return values. | |
9153 | (hppa32_push_dummy_call): Fix small struct and floating point argument | |
9154 | passing, and make sure the stack frame is properly aligned. | |
9155 | ||
82c10df6 AC |
9156 | 2004-04-28 Andrew Cagney <cagney@redhat.com> |
9157 | ||
d762c46a AC |
9158 | * stack.c (print_stack_frame): Fix description. |
9159 | ||
82c10df6 AC |
9160 | * NEWS: Mention gdb/gdbserver/configure execute permission |
9161 | changed. PR server/519. | |
9162 | ||
0faf0076 AC |
9163 | 2004-04-28 Andrew Cagney <cagney@redhat.com> |
9164 | ||
9165 | * stack.c (print_stack_frame_stub): Delete declaration. | |
9166 | (struct print_stack_frame_args, print_stack_frame) | |
9167 | (print_frame_info, print_frame): Replace "source" with print what. | |
9168 | Replace "print" with "print_level". Replace "args" with | |
9169 | "print_args". | |
9170 | * frame.h (show_and_print_stack_frame, print_stack_frame) | |
9171 | (print_frame_info): Update declarations. | |
9172 | * stack.c (select_and_print_frame, frame_command) | |
9173 | (current_frame_command, up_command, down_command): Update calls - | |
9174 | use get_selected_frame, pass "enum print_what" for source, do not | |
9175 | call frame_relative_level. | |
9176 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Ditto. | |
9177 | * remote-rdp.c (remote_rdp_open): Ditto. | |
9178 | * remote-mips.c (common_open): Ditto. | |
9179 | * remote-e7000.c (e7000_start_remote): Ditto. | |
9180 | * ocd.c (ocd_start_remote): Ditto. | |
9181 | * mi/mi-main.c (mi_cmd_exec_return): Ditto. | |
9182 | * infrun.c (normal_stop): Ditto. | |
9183 | * inflow.c (kill_command): Ditto. | |
9184 | * infcmd.c (finish_command): Ditto. | |
9185 | * corelow.c (core_open): Ditto. | |
9186 | * tracepoint.c (finish_tfind_command): Ditto. | |
9187 | * thread.c (info_threads_command, info_threads_command) | |
9188 | (restore_current_thread, do_captured_thread_select): Ditto. | |
9189 | * ada-tasks.c (task_command): Ditto. | |
9190 | ||
f4c5303c OF |
9191 | 2004-04-26 Orjan Friberg <orjanf@axis.com> |
9192 | ||
9193 | * frame.c: Include "observer.h". | |
9194 | (frame_observer_target_changed): New function. | |
9195 | (_initialize_frame): Attach target_changed observer. | |
9196 | * regcache.c: Include "observer.h". | |
9197 | (regcache_observer_target_changed): New function. | |
9198 | (_initialize_regcache): Attach target_changed observer. | |
9199 | * valops.c: Include "observer.h". | |
9200 | (value_assign): Notify target_changed event when modifying register. | |
9201 | * Makefile.in (frame.o, regcache.o, valops.o): Add $(observer_h). | |
9202 | ||
7270d8f2 OF |
9203 | 2004-04-26 Orjan Friberg <orjanf@axis.com> |
9204 | ||
9205 | From Paul Koning <pkoning@equallogic.com>: | |
9206 | * breakpoint.c (free_valchain): New function. | |
9207 | (insert_bp_location, delete_breakpoint): Use free_valchain. | |
9208 | (remove_breakpoint): Do not remove the valchain. | |
9209 | (bpstat_stop_status): If not stopped by watchpoint, skip | |
9210 | watchpoints when generating stop status list. | |
9211 | * infrun.c (handle_inferior_event): Make | |
9212 | stepped_after_stopped_by_watchpoint a global variable. | |
9213 | * remote.c (remote_stopped_data_address): Return watch data | |
9214 | address rather than zero if stepped_after_stopped_by_watchpoint is | |
9215 | set. | |
9216 | ||
02d62932 MC |
9217 | 2004-04-25 Michael Chastain <mec.gnu@mindspring.com> |
9218 | ||
9219 | Fix PR gdb/1626. | |
9220 | * configure.in: Check for curses after termcap. | |
9221 | On osf5.*, do not check for ncurses. | |
9222 | * configure: Regenerate. | |
9223 | ||
3e9a183c MK |
9224 | 2004-04-25 Mark Kettenis <kettenis@gnu.org> |
9225 | ||
c79ac407 MK |
9226 | * ppcobsd-nat.c: Include "ppc-tdep.h". |
9227 | * Makefile.in (ppcobsd-nat.o): Update dependencies. | |
9228 | ||
3e9a183c MK |
9229 | * stack.c (return_command): Use CHECK_TYPEDEF on the return type. |
9230 | Fixes PR tdep/1623 and PR tdep/1624. | |
9231 | ||
38cc9c28 MC |
9232 | 2004-04-24 Michael Chastain <mec.gnu@mindspring.com> |
9233 | ||
9234 | * xmodem.h, xmodem.c: Remove files. | |
9235 | * Makefile.in: Remove references to xmodem.h, xmodem.c. | |
9236 | ||
7f07c5b6 RC |
9237 | 2004-04-23 Randolph Chung <tausq@debian.org> |
9238 | ||
9239 | * hppa-tdep.c (hppa_stub_unwind_cache, hppa_stub_frame_unwind_cache) | |
9240 | (hppa_stub_frame_this_id, hppa_stub_frame_prev_register) | |
9241 | (hppa_stub_frame_unwind, hppa_stub_unwind_sniffer): New stub unwinder | |
9242 | for handling stackless frames. | |
9243 | (hppa_gdbarch_init): Link in hppa_stub_unwind_sniffer. | |
9244 | ||
9f7194c3 RC |
9245 | 2004-04-23 Randolph Chung <tausq@debian.org> |
9246 | ||
9247 | * hppa-tdep.c (hppa_frame_cache): Handle the case when frame unwind | |
9248 | starts at a pc before the frame is created. | |
9249 | ||
dcff6009 JB |
9250 | 2004-04-23 Joel Brobecker <brobecker@gnat.com> |
9251 | ||
9252 | * ChangeLog-2002: Fix year in one of the ChangeLog entries. | |
9253 | ||
40711ff1 | 9254 | 2004-04-23 Jerome Guitton <guitton@gnat.com> |
65951cd9 JG |
9255 | |
9256 | * rs6000-tdep.c (rs6000_extract_return_value): When extracting a float, | |
9257 | use convert_typed_floating to get the appropriate format. | |
9258 | ||
abc485a1 RC |
9259 | 2004-04-22 Randolph Chung <tausq@debian.org> |
9260 | ||
9261 | * hppa-tdep.h (find_unwind_entry, hppa_get_field, hppa_extract_5_load) | |
9262 | (hppa_extract_5R_store, hppa_extract_5r_store, hppa_extract_17) | |
9263 | (hppa_extract_21, hppa_extract_14, hppa_low_sign_extend) | |
9264 | (hppa_sign_extend): Add prototype. | |
9265 | * hppa-tdep.c (get_field, extract_5_load, extract_5R_store) | |
9266 | (extract_5r_store, extract_17, extract_21, extract_14, low_sign_extend) | |
9267 | (sign_extend): Rename with hppa_ prefix and make non-static. Other | |
9268 | hppa targets will also use these functions. | |
9269 | (find_unwind_entry): Remove prototype (moved to hppa-tdep.h). | |
9270 | (hppa_in_solib_call_trampoline, hppa_in_solib_return_trampoline) | |
9271 | (hppa_skip_trampoline_code): Move to hppa-hpux-tdep.c | |
9272 | (hppa_gdbarch_init): Remove gdbarch setting of | |
9273 | skip_trampoline_code, in_solib_call_trampoline and | |
9274 | in_solib_return_trampoline. | |
9275 | * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline) | |
9276 | (hppa64_hpux_in_solib_call_trampoline): New functions, split from | |
9277 | hppa_in_solib_call_trampoline. | |
9278 | (hppa_hpux_in_solib_return_trampoline, hppa_hpux_skip_trampoline_code): | |
9279 | Moved from hppa-tdep.c. | |
9280 | (hppa_hpux_init_abi): Set gdbarch for skip_trampoline_code, | |
9281 | in_solib_call_trampoline and in_solib_return_trampoline. | |
9282 | ||
369aa520 RC |
9283 | 2004-04-22 Randolph Chung <tausq@debian.org> |
9284 | ||
9285 | * hppa-tdep.c (hppa_debug): New variable. | |
9286 | (find_unwind_entry, hppa_frame_cache): Add debug output. | |
9287 | (_initialize_hppa_tdep): Add command to set debug flag. | |
9288 | ||
476be15e AC |
9289 | 2004-04-22 Andrew Cagney <cagney@redhat.com> |
9290 | ||
9291 | * ppcnbsd-tdep.c: Update copyright. Include "tramp-frame.h" and | |
9292 | "trad-frame.h". | |
9293 | (ppcnbsd_sigtramp_cache_init, ppcnbsd_sigtramp): Implement a NetBSD | |
9294 | signal trampoline unwinder. | |
9295 | (ppcnbsd_init_abi): Register ppcnbsd_sigtramp. | |
9296 | ||
d195bc9f MK |
9297 | 2004-04-22 Mark Kettenis <kettenis@gnu.org> |
9298 | ||
9299 | Add OpenBSD/powerpc support. | |
9300 | * NEWS (New native configurations): Mention OpenBSD/powerpc. | |
9301 | * ppc-tdep.h (struct ppc_reg_offsets): New structure. | |
9302 | (ppc_supply_gregset, ppc_supply_fpregset, ppc_collect_gregset) | |
9303 | (ppc_collect_fpregset): New prototypes. | |
9304 | * ppcobsd-nat.c: New file. | |
9305 | * ppcobsd-tdep.c: New file. | |
9306 | * ppcobsd-tdep.h: New file. | |
9307 | * rs6000-tdep.c: Include "regset.h". | |
9308 | (ppc_supply_reg, ppc_collect_reg, ppc_supply_gregset) | |
9309 | (ppc_supply_fpregset, ppc_collect_gregset, ppc_collect_fpregset): | |
9310 | New functions. | |
9311 | * Makefile.in (ALLDEPFILES): Add pccobsd-nat.c and ppcobsd-tdep.c. | |
9312 | (ppcobsd-nat.o, ppcobsd-tdep.o): New dependencies. | |
9313 | (rs6000-tdep.o): Update dependencies. | |
9314 | * configure.host: Add powerpc-*-openbsd. | |
9315 | * configure.tgt: Add powerpc-*-openbsd. | |
9316 | * config/powerpc/obsd.mh: New file. | |
9317 | * config/powerpc/nm-obsd.h: New file. | |
9318 | * config/powerpc/obsd.mt: New file. | |
9319 | ||
6f14cc33 AC |
9320 | 2004-04-22 Andrew Cagney <cagney@redhat.com> |
9321 | ||
fcf29e5f AC |
9322 | * frame.h (show_frame_info): Delete declaration. |
9323 | ||
6f14cc33 AC |
9324 | * arm-tdep.c (arm_prologue_this_id): Delete redundant cycle test. |
9325 | * m68hc11-tdep.c (m68hc11_frame_this_id): Ditto. | |
9326 | * m32r-tdep.c (m32r_frame_this_id): Ditto. | |
9327 | * frv-tdep.c (frv_frame_this_id): Ditto. | |
9328 | * avr-tdep.c (avr_frame_this_id): Ditto. | |
9329 | ||
e5786a5c EZ |
9330 | 2004-04-22 Elena Zannoni <ezannoni@redhat.com> |
9331 | ||
9332 | * MAINTAINERS: Drop maintenance of gdb.stabs, and linespec.c. | |
9333 | ||
26e75e5c JB |
9334 | 2004-04-22 Jim Blandy <jimb@redhat.com> |
9335 | ||
9336 | * ppc-linux-nat.c (ppc_register_u_addr): Don't assume that r0 is | |
9337 | register number zero. | |
9338 | ||
d8d65dd3 MS |
9339 | 2004-04-21 Michael Snyder <msnyder@redhat.com> |
9340 | ||
9341 | * mips-tdep.c (heuristic_proc_start): | |
9342 | Warning() already prefixes "Warning: ". | |
9343 | ||
9a4105ab AC |
9344 | 2004-04-21 Andrew Cagney <cagney@redhat.com> |
9345 | ||
9346 | * annotate.h (deprecated_annotate_starting_hook) | |
9347 | (deprecated_annotate_stopped_hook) | |
9348 | (deprecated_annotate_exited_hook) | |
9349 | (deprecated_annotate_signal_hook) | |
9350 | (deprecated_annotate_signalled_hook): Deprecate. | |
9351 | * tracepoint.h (deprecated_create_tracepoint_hook) | |
9352 | (deprecated_delete_tracepoint_hook) | |
9353 | (deprecated_modify_tracepoint_hook) | |
9354 | (deprecated_trace_find_hook) | |
9355 | (deprecated_trace_start_stop_hook): Deprecate. | |
9356 | * target.h (deprecated_target_new_objfile_hook): Deprecate. | |
9357 | * remote.h (deprecated_target_resume_hook) | |
9358 | (deprecated_target_wait_loop_hook): Deprecate. | |
9359 | * gdbcore.h (deprecated_exec_file_display_hook) | |
9360 | (deprecated_file_changed_hook): Deprecate. | |
9361 | * frame.h (deprecated_selected_frame_level_changed_hook): Deprecate. | |
9362 | * defs.h (deprecated_modify_breakpoint_hook) | |
9363 | (deprecated_command_loop_hook, deprecated_show_load_progress) | |
9364 | (deprecated_print_frame_info_listing_hook) | |
9365 | (deprecated_query_hook, deprecated_warning_hook) | |
9366 | (deprecated_flush_hook, deprecated_create_breakpoint_hook) | |
9367 | (deprecated_delete_breakpoint_hook) | |
9368 | (deprecated_interactive_hook, deprecated_registers_changed_hook) | |
9369 | (deprecated_readline_begin_hook, deprecated_readline_hook) | |
9370 | (deprecated_readline_end_hook, deprecated_register_changed_hook) | |
9371 | (deprecated_memory_changed_hook, deprecated_init_ui_hook) | |
9372 | (deprecated_context_hook, deprecated_target_wait_hook) | |
9373 | (deprecated_attach_hook, deprecated_detach_hook) | |
9374 | (deprecated_call_command_hook, deprecated_set_hook) | |
9375 | (deprecated_error_hook, deprecated_error_begin_hook) | |
9376 | (deprecated_ui_load_progress_hook): Deprecate. | |
9377 | * valops.c, uw-thread.c, utils.c, tui/tui-io.c: Update. | |
9378 | * tui/tui-hooks.c, tracepoint.c, top.c, thread-db.c: Update. | |
9379 | * target.c, symfile.c, stack.c, sol-thread.c, rs6000-nat.c: Update. | |
9380 | * remote.c, remote-mips.c, regcache.c, mi/mi-interp.c: Update. | |
9381 | * main.c, interps.c, infcmd.c, hpux-thread.c, frame.c: Update. | |
9382 | * exec.c, dsrec.c, d10v-tdep.c, corefile.c, complaints.c: Update. | |
9383 | * cli/cli-script.c, cli/cli-setshow.c, breakpoint.c: Update. | |
9384 | * annotate.c, aix-thread.c: Update. | |
9385 | ||
62cf13cc AC |
9386 | 2004-04-21 Andrew Cagney <cagney@redhat.com> |
9387 | ||
b2e31a62 AC |
9388 | * Makefile.in (vaxnbsd-tdep.o): Update dependencies. |
9389 | * vaxnbsd-tdep.c: Include "gdb_string.h". | |
9390 | ||
62cf13cc AC |
9391 | * symfile.c (symbol_file_add_from_memory): #if 0 function. |
9392 | (add_symbol_file_from_memory_command): #if 0 function body, call | |
9393 | error instead. | |
9394 | ||
00e32a35 AC |
9395 | 2004-04-21 Andrew Cagney <cagney@redhat.com> |
9396 | ||
9397 | * gdbcore.h: Update copyright. | |
9398 | (deprecated_add_core_fns): Rename add_core_fns. | |
9399 | * win32-nat.c (_initialize_core_win32): Update. | |
9400 | * sun3-nat.c (_initialize_core_sun3): Update. | |
9401 | * shnbsd-tdep.c (_initialize_shnbsd_tdep): Update. | |
9402 | * rs6000-nat.c (_initialize_core_rs6000): Update. | |
9403 | * ppcnbsd-tdep.c (_initialize_ppcnbsd_tdep): Update. | |
9404 | * nto-tdep.c (_initialize_nto_tdep): Update. | |
9405 | * ns32knbsd-nat.c (_initialize_ns32knbsd_nat): Update. | |
9406 | * mipsnbsd-tdep.c (_initialize_mipsnbsd_tdep): Update. | |
9407 | * mips-nat.c (_initialize_core_mips): Update. | |
9408 | * mips-linux-tdep.c (_initialize_mips_linux_tdep): Update. | |
9409 | * m68knbsd-nat.c (_initialize_m68knbsd_nat): Update. | |
9410 | * m68klinux-nat.c (_initialize_m68k_linux_nat): Update. | |
9411 | * lynx-nat.c (_initialize_core_lynx): Update. | |
9412 | * irix5-nat.c (_initialize_core_irix5): Update. | |
9413 | * i386-interix-nat.c (_initialize_core_interix): Update. | |
9414 | * cris-tdep.c (_initialize_cris_tdep): Update. | |
9415 | * corelow.c (deprecated_add_core_fns): Update. | |
9416 | * core-regset.c (_initialize_core_regset): Update. | |
9417 | * core-aout.c (_initialize_core_aout): Update. | |
9418 | * armnbsd-nat.c (_initialize_arm_netbsd_nat): Update. | |
9419 | * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Update. | |
9420 | * alpha-nat.c (_initialize_core_alpha): Update. | |
9421 | ||
13c7b1ca JB |
9422 | 2004-04-21 Jim Blandy <jimb@redhat.com> |
9423 | ||
9424 | * rs6000-tdep.c (registers_e500, registers_7400): Doc fixes. | |
9425 | ||
7b5a2f43 DJ |
9426 | 2004-04-19 Daniel Jacobowitz <drow@mvista.com> |
9427 | ||
9428 | * dwarf2read.c (dwarf2_tmp_obstack, dwarf2_free_tmp_obstack): | |
9429 | Delete. | |
9430 | (dwarf_alloc_block): Take a CU argument. Use the comp_unit_obstack. | |
9431 | (read_attribute_value): Update calls to dwarf_alloc_block. | |
9432 | (dwarf2_build_psymtabs_hard): Don't initialize or clean up | |
9433 | dwarf2_tmp_obstack. | |
9434 | (psymtab_to_symtab_1): Likewise. Clean up using | |
9435 | free_stack_comp_unit. | |
9436 | (add_to_cu_func_list): Use the comp_unit_obstack. | |
9437 | ||
05cf31d1 JB |
9438 | 2004-04-19 Joel Brobecker <brobecker@gnat.com> |
9439 | ||
9440 | * dwarf2read.c (dwarf2_flag_true_p): New function. | |
9441 | (die_is_declaration): Use the function above. Add some comments. | |
9442 | ||
adf93a2f MK |
9443 | 2004-04-19 Mark Kettenis <kettenis@gnu.org> |
9444 | ||
9445 | * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Specify | |
9446 | architecture when registering sparcnbsd_core_osabi_sniffer. | |
9447 | Adjust comment. | |
9448 | ||
748894bf MK |
9449 | 2004-04-18 Mark Kettenis <kettenis@gnu.org> |
9450 | ||
f622ad42 MK |
9451 | * infcall.c (find_function_addr): Add FUNCTION_START_OFFSET to |
9452 | return value. | |
9453 | ||
c4fc7f1b MK |
9454 | Based on a patch from Brian Ford <ford@vss.fsi.com>: |
9455 | * i386-tdep.c: Correct register numbering scheme comments | |
9456 | throughout. | |
9457 | (i386_stab_reg_to_regnum): Rename to i386_dbx_reg_to_regnum. | |
9458 | (i386_dwarf_reg_to_regnum): Rename to i386_svr4_reg_to_regnum. | |
9459 | (i386_coff_init_abi, i386_elf_init_abi): Accomodate renames above. | |
9460 | (i386_gdb_arch_init): Likewise. | |
9461 | ||
b4ead1bd MK |
9462 | * Makefile.in (ALLDEPFILES): List ppc-sysv-tdep.c, ppcnbsd-nat.c |
9463 | and ppcnbsd-tdep.c instead of ppc-sysv-tdep.o, ppcnbsd-nat.o and | |
9464 | ppcnbsd-tdep.o. | |
9465 | ||
748894bf MK |
9466 | * m68k-tdep.h: Tweak comments. |
9467 | * m68k-tdep.c: Tweak comment. | |
9468 | ||
fdd72f95 RC |
9469 | 2004-04-17 Randolph Chung <tausq@debian.org> |
9470 | ||
9471 | * Makefile.in (hppa-hpux-tdep.o): Add $(hppa_tdep_h). | |
9472 | * hppa-hpux-tdep.c (hppa-tdep.h): Include. | |
9473 | (hppa_hpux_som_init_abi): Set is_elf to 0. | |
9474 | (hppa_hpux_elf_init_abi): Set is_elf to 1. | |
9475 | * hppa-tdep.c (low_text_segment_address): Remove global. | |
9476 | (record_text_segment_lowaddr): Pass in low address as parameter. Use | |
9477 | section offset to calculate segment address. | |
9478 | (internalize_unwinds): Define low_text_segment_address as local and | |
9479 | pass to record_text_segment_lowaddr for ELF targets. | |
9480 | (hppa_gdbarch_init): Zero fill tdep structure. | |
9481 | (hppa_dump_tdep): Print tdep structure. | |
9482 | * hppa-tdep.h (gdbarch_tdep): Add is_elf member to tdep structure. | |
9483 | ||
0f8d9d59 RC |
9484 | 2004-04-17 Randolph Chung <tausq@debian.org> |
9485 | ||
9486 | * hppa-tdep.c (hppa_pseudo_register_read): Define. | |
9487 | (hppa_gdbarch_init): Set pseudo_register_read. | |
9488 | * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Remove. | |
9489 | * regcache.c (supply_register): Remove check for | |
9490 | DEPRECATED_CLEAN_UP_REGISTER_VALUE since we've removed the last user. | |
9491 | ||
7c46b9fb RC |
9492 | 2004-04-17 Randolph Chung <tausq@debian.org> |
9493 | ||
9494 | * Makefile.in (hpread.o, pa64solib.o, somsolib.o): Add $(hppa_tdep_h) | |
9495 | * hppa-tdep.h (INSTRUCTION_SIZE): Move from tm-hppa.h. | |
9496 | (hpread_adjust_stack_address): Move to hpread.c. | |
9497 | * hppa-tdep.h (unwind_table_entry, unwind_stub_types, obj_unwind_info, | |
9498 | obj_private_struct): Move from tm-hppa.h. | |
9499 | * hpread.c (hppa-tdep.h): Include. | |
9500 | (hpread_adjust_stack_address): Move from hppa-tdep.c. | |
9501 | (hpread_read_function_type, hpread_read_doc_function_type) | |
9502 | (hpread_process_one_debug_symbol): Call hpread_adjust_stack_address | |
9503 | directly. | |
9504 | * pa64solib.c (hppa-tdep.h): Include. | |
9505 | * somsolib.c (hppa-tdep.h): Include. | |
9506 | * config/pa/tm-hppa.h (frame_info, frame_saved_regs, value, type, | |
9507 | inferior_status): Remove unused forward declarations. | |
9508 | (INSTRUCTION_SIZE): Move to hppa-tdep.c. | |
9509 | (unwind_table_entry, unwind_stub_types, obj_unwind_info, | |
9510 | obj_private_struct): Move to hppa-tdep.h. | |
9511 | (HPREAD_ADJUST_STACK_ADDRESS): Remove. | |
9512 | ||
8d153463 RC |
9513 | 2004-04-17 Randolph Chung <tausq@debian.org> |
9514 | ||
9515 | * hppa-tdep.c (hppa_reg_struct_has_addr, hppa_skip_prologue) | |
9516 | (hppa_skip_trampoline_code, hppa_in_solib_call_trampoline) | |
9517 | (hppa_in_solib_return_trampoline, hppa_cannot_store_register) | |
9518 | (hppa_smash_text_address, hppa_target_read_pc, hppa_target_write_pc): | |
9519 | Remove forward declaration and make static. | |
9520 | (hppa_reg_struct_has_addr): Remove. | |
9521 | ||
350c2e5b JB |
9522 | 2004-04-16 Joel Brobecker <brobecker@gnat.com> |
9523 | ||
9524 | * observer.sh: Move comments in sed command to first column. | |
9525 | ||
bbde78fa JM |
9526 | 2004-04-16 Jason Molenda (jmolenda@apple.com) |
9527 | ||
9528 | * frame.c: Minor typeo corrections in comments. | |
9529 | ||
e0270fd9 JB |
9530 | 2004-04-16 Joel Brobecker <brobecker@gnat.com> |
9531 | ||
9532 | * observer.c (observer_test_first_notification_function): Update | |
9533 | function profile. | |
9534 | (observer_test_second_notification_function): Likewise. | |
9535 | (observer_test_third_notification_function): Likewise. | |
9536 | ||
3d049254 MK |
9537 | 2004-04-16 Mark Kettenis <kettenis@gnu.org> |
9538 | ||
9539 | From Brian Ford <ford@vss.fsi.com>: | |
9540 | * i386-tdep.c (i386_coff_init_abi): New function. | |
9541 | * i386-tdep.h (i386_coff_init_abi): New prototype. | |
9542 | * i386-cygwin-tdep.c (i386_cygwin_init_abi): Call it. Use correct | |
9543 | register number translation functions for DWARF and DWARF 2. | |
9544 | ||
7867684d JB |
9545 | 2004-04-16 Joel Brobecker <brobecker@gnat.com> |
9546 | ||
9547 | * dwarf2read.c: Back out my previous change, it was incorrect. | |
9548 | ||
72bf9492 DJ |
9549 | 2004-04-16 Daniel Jacobowitz <drow@mvista.com> |
9550 | ||
9551 | * dwarf2read.c: Include "hashtab.h". | |
9552 | (struct dwarf2_cu): Add partial_dies, comp_unit_obstack, | |
9553 | has_namespace_info. | |
9554 | (struct partial_die_info): Add comments. Use bitfields to reduce | |
9555 | memory footprint. Add scope, scope_set, has_specification, | |
9556 | spec_offset, die_parent, die_child, and die_sibling. | |
9557 | (peek_die_abbrev): Add prototype. | |
9558 | (partial_read_comp_unit_head): New function, broken out from | |
9559 | dwarf2_build_psymtabs_hard. | |
9560 | (dwarf2_build_psymtabs_hard): Remove unused variable abbrev_ptr. | |
9561 | Use partial_read_comp_unit_head. Initialize the CU and | |
9562 | comp_unit_obstack. Update calls to read_partial_die and | |
9563 | scan_partial_symbols. Use free_stack_comp_unit and | |
9564 | load_partial_dies. | |
9565 | (scan_partial_symbols): Change PDI to a pointer. Use the child and | |
9566 | sibling pointers to walk partial DIEs. Call fixup_partial_die. | |
9567 | Update calls to helper functions. Remove NAMESPACE argument. | |
9568 | Update comments. | |
9569 | (partial_die_parent_scope, partial_die_full_name): New functions. | |
9570 | (add_partial_symbol): Remove namespace argument. Update call to | |
9571 | pdi_needs_namespace. Use partial_die_full_name. Handle | |
9572 | DW_TAG_namespace. Check has_namespace_info flag. | |
9573 | (pdi_needs_namespace): Remove NAMESPACE argument. Just check the | |
9574 | tag. Handle namespaces. | |
9575 | (add_partial_namespace, add_partial_enumeration): Simplify. | |
9576 | (guess_structure_name): New function, derived from | |
9577 | add_partial_structure. | |
9578 | (add_partial_structure): Remove. | |
9579 | (determine_class_name): Update comment. | |
9580 | (dwarf2_read_abbrevs): Set has_namespace_info flag. | |
9581 | (is_type_tag_for_partial, load_partial_dies): New functions. | |
9582 | (read_partial_die): Pass abbrev and abbrev_len as arguments. | |
9583 | Record specifications instead of following them immediately. | |
9584 | (find_partial_die_in_comp_unit, find_partial_die) | |
9585 | (fixup_partial_die, free_stack_comp_unit) | |
9586 | (hashtab_obstack_allocate, dummy_obstack_deallocate) | |
9587 | (partial_die_hash, partial_die_eq): New functions. | |
9588 | * Makefile.in (hashtab_h): Define. | |
9589 | (dwarf2read.o): Update dependencies. | |
9590 | (observer_inc, observer_h): Move to the correct section. | |
9591 | ||
fdc860a3 JB |
9592 | 2004-04-15 Joel Brobecker <brobecker@gnat.com> |
9593 | ||
9594 | * dwarf2read.c (dwarf2_attribute_true_p): New function. | |
9595 | (die_is_declaration): Use the function above. Add comment. | |
9596 | ||
dc718098 JB |
9597 | 2004-04-15 Joel Brobecker <brobecker@gnat.com> |
9598 | ||
9599 | * dwarf2read.c (read_structure_scope): Identify stub types | |
9600 | using die_is_declaration() only. | |
9601 | ||
8718a420 RM |
9602 | 2004-04-15 Roland McGrath <roland@redhat.com> |
9603 | ||
9604 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Take ABFD as | |
9605 | argument instead of NAME. | |
9606 | (symbol_file_add, reread_separate_symbols): Call symfile_bfd_open | |
9607 | in call to symbol_file_add_with_addrs_or_offsets. | |
9608 | (build_addr_info): New function, helper for ... | |
9609 | (symbol_file_add_from_memory): New function. | |
9610 | (add_symbol_file_from_memory_command): New function using that. | |
9611 | (_initialize_symfile): Register it for add-symbol-file-from-memory. | |
9612 | (pre_add_symbol_hook): Add const to argument type. | |
9613 | * symfile.h (symbol_file_add_from_memory): Declare it. | |
9614 | ||
8b910bab MK |
9615 | 2004-04-15 Mark Kettenis <kettenis@gnu.org> |
9616 | ||
9f076e7a MK |
9617 | * NEWS (New native configurations): Mention OpenBSD/vax. |
9618 | * configure.host: Add vax-*-openbsd*. | |
9619 | * config/vax/obsd.mh: New file. | |
9620 | * config/vax/nm-obsd.h: New file. | |
9621 | ||
8b910bab MK |
9622 | * vax-tdep.c: Include "regset.h". |
9623 | (vax_supply_gregset): New function. | |
9624 | (vax_gregset): New variable. | |
9625 | (vax_regset_from_core_section): New function. | |
9626 | (vax_gdbarch_init): Set regset_from_core_section. | |
9627 | * Makefile.in (vax-tdep.o): Update dependencies. | |
9628 | ||
7a464420 AC |
9629 | 2004-04-15 Andrew Cagney <cagney@redhat.com> |
9630 | ||
9631 | * observer.c (normal_stop_subject, observer_notify_normal_stop) | |
9632 | (observer_normal_stop_notification_stub) | |
9633 | (observer_attach_normal_stop, observer_detach_normal_stop): | |
9634 | Delete, replaced by #include "observer.inc". | |
9635 | * infrun.c (normal_stop): Pass "stop_bpstat" to | |
9636 | observer_notify_normal_stop. | |
9637 | * Makefile.in (observer_inc): Define. | |
9638 | (observer.o): Update dependencies. | |
9639 | (observer.h, observer.inc): New rules. | |
9640 | * observer.h: Delete file. | |
9641 | * observer.sh: New file. | |
9642 | ||
e36ad527 MK |
9643 | 2004-04-15 Mark Kettenis <kettenis@gnu.org> |
9644 | ||
9645 | * vax-tdep.c (vax_frame_cache): Fix typo. | |
9646 | ||
67b441e1 MK |
9647 | 2004-04-14 Mark Kettenis <kettenis@gnu.org> |
9648 | ||
6f606e1c MK |
9649 | * NEWS (New native configurations): Mention NetBSD/vax. |
9650 | * configure.host: Add vax-*-netbsdelf* and vax-*-netbsd*. | |
9651 | * config/vax/nbsdelf.mh: New file. | |
9652 | * config/vax/nbsdaout.mh: New file. | |
9653 | * config/vax/nm-nbsd.h: New file. | |
9654 | * config/vax/nm-nbsdaout.h: New file. | |
9655 | ||
9c5519a5 MK |
9656 | * vaxnbsd-tdep.c: New file. |
9657 | * Makefile.in (vaxnbsd-tdep.o): New dependency. | |
9658 | * configure.tgt: Add vax-*-netbsd* and vax-*-openbsd*. | |
9659 | * config/vax/nbsd.mt: New file. | |
9660 | * config/vax/tm-nbsd.h: New file. | |
9661 | ||
4844a614 MK |
9662 | * Makefile.in (vaxbsd-nat.o): New dependency. |
9663 | ||
67b441e1 MK |
9664 | * vax-tdep.h (vax_regnum): Add VAX_R0_REGNUM and VAX_R1_REGNUM. |
9665 | * vax-tdep.c (vax_store_arguments): Remove struct_return and | |
9666 | struct_addr arguments. Don't push return value address. | |
9667 | (vax_push_dummy_call): Don't pass STRUCT_RETURN and STRUCT_ADDR as | |
9668 | arguments to vax_store_arguments. Store return value address in | |
9669 | R1. | |
9670 | (vax_store_struct_return, vax_extract_return_value) | |
9671 | (vax_store_return_value): Remove functions. | |
9672 | (vax_return_value): New function. | |
9673 | (vax_gdbarch_init): Set return value. Don't set | |
9674 | deprecated_store_struct_return, deprecated_extract_struct_return | |
9675 | and deprecated_store_return_value. | |
9676 | ||
6672f2ae AS |
9677 | 2004-04-14 Andreas Schwab <schwab@suse.de> |
9678 | ||
9679 | * ia64-tdep.c (ia64_libunwind_frame_prev_register): Handle null | |
9680 | value buffer. | |
9681 | * libunwind-frame.c (libunwind_frame_prev_register): Likewise. | |
9682 | ||
7346c184 MK |
9683 | 2004-04-14 Mark Kettenis <kettenis@gnu.org> |
9684 | ||
9685 | * vax-tdep.c (vax_store_arguments, vax_push_dummy_call) | |
9686 | (vax_unwind_dummy_id): New functions. | |
9687 | (vax_push_dummy_frame, vax_pop_frame): Remove functions. | |
9688 | (vax_call_dummy_words, sizeof_vax_call_dummy_words): Remove | |
9689 | variables. | |
9690 | (vax_fix_call_dummy): Remove function. | |
9691 | (vax_gdbarch_init): Set push_dummy_call and unwind_dummy_id. | |
9692 | Don't set deprecated_push_dummy_frame, deprecated_pop_frame, | |
9693 | call_dummy_location, deprecated_call_dummy_words, | |
9694 | deprecated_sizeof_call_dummy_words, | |
9695 | deprecated_call_dummy_breakpoint_offset, | |
9696 | deprecated_use_generic_dummy_frames, deprecated_pc_in_call_dummy, | |
9697 | and deprecated_dummy_write_sp. | |
9698 | ||
58e23df4 DC |
9699 | 2004-04-13 David Carlton <carlton@kealia.com> |
9700 | ||
9701 | * MAINTAINERS: Move myself to "paper trail" section. | |
9702 | ||
5e6b39ff MK |
9703 | 2004-04-12 Mark Kettenis <kettenis@gnu.org> |
9704 | ||
7def7fef MK |
9705 | * vax-tdep.c: Include "frame-base.h", "frame-unwind.h" and |
9706 | "trad-frame.h". | |
9707 | (vax_frame_init_saved_regs): Remove function. | |
9708 | (vax_sigtramp_saved_pc): Remove function. | |
9709 | (vax_frame_saved_pc): Remove function. | |
9710 | (vax_frame_args_address): Remove function. | |
9711 | (vax_frame_num_args): Rewrite. | |
9712 | (vax_frame_chain): Remove function. | |
9713 | (vax_push_dummy_frame): Replace DEPRECATED_FP_REGNUM with | |
9714 | VAX_FP_REGNUM. | |
9715 | (vax_pop_frame): Likewise. | |
9716 | (vax_saved_pc_after_call): Remove function. | |
9717 | (struct vax_frame_cache): New structure. | |
9718 | (vax_frame_cache): New function. | |
9719 | (vax_frame_this_id): New function. | |
9720 | (vax_frame_prev_register): New function. | |
9721 | (vax_frame_unwind): New variable. | |
9722 | (vax_frame_sniffer): New function. | |
9723 | (vax_frame_base_address): New function. | |
9724 | (vax_frame_args_address): New function. | |
9725 | (vax_frame_base): New variable. | |
9726 | (vax_unwind_pc): New function. | |
9727 | (vax_gdbarch_init): Don't set deprecated_init_frame_pc, | |
9728 | deprecated_fp_regnum, deprecated_saved_pc_after_call, | |
9729 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
9730 | deprecated_frame_args_address and | |
9731 | deprecated_frame_init_saved_regs. | |
9732 | * Makefile.in (vax-tdep.o): Update dependencies. | |
9733 | ||
53284fc1 MK |
9734 | * vaxbsd-nat.c: New file. |
9735 | ||
5e6b39ff MK |
9736 | * vax-tdep.h: Update copyright year. Adjust comments. |
9737 | (VAX_REGISTER_SIZE, VAX_REGISTER_BYTES, VAX_MAX_REGISTER_RAW_SIZE, | |
9738 | VAX_MAX_REGISTER_VIRTUAL_SIZE): Remove macros. | |
9739 | (vax_regnum): New enum. Replacing... | |
9740 | (VAX_AP_REGNUM, VAX_FP_REGNUM, VAX_SP_REGNUM, VAX_PC_REGNUM) | |
9741 | (VAX_PS_REGNUM): ... these removed macros. | |
9742 | * vax-tdep.c (vax_register_name): Remove prototype. | |
9743 | (vax_register_name): Reorganize somewhat. Use ARRAY_SIZE. | |
9744 | (vax_register_byte, vax_register_raw_size, | |
9745 | vax_register_virtual_size, vax_register_virtual_type): Remove | |
9746 | functions. | |
9747 | (vax_register_type): New function. | |
9748 | (vax_breakpoint_from_pc): Reorganize. | |
9749 | (vax_gdbarch_init): Set register_type. Don't set | |
9750 | deprecated_register_size, deprecated_register_bytes, | |
9751 | deprecated_register_byte, deprecated_register_raw_size, | |
9752 | deprecated_max_register_raw_size, | |
9753 | deprecated_register_virtual_size, | |
9754 | deprecated_max_register_virtual_size and | |
9755 | deprecated_register_virtual_type. Add comment on stack direction. | |
9756 | ||
e9c71e9f MK |
9757 | 2004-04-11 Mark Kettenis <kettenis@gnu.org> |
9758 | ||
9759 | * amd64-tdep.h (amd64_regnum): Add AMD64_CS_REGNUM, | |
9760 | AMD64_SS_REGNUM, AMD64_DS_REGNUM, AMD64_ES_REGNUM, | |
296bc76f | 9761 | AMD64_FS_REGNUM and AMD64_GS_REGNUM. |
e9c71e9f | 9762 | |
d46f1176 | 9763 | 2004-04-10 Randolph Chung <tausq@debian.org> |
8718a420 | 9764 | |
d46f1176 RC |
9765 | * MAINTAINERS (write after approval): Add myself. |
9766 | ||
a2a84a72 RC |
9767 | 2004-04-07 Randolph Chung <tausq@debian.org> |
9768 | ||
9769 | * hppa-tdep.c (hppa_inner_than): Remove. | |
9770 | (is_pa_2): Remove unused static variable. | |
8718a420 | 9771 | (hppa_gdbarch_init): Use core_addr_greaterthan instead of own version. |
a2a84a72 | 9772 | |
e85c3284 PH |
9773 | 2004-03-10 Paul N. Hilfinger <Hilfinger@gnat.com> |
9774 | ||
9775 | * language.h (language_defn): Add new la_post_parser field. | |
9776 | * parser-defs.h (null_post_parser): New declaration (default for | |
9777 | la_post_parser). | |
8718a420 | 9778 | |
e85c3284 PH |
9779 | * parse.c (parse_exp_1): Move code to parse_exp_in_context and |
9780 | insert call to that function. | |
9781 | (parse_exp_in_context): New function, including code formerly in | |
8718a420 | 9782 | parse_exp_1. Calls language-dependent post-parser after |
e85c3284 PH |
9783 | prefixification. |
9784 | (parse_expression_in_context): New exported function. | |
9785 | (null_post_parser): New definition. | |
9786 | * expression.h (parse_expression_in_context): Add declaration. | |
8718a420 | 9787 | |
e85c3284 PH |
9788 | * p-lang.c (pascal_language_defn): Add trivial post-parser. |
9789 | * c-lang.c (c_language_defn): Ditto. | |
9790 | (cplus_language_defn): Ditto. | |
9791 | (asm_language_defn): Ditto. | |
9792 | (minimal_language_defn): Ditto. | |
9793 | * f-lang.c (f_language_defn): Ditto. | |
9794 | * jv-lang.c (java_language_defn): Ditto. | |
9795 | * language.c (unknown_language_defn): Ditto. | |
9796 | (auto_language_defn): Ditto. | |
9797 | (local_language_defn): Ditto. | |
9798 | * m2-lang.c (m2_language_defn): Ditto. | |
9799 | * scm-lang.c (scm_language_defn): Ditto. | |
9800 | * obj-lang.c (objc_language_defn): Ditto. | |
8718a420 | 9801 | |
d9f8c85b MK |
9802 | 2004-04-10 Mark Kettenis <kettenis@gnu.org> |
9803 | ||
fa34704a MK |
9804 | * amd64nbsd-tdep.c (amd64nbsd_sigcontext_addr): Remove function. |
9805 | (amd64nbsd_mcontext_addr): New function. | |
9806 | (amd64nbsd_init_abi): Initialize TDEP->sigcontext_addr as | |
9807 | amd64nbsd_mcontext_addr. Directly initialize TDEP->sc_reg_offset | |
9808 | with amd64nbsd_r_reg_offset, instead of building it on the fly. | |
9809 | ||
403e1656 MK |
9810 | * corelow.c (core_xfer_partial): Fix coding standards violation. |
9811 | Add support for TARGET_OBJECT_WCOOKIE. | |
9812 | ||
a57e5a95 MK |
9813 | * sparc-linux-tdep.c (sparc32_linux_init_abi): Don't set |
9814 | deprecated_pc_in_sigtramp. | |
9815 | * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Likewise. | |
9816 | * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Likewise. | |
9817 | * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Likewise. | |
9818 | * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Likewise. | |
9819 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Likewise. | |
9820 | * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Likewise. | |
9821 | * sparcobsd-tdep.c (sparc32obsd_init_abi): Likewise. | |
9822 | ||
377d9ebd MK |
9823 | * amd64-linux-tdep.c, amd64nbsd-tdep.c, amd64obsd-tdep.c, |
9824 | i386-linux-tdep.c, i386-tdep.c, i386nbsd-tdep.c, i386obsd-tdep.c: | |
9825 | Fix typo. | |
9826 | ||
f0ef85a5 MK |
9827 | * amd64-tdep.c (amd64_supply_fxsave): Only fiddle with |
9828 | I387_FISEG_REGNUM and I387_FOSEG_REGNUM in 64-bit mode. | |
9829 | (amd64_collect_fxsave): Likewise. | |
9830 | ||
d9f8c85b MK |
9831 | * i386-sol2-tdep.c: Include "gdb_string.h". |
9832 | (i386_sol2_sigtramp_p): Recognize signal trampoline based on its | |
9833 | name. | |
9834 | * Makefile.in (i386-sol2-tdep.o): Update dependencies. | |
9835 | ||
75f501b5 MK |
9836 | 2004-04-10 Mark Kettenis <kettenis@gnu.org> |
9837 | ||
9838 | * i386-sol2-tdep.c: Include "solib-svr4.h". | |
9839 | (i386_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets. | |
9840 | * Makefile.in (i386-sol2-tdep.o): Update dependencies. | |
9841 | * config/i386/tm-i386sol2.h: Include :solib.h". | |
9842 | * config/i386/i386sol2.mh (NATDEPFILES): Remove solib.o, | |
9843 | solib-svr4.o and solib-legacy.o. | |
9844 | * config/i386/i386sol2.mt (TDEPFILES): Add solib.o and | |
9845 | solib-svr4.o. | |
9846 | ||
b31bc724 MK |
9847 | 2004-04-09 Mark Kettenis <kettenis@gnu.org> |
9848 | ||
18bbbd9e MK |
9849 | * amd64-linux-nat.c (fetch_inferior_registers): Correctly check |
9850 | whether a register is supplied by PTRACE_GETFPREGS. | |
9851 | (store_inferior_registers): Likewise. | |
9852 | * amd64bsd-nat.c (fetch_inferior_registers): Correctly check | |
9853 | whether a register is supplied by PT_GETFPREGS. | |
9854 | (store_inferior_registers): Likewise. | |
9855 | ||
3c30bf1b MK |
9856 | * config/i386/linux.mt (TDEPFILES): Remove solib-legacy.o. |
9857 | * config/i386/linux64.mt (TDEPFILES): Likewise. | |
9858 | ||
a4194092 MK |
9859 | * i386-linux-nat.c: Update copyrigth year. Tweak comment. |
9860 | ||
911bc6ee MK |
9861 | * amd64-tdep.c (amd64_sigtramp_frame_sniffer): Rewrite to use new |
9862 | sigtramp_p member of `struct gdbarch_tdep'. Also check whether | |
9863 | the program counter is in the range specified by `struct | |
9864 | gdbarch_tdep'. | |
9865 | * amd64-linux-tdep.c: Include "symtab.h". | |
9866 | (amd64_linux_pc_in_sigtramp): Remove function. | |
9867 | (amd64_linux_sigtramp_p): New function. | |
9868 | (amd64_linux_init_abi): Initialize TDEP->sigtramp_p. Don't set | |
9869 | deprecated_pc_in_sigtramp. | |
9870 | * amd64nbsd-tdep.c: Include "symtab.h". | |
9871 | (amd64nbsd_sigtramp_p): New function. | |
9872 | (amd64nbsd_init_abi): Initialize TDEP->sigtramp_p. Don't set | |
9873 | deprecated_pc_in_sigtramp. | |
9874 | * amd64obsd-tdep.c: Include "symtab.h" and "objfiles.h". Add a | |
9875 | few comments. | |
9876 | (amd64obsd_pc_in_sigtramp): Remove function. | |
9877 | (amd64obsd_sigtramp_p): New function. | |
9878 | (amd64obsd_init_abi): Initialize TDEP->sigtramp_p. Don't set | |
9879 | deprecated_pc_in_sigtramp. | |
9880 | * i386-tdep.h (struct gdbarch_tdep): Add sigtramp_p member. | |
9881 | (i386bsd_pc_ins_sigtramp): Remove prototype. | |
9882 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Remove prototypes. | |
9883 | * i386-tdep.c (i386_sigtramp_frame_sniffer): Rewrite to use new | |
9884 | sigtramp_p member of `struct gdbarch_tdep'. Also check whether | |
9885 | the program counter is in the range specified by `struct | |
9886 | gdbarch_tdep'. | |
9887 | (i386_pc_in_sigtramp, i386_svr4_pc_in_sigtramp): Remove functions. | |
9888 | (i386_sigtramp_p, i386_svr4_sigtramp_p): New functions. | |
9889 | (i386_go32_pc_in_sigtramp): Remove function. | |
9890 | (i386_svr4_init_abi): Don't set deprecated_pc_in_sigtramp. | |
9891 | Initialize TDEP->sigtramp_p. | |
9892 | (i386_go32_init_abi): Initialize TDEP->sigtramp_p to NULL. | |
9893 | (i386_gdbarch_init): Initialize TDEP->sigtramp_p. Don't set | |
9894 | deprecated_pc_in_sigtramp. | |
9895 | * i386-linux-tdep.c: Adjust comments. | |
9896 | (i386_linux_pc_in_sigtramp): Remove function. | |
9897 | (i386_linux_sigtramp_p): New function. | |
9898 | (i386_linux_init_abi): Initialize TDEP->sigtramp_p. Don't set | |
9899 | deprecated_pc_in_sigtramp. | |
9900 | * i386-nto-tdep.c: Update copyright year. | |
9901 | (i386nto_pc_in_sigtramp): Remove function. | |
9902 | (i386nto_sigtramp_p): New function. | |
9903 | (i386nto_sigcontext_addr): Use I386_ESP_REGNUM instead of | |
9904 | SP_REGNUM. | |
9905 | (i386nto_init_abi): Initialize TDEP->sigtramp_p. Don't set | |
9906 | deprecated_pc_in_sigtramp. | |
9907 | * i386-sol2-tdep.c: Update copyright year. | |
9908 | (i386_sol2_pc_in_sigtramp): Remove function. | |
9909 | (i386_sol2_sigtramp_p): New function. | |
9910 | (i386_sol2_init_abi): Initialize TDEP->sigtramp_p. Don't set | |
9911 | deprecated_pc_in_sigtramp. | |
9912 | * i386bsd-tdep.c (i386bsd_pc_in_sigtramp): Remove function. | |
9913 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Remove functions. | |
9914 | (i386bsd_init_abi): Don't set deprecated_pc_in_sigtramp, | |
9915 | deprecated_sigtramp_start and deprecated_sigtramp_end. | |
9916 | * i386nbsd-tdep.c: Include "frame.h" and "symtab.h". | |
9917 | (i386nbsd_pc_in_sigtramp): Remove function. | |
9918 | (i386nbsd_sigtramp_p): New function. | |
9919 | (i386nbsd_init_abi): Don't set deprecated_pc_in_sigtramp, | |
9920 | deprecated_sigtramp_start, deprecated_sigtramp_end. Initialize | |
9921 | TDEP->sigtramp_start, TDEP->sigtramp_end and TDEP->sigtramp_p. | |
9922 | * i386obsd-tdep.c: Include "frame.h", "symtab.h" and "objfiles.h". | |
9923 | (i386obsd_pc_in_sigtramp): Remove function. | |
9924 | (i386obsd_sigtramp_p): New function. | |
9925 | (i386obsd_sigtramp_start, i386obsd_sigtramp_end): Remove | |
9926 | functions. | |
9927 | (i386bsd_init_abi): Don't set deprecated_pc_in_sigtramp, | |
9928 | deprecated_sigtramp_start, deprecated_sigtramp_end. Initialize | |
9929 | TDEP->sigtramp_p. | |
9930 | * Makefile.in (amd64-linux-tdep.o, amd64nbsd-tdep.o, | |
9931 | amd64obsd-tdep.o, i386nbsd-tdep.o, i386obsd-tdep.o): Update | |
9932 | dependencies. | |
9933 | ||
e083e6ec MK |
9934 | * config/i386/i386aout.mt: Remove file. |
9935 | ||
bd153b94 MK |
9936 | * configure.tgt: Remove i[34567]86-*-go32*, |
9937 | i[34567]86-*-msdosdjgpp*, i[34567]86-*-sco*, i[34567]86-*-sysv* | |
9938 | and i[34567]86-*-isc*. Set gdb_target to i386 for | |
9939 | i[34567]86-*-netware* and i[34567]86-*-*. | |
9940 | * config/i386/i386.mt: New file. | |
9941 | * config/i386/embed.mt: Remove file. | |
9942 | * config/i386/go32.mt: Remove file. | |
9943 | * config/i386/i386nw.mt: Remove file. | |
9944 | * config/i386/i386v.mt: Remove file. | |
9945 | * config/i386/tm-go32.h: Remove file. | |
9946 | ||
4a1bcc8c MK |
9947 | * tui/tui-hooks.c: Include "readline/readline.h" after |
9948 | "gdb_curses.h" instead of before. | |
9949 | * tui/tui-io.c: Likewise. | |
9950 | ||
f9a79064 MK |
9951 | * tui/tui.c: Fix typo in comment. |
9952 | ||
b31bc724 MK |
9953 | * sparc64-tdep.c (sparc_address_from_register): Remove function. |
9954 | ||
f83f82bc AC |
9955 | 2004-04-08 Andrew Cagney <cagney@redhat.com> |
9956 | ||
9957 | * breakpoint.h (deprecated_exception_catchpoints_are_fragile) | |
9958 | (deprecated_exception_support_initialized): Declare. | |
8718a420 | 9959 | * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support) |
f83f82bc AC |
9960 | (initialize_hp_cxx_exception_support) |
9961 | (child_enable_exception_callback): Update. | |
9962 | * breakpoint.c (deprecated_exception_catchpoints_are_fragile) | |
9963 | (deprecated_exception_support_initialized): Rename | |
9964 | deprecated_exception_catchpoints_are_fragile and | |
9965 | deprecated_exception_support_initialized. | |
9966 | (breakpoint_init_inferior, breakpoint_init_inferior): Update. | |
9967 | ||
9968 | * symtab.c (deprecated_hp_som_som_object_present): Rename | |
9969 | hp_som_som_object_present. | |
9970 | * symtab.h (deprecated_hp_som_som_object_present): Declare. | |
9971 | * symfile.c (hp_som_som_object_present, RESET_HP_UX_GLOBALS): | |
9972 | Update. Delete extern declaration. | |
9973 | * valops.c (hp_som_som_object_present): Ditto. | |
8718a420 | 9974 | * parse.c (deprecated_hp_som_som_object_present) |
f83f82bc AC |
9975 | (parse_nested_classes_for_hpacc): Ditto. |
9976 | * hpread.c (hp_som_som_object_present, hpread_expand_symtab): Ditto. | |
8718a420 | 9977 | * hppa-hpux-tdep.c (hp_som_som_object_present) |
f83f82bc AC |
9978 | (initialize_hp_cxx_exception_support): Ditto. |
9979 | * eval.c (hp_som_som_object_present, evaluate_subexp_standard): Ditto. | |
8718a420 | 9980 | * cp-valprint.c (hp_som_som_object_present) |
f83f82bc | 9981 | (cp_print_class_method): Ditto. |
8718a420 | 9982 | * c-typeprint.c (hp_som_som_object_present): |
f83f82bc AC |
9983 | (c_type_print_base): Ditto. |
9984 | * c-exp.y (hp_som_som_object_present): Ditto. | |
9985 | ||
fb2be677 AC |
9986 | 2004-04-08 Andrew Cagney <cagney@redhat.com> |
9987 | ||
9988 | * frame-unwind.c (struct frame_unwind_table, frame_unwind_init) | |
9989 | (frame_unwind_prepend_unwinder, frame_unwind_append_sniffer) | |
9990 | (frame_unwind_find_by_frame): Re-implement the unwind code so | |
9991 | that it can both prepend and append sniffers. Replace | |
9992 | frame_unwind_register_unwinder with frame_unwind_prepend_unwinder. | |
9993 | * tramp-frame.c (tramp_frame_append): Use | |
9994 | frame_unwind_prepend_unwinder. | |
9995 | * frame-unwind.h (frame_unwind_prepend_unwinder): Replace | |
9996 | frame_unwind_register_unwinder. | |
9997 | * tramp-frame.h (tramp_frame_prepend_unwinder): Rename | |
9998 | tramp_frame_append. | |
9999 | * tramp-frame.c (tramp_frame_prepend_unwinder): Update. | |
8718a420 | 10000 | * mips-linux-tdep.c (mips_linux_init_abi, mips_linux_init_abi) |
fb2be677 AC |
10001 | (mips_linux_init_abi): Update. |
10002 | ||
67faf007 KB |
10003 | 2004-04-08 Kevin Buettner <kevinb@redhat.com> |
10004 | ||
10005 | * ppc-linux-tdep.c (ELF_NREG, ELF_NFPREG, ELF_NVRREG) | |
10006 | (ELF_FPREGSET_SIZE): Delete constants formerly used in core | |
10007 | file support. | |
10008 | ||
8973ff21 KB |
10009 | 2004-04-07 Kevin Buettner <kevinb@redhat.com> |
10010 | ||
10011 | * ia64-tdep.c (elf.h): Don't include. | |
10012 | (elf/ia64.h) [HAVE_LIBUNWIND_IA64_H]: Include. | |
10013 | ||
4a0e2f88 JM |
10014 | 2004-04-07 Jason Molenda (jmolenda@apple.com) |
10015 | ||
10016 | * frame.h: Typeo corrections in comments. | |
10017 | ||
9872ad24 JB |
10018 | 2004-04-07 Jim Blandy <jimb@redhat.com> |
10019 | ||
10020 | * i386-tdep.c (i386_stab_reg_to_regnum): Correct numbering for | |
10021 | %esp and %ebp | |
10022 | ||
70b216c8 MK |
10023 | 2004-04-07 Mark Kettenis <kettenis@gnu.org> |
10024 | ||
11d5789c MK |
10025 | * config/sparc/linux.mt (TDEPFILES): Remove solib-legacy.o. |
10026 | * config/sparc/linux64.mt (TDEPFILES): Likewise. | |
10027 | * config/sparc/sol2.mt (TDEPFILES): Add solib.o and solib-svr4.o. | |
10028 | * config/sparc/sol2.mh (NATDEPFILES): Remove solib.o, solib-svr4.o | |
10029 | and solib-legacy.o. | |
10030 | * config/sparc/sol2-64.mt (TDEPFILES): Add solib.o and | |
10031 | solib-svr4.o. | |
10032 | * config/sparc/tm-sol2.h: Update copyright year. Include | |
10033 | "solib.h". | |
10034 | ||
70b216c8 MK |
10035 | * sparc-sol2-tdep.c: Update copyright year. Include |
10036 | "solib-svr4.h". | |
10037 | (sparc32_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets. | |
10038 | * sparc64-sol2-tdep.c: Include "solib-svr4.h". | |
10039 | (sparc64_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets. | |
096f864c | 10040 | * Makefile.in (sparc-sol2-tdep.o, sparc64-sol2-tdep.o): Update |
70b216c8 MK |
10041 | dependencies. |
10042 | ||
6339dc9e AC |
10043 | 2004-04-06 Andrew Cagney <cagney@redhat.com> |
10044 | ||
10045 | * infttrace.c: Include "infttrace.h". | |
10046 | * infttrace.h: Include "target.h". | |
10047 | * Makefile.in (infttrace_h): Update. | |
10048 | (infttrace.o): Update. | |
8718a420 | 10049 | |
93449403 AC |
10050 | 2004-04-06 Andrew Cagney <cagney@redhat.com> |
10051 | ||
6d518969 AC |
10052 | * hppah-nat.c (hpux_has_forked, hpux_has_vforked) |
10053 | (hpux_has_execd, hpux_has_syscall_event): Include "infttrace.h", | |
10054 | move extern declarations from here ... | |
10055 | * infttrace.h: ... to here. | |
10056 | * Makefile.in (hppah-nat.o): Update dependencies. | |
10057 | ||
85f4f2d8 AC |
10058 | * hppa-tdep.c (hppa_breakpoint_from_pc): Make static. |
10059 | (hppa_gdbarch_init): Set gdbarch_breakpoint_from_pc | |
8718a420 | 10060 | * config/pa/tm-hppa.h (BREAKPOINT_FROM_PC, BREAKPOINT32): |
85f4f2d8 AC |
10061 | (hppa_breakpoint_from_pc): Delete. |
10062 | ||
93449403 AC |
10063 | * MAINTAINERS: Mark hppa-elf as buildable with -Werror. |
10064 | ||
71456ec6 AC |
10065 | 2004-04-05 Andrew Cagney <cagney@redhat.com> |
10066 | ||
10067 | * hppa-tdep.c: Do not include <sys/types.h>, <sys/param.h>, | |
10068 | <signal.h>, <sys/ptrace.h>, #include "a.out.encap.h", | |
10069 | <sys/file.h>. | |
8718a420 | 10070 | |
4c02c60c AC |
10071 | 2004-04-06 Randolph Chung <tausq@debian.org> |
10072 | ||
10073 | Committed by Andrew Cagney (mechanical change). | |
10074 | * hppa-tdep.c: (args_for_find_stub, hp_som_som_object_present, | |
10075 | exception_catchpoints_are_fragile, find_stub_with_shl_get, | |
10076 | cover_find_stub_with_shl_get, initialize_hp_cxx_exception_support, | |
10077 | child_enable_exception_callback, current_ex_event, | |
10078 | null_symtab_and_line, child_get_current_exception_event, | |
10079 | HP_ACC_EH_notify_hook, HP_ACC_EH_set_hook_value, | |
10080 | HP_ACC_EH_notify_callback, HP_ACC_EH_break, HP_ACC_EH_catch_throw, | |
10081 | HP_ACC_EH_catch_catch, __eh_notification, hp_cxx_exception_support, | |
10082 | hp_cxx_exception_support_initialized, eh_notify_hook_addr, | |
10083 | eh_notify_callback_addr, eh_break_addr, eh_catch_catch_addr, | |
10084 | eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior): | |
10085 | Move hpux-specific definitions ... | |
10086 | * hppa-hpux-tdep.c: ... to here. | |
10087 | ||
3a515653 AC |
10088 | 2004-04-05 Andrew Cagney <cagney@redhat.com> |
10089 | ||
10090 | * hppa-tdep.c (hppa_frame_cache): Pass the frame's func to | |
10091 | skip_prologue_using_sal. | |
10092 | ||
c1730d02 AC |
10093 | 2004-04-05 Andrew Cagney <cagney@redhat.com> |
10094 | ||
10095 | * config/i386/tm-i386.h: Delete file. | |
10096 | * config/i386/tm-vxworks.h: Update copyright, do not include | |
10097 | "tm-i386.h". | |
10098 | * config/i386/tm-nto.h, config/i386/tm-linux.h: Ditto. | |
10099 | * config/i386/tm-i386sol2.h, config/i386/tm-i386lynx.h: Ditto. | |
10100 | * config/i386/tm-go32.h, config/i386/tm-cygwin.h: Ditto. | |
10101 | * config/i386/ncr3000.mt (TM_FILE): Delete. | |
10102 | * config/i386/interix.mt (TM_FILE): Delete. | |
10103 | * config/i386/i386v.mt (TM_FILE): Delete. | |
10104 | * config/i386/i386nw.mt (TM_FILE): Delete. | |
10105 | * config/i386/i386gnu.mt (TM_FILE): Delete. | |
10106 | * config/i386/i386aout.mt (TM_FILE): Delete. | |
10107 | * config/i386/embed.mt (TM_FILE): Delete. | |
10108 | ||
8b67aa36 KB |
10109 | 2004-04-05 Kevin Buettner <kevinb@redhat.com> |
10110 | ||
10111 | * frv-tdep.h (fsr0_regnum, acc0_regnum, acc7_regnum, accg0123_regnum) | |
10112 | (accg4567_regnum, msr0_regnum, msr1_regnum, gner0_regnum) | |
10113 | (gner1_regnum, fner0_regnum, fner1_regnum, accg0_regnum) | |
10114 | (accg7_regnum): New constants. | |
10115 | (last_spr_regnum, last_pseudo_regnum): Update. | |
c2f59a1a KB |
10116 | * frv-tdep.c (new_variant): Initialize names for fsr0, acc0-acc7, |
10117 | accg0-accg7, msr0, msr1, gner0, gner1, fner0, and fner1. | |
8b67aa36 KB |
10118 | (frv_pseudo_register_read, frv_pseudo_register_write): Add support |
10119 | for accg registers. | |
10120 | (frv_register_sim_regno): Update spr_map[]. | |
10121 | ||
3c7012f5 AC |
10122 | 2004-04-04 Andrew Cagney <cagney@redhat.com> |
10123 | ||
10124 | * config/mips/xm-riscos.h: Delete. | |
10125 | * config/mips/xm-mipsv4.h, config/mips/xm-mips.h: Delete. | |
10126 | * config/mips/tm-mipsv4.h, config/mips/riscos.mh: Delete. | |
10127 | * config/mips/nm-riscos.h, config/mips/nm-news-mips.h: Delete. | |
10128 | * config/mips/nm-mips.h, config/mips/news-mips.mh: Delete. | |
10129 | * config/mips/news-mips.mh, config/m68k/tm-m68kv4.h: Delete. | |
10130 | * config/mips/decstation.mh, config/mips/littlemips.mh: Delete. | |
10131 | * config/mips/mipsv4.mt, config/m68k/tm-sun3.h: Delete. | |
10132 | * config/m68k/xm-sun3os4.h, config/m68k/xm-sun3.h: Delete. | |
10133 | * config/m68k/xm-sun2.h, config/m68k/xm-m68kv4.h: Delete. | |
10134 | * config/m68k/xm-dpx2.h, config/m68k/xm-delta68.h: Delete. | |
10135 | * config/m68k/xm-3b1.h, config/m68k/tm-sun3os4.h: Delete. | |
10136 | * config/m68k/tm-m68klynx.h, config/m68k/tm-dpx2.h: Delete. | |
10137 | * config/m68k/tm-delta68.h, config/m68k/tm-3b1.h: Delete. | |
10138 | * config/m68k/sun3os4.mt, config/m68k/nm-sysv4.h: Delete. | |
10139 | * config/m68k/nm-sun3.h, config/m68k/sun3os4.mh: Delete. | |
10140 | * config/m68k/sun2os3.mh, config/m68k/nm-sun2.h: Delete. | |
10141 | * config/m68k/nm-m68klynx.h, config/m68k/sun3os3.mt: Delete. | |
10142 | * config/m68k/nm-dpx2.h, config/m68k/sun2os3.mt: Delete. | |
10143 | * config/m68k/dpx2.mh, config/m68k/sun3os3.mh: Delete. | |
10144 | * config/m68k/sun2os4.mh, config/m68k/nm-delta68.h: Delete. | |
10145 | * config/m68k/m68kv4.mt, config/m68k/m68klynx.mt: Delete. | |
10146 | * config/m68k/3b1.mt, config/m68k/m68klynx.mh: Delete. | |
10147 | * config/m68k/m68kv4.mh, config/m68k/sun2os4.mt: Delete. | |
10148 | * config/m68k/tm-sun2os4.h, config/m68k/3b1.mh: Delete. | |
10149 | * config/m68k/dpx2.mt, config/m68k/delta68.mt: Delete. | |
10150 | * config/m68k/tm-sun2.h, config/m68k/delta68.mh: Delete. | |
8718a420 | 10151 | |
3c7012f5 AC |
10152 | * configure.tgt: Remove m68000-*-sunos3*, m68000-*-sunos4*, |
10153 | m68*-bull-sysv*, m68*-att-*, m68*-motorola-*, m68*-*-lynxos*, | |
10154 | m68*-*-sunos3*, m68*-*-sunos4*, m68*-*-sysv4*, mips*-*-sysv4*. | |
10155 | * configure.host: Remove m680[01]0-sun-sunos3*, | |
10156 | m680[01]0-sun-sunos4*, m68*-att-*, m68*-bull*-sysv*, | |
10157 | m68*-*-lynxos*, m68*-*-sysv4*, m68*-motorola-*, m68*-sun-sunos3*, | |
10158 | m68*-sun-sunos4*, m68*-sun-*, mips-dec-*, mips-little-*, | |
10159 | mips-sony-*, mips-*-mach3*, mips-*-sysv4*, mips-*-sysv*, | |
10160 | mips-*-riscos*. | |
10161 | * NEWS: Mention removed systems. | |
10162 | ||
99d16a21 AC |
10163 | 2004-04-04 Andrew Cagney <cagney@redhat.com> |
10164 | ||
10165 | GDB 6.1 release created from 6.1 branch. | |
10166 | ||
6cdf9d98 AC |
10167 | 2004-04-04 Andrew Cagney <cagney@redhat.com> |
10168 | ||
98d346c3 AC |
10169 | * gnu-nat.c (gnu_wait): Use memcpy instead of bcopy. |
10170 | * remote-vxmips.c (vx_read_register, vx_write_register): Ditto. | |
10171 | * remote-vx68.c (vx_read_register, vx_write_register): Ditto. | |
10172 | ||
6cdf9d98 AC |
10173 | * config/vax/xm-vax.h (FAULT_CODE_ORIGIN, INIT_STACK): Delete. |
10174 | * config/alpha/xm-alphaosf.h (NO_SIGINTERRUPT): Delete. | |
10175 | * config/alpha/xm-alphalinux.h (NO_SIGINTERRUPT): Delete. | |
10176 | ||
859a326d JB |
10177 | 2004-04-03 Jim Blandy <jimb@redhat.com> |
10178 | ||
10179 | * MAINTAINERS: Chris Faylor has changed employers; add him to | |
10180 | "paper trail" section, and update his E-mail address. | |
10181 | ||
b87178c3 AC |
10182 | 2004-04-03 Andrew Cagney <cagney@redhat.com> |
10183 | ||
4ea2acf0 AC |
10184 | * frame-unwind.c (frame_unwind_find_by_frame): Delete check for |
10185 | generic dummy frames. | |
10186 | * dummy-frame.c: Update copyright. | |
10187 | (dummy_frame_sniffer): Delete check for generic dummy frames. | |
10188 | ||
d0bd2d18 | 10189 | * config/pa/tm-hppa.h (REG_PARM_STACK_SPACE): Delete. |
8718a420 | 10190 | * config/pa/tm-hppa64.h (PA20W_CALLING_CONVENTIONS) |
d0bd2d18 AC |
10191 | (REG_PARM_STACK_SPACE): Delete. |
10192 | * hppa-tdep.c (hppa64_push_dummy_call, hppa32_push_dummy_call): | |
10193 | Inline reference to REG_PARM_STACK_SPACE. | |
10194 | ||
b87178c3 AC |
10195 | * config/pa/tm-hppah.h (FRAME_SAVED_PC_IN_SIGTRAMP) |
10196 | (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP) | |
10197 | (hppa32_hpux_frame_find_saved_regs_in_sigtramp) | |
10198 | (FRAME_BASE_BEFORE_SIGTRAMP) | |
10199 | (hppa32_hpux_frame_base_before_sigtramp) | |
10200 | (hppa32_hpux_frame_saved_pc_in_sigtramp): Delete. | |
10201 | * config/pa/tm-hppa64.h (hppa64_hpux_frame_saved_pc_in_sigtramp) | |
10202 | (hppa64_hpux_frame_find_saved_regs_in_sigtramp) | |
10203 | (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP) | |
10204 | (FRAME_BASE_BEFORE_SIGTRAMP) | |
10205 | (hppa64_hpux_frame_base_before_sigtramp) | |
10206 | (FRAME_SAVED_PC_IN_SIGTRAMP): Delete. | |
10207 | ||
43e2e1a0 AC |
10208 | 2004-04-03 Andrew Cagney <cagney@redhat.com> |
10209 | ||
10210 | * PROBLEMS: Mention that GDB doesn't build on HP/UX 11.00. | |
10211 | ||
ddc135a4 AC |
10212 | 2004-04-02 Andrew Cagney <cagney@redhat.com> |
10213 | ||
10214 | * sh64-tdep.c (sh64_init_extra_frame_info): Replace | |
10215 | DEPRECATED_CALL_DUMMY_LENGTH with 0, simplify. | |
10216 | * dummy-frame.h: Delete out-of-date comments. | |
10217 | * gdbarch.sh (DEPRECATED_CALL_DUMMY_LENGTH): Delete. | |
10218 | * gdbarch.h, gdbarch.c: Re-generate. | |
10219 | ||
d15bfd3a | 10220 | 2004-04-02 Joel Brobecker <brobecker@gnat.com> |
8718a420 | 10221 | |
d15bfd3a AC |
10222 | Committed by Andrew Cagney <cagney@redhat.com>. |
10223 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Do not take | |
10224 | into account an instruction saving a register if we have already | |
10225 | seen an earlier instruction saving that same register. | |
10226 | ||
f04ceafa AC |
10227 | 2004-04-02 Andrew Cagney <cagney@redhat.com> |
10228 | ||
08be3abd AC |
10229 | * gdbarch.sh (DEPRECATED_INIT_FRAME_PC_FIRST): Delete. |
10230 | * gdbarch.h, gdbarch.c: Re-generate. | |
10231 | * frame.c (legacy_get_prev_frame): Delete references to | |
10232 | DEPRECATED_INIT_FRAME_PC_FIRST. | |
10233 | ||
f04ceafa AC |
10234 | * infrun.c (pc_in_sigtramp): Delete function. |
10235 | (check_sigtramp2): Inline call to pc_in_sigtramp, use | |
10236 | get_frame_type. | |
10237 | ||
08e69816 AC |
10238 | 2004-04-02 Andrew Cagney <cagney@redhat.com> |
10239 | ||
10240 | * infrun.c (handle_step_into_function): Delete code conditional on | |
10241 | legacy_frame_p. | |
10242 | (handle_inferior_event, step_over_function): Ditto. | |
10243 | ||
adb54772 AC |
10244 | 2004-04-02 Andrew Cagney <cagney@redhat.com> |
10245 | ||
10246 | * frame.c (get_prev_frame_1): Exclude signal trampolines from the | |
10247 | "previous frame inner to this frame" test. | |
10248 | ||
304396fb AC |
10249 | 2004-04-02 Andrew Cagney <cagney@redhat.com> |
10250 | ||
10251 | * frame.c (safe_frame_unwind_memory): New function. | |
10252 | * frame.h (safe_frame_unwind_memory): Declare. Update description | |
10253 | of /safe_/ methods. | |
10254 | * tramp-frame.c (tramp_frame_start): Re-order parmeters, add | |
10255 | "next_frame". Use safe_frame_unwind_memory. | |
10256 | (tramp_frame_sniffer): Update call to tramp_frame_start. | |
10257 | ||
6502dd73 DJ |
10258 | 2004-04-01 Daniel Jacobowitz <drow@mvista.com> |
10259 | ||
10260 | * dwarf2read.c (dwarf2_objfile_data_key): New. | |
10261 | (struct dwarf2_per_objfile, dwarf2_per_objfile): New. | |
10262 | (dwarf_info_size, dwarf_abbrev_size, dwarf_line_size) | |
10263 | (dwarf_pubnames_size, dwarf_aranges_size, dwarf_loc_size) | |
10264 | (dwarf_macinfo_size, dwarf_str_size, dwarf_ranges_size) | |
10265 | (dwarf_frame_size, dwarf_eh_frame_size, dwarf_info_buffer) | |
10266 | (dwarf_abbrev_buffer, dwarf_line_buffer, dwarf_str_buffer) | |
10267 | (dwarf_macinfo_buffer, dwarf_ranges_buffer, dwarf_loc_buffer): | |
10268 | Remove variables. | |
10269 | (struct dwarf2_pinfo): Remove per-objfile members. Update comments. | |
10270 | (DWARF_ABBREV_SIZE, DWARF_LINE_SIZE) | |
10271 | (DWARF_LOC_SIZE, DWARF_MACINFO_SIZE, DWARF_STR_SIZE) | |
10272 | (DWARF_RANGES_SIZE, DWARF_INFO_BUFFER) | |
10273 | (DWARF_ABBREV_BUFFER, DWARF_LINE_BUFFER, DWARF_STR_BUFFER) | |
10274 | (DWARF_MACINFO_BUFFER, DWARF_RANGES_BUFFER, DWARF_LOC_BUFFER): | |
10275 | Remove macros. | |
10276 | (dwarf2_has_info): Take an objfile argument. Allocate per-objfile | |
10277 | data. | |
10278 | (dwarf2_locate_sections, dwarf2_build_psymtabs) | |
10279 | (dwarf2_build_psymtabs_easy, dwarf2_build_psymtabs_hard) | |
10280 | (skip_one_die, dwarf2_get_pc_bounds, dwarf2_read_abbrevs) | |
10281 | (read_partial_die, read_full_die, read_indirect_string) | |
10282 | (dwarf_decode_line_header, dwarf_decode_macros) | |
10283 | (dwarf2_symbol_mark_computed): Remove use of removed macros. | |
10284 | Update uses of removed variables. | |
10285 | (psymtab_to_symtab_1): Restore per-objfile data pointer. Remove use | |
10286 | of removed macros. | |
10287 | (_initialize_dwarf2_read): New function. | |
10288 | * symfile.h (dwarf2_has_info): Update prototype. | |
10289 | * coffread.c (coff_symfile_read): Update call to dwarf2_has_info. | |
10290 | * elfread.c (elf_symfile_read): Likewise. | |
10291 | ||
408752b0 JB |
10292 | 2004-04-01 Jim Blandy <jimb@redhat.com> |
10293 | ||
9f744501 JB |
10294 | * rs6000-tdep.c (rs6000_dwarf2_stab_reg_to_regnum): New, unified |
10295 | function for register numbers on all the rs6000-derived targets. | |
10296 | (rs6000_gdbarch_init): Don't register a separate | |
10297 | gdbarch_dwarf2_reg_to_regnum function for the E500. Use | |
10298 | rs6000_dwarf2_stab_reg_to_regnum for both Dwarf 2 and stabs on all | |
10299 | variants. | |
10300 | ||
408752b0 JB |
10301 | * i386-tdep.c: Add FIXME regarding STABS vs. Dwarf 2 register |
10302 | numbering. | |
10303 | ||
2de41bce PH |
10304 | 2004-04-01 Paul N. Hilfinger <Hilfinger@gnat.com> |
10305 | ||
10306 | * valarith.c: Update copyright notice. | |
10307 | (value_add): Handle range types. | |
10308 | (value_sub): Ditto. | |
10309 | (value_equal): Ditto. | |
10310 | (value_less): Ditto. | |
10311 | (value_neg): Ditto. | |
10312 | (value_complement): Ditto. | |
8718a420 | 10313 | (value_binop): Simplify slightly by using is_integral_type and |
2de41bce | 10314 | eliminiating unnecessary COERCE_ENUMs. |
8718a420 | 10315 | |
5613d8d3 AC |
10316 | 2004-03-31 Andrew Cagney <cagney@redhat.com> |
10317 | ||
10318 | * frame.h (frame_unwind_id): Declare. | |
10319 | * frame.c (frame_unwind_id): New function. | |
10320 | (get_prev_frame_1): New function. | |
10321 | (frame_debug_got_null_frame): New function. | |
10322 | (get_prev_frame): Use frame_debug_got_null_frame. Move unwind | |
10323 | code proper to prev_frame, update description. | |
10324 | * infrun.c (step_over_function): Use frame_unwind_id. | |
10325 | ||
c4557624 JB |
10326 | 2004-04-31 J. Brobecker <brobecker@gnat.com> |
10327 | ||
10328 | * hppa-tdep.c (hppa32_push_dummy_call): Set the Stack Pointer. | |
10329 | (hppa64_push_dummy_call): Likewise. | |
10330 | ||
3e6bb910 JB |
10331 | 2004-03-30 Jim Blandy <jimb@redhat.com> |
10332 | ||
10333 | From Ulrich Weigand: | |
10334 | * utils.c (query): Do not use a va_list variable multiple times. | |
10335 | ||
a2f23071 DJ |
10336 | 2004-03-29 Daniel Jacobowitz <drow@mvista.com> |
10337 | ||
10338 | * Makefile.in (linux_nat_h): Update dependencies. | |
10339 | * configure.in: Check for <gnu/libc-version.h>. | |
10340 | * configure: Regenerate. | |
10341 | * config.in: Regenerate. | |
10342 | * linux-nat.h: Include "target.h". Add waitstatus field to | |
10343 | struct lwp_info. | |
10344 | * lin-lwp.c (add_lwp): Initialize waitstatus.kind. | |
10345 | (lin_lwp_attach_lwp): Don't attach to LWPs we have already attached | |
10346 | to. | |
10347 | (lin_lwp_handle_extended): New function. Handle clone events. | |
10348 | (wait_lwp): Use lin_lwp_handle_extended. Update comment about | |
10349 | thread exit events. | |
10350 | (child_wait): Handle clone events. | |
10351 | (lin_lwp_wait: Use lin_lwp_handle_extended and handle clone events. | |
10352 | * linux-nat.c (linux_enable_event_reporting): Turn on | |
10353 | PTRACE_O_TRACECLONE. | |
10354 | (linux_handle_extended_wait): Handle clone events. | |
10355 | * thread-db.c: Include <gnu/libc-version.h>. | |
10356 | (struct private_thread_info): Add dying flag. | |
10357 | (enable_thread_event_reporting): Enable TD_DEATH for glibc 2.2 and | |
10358 | higher. | |
10359 | (attach_thread): Update comments. Handle dying threads. | |
10360 | (detach_thread): Set the dying flag. | |
10361 | (check_event): Always call attach_thread. | |
10362 | ||
8d5f9dcb DJ |
10363 | 2004-03-29 Daniel Jacobowitz <drow@mvista.com> |
10364 | ||
10365 | * mips-tdep.c (mips_pdr_data): New. | |
10366 | (non_heuristic_proc_desc): Use objfile_data and set_objfile_data. | |
10367 | (_initialize_mips_tdep): Initialize mips_pdr_data. | |
10368 | ||
66337bb1 CV |
10369 | 2004-03-29 Corinna Vinschen <vinschen@redhat.com> |
10370 | ||
10371 | * minsyms.c (install_minimal_symbols): Move dropping leading | |
10372 | char from linkage name from here... | |
10373 | (prim_record_minimal_symbol_and_info): ...to here. Simplify | |
10374 | test for "__gnu_compiled*" symbols. | |
10375 | ||
e802b915 JB |
10376 | 2004-03-28 Jim Blandy <jimb@redhat.com> |
10377 | ||
10378 | * rs6000-tdep.c (skip_prologue): Recognize moves from argument | |
10379 | registers to temp register r0 and byte stores as prologue | |
10380 | instructions. | |
10381 | ||
72b56458 AC |
10382 | 2004-03-28 Andrew Cagney <cagney@redhat.com> |
10383 | ||
10384 | * PROBLEMS (Stack backtraces): Rewrite. Remove reference to | |
10385 | arm*-*-*. | |
10386 | ||
0bfbda3b SC |
10387 | 2004-03-28 Stephane Carrez <stcarrez@nerim.fr> |
10388 | ||
10389 | * tui/tui-regs.c (tui_show_registers): Make sure the TUI is active | |
10390 | and switch the layout to force a display of register window. | |
10391 | ||
5a7225ed JB |
10392 | 2004-02-26 J. Brobecker <brobecker@gnat.com> |
10393 | ||
10394 | * amd64-tdep.c (amd64_classify): make RANGE_TYPE objects be part | |
10395 | of the INTEGER class. | |
10396 | ||
81a07a45 JB |
10397 | 2004-03-26 Jim Blandy <jimb@redhat.com> |
10398 | ||
10399 | * ppc-linux-tdep.c (ppc_linux_init_abi): Long doubles are eight | |
10400 | bytes long on PPC GNU/Linux. | |
10401 | ||
8c691c7a DC |
10402 | 2004-03-26 David Carlton <carlton@kealia.com> |
10403 | ||
10404 | * PROBLEMS: Refer to gdb/1588 instead of gdb/826. | |
10405 | ||
103a0089 AC |
10406 | 2004-03-25 Andrew Cagney <cagney@redhat.com> |
10407 | ||
10408 | * PROBLEMS: Add general section titles, remove references to | |
10409 | specific releases. | |
10410 | ||
7a5ea0d4 DJ |
10411 | 2004-03-25 Daniel Jacobowitz <drow@mvista.com> |
10412 | ||
10413 | * arm-linux-tdep.c (ARM_LINUX_JB_ELEMENT_SIZE): Define to | |
10414 | INT_REGISTER_SIZE. | |
10415 | (arm_linux_push_arguments): Use TARGET_DOUBLE_BIT instead of | |
10416 | FP_REGISTER_VIRTUAL_SIZE. | |
10417 | * arm-tdep.c (arm_make_sigtramp_cache): Use register_size instead | |
10418 | of DEPRECATED_REGISTER_RAW_SIZE. | |
10419 | (arm_register_type): Add gdbarch argument. | |
10420 | (arm_register_raw_size, arm_register_virtual_size): Delete. | |
10421 | (arm_register_byte, arm_extract_return_value) | |
10422 | (arm_store_return_value, arm_get_longjmp_target): Update references | |
10423 | to INT_REGISTER_RAW_SIZE and FP_REGISTER_RAW_SIZE. | |
10424 | (arm_gdbarch_init): Likewise. Don't set | |
10425 | deprecated_register_raw_size, deprecated_register_virtual_size, | |
10426 | deprecated_max_register_raw_size, | |
10427 | deprecated_max_register_virtual_size, or | |
10428 | deprecated_max_register_virtual_type. Do set register_type. | |
10429 | * arm-tdep.h (ARM_MAX_REGISTER_RAW_SIZE) | |
10430 | (ARM_MAX_REGISTER_VIRTUAL_SIZE, INT_REGISTER_VIRTUAL_SIZE) | |
10431 | (FP_REGISTER_VIRTUAL_SIZE): Delete. | |
10432 | (INT_REGISTER_RAW_SIZE): Rename to INT_REGISTER_SIZE. | |
10433 | (FP_REGISTER_RAW_SIZE): Rename to FP_REGISTER_SIZE. | |
10434 | * arm-linux-tdep.c (ARM_NBSD_JB_ELEMENT_SIZE): Define to | |
10435 | INT_REGISTER_SIZE. | |
10436 | * remote-rdp.c (remote_rdp_fetch_register): Use MAX_REGISTER_SIZE. | |
10437 | (remote_rdp_store_register): Likewise. | |
10438 | ||
5792a79b DJ |
10439 | 2004-03-24 Daniel Jacobowitz <drow@mvista.com> |
10440 | ||
10441 | * Makefile.in (mips-linux-tdep.o): Update dependencies. | |
10442 | * mips-tdep.c (mips_gdbarch_init): Move frame predicates | |
10443 | to after osabi initialization. | |
10444 | * mips-linux-tdep.c: Include "trad-frame.h" and "tramp-frame.h". | |
10445 | (mips_linux_o32_sigframe_init, mips_linux_n32n64_sigframe_init): New | |
10446 | functions. | |
10447 | (mips_linux_o32_sigframe, mips_linux_o32_rt_sigframe) | |
10448 | (mips_linux_n32_rt_sigframe, mips_linux_n64_rt_sigframe): New | |
10449 | variables. | |
10450 | (mips_linux_init_abi): Append signal trampoline unwinders. | |
10451 | ||
1196bfda AC |
10452 | 2004-03-24 Andrew Cagney <cagney@redhat.com> |
10453 | ||
10454 | * tramp-frame.h (TRAMP_SENTINEL_INSN): Define, document. | |
10455 | * tramp-frame.c: Include "gdb_assert.h". | |
10456 | (tramp_frame_start): Use TRAMP_SENTINEL_INSN. Use ULONGEST and | |
10457 | correct sizeof. | |
10458 | (tramp_frame_append): Validate the tramp frame's instructions. | |
10459 | * Makefile.in (tramp-frame.o): Update dependencies. | |
10460 | ||
4be282b4 AC |
10461 | 2004-03-23 Andrew Cagney <cagney@redhat.com> |
10462 | ||
10463 | * trad-frame.h (trad_frame_set_reg_addr): Declare. | |
10464 | ||
69aec09b AC |
10465 | 2004-03-23 Andrew Cagney <cagney@redhat.com> |
10466 | ||
10467 | * MAINTAINERS (Past Maintainers): Add Mark Salter and Fernando | |
10468 | Nasser as past testsuite/lib/ (and other) maintainers. | |
10469 | ||
63ed89b4 DJ |
10470 | 2004-03-23 Daniel Jacobowitz <drow@mvista.com> |
10471 | ||
10472 | * infcmd.c (attach_command): Reread symbols if we already have | |
10473 | an exec file. | |
10474 | ||
f3b36427 AC |
10475 | 2004-03-23 Andrew Cagney <cagney@redhat.com> |
10476 | ||
10477 | * rs6000-tdep.c (frame_get_saved_regs): Delete unused function. | |
10478 | ||
aa2a3f87 AC |
10479 | 2004-03-23 Andrew Cagney <cagney@redhat.com> |
10480 | ||
10481 | * gdbarch.sh (SIGTRAMP_START, SIGTRAMP_END): Deprecate. | |
10482 | * gdbarch.h, gdbarch.c: Re-generate. | |
10483 | * i386obsd-tdep.c (i386obsd_init_abi): Update. | |
10484 | * i386nbsd-tdep.c (i386nbsd_init_abi): Update. | |
10485 | * i386bsd-tdep.c (i386bsd_init_abi): Update. | |
8718a420 | 10486 | * config/vax/tm-vaxbsd.h (DEPRECATED_SIGTRAMP_END) |
aa2a3f87 | 10487 | (DEPRECATED_SIGTRAMP_START): Update. |
8718a420 | 10488 | * config/m68k/tm-nbsd.h (DEPRECATED_SIGTRAMP_END) |
aa2a3f87 AC |
10489 | (DEPRECATED_SIGTRAMP_START): Update. |
10490 | * blockframe.c (find_pc_sect_partial_function): Update. | |
10491 | * arch-utils.c (legacy_pc_in_sigtramp): Update. | |
10492 | ||
00cac895 DJ |
10493 | 2004-03-23 Daniel Jacobowitz <drow@mvista.com> |
10494 | ||
10495 | * remote.c (remote_open_1): Reopen the exec file and reread symbols | |
10496 | if necessary. | |
10497 | ||
f561f026 AC |
10498 | 2004-03-23 Andrew Cagney <cagney@redhat.com> |
10499 | ||
10500 | * gdbarch.sh (PC_IN_SIGTRAMP): Change to a function with | |
10501 | predicate, deprecate. | |
10502 | * gdbarch.h, gdbarch.c: Re-generate. | |
10503 | * alpha-linux-tdep.c (alpha_linux_init_abi): Update. | |
10504 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Update. | |
10505 | * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Update. | |
10506 | * alphafbsd-tdep.c (alphafbsd_init_abi): Update. | |
10507 | * alphanbsd-tdep.c (alphanbsd_init_abi): Update. | |
10508 | * amd64-linux-tdep.c (amd64_linux_init_abi): Update. | |
10509 | * amd64-tdep.c (amd64_sigtramp_frame_sniffer): Update. | |
10510 | * amd64nbsd-tdep.c (amd64nbsd_init_abi): Update. | |
10511 | * amd64obsd-tdep.c (amd64obsd_init_abi): Update. | |
10512 | * arm-tdep.c (arm_sigtramp_unwind_sniffer): Update. | |
10513 | * blockframe.c (find_pc_partial_function): Update. | |
10514 | * breakpoint.c (bpstat_what): Update. | |
10515 | * frame.c (frame_type_from_pc, legacy_get_prev_frame): Update. | |
10516 | * frv-linux-tdep.c (frv_linux_init_abi): Update. | |
10517 | * frv-tdep.c (frv_sigtramp_frame_sniffer): Update. | |
10518 | * hppa-hpux-tdep.c (hppa_hpux_init_abi): Update. | |
10519 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
10520 | * i386-linux-tdep.c (i386_linux_init_abi): Update. | |
10521 | * i386-nto-tdep.c (i386nto_init_abi): Update. | |
10522 | * i386-sol2-tdep.c (i386_sol2_init_abi): Update. | |
10523 | * i386-tdep.c (i386_sigtramp_frame_sniffer) | |
10524 | (i386_svr4_init_abi, i386_go32_init_abi, i386_gdbarch_init): Update. | |
10525 | * i386bsd-tdep.c (i386bsd_init_abi): Update. | |
10526 | * i386nbsd-tdep.c (i386nbsd_init_abi): Update. | |
10527 | * i386obsd-tdep.c (i386obsd_init_abi): Update. | |
10528 | * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Update. | |
10529 | * infrun.c (pc_in_sigtramp): Update. | |
10530 | * m68k-tdep.c (m68k_sigtramp_frame_sniffer): Update. | |
10531 | * m68klinux-tdep.c (m68k_linux_init_abi): Update. | |
10532 | * mips-tdep.c (mips_gdbarch_init): Update. | |
10533 | * mipsnbsd-tdep.c (mipsnbsd_init_abi): Update. | |
10534 | * ppc-linux-tdep.c: Update comment. | |
10535 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Update. | |
10536 | * shnbsd-tdep.c (shnbsd_init_abi): Update. | |
10537 | * sparc-linux-tdep.c (sparc32_linux_init_abi): Update. | |
10538 | * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Update. | |
10539 | * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Update. | |
10540 | * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Update. | |
10541 | * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Update. | |
10542 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Update. | |
10543 | * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Update. | |
10544 | * sparcobsd-tdep.c (sparc32obsd_init_abi): Update. | |
8718a420 | 10545 | |
8050c72f AC |
10546 | 2004-03-23 Andrew Cagney <cagney@redhat.com> |
10547 | ||
d2259dd3 AC |
10548 | * tramp-frame.h, tramp-frame.h: New files. |
10549 | * Makefile.in (SFILES, tramp_frame_h, COMMON_OBS, tramp-frame.o): | |
10550 | Update rules to include "tramp-frame.h" and "tramp-frame.c". | |
10551 | ||
8050c72f AC |
10552 | * Makefile.in: Update all dependencies. |
10553 | ||
0db9b4b7 AC |
10554 | 2004-03-23 Andrew Cagney <cagney@redhat.com> |
10555 | ||
10556 | * Makefile.in (trad_frame_h): Add $(frame_h). | |
10557 | * trad-frame.h: Update copyright. Include "frame.h". | |
10558 | (struct trad_frame_cache, trad_frame_cache_zalloc): Declare. | |
10559 | (trad_frame_set_id, trad_frame_get_id): Declare. | |
10560 | (trad_frame_set_reg_addr, trad_frame_get_register): Declare. | |
10561 | * trad-frame.c: Update copyright. | |
10562 | (struct trad_frame_cache): Define. | |
10563 | (trad_frame_cache_zalloc): New function. | |
10564 | (trad_frame_set_id, trad_frame_get_id): New functions. | |
10565 | (trad_frame_set_reg_addr, trad_frame_get_register): New functions. | |
8718a420 | 10566 | |
8e645ae7 AC |
10567 | 2004-03-22 Andrew Cagney <cagney@redhat.com> |
10568 | ||
10569 | * s390-tdep.c (struct s390_stub_unwind_cache): Rename | |
10570 | s390_pltstub_unwind_cache. | |
10571 | (s390_stub_frame_unwind_cache): Rename | |
10572 | s390_pltstub_frame_unwind_cache. | |
10573 | (s390_stub_frame_this_id): Rename s390_pltstub_frame_this_id. | |
10574 | (s390_stub_frame_prev_register): Rename | |
10575 | s390_pltstub_frame_prev_register. | |
10576 | (s390_stub_frame_unwind): Rename s390_pltstub_frame_unwind. | |
10577 | (s390_stub_frame_sniffer): Rename s390_stub_frame_sniffer. | |
10578 | ||
10579 | From Ulrich Weigand: | |
10580 | * s390-tdep.c (s390_pltstub_frame_sniffer): Handle invalid function | |
10581 | pointer calls like PLT calls. | |
10582 | ||
34fcf120 DJ |
10583 | 2004-03-22 Daniel Jacobowitz <drow@mvista.com> |
10584 | ||
10585 | * mips-tdep.c (non_heuristic_proc_desc): Search using the specified | |
10586 | PC rather than the partial function start address. Use the start | |
10587 | address to sanity check the found PDR. | |
10588 | ||
5b917078 DJ |
10589 | 2004-03-22 Daniel Jacobowitz <drow@mvista.com> |
10590 | ||
10591 | * lin-lwp.c (lin_lwp_wait): Pass the LWP ID to | |
10592 | linux_handle_extended_wait. | |
10593 | ||
8adf9e78 AC |
10594 | 2004-03-22 Andrew Cagney <cagney@redhat.com> |
10595 | ||
c3122434 AC |
10596 | * rs6000-tdep.c (frame_initial_stack_address): Delete unused |
10597 | function. | |
10598 | ||
8adf9e78 AC |
10599 | * frame.h (generic_pop_current_frame): Delete declaration. |
10600 | (deprecate_pop_dummy_frame): Deprecate | |
10601 | generic_pop_dummy_frame. | |
10602 | * dummy-frame.c (deprecated_pop_dummy_frame): Update. | |
10603 | (generic_pop_current_frame): Delete function. | |
10604 | * mn10300-tdep.c (mn10300_pop_frame): Eliminate call to | |
10605 | generic_pop_current_frame. | |
10606 | * v850-tdep.c (v850_pop_frame): Update. | |
10607 | * mcore-tdep.c (mcore_pop_frame): Update. | |
10608 | * sh64-tdep.c (sh64_pop_frame): Update. | |
10609 | * h8300-tdep.c (h8300_pop_frame): Update. | |
10610 | ||
90ba813f AC |
10611 | 2004-03-22 Andrew Cagney <cagney@redhat.com> |
10612 | ||
10613 | * frame.h (deprecated_pc_in_call_dummy): Rename | |
10614 | generic_pc_in_call_dummy. | |
10615 | * dummy-frame.h (pc_in_dummy_frame): Delete declaration. | |
10616 | * dummy-frame.c (deprecated_pc_in_call_dummy): Rename | |
10617 | generic_pc_in_call_dummy. | |
10618 | (pc_in_dummy_frame): Make static. | |
10619 | * gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Update. | |
10620 | * gdbarch.h, gdbarch.c: Re-generate. | |
10621 | * dummy-frame.c (dummy_frame_sniffer): Simplify. | |
10622 | * frame.c (frame_type_from_pc): Call deprecated_pc_in_call_dummy. | |
10623 | (legacy_get_prev_frame): Ditto. | |
10624 | * inferior.h: Delete reference to generic_pc_in_call_dummy in | |
10625 | comment. | |
8718a420 | 10626 | |
ca4bb888 AC |
10627 | 2004-03-21 Andrew Cagney <cagney@redhat.com> |
10628 | ||
244675f9 AC |
10629 | * inferior.h (deprecated_pc_in_call_dummy_at_entry_point): Delete |
10630 | declaration and out-of-date comment. | |
10631 | * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point): | |
10632 | Delete function. | |
10633 | * mn10300-tdep.c (mn10300_gdbarch_init): Do not set | |
10634 | deprecated_pc_in_call_dummy. | |
10635 | ||
ca4bb888 AC |
10636 | * infrun.c (handle_inferior_event): For non legacy frames, use the |
10637 | frame ID and frame type to identify a signal trampoline. Update | |
10638 | comments. | |
10639 | ||
1777c7b4 NW |
10640 | 2004-03-21 Nathan J. Williams <nathanw@wasabisystems.com> |
10641 | ||
10642 | * mipsnbsd-tdep.c: Update copyright. Include "mips-tdep.h". | |
10643 | * Makefile.in (mipsnbsd-tdep.o): Update dependencies. | |
10644 | ||
82417da5 AC |
10645 | 2004-03-21 Andrew Cagney <cagney@redhat.com> |
10646 | ||
10647 | * frame-unwind.h: Update copyright. | |
10648 | (struct frame_data): Add opaque declaration. | |
10649 | (frame_sniffer_ftype): Declare. | |
10650 | (struct frame_unwind): Add "unwind_data" and "sniffer". | |
10651 | (frame_unwind_register_unwinder): Declare. | |
10652 | (frame_unwind_find_by_frame): Add parameter "this_cache". | |
10653 | * frame.c (get_frame_id, create_new_frame, legacy_get_prev_frame) | |
10654 | (legacy_get_prev_frame, legacy_get_prev_frame) | |
10655 | (get_frame_type): Pass the prologue_cache to | |
10656 | frame_unwind_find_by_frame. | |
10657 | * frame-unwind.c (struct frame_unwind_table_entry): Add field | |
10658 | "unwinder". | |
10659 | (frame_unwind_register_unwinder): New function. | |
10660 | (frame_unwind_find_by_frame): Handle an unwind sniffer. | |
10661 | ||
b2ba182e PH |
10662 | 2004-03-20 Paul Hilfinger <hilfingr@nile.gnat.com> |
10663 | ||
10664 | * bcache.c (print_percentage): Use floating point to avoid | |
10665 | incorrect results when portion*100 overflows. | |
10666 | ||
81332287 KB |
10667 | 2004-03-19 Kevin Buettner <kevinb@redhat.com> |
10668 | ||
10669 | * ppc_tdep.h (ppc_linux_frame_saved_pc) | |
10670 | (ppc_linux_init_extra_frame_info) | |
10671 | (ppc_linux_frameless_function_invocation) | |
10672 | (ppc_linux_frame_init_saved_regs, ppc_linux_frame_chain) | |
10673 | (rs6000_frame_saved_pc, rs6000_init_extra_frame_info) | |
10674 | (rs6000_frameless_function_invocation, rs6000_frame_init_saved_regs) | |
10675 | (rs6000_frame_chain): Delete declarations. | |
10676 | * ppc-linux-tdep.c (ppc_linux_frame_saved_pc) | |
10677 | (ppc_linux_init_extra_frame_info) | |
10678 | (ppc_linux_frameless_function_invocation) | |
10679 | (ppc_linux_frame_init_saved_regs, ppc_linux_frame_chain): Delete. | |
10680 | (ppc_linux_init_abi): Remove registration of above deleted functions. | |
10681 | * rs6000-tdep.c (rs6000_init_extra_frame_info) | |
10682 | (rs6000_frame_init_saved_regs, rs6000_init_frame_pc_first) | |
10683 | (rs6000_frame_args_address, rs6000_saved_pc_after_call) | |
10684 | (rs6000_pop_frame, rs6000_frameless_function_invocation) | |
10685 | (rs6000_frame_saved_pc, rs6000_frame_chain): Delete. | |
10686 | (rs6000_gdbarch_init): Remove registration of above deleted functions. | |
10687 | Use rs6000_unwind_pc(), rs6000_frame_sniffer(), | |
10688 | rs6000_unwind_dummy_id(), and rs6000_frame_base_sniffer() for | |
10689 | frame management for all OSABIs. | |
10690 | ||
61a65099 KB |
10691 | 2004-03-19 Andrew Cagney <cagney@redhat.com> |
10692 | ||
10693 | Committed by Kevin Buettner <kevinb@redhat.com>. | |
10694 | ||
10695 | * ppc-linux-tdep.c: Include "trad-frame.h", and "frame-unwind.h". | |
10696 | Update copyright. | |
10697 | (struct ppc_linux_sigtramp_cache, ppc_linux_sigtramp_cache) | |
10698 | (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register) | |
10699 | (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer) | |
10700 | (ppc_linux_init_abi): Add both 32- and 64-bit signal trampoline | |
10701 | unwinders. #ifdef legacy frame code. | |
10702 | * rs6000-tdep.c: Include "trad-frame.h", "frame-unwind.h", and | |
10703 | "frame-base.h". | |
10704 | (rs6000_unwind_pc, rs6000_unwind_dummy_id) | |
10705 | (struct rs6000_frame_cache, rs6000_frame_cache) | |
10706 | (rs6000_frame_this_id, rs6000_frame_prev_register) | |
10707 | (rs6000_frame_sniffer, rs6000_frame_unwind) | |
10708 | (rs6000_frame_base_address, rs6000_frame_base_sniffer) | |
10709 | (rs6000_frame_base): Implement a traditional frame unwinder. | |
10710 | (rs6000_gdbarch_init): When unknown, NetBSD, or GNU/Linux use the | |
10711 | frame unwinder. | |
10712 | ||
88f7da05 KB |
10713 | 2004-03-19 Kevin Buettner <kevinb@redhat.com> |
10714 | ||
10715 | * breakpoint.c (adjust_breakpoint_address): Don't adjust | |
10716 | breakpoint address for watchpoints or the catch eventpoints. | |
10717 | Add new paramter ``bptype''. Adjust all callers. | |
10718 | ||
f826dce1 AC |
10719 | 2004-03-19 Andrew Cagney <cagney@redhat.com> |
10720 | ||
33cb8b0f AC |
10721 | * config/pa/tm-hppa.h (GDB_TARGET_IS_HPPA): Delete unused macro. |
10722 | ||
f826dce1 AC |
10723 | * PROBLEMS: Delete note that ARM does not use frame code, problem |
10724 | fixed. | |
10725 | ||
43b1ab88 AC |
10726 | 2004-03-18 Andrew Cagney <cagney@redhat.com> |
10727 | ||
292ab034 AC |
10728 | * stack.c (return_command): Delete code wrapped in #ifdef |
10729 | DEPRECATED_CALL_DUMMY_HAS_COMPLETED, macro no longer defined. | |
10730 | ||
43b1ab88 AC |
10731 | * rs6000-tdep.c (skip_prologue): Record only the first LR save. |
10732 | ||
dbfe4626 AC |
10733 | 2004-03-18 Andrew Cagney <cagney@redhat.com> |
10734 | ||
10735 | * config/mips/tm-nbsd.h: Replace IN_SIGTRAMP with | |
10736 | DEPRECATED_IN_SIGTRAMP. | |
10737 | * config/powerpc/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto. | |
10738 | * config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP) Ditto. | |
10739 | * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Ditto. | |
10740 | * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Ditto. | |
10741 | * config/ia64/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto. | |
10742 | * config/ia64/tm-aix.h (DEPRECATED_IN_SIGTRAMP): Ditto. | |
10743 | * config/arm/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto. | |
10744 | * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Ditto. | |
10745 | * arch-utils.c (legacy_pc_in_sigtramp): Ditto. | |
10746 | * arch-utils.h: Remove reference to IN_SIGTRAMP in comment. | |
10747 | ||
0cad6aec AC |
10748 | 2004-03-18 Andrew Cagney <cagney@redhat.com> |
10749 | ||
10750 | * frame-base.c: Update copyright. Include "gdb_obstack.h". | |
10751 | (struct frame_base_table_entry): Define. | |
10752 | (struct frame_base_table): Re-implement as a linked list. | |
10753 | (frame_base_init): Re-implement. | |
10754 | (frame_base_table): Delete function. | |
10755 | (append_predicate): Delete function. | |
10756 | (frame_base_append_sniffer): Update. | |
10757 | (frame_base_set_default): Update. | |
10758 | (frame_base_find_by_frame): Update. | |
10759 | (_initialize_frame_base): Use gdbarch_data_register_pre_init. | |
10760 | * Makefile.in (frame-base.o): Update dependencies. | |
10761 | ||
9982c2e7 AC |
10762 | 2004-03-17 Andrew Cagney <cagney@redhat.com> |
10763 | ||
10764 | * frame.c (legacy_get_prev_frame): Pass correct frame to | |
10765 | frame_unwind_find_by_frame. | |
10766 | ||
8dfe8985 DC |
10767 | 2004-03-17 David Carlton <carlton@kealia.com> |
10768 | ||
10769 | * NEWS: Mention C++ nested types and namespaces | |
10770 | ||
ed47347a MC |
10771 | 2004-03-16 Michael Chastain <mec.gnu@mindspring.com> |
10772 | ||
10773 | * PROBLEMS: Add section headers, "Regressions since gdb 6.0" | |
10774 | and "Regressions since gdb 5.3.". Add known regressions since | |
10775 | gdb 6.0. | |
10776 | ||
90aeadfc DC |
10777 | 2004-03-16 David Carlton <carlton@kealia.com> |
10778 | ||
10779 | * dwarf2read.c (process_structure_scope): Process children even | |
10780 | when we're a declaration. | |
10781 | ||
73912b9b AC |
10782 | 2004-03-16 Andrew Cagney <cagney@redhat.com> |
10783 | ||
10784 | * symtab.h (find_pc_sect_partial_function): Delete declaration. | |
10785 | * blockframe.c (find_pc_partial_function) | |
10786 | (find_pc_sect_partial_function): Merge into a single | |
10787 | find_pc_partial_function. | |
10788 | ||
283accbc MK |
10789 | 2004-03-16 Mark Kettenis <kettenis@gnu.org> |
10790 | ||
10791 | * i386bsd-nat.c: s/regno/regnum/g. | |
10792 | (fetch_inferior_registers): Use I386_ST0_REGNUM instead of | |
10793 | FP0_REGNUM. | |
10794 | (store_inferior_registers): Likewise. | |
10795 | ||
f5b1afdf MK |
10796 | 2004-03-16 Mark Kettenis <kettenis@gnu.org> |
10797 | ||
10798 | * i386bsd-nat.c (fill_fpregset): Call i387_collect_fsave instead | |
10799 | of i387_fill_fsave. | |
10800 | (store_inferior_registers): Call i387_collect_fsave and | |
10801 | i387_collect_fxsave instead of i387_fill_fsave and | |
10802 | i387_fill_fxsave. | |
10803 | ||
41fe5eb3 AC |
10804 | 2004-03-15 Andrew Cagney <cagney@redhat.com> |
10805 | ||
10806 | * Makefile.in (frame-unwind.o): Update dependencies. | |
10807 | * frame-unwind.c: Include "gdb_obstack.h". | |
10808 | (frame_unwind_init): Replace "gdbarch" parameter with an "obstack" | |
10809 | parameter. | |
10810 | (append_predicate): Delete function. | |
10811 | (struct frame_unwind_table_entry): New structure. | |
10812 | (struct frame_unwind_table): Replace "sniffer" with "head" and | |
10813 | "tail". | |
10814 | (frame_unwind_append_sniffer): Update. | |
10815 | (frame_unwind_find_by_frame): Update. | |
10816 | (_initialize_frame_unwind): Registe frame_unwind_init using | |
10817 | gdbarch_data_register_pre_init. | |
10818 | ||
3f63813d MK |
10819 | 2004-03-15 Mark Kettenis <kettenis@gnu.org> |
10820 | ||
10821 | * i386bsd-nat.c: Update copyright year. | |
10822 | (CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Undefine and then | |
10823 | define unconditionally. | |
10824 | ||
3248c325 | 10825 | 2004-03-15 Mark Kettenis <kettenis@gnu.org> |
63b6c53f MK |
10826 | |
10827 | * i387-tdep.h (i387_collect_fsave): New prototype. | |
10828 | * i387-tdep.c (i387_collect_fsave): New function containing most | |
10829 | of the code from i387_fill_fsave. | |
3248c325 | 10830 | (i387_fill_fsave): Call i387_collect_fsave. |
63b6c53f | 10831 | |
871fbe6a MK |
10832 | 2004-03-15 Mark Kettenis <kettenis@gnu.org> |
10833 | ||
10834 | * i386-linux-tdep.c: Update copyright year. | |
10835 | (i386_linux_svr4_fetch_link_map_offsets): Remove function. | |
10836 | (i386_linux_init_abi): Set solib_svr4_fetch_link_maop_offsets to | |
10837 | svr4_ilp32_link_map_offsets instead of | |
10838 | i386_linux_svr4_fetch_link_map_offsets. | |
10839 | ||
8176b9b8 DC |
10840 | 2004-03-15 David Carlton <carlton@kealia.com> |
10841 | ||
10842 | Fix for PR c++/1553: | |
10843 | * dwarf2read.c (read_structure_type): Determine type name by | |
10844 | calling determine_class_name. | |
10845 | (determine_class_name): New. | |
10846 | (determine_prefix): Look at TYPE_TAG_NAME and call | |
10847 | determine_class_name when appropriate. | |
10848 | (determine_prefix_aux, class_name): Delete. | |
9d58e29d | 10849 | (read_namespace): Set die->type. |
8176b9b8 | 10850 | |
fe8bf7d7 KB |
10851 | 2004-03-15 Kevin Buettner <kevinb@redhat.com> |
10852 | ||
10853 | * breakpoint.c (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete | |
10854 | unused macro definition. The definition in target.h (or perhaps | |
10855 | elsewhere) takes precedence. | |
10856 | ||
ed6edd9b AC |
10857 | 2004-03-15 Andrew Cagney <cagney@redhat.com> |
10858 | ||
f9be684a AC |
10859 | * ppc-tdep.h: Update copyright. |
10860 | (ppc_linux_supply_gregset, ppc_linux_supply_fpregset): Change | |
10861 | function signatures to match "regsets.h". | |
10862 | * ppc-linux-tdep.c: Include "regset.h". | |
10863 | (ELF_GREGSET_SIZE): Delete. | |
10864 | (right_supply_register): New function. | |
10865 | (ppc_linux_supply_fpregset, ppc_linux_supply_gregset): Rewrite | |
10866 | using right_supply_register. | |
10867 | (ppc32_linux_supply_gregset, ppc64_linux_supply_gregset): New | |
10868 | functions. | |
10869 | (ppc64_linux_gregset, ppc32_linux_gregset): Define. | |
10870 | (ppc_linux_init_abi): Register ppc_linux_regset_from_core_section. | |
10871 | (_initialize_ppc_linux_tdep): Do not register | |
10872 | ppc_linux_regset_core_fns. | |
10873 | (ppc_linux_regset_from_core_section): Replace | |
10874 | fetch_core_registers. | |
10875 | (ppc_linux_regset_core_fns): Delete. | |
10876 | * ppc-linux-nat.c: (right_fill_reg): New function. | |
10877 | (supply_gregset): Update call to ppc_linux_supply_gregset. | |
10878 | (fill_gregset): Clear the register set, use right_fill_reg. | |
10879 | (supply_fpregset): Update call to ppc_linux_supply_fpregset. | |
10880 | (fill_fpregset): Use right_fill_reg, correctly compute FP offsets. | |
10881 | ||
ed6edd9b AC |
10882 | * rs6000-tdep.c (rs6000_register_virtual_type): Make registers |
10883 | unsigned. | |
10884 | ||
030f20e1 AC |
10885 | 2004-03-15 Andrew Cagney <cagney@redhat.com> |
10886 | ||
10887 | * gdbarch.sh (gdbarch_data_pre_init_fytpe) | |
10888 | (gdbarch_data_register_pre_init, gdbarch_data_post_init_fytpe) | |
10889 | (gdbarch_data_register_post_init): Replace gdbarch_data_init_ftype | |
10890 | and register_gdbarch_data. | |
10891 | (deprecated_set_gdbarch_data): Rename set_gdbarch_data. | |
10892 | (struct gdbarch_data): Replace "init" by "pre_init" and | |
10893 | "post_init". | |
10894 | * gdbarch.h, gdbarch.c: Re-generate. | |
10895 | * dwarf2-frame.c (dwarf2_frame_init): Replace "gdbarch" paramter | |
10896 | with"obstack", use OBSTACK_ZALLOC. | |
10897 | (dwarf2_frame_ops): Delete. | |
10898 | (dwarf2_frame_set_init_reg): Use gdbarch_data. | |
10899 | (dwarf2_frame_init_reg): Use gdbarch_data. | |
10900 | (_initialize_dwarf2_frame): Use gdbarch_data_register_pre_init. | |
8718a420 | 10901 | * solib-svr4.c (set_solib_svr4_fetch_link_map_offsets) |
030f20e1 AC |
10902 | (_initialize_svr4_solib): Update. |
10903 | * user-regs.c (_initialize_user_regs): Update. | |
10904 | * reggroups.c (_initialize_reggroup): Update. | |
10905 | * regcache.c (_initialize_regcache): Update. | |
10906 | * mips-linux-tdep.c (_initialize_mips_linux_tdep): Update. | |
10907 | * libunwind-frame.c (_initialize_libunwind_frame): Update. | |
10908 | * gnu-v3-abi.c (init_gnuv3_ops): Update. | |
10909 | * frame-unwind.c (_initialize_frame_unwind): Update. | |
10910 | * frame-base.c (_initialize_frame_base): Update. | |
10911 | * user-regs.c (user_reg_add): Update. | |
10912 | * reggroups.c (reggroup_add): Update. | |
10913 | * mips-linux-tdep.c (set_mips_linux_register_addr): Update. | |
10914 | * libunwind-frame.c (libunwind_frame_set_descr): Update. | |
10915 | * frame-unwind.c (frame_unwind_append_sniffer): Update. | |
10916 | * frame-base.c (frame_base_table): Update. | |
10917 | * remote.c (_initialize_remote): Update. | |
10918 | * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Define. | |
8718a420 | 10919 | |
3111a3fc AC |
10920 | 2004-03-15 Andrew Cagney <cagney@redhat.com> |
10921 | ||
10922 | * cris-tdep.c (bfd_lookup_symbol): Delete unused function. | |
10923 | ||
5ecb7103 KB |
10924 | 2004-03-15 Kevin Buettner <kevinb@redhat.com> |
10925 | ||
10926 | * Makefile.in (frv-linux-tdep.o): Add dependencies. | |
10927 | * frv-linux-tdep.c: New file. | |
10928 | * frv-tdep.c (struct gdbarch_tdep): Add new field | |
10929 | ``sigcontext_reg_addr''. | |
10930 | (frv_set_sigcontext_reg_addr, frv_sigtramp,frame_cache) | |
10931 | (frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register) | |
10932 | (frv_sigramp_frame_sniffer): New functions. | |
10933 | (frv_sigtramp_frame_unwind): New static global. | |
10934 | (frv_gdbarch_init): Hook in ABI-specific overrides. Hook up frame | |
10935 | sniffers. | |
10936 | * frv-tdep.h (frv_set_sigcontext_reg_addr): New function. | |
10937 | * config/frv/frv.mt (TDEPFILES): Add frv-linux-tdep.o. | |
10938 | ||
1ccda5e9 KB |
10939 | 2004-03-15 Kevin Buettner <kevinb@redhat.com> |
10940 | ||
10941 | * frv-tdep.c (frv_analyze_prologue): Terminate prologue scan, | |
10942 | but not via a call to error(), when unable to read memory. | |
10943 | ||
b375a0a5 KB |
10944 | 2004-03-15 Kevin Buettner <kevinb@redhat.com> |
10945 | ||
10946 | * frv-tdep.c (frv_call_dummy_words): Delete. | |
10947 | (frv_frame_unwind_cache): Delete unused variable, ``prev_sp''. | |
10948 | ||
4fdf6121 AC |
10949 | 2004-03-15 Andrew Cagney <cagney@redhat.com> |
10950 | ||
10951 | * infrun.c (handle_step_into_function, step_over_function): Only | |
10952 | update and use STEP_FRAME_ID when the system is using legacy | |
10953 | frames. Update comments. | |
10954 | ||
34021503 MK |
10955 | 2004-03-14 Mark Kettenis <kettenis@gnu.org> |
10956 | ||
187e21d1 MK |
10957 | * amd64-linux-tdep.h: Remove file. |
10958 | * amd64-linux-tdep.c: Don't include "inferior.h" and | |
10959 | "amd64-linux-tdep.h". Include "frame.h" and "solib-svr4.h". | |
10960 | (USER_R15, USER_R14, USER_R13, USER_R12, USER_RBP, USER_RBX) | |
10961 | (USER_R11, USER_R10, USER_R9, USER_R8, USER_RAX, USER_RCX) | |
10962 | (USER_RDX, USER_RSI, USER_RDI, USER_RIP, USER_CS, USER_EFLAGS) | |
10963 | (USER_RSP, USER_SS, USER_DS, USER_ES, USER_FS, USER_GS): Remove | |
10964 | macros. | |
10965 | (user_to_gdb_regmap): Remove variable. | |
10966 | (amd64_linux_gregset_reg_offset): New variable. | |
10967 | (amd64_core_fns): Remove variable. | |
10968 | (fetch_core_registers): Remove function. | |
10969 | (amd64_linux_supply_gregset, amd64_linux_fill_gregset): Remove | |
10970 | functions. | |
10971 | (_initialize_amd64_linux_tdep): Don't set add_core_fns. | |
10972 | * amd64-linux-nat.c: Don't include "amd64-linux-tdep.h". | |
10973 | * Makefile.in (amd64_linux_tdep_h): Remove. | |
10974 | (amd64-linux-nat.o): Update dependencies. | |
10975 | (amd64-linux-tdep.o): Update dependencies. | |
10976 | ||
99679982 MK |
10977 | * amd64-linux-nat.c (GETFPREGS_SUPPLIES): Remove macro. |
10978 | (fetch_regs, fetch_fpregs, store_regs, store_fpregs): Remove | |
10979 | functions. | |
10980 | (fetch_inferior_registers, store_inferior_registers): Rewrite. | |
10981 | ||
34021503 MK |
10982 | * amd64-tdep.h (amd64_fill_fxsave): Remove prototype. |
10983 | * amd64-tdep.c (amd64_fill_fxsave): Remove function. | |
10984 | ||
134d01f1 DJ |
10985 | 2004-03-14 Daniel Jacobowitz <drow@mvista.com> |
10986 | ||
10987 | * dwarf2read.c (read_structure_type): Rename from | |
8718a420 | 10988 | read_structure_scope. Don't create a symbol or call process_die. |
134d01f1 DJ |
10989 | Return immediately if die->type is set. Call read_type_die before |
10990 | dwarf2_add_member_fn. | |
10991 | (process_structure_scope): New function. | |
10992 | (read_enumeration_type, process_enumeration_scope): New functions, | |
10993 | broken out from read_enumeration. Don't create the enumeration | |
10994 | type if it has already been created. | |
10995 | (read_enumeration): Removed. | |
10996 | (process_die): Call read_structure_type, process_structure_scope, | |
10997 | read_enumeration_type, and process_enumeration_scope. Just call | |
10998 | new_symbol for base and subrange types. Add a comment about other | |
10999 | type dies. | |
11000 | (read_type_die): Call read_enumeration_type. | |
11001 | (add_partial_structure, new_symbol): Update comments. | |
11002 | ||
65760afb SC |
11003 | 2004-03-13 Stephane Carrez <stcarrez@nerim.fr> |
11004 | ||
11005 | * m68hc11-tdep.c (m68hc11_register_name): Get soft reg information. | |
11006 | ||
10f59415 SC |
11007 | 2004-03-13 Stephane Carrez <stcarrez@nerim.fr> |
11008 | ||
11009 | * tui/tui-win.h (tui_get_cmd_list): Declare. | |
11010 | * tui/tui-win.c (tui_command): New function. | |
11011 | (tui_get_cmd_list): New function. | |
11012 | (_initialize_tui_win): Moved initialization of tui command in | |
11013 | tui_get_cmd_list. | |
11014 | ||
11015 | * tui/tui-data.c (init_content_element): Setup new data members. | |
11016 | (init_win_info): Likewise. | |
11017 | (free_content_elements): Free it. | |
11018 | * tui/tui-data.h (struct tui_data_element): Store the register | |
11019 | content to print. | |
11020 | (struct tui_data_info): Keep the current register group. | |
11021 | ||
11022 | * tui/tui-layout.c (tui_set_layout): Update call to tui_show_registers. | |
11023 | ||
11024 | * tui/tui-regs.h (tui_show_registers): Update prototype. | |
11025 | (tui_toggle_float_regs, tui_calculate_regs_column_count): Remove. | |
11026 | (tui_resize_all): No need to calculate anything for register window. | |
11027 | * tui/tui-regs.c (tui_calculate_regs_column_count): Remove. | |
11028 | (tui_set_register_element, tui_set_general_regs_content): Remove. | |
11029 | (tui_set_special_regs_content): Remove. | |
11030 | (tui_set_general_and_special_regs_content): Remove. | |
11031 | (tui_set_float_regs_content): Remove. | |
11032 | (tui_reg_value_has_changed, tui_get_register_raw_value): Remove. | |
11033 | (tui_set_regs_content): Remove. | |
11034 | (tui_toggle_float_regs, _tui_toggle_float_regs_command): Remove. | |
11035 | (tui_v_show_registers_command_support): Remove. | |
11036 | (tui_show_registers): Use a reggroup to specify the registers to show. | |
11037 | (tui_show_register_group): New function. | |
11038 | (tui_display_registers_from): Compute the layout of register window | |
11039 | and refresh with new API; be sure to delete old register windows. | |
11040 | (tui_check_register_values): Update to use tui_get_register and | |
11041 | tui_display_data. | |
11042 | (tui_display_register): Just refresh the register window part. | |
11043 | (tui_register_format): Format registers and save in tui_data_element. | |
11044 | (tui_get_register): New to combine tui_reg_value_has_changed and | |
11045 | tui_get_register_raw_value; fix to use the new gdb API. | |
11046 | (tui_show_float_command): Renamed tui_reg_float_command. | |
11047 | (tui_show_general_command): Renamed tui_reg_general_command. | |
11048 | (tui_show_special_command): Renamed tui_reg_system_command. | |
11049 | (_initialize_tui_regs): Remove unused commands. | |
11050 | ||
c3364ea4 MK |
11051 | 2004-03-13 Mark Kettenis <kettenis@gnu.org> |
11052 | ||
27d1e716 MK |
11053 | * NEWS (New native configurations): Mention OpenBSD/amd64. |
11054 | ||
c3364ea4 MK |
11055 | * config/i386/nm-fbsd.h: Include "config/nm-bsd.h". |
11056 | (PTRACE_ARG3_TYPE, FETCH_INFERIOR_REGISTERS, ATTACH_DETACH): | |
11057 | Remove defines. | |
11058 | * config/i386/nm-fbsd64.h: Likewise. | |
11059 | * config/i386/nm-obsd.h: Likewise. | |
11060 | * config/sparc/nm-fbsd.h: Likewise. Update copyright year. | |
11061 | * config/alpha/nm-fbsd.h: Likewise. Update copyright year. | |
11062 | ||
b2d6d697 KB |
11063 | 2004-03-12 Kevin Buettner <kevinb@redhat.com> |
11064 | ||
11065 | * frv-tdep.c (set_variant_scratch_registers): New function. | |
b2d6d697 KB |
11066 | * frv-tdep.h (scr0_regnum, scr1_regnum, scr2_regnum, scr3_regnum): |
11067 | New constants. | |
11068 | ||
76e43199 KB |
11069 | From Richard Sandiford <rsandifo@redhat.com>: |
11070 | * frv-tdep.c (frv_gdbarch_init): Add FR450 support. | |
11071 | ||
34ce532e KB |
11072 | 2004-03-12 Kevin Buettner <kevinb@redhat.com> |
11073 | ||
11074 | * frv-tdep.c, frv-tdep.h (first_gpr_regnum, sp_regnum, fp_regnum) | |
11075 | (struct_return_regnum, last_gpr_regnum, first_fpr_regnum) | |
11076 | (last_fpr_regnum, pc_regnum, first_spr_regnum, psr_regnum, ccr_regnum) | |
11077 | (cccr_regnum, fdpic_loadmap_exec_regnum, fdpic_loadmap_interp_regnum) | |
11078 | (tbr_regnum, brr_regnum, dbar0_regnum, dbar1_regnum, dbar2_regnum) | |
11079 | (dbar3_regnum, lr_regnum, lcr_regnum, iacc0h_regnum, iacc0l_regnum) | |
11080 | (last_spr_regnum, frv_num_regs, first_pseudo_regnum, iacc0_regnum) | |
11081 | (last_pseudo_regnum, frv_num_pseudo_regs): Move constant (enum) | |
11082 | definitions from frv-tdep.c to frv-tdep.h. | |
11083 | ||
c4d10515 KB |
11084 | 2004-03-12 Kevin Buettner <kevinb@redhat.com> |
11085 | ||
11086 | Add shared library support for FR-V FDPIC ABI: | |
11087 | * Makefile.in (solib-frv.o): Add dependencies. | |
11088 | * frv-tdep.c (find_func_descr, frv_convert_from_func_ptr_addr): | |
11089 | New functions. | |
11090 | (frv_push_dummy_call): Add support for FDPIC ABI. | |
11091 | (frv_gdbarch_init): Call set_gdbarch_convert_from_func_ptr_addr() | |
11092 | for FDPIC ABI. | |
11093 | * frv-tdep.h (frv_fdpic_find_global_pointer): Declare. | |
11094 | (frv_fdpic_find_canonical_descriptor): Declare. | |
11095 | * solib-frv.c: New file. | |
11096 | * config/frv/frv.mt (TDEPFILES): Add solib.o and solib-frv.o. | |
11097 | * config/frv/tm-frv.h (solib.h): Include. | |
11098 | ||
ed1bd989 KB |
11099 | 2004-03-12 Kevin Buettner <kevinb@redhat.com> |
11100 | ||
11101 | * Makefile.in (elf_frv_h, frv_tdep_h): Define. | |
11102 | (frv-tdep.o): Update dependencies. | |
11103 | * frv-tdep.h: New file. | |
11104 | * frv-tdep.c (elf-bfd.h, elf/frv.h, osabi.h, frv-tdep.h): Include. | |
11105 | (fdpic_loadmap_exec_regnum, fdpic_loadmap_interp_regnum): New | |
11106 | constants. | |
11107 | (struct gdbarch_tdep): Add new member ``frv_abi''. | |
11108 | (frv_abi, frv_fdpic_loadmap_addresses, set_variant_abi_fdpic): New | |
11109 | functions. | |
11110 | (new_variant): Set ``frv_abi'' field. | |
11111 | (gdb_arch_init): Detect FDPIC executables. | |
11112 | ||
82b38f72 MK |
11113 | 2004-03-12 Mark Kettenis <kettenis@gnu.org> |
11114 | ||
11115 | * solib-svr4.h: Change SOLIB_SVR4 wrapper into SOLIB_SVR4_H | |
11116 | wrapper. | |
11117 | ||
db1ea9ba AC |
11118 | 2004-03-11 Andrew Cagney <cagney@redhat.com> |
11119 | ||
11120 | * solib-svr4.h: Add #ifndef SOLIB_SVR4 wrapper. | |
11121 | ||
f8766ec1 KB |
11122 | 2004-03-11 Kevin Buettner <kevinb@redhat.com> |
11123 | ||
11124 | * solist.h (master_so_list): New function. | |
11125 | * solib.c (master_so_list): Likewise. | |
11126 | * solib-svr4.c (enable_break): Iterate over so_list entries | |
11127 | obtained from master list instead of entries obtained directly | |
11128 | via svr4_current_sos(). | |
11129 | ||
523f6a27 BE |
11130 | 2004-03-10 Ben Elliston <bje@gnu.org> |
11131 | ||
11132 | * MAINTAINERS: Update my mail address. | |
11133 | ||
37814c18 KI |
11134 | 2004-03-10 Kei Sakamoto <sakamoto.kei@renesas.com> |
11135 | ||
11136 | * remote-m32r-sdi.c: Support hardware watchpoint. | |
11137 | ||
8b9740d8 DJ |
11138 | 2004-03-09 Daniel Jacobowitz <drow@mvista.com> |
11139 | ||
11140 | * user-regs.c: Update copyright years. | |
11141 | (struct user_regs): Rename to gdb_user_regs. | |
11142 | (append_user_reg, builtin_user_regs, user_regs_init) | |
11143 | (user_reg_add, user_reg_map_name_to_regnum) | |
11144 | (usernum_to_user_reg): Update. | |
11145 | ||
4bb7a0a7 DJ |
11146 | 2004-03-09 Daniel Jacobowitz <drow@mvista.com> |
11147 | ||
11148 | * dwarf2read.c (skip_leb128, peek_die_abbrev, skip_one_die) | |
11149 | (skip_children): New functions. | |
11150 | (locate_pdi_sibling): Call skip_children. | |
11151 | ||
44e1a9eb DJ |
11152 | 2004-03-09 Daniel Jacobowitz <drow@mvista.com> |
11153 | ||
11154 | * arm-tdep.c (arm_use_struct_convention): Look through typedefs. | |
11155 | * gdbtypes.c (check_typedef): Update comments. | |
11156 | ||
f3dd6933 DJ |
11157 | 2004-03-09 Daniel Jacobowitz <drow@mvista.com> |
11158 | ||
11159 | * dwarf2read.c (struct comp_unit_head): Remove dwarf2_abbrevs array. | |
11160 | (struct dwarf2_cu): Add abbrev_obstack and dwarf2_abbrevs | |
11161 | pointer. Update comment about comp_unit_head. | |
11162 | (struct abbrev_info): Shorten two int flags. | |
11163 | (dwarf_alloc_abbrev): Take a CU argument. | |
11164 | (dwarf2_build_psymtabs_hard): Call dwarf2_free_abbrev_table | |
11165 | each time through the loop. Update cleanup argument. | |
11166 | (psymtab_to_symtab_1): Update cleanup call. | |
11167 | (dwarf2_read_abbrevs, dwarf2_alloc_abbrev): Allocate on the | |
11168 | abbrev_obstack. | |
11169 | (dwarf2_free_abbrev_table): Renamed from dwarf2_empty_abbrev_table. | |
11170 | Just call obstack_free and clear the pointer. | |
11171 | ||
b40c7d58 DJ |
11172 | 2004-03-09 Daniel Jacobowitz <drow@mvista.com> |
11173 | ||
11174 | * infrun.c (handle_inferior_event): Remove short-circuit code for | |
11175 | events in a different thread. | |
11176 | ||
333dabeb DJ |
11177 | 2004-03-09 Daniel Jacobowitz <drow@mvista.com> |
11178 | ||
11179 | * target.c (debug_to_xfer_memory): If targetdebug is 1, don't | |
11180 | print the whole transfer. | |
11181 | (initialize_targets): Update description of "set debug target". | |
11182 | ||
aa17d93e DJ |
11183 | 2004-03-09 Daniel Jacobowitz <drow@mvista.com> |
11184 | ||
11185 | * arm-tdep.c (thumb_get_next_pc): Handle Thumb BLX. | |
11186 | ||
0b71f08f NW |
11187 | 2004-03-08 Nathan J. Williams <nathanw@wasabisystems.com> |
11188 | ||
11189 | * MAINTAINERS (write after approval): Add myself. | |
11190 | ||
3930f270 CV |
11191 | 2004-03-08 Corinna Vinschen <vinschen@redhat.com> |
11192 | ||
11193 | * sh-tdep.c (sh_print_registers_info): Use for loop. | |
11194 | Don't skip multiple registers when a float register is encountered. | |
11195 | ||
a2b4a96c CV |
11196 | 2004-03-08 Corinna Vinschen <vinschen@redhat.com> |
11197 | ||
11198 | Fix PR tdep/1291. | |
11199 | * sh-tdep.c (sh_analyze_prologue): Align PC relative addressing | |
11200 | to official SH documentation. | |
11201 | ||
f15a4bc0 AC |
11202 | 2004-03-07 Andrew Cagney <cagney@redhat.com> |
11203 | ||
11204 | * ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register): Delete | |
11205 | unused function. | |
11206 | ||
9498281f DJ |
11207 | 2004-03-07 Daniel Jacobowitz <drow@mvista.com> |
11208 | ||
11209 | * arm-tdep.c (thumb_get_next_pc): Handle BX. | |
11210 | (arm_get_next_pc): Handle BX and BLX. | |
11211 | ||
449e1137 AC |
11212 | 2004-03-07 Andrew Cagney <cagney@redhat.com> |
11213 | ||
eded0a31 AC |
11214 | * hppa-tdep.c: Replace DEPRECATED_FP_REGNUM with HPPA_FP_REGNUM, |
11215 | FP0_REGNUM with HPPA_FP0_REGNUM, and SP_REGNUM with | |
11216 | HPPA_SP_REGNUM. | |
11217 | (hppa_register_raw_size, hppa_register_byte, hppa_read_fp) | |
11218 | (hppa_target_read_fp): Delete. | |
11219 | (hppa_gdbarch_init): Do not set deprecated register_raw_size, | |
11220 | register_virtual_size, max_register_raw_size, | |
11221 | max_register_virtual_size, register_byte, register_size, | |
11222 | target_read_fp, fp_regnum, and register_bytes. Set register_type | |
11223 | instead of register_virtual_type. | |
11224 | (hppa32_register_type, hppa64_register_type): Replace | |
11225 | hppa32_register_virtual_type and hppa64_register_virtual_type. | |
11226 | * config/pa/tm-hppa.h (HPPA_FP0_REGNUM, HPPA_SP_REGNUM) | |
11227 | (HPPA_FP_REGNUM): Define. | |
11228 | ||
f5f907e2 AC |
11229 | * hppa-tdep.c (hppa_gdbarch_init): Add missing "break". |
11230 | ||
69b4bbe4 AC |
11231 | * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO) |
11232 | (pa_do_registers_info): Delete. | |
11233 | * hppa-tdep.c (pa_do_registers_info, pa_do_strcat_registers_info) | |
8718a420 | 11234 | (pa_print_registers, pa_print_fp_reg, pa_strcat_registers) |
69b4bbe4 | 11235 | (pa_strcat_fp_reg, pa_register_look_aside): Delete. |
f5f907e2 | 11236 | |
78161e48 AC |
11237 | * infcall.c (legacy_push_dummy_code): Delete #ifdef |
11238 | GDB_TARGET_IS_HPPA code. | |
11239 | * config/pa/tm-hppa.h (DEPRECATED_FIX_CALL_DUMMY) | |
8718a420 | 11240 | (hppa_fix_call_dummy, DEPRECATED_CALL_DUMMY_HAS_COMPLETED) |
78161e48 AC |
11241 | (DEPRECATED_DUMMY_WRITE_SP, CALL_DUMMY): Delete. |
11242 | * config/pa/tm-hppa64.h (CALL_DUMMY): Delete. | |
8718a420 RM |
11243 | * hppa-tdep.c (hppa_frame_chain, hppa_frame_chain_valid) |
11244 | (hppa_push_dummy_frame, hppa_pop_frame, hppa_push_arguments) | |
11245 | (hppa_fix_call_dummy, hppa64_stack_align, hppa_frame_saved_pc) | |
78161e48 | 11246 | (hppa_init_extra_frame_info, hppa_saved_pc_after_call) |
8718a420 RM |
11247 | (hppa64_call_dummy_breakpoint_offset, hppa_frame_init_saved_regs) |
11248 | (hppa_frameless_function_invocation, hppa64_store_return_value) | |
11249 | (hppa_store_struct_return, hppa64_extract_return_value) | |
78161e48 | 11250 | (hppa64_use_struct_convention, hppa_frame_find_saved_regs) |
8718a420 | 11251 | (hppa32_call_dummy_length, hppa64_call_dummy_length) |
78161e48 | 11252 | (find_dummy_frame_regs, FUNC_LDIL_OFFSET, FUNC_LDO_OFFSET) |
8718a420 RM |
11253 | (find_proc_framesize, deposit_21, restore_pc_queue) |
11254 | (find_return_regnum, pc_in_interrupt_handler, deposit_14) | |
210197d2 | 11255 | (rp_saved, pc_in_linker_stub): Delete. |
78161e48 | 11256 | |
782eae8b AC |
11257 | Unconditionally enable 64-bit frame and ABI code. |
11258 | * hppa-tdep.c (hppa_gdbarch_init): Do not set deprecated | |
11259 | call_dummy_breakpoint_offset, call_dummy_length, stack_align, | |
11260 | push_dummy_frame, fix_call_dummy, push_arguments, | |
11261 | call_dummy_location, extract_return_value, use_struct_convention, | |
11262 | store_return_value, store_struct_return, saved_pc_after_call, | |
11263 | init_frame_pc, frame_init_saved_regs, init_extra_frame_info, | |
11264 | frame_chain, frame_chain_valid, frameless_function_invocation, | |
11265 | frame_saved_pc, and pop_frame. | |
78161e48 | 11266 | |
449e1137 AC |
11267 | * hppa-tdep.c: Replace PC_REGNUM with PCOQ_HEAD_REGNUM. |
11268 | (hppa64_return_value, hppa64_push_dummy_call): Rewrite. | |
11269 | (hppa_gdbarch_init): Do not set PC_REGNUM. | |
11270 | ||
12507572 MK |
11271 | 2004-03-06 Mark Kettenis <kettenis@gnu.org> |
11272 | ||
11273 | * config/alpha/tm-fbsd.h: Remove file. | |
11274 | * config/alpha/fbsd.mt: Tweak comment. | |
11275 | (TM_FILE): Set to tm-alpha.h. | |
11276 | ||
c107cc1b AC |
11277 | 2004-03-05 Andrew Cagney <cagney@redhat.com> |
11278 | ||
11279 | * infrun.c (step_over_function): When non-legacy code, and no | |
11280 | step_frame_id, use the unwinder to get the caller's frame ID. | |
11281 | ||
f2e7c15d MK |
11282 | 2004-03-05 Mark Kettenis <kettenis@gnu.org> |
11283 | ||
8b0c3633 MK |
11284 | * i386bsd-tdep.c (_initialize_i386bsd_tdep): Register |
11285 | i386bsd_core_osabi_sniffer for bfd_arch_i386 instead of | |
11286 | bfd_arch_unknown. Adjust comment. | |
11287 | ||
f2e7c15d MK |
11288 | * i386-nat.c: Fix typo in comment. Re-introduce paranoiac. |
11289 | * i386obsd-tdep.c: Correct spelling in comment. | |
11290 | * i386nbsd-tdep.c: Correct spelling in comment. | |
11291 | * sparc-tdep.c: Correct spelling in comments. | |
11292 | ||
1198ecbe DC |
11293 | 2004-03-05 David Carlton <carlton@kealia.com> |
11294 | ||
11295 | * cp-namespace.c (cp_lookup_transparent_type_loop): Fix recursion | |
11296 | bug. | |
11297 | ||
9eb42ed1 MK |
11298 | 2004-03-05 Mark Kettenis <kettenis@gnu.org> |
11299 | ||
11300 | * sparc-tdep.c: Fix typo in comment. | |
11301 | ||
52b5e991 JB |
11302 | 2004-03-04 J. Brobecker <brobecker@gnat.com> |
11303 | ||
11304 | * hppa-tdep.c (hppa_frame_cache): Avoid undefined return value. | |
11305 | ||
d8151005 DJ |
11306 | 2004-03-04 Daniel Jacobowitz <drow@mvista.com> |
11307 | ||
11308 | * dwarf2read.c: Add comment describing memory lifetimes. | |
11309 | (struct dwarf2_pinfo): Update comment. | |
11310 | (dwarf2_add_field, dwarf2_add_member_fn, read_structure_scope) | |
11311 | (read_enumeration, new_symbol): Don't use obsavestring. | |
11312 | ||
cbeae229 MK |
11313 | 2004-03-04 Mark Kettenis <kettenis@gnu.org> |
11314 | ||
722d18c2 MK |
11315 | * amd64-linux-nat.c (fill_fpregset): Call amd64_colletc_fxsave |
11316 | instead of amd64_fill_fxsave. | |
11317 | * amd64bsd-nat.c (store_inferior_registers): Likewise. | |
11318 | * amd64fbsd-nat.c (fill_fpregset): Likewise. | |
11319 | ||
cbeae229 MK |
11320 | * sparc-tdep.c (sparc_frame_cache): Don't bail out if %fp is zero. |
11321 | Reorganize code a bit. | |
11322 | ||
b4206d25 OF |
11323 | 2004-03-04 Orjan Friberg <orjanf@axis.com> |
11324 | ||
11325 | * cris-tdep.c (cris_scan_prologue): Save the frame pointer's offset | |
8718a420 RM |
11326 | when the frame pointer is pushed. Don't set the frame pointer's |
11327 | address on the stack unless it's actually located there. | |
b4206d25 OF |
11328 | Set the SRP's address on the stack correctly when the PC is still in |
11329 | the prologue. | |
11330 | (cris_return_value): New function. | |
11331 | (cris_gdbarch_init): Clear deprecated store_return_value, | |
11332 | extract_return_value. | |
11333 | ||
49b0b195 JB |
11334 | 2004-03-02 Jim Blandy <jimb@redhat.com> |
11335 | ||
11336 | * stabsread.c (reg_value_complaint): The maximum register number | |
11337 | is one less than the number of registers. | |
11338 | ||
e9ff708b AC |
11339 | 2004-03-02 Andrew Cagney <cagney@redhat.com> |
11340 | ||
11341 | * i386-tdep.h (enum i386_regnum): Add I386_DS_REGNUM, | |
11342 | I386_ES_REGNUM, I386_FS_REGNUM, and I386_GS_REGNUM. Remove | |
11343 | trailing comma and redundant assignment of I386_ST0_REGNUM. | |
11344 | * amd64-nat.c (amd64_collect_native_gregset): Zero-extend the | |
11345 | 32-bit segment registers. | |
11346 | ||
d4715e41 AC |
11347 | 2004-03-01 Andrew Cagney <cagney@redhat.com> |
11348 | ||
11349 | * rs6000-tdep.c (rs6000_init_frame_pc_first): Fix compiler error, | |
11350 | use frame_relative_level and get_next_frame. | |
11351 | ||
3ce2bf18 AC |
11352 | 2004-02-29 Andrew Cagney <cagney@redhat.com> |
11353 | ||
11354 | * rs6000-tdep.c (rs6000_init_frame_pc_first): New function. | |
11355 | (rs6000_gdbarch_init): Set deprecated_init_frame_pc_first. | |
11356 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): | |
11357 | Delete macro. | |
11358 | ||
2da6aac3 DJ |
11359 | 2004-02-29 Daniel Jacobowitz <drow@mvista.com> |
11360 | ||
11361 | * inflow.c (terminal_inferior): Don't give up the terminal if we | |
11362 | previously couldn't get the inferior's terminal state. | |
11363 | ||
6ba34a8d DJ |
11364 | 2004-02-29 Daniel Jacobowitz <drow@mvista.com> |
11365 | ||
11366 | * regcache.c (read_pc_pid): Restore inferior_ptid after reading | |
11367 | PC_REGNUM. | |
11368 | ||
faae5abe AC |
11369 | 2004-02-28 Andrew Cagney <cagney@redhat.com> |
11370 | ||
11371 | * NEWS: Refer to GDB 6.1. | |
11372 | * README: Refer to GDB 6.1. | |
11373 | * PROBLEMS: Refer to GDB 6.1. | |
11374 | ||
2227a3c5 DJ |
11375 | 2004-02-28 Daniel Jacobowitz <drow@mvista.com> |
11376 | ||
11377 | * thread-db.c (disable_thread_signals): Remove unused function. | |
11378 | ||
80571bff MK |
11379 | 2004-02-28 Mark Kettenis <kettenis@gnu.org> |
11380 | ||
041bd74b MK |
11381 | * amd64-nat.c: Include "gdb_string.h". |
11382 | (amd64_collect_native_gregset): Zero-extend the 32-bit | |
11383 | general-purpose registers and %eip. | |
11384 | ||
3c017e40 MK |
11385 | * amd64-tdep.h: (amd64_collect_fxsave): New prototype. |
11386 | * amd64-tdep.c (amd64_collect_fxsave): New function. | |
11387 | (amd64_fill_fxsave): Simply call amd64_collect_fxsave. | |
11388 | ||
80571bff MK |
11389 | * i387-tdep.h: Update copyright year. |
11390 | (i387_collect_fxsave): New prototype. | |
11391 | * i387-tdep.c: Update copyright year. | |
11392 | (i387_collect_fxsave): New function containing most of the code | |
11393 | from i387_fill_fxsave. | |
11394 | (i387_fill_fxsave): Call i387_collect_fxsave. | |
11395 | ||
50d71875 AC |
11396 | 2004-02-28 Andrew Cagney <cagney@redhat.com> |
11397 | ||
11398 | * amd64-linux-nat.c (ps_get_thread_area): When architecture is | |
11399 | i386 use PTRACE_GET_THREAD_AREA. Suggested by Roland McGrath. | |
11400 | ||
4a28816e MK |
11401 | 2004-02-28 Mark Kettenis <kettenis@gnu.org> |
11402 | ||
11403 | * amd64-tdep.c (amd64_frame_cache): Fix comment. | |
11404 | ||
dbda9972 AC |
11405 | 2004-02-28 Andrew Cagney <cagney@redhat.com> |
11406 | ||
11407 | * utils.c: Use "", instead of <>, to include readline. | |
11408 | tui/tui-win.c, tui/tui.c, tui/tui-hooks.c: Ditto. | |
11409 | * tracepoint.c, top.c, symmisc.c, symfile.c: Ditto. | |
11410 | * source.c, solib.c, exec.c, event-top.c: Ditto. | |
11411 | * corelow.c, completer.c, cli/cli-setshow.c: Ditto. | |
11412 | * cli/cli-dump.c, cli/cli-cmds.c: Ditto. | |
11413 | * Makefile.in: Update all dependencies. | |
11414 | (readline_tilde_h, readline_history_h): Define. | |
11415 | (readline_headers): Delete. | |
11416 | ||
83277a99 MK |
11417 | 2004-02-28 Mark Kettenis <kettenis@gnu.org> |
11418 | ||
91ae4303 MK |
11419 | * config/djgpp/fnchange.lst: Rename "config/i386/nm-linux64.h" to |
11420 | "config/i386/nm-lx64.h" and "config/i386/tm-linux64.h" to | |
11421 | "config/i386/tm-lx64.h". | |
11422 | ||
83277a99 MK |
11423 | * config/djgpp/fnchange.lst: Rename "amd64-linux-tdep.c" to |
11424 | "amd64-ltdep.c" and "amd64-linux-nat.c" to "amd64-lnat.c". Remove | |
11425 | rules for "x86-64-linux-tdep.c" and "x86-64-linux-nat.c". | |
11426 | ||
6e1d7d6c AC |
11427 | 2004-02-28 Andrew Cagney <cagney@redhat.com> |
11428 | ||
ecc9ac84 AC |
11429 | * dwarf2-frame.h (struct gdbarch): Add opaque declaration. |
11430 | ||
6e1d7d6c AC |
11431 | * breakpoint.c (_initialize_breakpoint): Use |
11432 | "add_setshow_auto_boolean_cmd. Better word-wrap help messages. | |
11433 | Add help to show command. | |
11434 | ||
9671aeef MK |
11435 | 2004-02-28 Mark Kettenis <kettenis@gnu.org> |
11436 | ||
7fa2737c MK |
11437 | * i386-nat.c: Reformat to be closer to coding standards. |
11438 | (i386_handle_nonaligned_watchpoint): Rename local variable `rv' to | |
11439 | `retval'. Make variables `align' and `size' local to while-loop. | |
11440 | (i386_stopped_data_address): Rename local variable `ret' to `addr'. | |
11441 | (_initialize_i386_nat): New prototype. | |
11442 | ||
9671aeef MK |
11443 | * tui/tui.c: Include <readline/readline.h> instead of |
11444 | "readline/readline.h". Include it after <term.h> and | |
11445 | "gdb_curses.h". | |
11446 | ||
fca7aa43 AC |
11447 | 2004-02-27 Andrew Cagney <cagney@redhat.com> |
11448 | ||
412275d5 AC |
11449 | * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always use |
11450 | the new frame unwind code. | |
11451 | (hppa_frame_cache): Use PCOQ_HEAD_REGNUM instead of PC_REGNUM. | |
11452 | (hppa_frame_prev_register): Compute PCOQ_TAIL_REGNUM from | |
11453 | PCOQ_HEAD_REGNUM. | |
11454 | ||
fca7aa43 AC |
11455 | * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always |
11456 | "return_value" and "push_dummy_call". | |
11457 | (hppa32_use_struct_convention): Delete unused function. | |
11458 | (hppa32_store_return_value): Delete unused function. | |
11459 | (hppa32_extract_return_value): Delete unused function. | |
11460 | (hppa32_stack_align): Delete function. | |
11461 | ||
e6a8a7d2 EZ |
11462 | 2004-02-27 Eli Zaretskii <eliz@elta.co.il> |
11463 | ||
11464 | * coffread.c (enter_linenos): Don't let rawptr reference memory | |
11465 | outside linetab[]'s limits. | |
11466 | ||
1797a8f6 AC |
11467 | 2004-02-27 Andrew Cagney <cagney@redhat.com> |
11468 | ||
11469 | * hppa-tdep.c (hppa32_push_dummy_call): Fix code reserving | |
11470 | inferior stack space - the stack needs to grow upwards. | |
11471 | (hppa32_frame_align): New function. | |
11472 | (hppa64_frame_align): Replace hppa_frame_align. | |
11473 | (hppa_gdbarch_init): Update. | |
11474 | ||
2e4b5889 OF |
11475 | 2004-02-26 Orjan Friberg <orjanf@axis.com> |
11476 | ||
11477 | * cris-tdep.c (frame_unwind.h, frame-base.h, trad-frame.h) | |
11478 | (dwarf2-frame.h): Include. | |
11479 | (enum cris_regnums): New enum CRIS_FP_REGNUM. | |
11480 | Remove static variables related to ABI setting. | |
11481 | (struct gdbarch_tdep): Remove cris_abi member. | |
11482 | (struct frame_extra_info): Remove. | |
11483 | (cris_unwind_cache, stack_item): New structs. | |
11484 | (cris_frame_unwind, cris_frame_base): New variables. | |
11485 | (push_stack_item, pop_stack_item) | |
11486 | (cris_frame_unwind_cache, cris_frame_this_id) | |
11487 | (cris_frame_prev_register, cris_unwind_dummy_id, cris_frame_align) | |
11488 | (cris_push_dummy_code, cris_push_dummy_call, cris_frame_sniffer) | |
11489 | (cris_frame_base_address, cris_scan_prologue, cris_unwind_pc) | |
11490 | (cris_unwind_sp, cris_store_return_value, cris_extract_return_value) | |
11491 | (cris_reg_struct_has_addr): New functions. | |
11492 | (cris_examine, cris_frame_init_saved_regs, cris_frame_chain) | |
8718a420 | 11493 | (cris_frame_saved_pc, cris_saved_pc_after_call, |
2e4b5889 OF |
11494 | (cris_store_struct_return, cris_frameless_function_invocation) |
11495 | (cris_pop_frame, cris_skip_prologue_main) | |
11496 | (cris_abi_original_store_return_value) | |
11497 | (cris_abi_v2_store_return_value) | |
11498 | (cris_abi_original_extract_return_value) | |
11499 | (cris_abi_v2_extract_return_value) | |
11500 | (cris_abi_original_reg_struct_has_addr) | |
11501 | (cris_abi_v2_reg_struct_has_addr) | |
11502 | (cris_abi_original_push_arguments, cris_abi_v2_push_arguments) | |
11503 | (cris_push_return_address, cris_abi_update): Remove. | |
11504 | (_initialize_cris_tdep): Remove ABI command. | |
11505 | (cris_dump_tdep): Ditto. | |
8718a420 | 11506 | (cris_gdbarch_init): Remove ABI command. |
2e4b5889 OF |
11507 | Set store_return_value, extract_return_value, push_dummy_code, |
11508 | push_dummy_call, frame_align, unwind_pc, unwind_sp, unwind_dummy_id, | |
11509 | frame_unwind_append_sniffer, frame_base_set_default. | |
11510 | Clear deprecated init_frame_pc, push_arguments, store_return_value, | |
11511 | extract_return_value, fp_regnum, pc_in_call_dummy, call_dummy_words, | |
11512 | sizeof_call_dummy_words, get_saved_register, push_return_address, | |
8718a420 | 11513 | pop_frame, store_struct_return, frame_init_saved_regs, |
2e4b5889 OF |
11514 | init_extra_frame_info, frameless_function_invocation, frame_chain, |
11515 | frame_saved_pc, saved_pc_after_call, save_dummy_frame_tos, | |
11516 | dummy_write_sp. | |
8718a420 | 11517 | |
6b9acc27 JJ |
11518 | 2004-02-26 Jeff Johnston <jjohnstn@redhat.com> |
11519 | ||
11520 | * valprint.h (print_hex_chars, print_char_chars): New prototypes. | |
11521 | * valprint.c (print_hex_chars): Change from static to external. | |
11522 | (print_char_chars): New function. | |
11523 | * printcmd.c (print_scalar_formatted): For integer and enum types | |
11524 | that are longer than LONGEST, perform processing via appropriate | |
11525 | print_*_chars routines. | |
11526 | ||
a431654a AC |
11527 | 2004-02-26 Andrew Cagney <cagney@redhat.com> |
11528 | ||
11529 | * Makefile.in: Update dependencies. | |
11530 | Changes from Ulrich Weigand, | |
11531 | * s390-tdep.c: Include "dwarf2-frame.h". | |
11532 | (s390_dwarf2_frame_init_reg): New function. | |
11533 | (s390_gdbarch_init): Install dwarf2_frame_sniffer and | |
11534 | dwarf2_frame_base_sniffer. Call dwarf2_frame_set_init_reg. | |
11535 | ||
fa8d40ab JJ |
11536 | 2004-02-26 Jeff Johnston <jjohnstn@redhat.com> |
11537 | ||
11538 | * breakpoint.c (pending_break_support): New setting variable. | |
11539 | (break_command_1): Account for pending_break_support setting | |
11540 | when creating pending breakpoints. | |
11541 | (set_breakpoint_cmd, show_breakpoint_cmd): New functions. | |
11542 | (_initialize_breakpoint): Add "set breakpoint pending" and | |
11543 | "show breakpoint pending" commands. | |
11544 | ||
0dcd613f AC |
11545 | 2004-02-26 Andrew Cagney <cagney@redhat.com> |
11546 | ||
11547 | Fix PR i18n/1570. | |
11548 | * charset.c (backslashable, backslashed, represented): Remove 'e' | |
11549 | from list of escaped characters, not part of ISO-C. | |
11550 | ||
479272a3 JB |
11551 | 2004-02-25 J. Brobecker <brobecker@gnat.com> |
11552 | ||
11553 | From Peter Schauer <schauer@pdf.de>: | |
11554 | * tui/tui.c: Move system header includes after local includes. | |
11555 | Fixes a build failure on solaris systems. | |
11556 | ||
7613d933 JB |
11557 | 2004-02-25 J. Brobecker <brobecker@gnat.com> |
11558 | ||
11559 | * configure.in: Refine the previous change. | |
11560 | * configure: Regenerate. | |
11561 | ||
9c1488cb MK |
11562 | 2004-02-25 Mark Kettenis <kettenis@gnu.org> |
11563 | ||
11564 | * amd64-tdep.h: Renamed from x86-64-tdep.h. | |
11565 | * amd64-tdep.c: Renamed from x86-64-tdep.c. Include | |
11566 | "amd64-tdep.h" instead of "x86-64-tdep.h". | |
11567 | * amd64-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h". | |
11568 | * amd64-linux-tdep.h: Renamed from x86-64-linux.h. | |
11569 | * amd64-linux-tdep.c: Renamed from x86-64-linux-tdep.c. Include | |
11570 | "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h" | |
11571 | and "x86-64-tdep.c". | |
11572 | * amd64-linux-nat.c: Renamed from x86-64-linux-nat.c. Include | |
11573 | "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h" | |
11574 | and "x86-64-tdep.c". | |
11575 | * amd64bsd-nat.c: Update copyright year. | |
11576 | Include "amd64-tdep.h" instead of "x86-64-tdep.h". | |
11577 | * amd64fbsd-tdep.c: Include "amd64-tdep.h" instead of | |
11578 | "x86-64-tdep.h". | |
11579 | * amd64fbsd-nat.c: Include "amd64-tdep.h" instead of | |
11580 | "x86-64-tdep.h". | |
11581 | * amd64nbsd-tdep.c: Include "amd64-tdep.h" instead of | |
11582 | "x86-64-tdep.h". | |
11583 | * amd64nbsd-nat.c: Include "amd64-tdep.h" instead of | |
11584 | "x86-64-tdep.h". | |
11585 | * amd64obsd-tdep.c: Include "amd64-tdep.h" instead of | |
11586 | "x86-64-tdep.h". | |
11587 | * amd64obsd-nat.c: Include "amd64-tdep.h" instead of | |
11588 | "x86-64-tdep.h". | |
8718a420 | 11589 | * configure.host: (x86_64-*-linux*): Set gdb_target to linux64. |
9c1488cb MK |
11590 | * configure.tgt (x86_64-*-linux*): Set gdb_target to linux64. |
11591 | * Makefile.in (amd64_linux_tdep_h): Renamed from | |
11592 | x86_64_linux_tdep_h. | |
11593 | (amd64_tdep_h): Renamed from x86_64_tdep_h. | |
11594 | (amd64bsd-nat.o, amd64fbsd-nat.o, amd64fbsd-tdep.o, amd64-nat.o) | |
11595 | (amd64nbsd-nat.o, amd64nbsd-tdep.o, amd64obsd-nat.o) | |
11596 | (amd64obsd-tdep.o): Update dependencies. | |
11597 | (amd64-tdep.o, amd64-linux-nat.o, amd64-linux-tdep.o): New | |
11598 | dependencies. | |
11599 | (x86-64-linux-nat.o, x86-64-linux-tdep.o, x86-64-tdep.o): Remove | |
11600 | dependencies. | |
11601 | (ALLDEPFILES): Add amd64-tdep.c, amd64obsd-nat.c, amd64obsd-nat.c, | |
11602 | amd64-linux-nat.c amd64-linux-tdep.c. | |
11603 | * config/i386/tm-linux64.h: Renamed from tm-x86-64linux.h | |
11604 | * config/i386/nm-linux64.h: Renamed from nm-x86-64linux.h. | |
11605 | * config/i386/linux64.mt: Renamed from x86-64linux.mt. | |
11606 | (TDEPFILES): Replace x86-64-tdep.o and x86-64-linux-tdep.o with | |
11607 | amd64-tdep.o and amd64-linux-tdep.o. | |
11608 | (TM_FILE): Set to tm-linux64.h. | |
11609 | * config/i386/linux64.mh: Renamed from x86-64linux.mh. | |
11610 | (NAT_FILE): Set to nm-linux64.h. | |
11611 | (NATDEPFILES): Replace x86-64-linux-nat.o with amd64-linux-nat.o. | |
11612 | * config/i386/fbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with | |
11613 | amd64-tdep.o. | |
11614 | * config/i386/nbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with | |
11615 | amd64-tdep.o. | |
11616 | * config/i386/obsd64.mt (TDEPFILES): Replace x86-64-tdep.o with | |
11617 | amd64-tdep.o. | |
11618 | ||
4b8dad4a RM |
11619 | 2004-02-25 Roland McGrath <roland@redhat.com> |
11620 | ||
11621 | * remote.c (remote_protocol_qPart_auxv): New variable. | |
11622 | (init_all_packet_configs): Initialize it. | |
11623 | (set_remote_protocol_qPart_auxv_packet_cmd): New function. | |
11624 | (show_remote_protocol_qPart_auxv_packet_cmd): New function. | |
11625 | (show_remote_cmd): Call it. | |
11626 | (_initialize_remote): Initialize commands. | |
11627 | (remote_xfer_partial): If enabled, use qPart:auxv:read:... query to | |
11628 | service TARGET_OBJECT_AUXV requests. | |
11629 | ||
66745969 JB |
11630 | 2004-02-25 J. Brobecker <brobecker@gnat.com> |
11631 | ||
11632 | * configure.in: Make sure that the wborder function is available. | |
11633 | Otherwise, search for it in the cur_colr library. | |
11634 | * configure: Regenerate. | |
11635 | ||
79508e1e AC |
11636 | 2004-02-25 Andrew Cagney <cagney@redhat.com> |
11637 | ||
11638 | * hppa-tdep.c (hppa32_push_dummy_call): Rewrite. | |
11639 | ||
571ee600 MK |
11640 | 2004-02-25 Mark Kettenis <kettenis@gnu.org> |
11641 | ||
11642 | * config/i386/tm-x86-64linux.h: Tweak comments. | |
11643 | ||
2b1b322f | 11644 | 2004-02-25 Richard Sandiford <rsandifo@redhat.com> |
ad74788f RS |
11645 | |
11646 | * MAINTAINERS: Add self to write-after-approval list. | |
11647 | ||
4d2acc65 AC |
11648 | 2004-02-25 Andrew Cagney <cagney@redhat.com> |
11649 | ||
4b8dad4a | 11650 | PR cli/1566. Problem found, and fix suggested by David Allan. |
4d2acc65 AC |
11651 | * cli/cli-script.c (execute_control_command): Unconditionally |
11652 | install a cleanup. Default "ret" to "invalid_control". Use | |
11653 | "break" instead of "return" to escape from the switch. | |
11654 | ||
4cfcaf21 JB |
11655 | 2004-02-24 J. Brobecker <brobecker@gnat.com> |
11656 | ||
11657 | * tui/tui-disasm.c: %s/lines/asm_lines/g to avoid a collision | |
11658 | with the lines macro defined in term.h on AiX. | |
11659 | * tui/tui-regs.c: %s/label_width/tui_label_width/g, to avoid | |
11660 | a collision with the label_width macro defined in term.h on AiX. | |
11661 | ||
54a5c8d8 KB |
11662 | 2004-02-23 David Mosberger <davidm@hpl.hp.com> |
11663 | ||
11664 | Committed by Kevin Buettner <kevinb@redhat.com>. | |
11665 | ||
11666 | * ia64-tdep.h (ia64_write_pc, ia64_linux_write_pc): Declare. | |
11667 | * ia64-tdep.c (ia64_write_pc): Make it a global function. | |
11668 | (ia64_gdbarch_init): For Linux targets, use ia64_linux_write_pc() | |
11669 | instead of ia64_write_pc(). | |
11670 | * ia64-linux-tdep.c (regcache.h): Include. | |
11671 | (ia64_linux_write_pc): New function. | |
4b8dad4a | 11672 | |
8a1dac83 RM |
11673 | 2004-02-23 Roland McGrath <roland@redhat.com> |
11674 | ||
11675 | * auxv.c (info_auxv_command): Fix typos in error messages. | |
11676 | ||
90f90721 MK |
11677 | 2004-02-23 Mark Kettenis <kettenis@gnu.org> |
11678 | ||
8a1dac83 | 11679 | * x86-64-tdep.h: Tweak comment. |
90f90721 MK |
11680 | (enum amd64_regnum): New. |
11681 | (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM) | |
11682 | (X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM) | |
11683 | (X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM) | |
11684 | (X86_64_XMM1_REGNUM): Removed. | |
11685 | (AMD64_NUM_GREGS): Renamed from X86_64_NUM_GREGS. | |
11686 | (amd64_init_abi, amd64_supply_fxsave, amd64_fill_fxsave): Adjust | |
11687 | prototypes for renamed functions. | |
11688 | * x86-64-tdep.c: Fix typo. | |
11689 | (amd64_dwarf_regmap): Use constants from `enum amd64_regnum' for | |
11690 | register numbers. | |
11691 | (amd64_return_value, amd64_push_arguments, amd64_push_dummy_call): | |
11692 | Use constants from `enum amd64_regnum' for register numbers. | |
11693 | (AMD64_NUM_SAVED_REGS): Adjust for renamed macros. | |
11694 | (amd64_analyze_prologue, amd64_frame_cache, | |
11695 | amd64_sigtramp_frame_cache): Use constants from `enum | |
11696 | amd64_regnum' for register numbers. | |
11697 | (amd64_supply_fpregset): Adjust for renamed functions. | |
11698 | (amd64_init_abi): Rename from x86_64_init_abi. Use constants from | |
11699 | `enum amd64_regnum' for register numbers. | |
11700 | (I387_ST0_REGNUM): Use constant from `enum amd64_regnum'. | |
11701 | (amd64_supply_fxsave): Rename from x86_64_supply_fxsave. | |
11702 | (amd64_fill_fxsave): Rename fro x86_64_fill_fxsave. | |
11703 | * x86-64-linux-tdep.c (amd64_linux_supply_gregset) | |
11704 | (amd64_linux_fill_gregset): Adjust for renamed macros. | |
11705 | (fetch_core_registers): Adjust for renamed functions. | |
11706 | (amd64_linux_init_abi): Adjust for renamed functions. | |
11707 | * x86-64-linux-nat.c (supply_gregset, fill_gregset): Adjust for | |
11708 | renamed functions. | |
11709 | * amd64-nat.c: Adjust for renamed macros. | |
11710 | * amd64bsd-nat.c (fetch_inferior_registers) | |
11711 | (store_inferior_registers): Use constants from `enum amd64_regnum' | |
11712 | for register numbers. Adjust for renamed variables. | |
11713 | * amd64fbsd-nat.c (supply_gregset, fill_gregset): Adjust for | |
11714 | renamed variables. | |
11715 | (_initialize_amd64fbsd_nat): Use constants from `enum | |
11716 | amd64_regnum' for register numbers. | |
11717 | * amd64fbsd-tdep.c (amd64fbsd_sigcontext_addr): Use constants from | |
11718 | `enum amd64_regnum' for register numbers. | |
11719 | (amd64fbsd_init_abi): Adjust for renamed functions. | |
11720 | * amd64nbsd-tdep.c (amd64nbsd_sigcontext_addr): Use constants from | |
11721 | `enum amd64_regnum' for register numbers. | |
11722 | (amd64nbsd_init_abi): Adjust for renamed functions. | |
11723 | (_initialize_amd64nbsd_ndep): Adjust for renamed macros. | |
11724 | * amd64obsd-tdep.c (amd64obsd_sigcontext_addr): Use constants from | |
11725 | `enum amd64_regnum' for register numbers. | |
11726 | (amd64obsd_init_abi): Adjust for renamed functions. | |
11727 | (_initialize_amd64obsd_ndep): Adjust for renamed macros. | |
11728 | ||
d5479188 JJ |
11729 | 2004-02-23 Jeff Johnston <jjohnstn@redhat.com> |
11730 | ||
11731 | * breakpoint.c (print_one_breakpoint): Do not output spaces | |
11732 | after printing <PENDING> for a pending breakpoint. | |
11733 | ||
81cb7cc9 JJ |
11734 | 2004-02-23 Jeff Johnston <jjohnstn@redhat.com> |
11735 | ||
11736 | * printcmd.c (print_scalar_formatted): Initialize val_long | |
11737 | to remove compiler warning message. | |
11738 | ||
cbdeadca JJ |
11739 | 2004-02-23 Jeff Johnston <jjohnstn@redhat.com> |
11740 | ||
11741 | * defs.h (nquery, yquery): New prototypes. | |
11742 | * breakpoint.c (break_command_1): Use new nquery interface. | |
11743 | * utils.c (defaulted_query, nquery, yquery): New functions. | |
11744 | ||
da6bab63 AC |
11745 | 2004-02-23 Andrew Cagney <cagney@redhat.com> |
11746 | ||
2f690297 AC |
11747 | * hppa-tdep.c (hppa_frame_align): New function. |
11748 | (hppa32_push_dummy_call): New function. | |
11749 | (hppa64_push_dummy_call): New function. | |
11750 | (hppa_gdbarch_init): Set frame_align and push_dummy_call; keep | |
11751 | disabled. | |
8a1dac83 | 11752 | |
da6bab63 AC |
11753 | * infcall.c (legacy_push_dummy_code): Don't call deprecated |
11754 | FIX_CALL_DUMMY when push_dummy_call is available. | |
11755 | (call_function_by_hand, push_dummy_code): Ditto. | |
11756 | ||
abf9b42d AC |
11757 | 2004-02-22 Andrew Cagney <cagney@redhat.com> |
11758 | ||
11759 | * config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Delete macro. | |
11760 | (DEPRECATED_PC_IN_CALL_DUMMY): Delete macro. | |
11761 | (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete macro. | |
11762 | * hppa-tdep.c (hppa_gdbarch_init): Clear deprecated | |
11763 | use_generic_dummy_frames, set deprecated pc_in_call_dummy, set | |
11764 | call_dummy_location to ON_STACK. | |
11765 | ||
10fc94a4 MK |
11766 | 2004-02-22 Mark Kettenis <kettenis@gnu.org> |
11767 | ||
51433e4b MK |
11768 | * x86-64-linux-tdep.c: Tweak comment. |
11769 | (amd64_linux_supply_gregset): Renamed from | |
11770 | x86_64_linux_supply_gresget. | |
11771 | (amd64_linux_fill_gregset): Renamed from | |
11772 | x86_64_linux_fill_gregset. | |
11773 | (fetch_core_registers): Adjust for renamed functions. | |
11774 | (amd64_core_fns): Renamed from x86_64_core_fns. | |
11775 | (amd64_linux_sigtramp_start): Renamed from | |
11776 | x86_64_linux_sigtramp_start. | |
11777 | (amd64_linux_pc_in_sigtramp): Renamed from | |
11778 | x86_64_linux_pc_in_sigtramp. Adjust for renamed functions. | |
11779 | (AMD64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Renamed from | |
11780 | X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET. | |
11781 | (amd64_linux_sigcontext_addr): Renamed from | |
11782 | x86_64_linux_sigcontext_addr. | |
11783 | (amd64_linux_sc_reg_offset): Renamed from | |
11784 | x86_64_linux_sc_reg_offset. | |
11785 | (amd64_linux_init_abi): Renamed from x86_64_linux_init_abi. | |
11786 | Adjust for renamed functions and variables. | |
11787 | (_initialize_amd64_linux_tdep): Renamed from | |
11788 | _initialize_x86_64_linux_tdep. Adjust for renamed functions and | |
11789 | variables. | |
11790 | * x86-64-linux-tdep.h: Update copyright year. Tweak comment. | |
11791 | Adjust for renamed functions. | |
11792 | ||
430eaf2e MK |
11793 | * x86-64-linux-nat.c (amd64_linux_gregset64_reg_offset): Rename |
11794 | from x86_64_linux_gregset64_reg_offset. | |
11795 | (amd64_linux_gregset32_reg_offset): Rename from | |
11796 | x86_64_linux_gregset64_reg_offset. | |
11797 | (amd64_linux_dr_get): Renamed from x86_64_linux_dr_get. | |
11798 | (amd64_linux_dr_set): Renamed from x86_64_linux_dr_set. | |
11799 | (amd64_linux_dr_set_control): Renamed from | |
11800 | x86_64_linux_dr_set_control. Adjust for renamed functions. | |
11801 | (amd64_linux_dr_set_addr): Renamed from x86_64_linux_dr_set_addr. | |
11802 | Adjust for renamed functions. | |
11803 | (amd64_linux_dr_reset_addr): Renamed from | |
11804 | x86_64_linux_dr_reset_addr. Adjust for renamed functions. | |
11805 | (amd64_linux_dr_get_status): Renamed from | |
11806 | x86_64_linux_dr_get_status. Adjust for renamed functions. | |
11807 | (_initialize_amd64_linux_nat): Renamed from | |
11808 | _initialize_x86_64_linux_nat. Adjust for renamed variables and | |
11809 | functions. | |
11810 | * config/i386/nm-x86-64linux.h: Update copyright year. | |
11811 | Adjust for renamed functions. | |
11812 | ||
10fc94a4 MK |
11813 | * amd64fbsd-tdep.c (amd64fbsd_sigtramp_start_addr): Renamed from |
11814 | amd64fbsd_sigtramp_start. | |
11815 | (amd64fbsd_sigtramp_end_addr): Renamed from | |
11816 | amd64fbsd_sigtramp_end. | |
11817 | (amd64fbsd_init_abi): Adjust for renamed variables. | |
11818 | * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Adjust for renamed | |
11819 | variables. | |
11820 | * x86-64-tdep.h (amd64fbsd_sigtramp_start_addr): Renamed from | |
11821 | amd64fbsd_sigtramp_start. | |
11822 | (amd64fbsd_sigtramp_end_addr): Renamed from | |
11823 | amd64fbsd_sigtramp_end. | |
11824 | ||
343af405 AC |
11825 | 2004-02-22 Andrew Cagney <cagney@redhat.com> |
11826 | ||
537987fc AC |
11827 | * hppa-tdep.c (hppa32_return_value): New function. |
11828 | (hppa64_return_value): New function. | |
11829 | (hppa_gdbarch_init): Set return_value; keep disabled. | |
11830 | ||
fad850b2 AC |
11831 | * hppa-tdep.c (hppa_gdbarch_init): Re-order separating |
11832 | struct-return and inferior function call methods. | |
11833 | ||
26d08f08 AC |
11834 | * hppa-tdep.c: Include "trad-frame.h", "frame-unwind.h", and |
11835 | "frame-base.h". | |
11836 | (struct hppa_frame_cache): Define. | |
11837 | (hppa_frame_cache, hppa_frame_this_id): New functions. | |
11838 | (hppa_frame_prev_register): New function. | |
11839 | (hppa_frame_unwind, hppa_frame_base): New variables. | |
11840 | (hppa_frame_unwind_sniffer): New function. | |
11841 | (hppa_frame_base_address, hppa_unwind_pc): New function. | |
11842 | (hppa_gdbarch_init): Set unwind_dummy_id, unwind_pc, frame unwind | |
11843 | sniffer, and frame base sniffer; keep disabled. | |
11844 | (hppa_frame_base_sniffer, hppa_unwind_dummy_id): New functions. | |
11845 | * Makefile.in: Update dependencies, fix s/nbsd/obsd/ typo. | |
11846 | ||
e7d7bd65 AC |
11847 | * frame-unwind.c (frame_unwind_find_by_frame): Add legacy_frame_p |
11848 | to predicates for "seriously old code". | |
11849 | ||
e963316f AC |
11850 | * hppa-tdep.c (hppa_gdbarch_init): Convert compile time #if0s into |
11851 | runtime if(0). | |
11852 | ||
56132691 AC |
11853 | * hppa-tdep.c (hppa_breakpoint_from_pc): Make "breakpoint" |
11854 | unsigned. | |
11855 | (hppa_frame_find_saved_regs): Fix "std" instruction pattern | |
e963316f | 11856 | |
343af405 AC |
11857 | * config/pa/tm-hppa.h: Update copyright. |
11858 | (DEPRECATED_INIT_FRAME_PC): Delete macro. | |
11859 | (deprecated_init_frame_pc_default): Delete declaration. | |
11860 | (hppa_frame_init_saved_regs): Delete declaration. | |
11861 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro. | |
11862 | * hppa-tdep.c: Include "arch-utils.h". | |
11863 | (hppa_gdbarch_init): Set deprecated init_frame_pc | |
11864 | and deprecated frame_init_saved_regs. | |
11865 | (hppa_frame_init_saved_regs): Make static. | |
11866 | ||
f5859b4d MK |
11867 | 2004-02-22 Mark Kettenis <kettenis@gnu.org> |
11868 | ||
86f6f8e7 | 11869 | Remove old 386BSD support. |
cf7c5c23 | 11870 | * NEWS (REMOVED configurations and files): Add i[3456]86-*-bsd*. |
86f6f8e7 MK |
11871 | * configure.host: Remove i[34567]86-*-bsd*. |
11872 | * configure.tgt: Remove i[34567]86-*-bsd*. | |
11873 | * i386b-nat.c: Removed. | |
11874 | * Makefile.in (ALLDEPFILES): Remove i386b-nat.c. | |
cf7c5c23 MK |
11875 | (i386b-nat.o): Remove dependencies. |
11876 | ||
86f6f8e7 MK |
11877 | * config/i386/i386bsd.mh: Removed. |
11878 | * config/i386/i386bsd.mt: Removed. | |
11879 | * config/i386/nm-i386bsd.h: Removed. | |
11880 | * config/i386/tm-i386bsd.h: Removed. | |
11881 | * config/i386/xm-i386bsd.h: Removed. | |
11882 | ||
971218cd MK |
11883 | * x86-64-tdep.h (amd64obsd_r_reg_offset): New extern declaration. |
11884 | ||
7e654c37 MK |
11885 | * amd64fbsd-tdep.c: Include "solib-svr4.h". |
11886 | (amd64fbsd_init_abi): Set link map offsets. | |
11887 | * amd64nbsd-tdep.c: Include "slib-svr4.h". | |
11888 | (amd64nbsd_init_abi): Set link map offsets. | |
11889 | * amd64obsd-tdep.c: Include "solib-svr4.h". | |
11890 | (amd64obsd_init_abi): Set link map offsets. | |
11891 | * i386fbsd-tdep.c: Include "solib-svr4.h". | |
11892 | (i386fbsd_init_abi): Set link map offsets. | |
11893 | * i386nbsd-tdep.c: Include "solib-svr4.h". | |
11894 | (i386nbsdelf_init_abi): Set link map offsets. | |
11895 | * Makefile.in (amd64fbsd-tdep.o, amd64nbsd-tdep.o) | |
11896 | (amd64obsd-tdep.o, i386fbsd-tdep.o): Update dependencies. | |
11897 | * config/i386/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o, | |
11898 | solib-legacy.o and core-aout.o. Reformat. | |
11899 | * config/i386/fbsd64.mh (NATDEPFILES): Remove solib.o, | |
11900 | solib-svr4.o, solib-legacy.o. Reformat. | |
11901 | * config/i386/nbsdaout.mh (NATDEPFILES): Add solib.o. Reformat. | |
11902 | * config/i386/nbsdelf.mh: Reformat. | |
11903 | * config/i386/nbsd64.mh (NATDEPFILES): Remove solib.o, | |
11904 | solib-svr4.o, solib-legacy.o and corelow.o. | |
11905 | * config/i386/obsd.mh, config/i386/obsdaout.mh: Reformat. | |
11906 | * config/i386/obsd64.mh (NATDEPFILES): Remove solib.o, | |
11907 | solib-svr4.o, solib-legacy.o and corelow.o. Reformat. | |
11908 | * config/i386/fbsd.mt (TDEPFILES): Add solib.o, solib-svr4.o. | |
11909 | * config/i386/fbsd64.mt (TDEPFILES): Add solib.o, solib-svr4.o. | |
11910 | (TM_FILE): Set to tm-fbsd.h. | |
11911 | * config/i386/nbsd.mt (TDEPFILES): Reformat. | |
11912 | * config/i386/nbsd64.mt (TDEPFILES): Add corelow.o, solib.o and | |
11913 | solib-svr4.o. | |
11914 | * config/i386/obsd.mt (TDEPFILES): Add corelow.o, solib.o and | |
11915 | solib-svr4.o. | |
11916 | (TM_FILE): Set to nm-nbsd.h. | |
11917 | * config/i386/nm-fbsd.h: Update copyright year. Tweak comments. | |
11918 | Simplify shared library support. Don't include "elf/common.h". | |
11919 | (SVR4_SHARED_LIBS): Don't define. | |
11920 | * config/i386/nm-fbsd64.h: Update copyright year. Don't include | |
11921 | "solib.h". | |
11922 | * config/i386/nm-nbsd.h, config/i386/nm-nbsdaout.h, | |
11923 | config/i386/nm-obsd.h: Update copyright year. Tweak comments. | |
11924 | * config/i386/tm-fbsd.h: Update copyright tear. Tweak comments. | |
11925 | Don't include "i386/tm-i386.h". Include "solib.h". | |
11926 | * config/i386/tm-nbsd.h: Update copyright year. Tweak comments. | |
11927 | Don't include "i386/tm-i386.h". | |
11928 | * config/i386/xm-i386.h: Update copyright year. Tweak comments. | |
11929 | * config/i386/xm-nbsd.h: Update copyright year. Tweak comments. | |
11930 | Include "i386/xm-i386.h". | |
11931 | (HOST_LONG_DOUBLE_FORMAT): Remove. | |
11932 | ||
5d93ae8c MK |
11933 | Fix OpenBSD/i386 sigtramp recognition. |
11934 | * i386-tdep.h: Update copyright year. | |
11935 | (i386bsd_pc_in_sigtramp, i386bsd_sigtramp_start) | |
11936 | (i386bsd_sigtramp_end): New prototypes. | |
11937 | (i386fbsd_sigtramp_start_addr): Renamed from | |
11938 | i386fbsd_sigtramp_start. | |
11939 | (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end. | |
11940 | (i386obsd_sigtramp_start_addr): Renamed from | |
11941 | i386obsd_sigtramp_start. | |
11942 | (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end. | |
11943 | * i386bsd-tdep.c: Update copyright year. | |
11944 | (i386bsd_pc_in_sigtramp): Make public. | |
11945 | * i386fbsd-nat.c: Update copyright year. | |
11946 | (_initialize_i386fbsd_nat): Adjust for renamed variables. | |
11947 | * i386fbsd-tdep.c: Update copyright year. | |
11948 | (i386fbsd_sigtramp_start_addr): Renamed from | |
11949 | i386fbsd_sigtramp_start. | |
11950 | (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end. | |
11951 | (i386fbsdaout_init_abi): Adjust for renamed variables. | |
11952 | * i386obsd-nat.c: Update copyright year. | |
11953 | (_initialize_i386obsd_nat): Adjust for renamed variables. | |
11954 | * i386obsd-tdep.c: Include "target.h". | |
11955 | (i386obsd_page_size): New variable. | |
11956 | (i386obsd_pc_in_sigtramp, i386obsd_sigtramp_start) | |
11957 | (i386obsd_sigtramp_end): New functions. | |
11958 | (i386obsd_sigtramp_start_addr): Renamed from | |
11959 | i386obsd_sigtramp_start. | |
11960 | (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end. | |
11961 | (i386obsd_init_abi): Adjust for renamed variables. Set | |
11962 | pc_in_sigtramp, sigtramp_start and sigtramp_end. | |
11963 | * Makefile.in (i386obsd-tdep.o): Update dependencies. | |
11964 | ||
84d04465 MK |
11965 | * amd64obsd-tdep.c (amd64obsd_pc_in_sigtramp): Adjust for signal |
11966 | trampoline change in OpenBSD kernel. | |
11967 | ||
b053aceb MK |
11968 | * amd64-nat.c: Update copyright year. |
11969 | (amd64_supply_native_gregset, amd64_collect_native_gregset): Use | |
11970 | architecture from REGCACHE. | |
11971 | ||
f5859b4d MK |
11972 | * x86-64-linux-nat.c (x86_64_linux_gregset32_reg_offset): Use |
11973 | symbolic constants from <sys/reg.h> instead of hard-coded numbers. | |
11974 | ||
e4bbbda8 MK |
11975 | 2004-02-21 Mark Kettenis <kettenis@gnu.org> |
11976 | ||
ba361932 MK |
11977 | * configure.host: Add i[34567]86-*-openbsd[0-2].* and |
11978 | i[34567]86-*-openbsd3.[0-3]. | |
11979 | * config/i386/obsdaout.mh: New file. | |
11980 | ||
d3e48264 MK |
11981 | * config/i386/obsd.mh (MH_FLAGS): Remove. |
11982 | ||
60a6eeb6 MK |
11983 | Fix PR build/1549. |
11984 | * i386obsd-tdep.c: Update copyright years. Include | |
11985 | "solib-svr4.h". | |
11986 | (i386obsd_init_abi): Don't set regset_from_core_section here. | |
11987 | (i386obsd_aout_init_abi): New function. Set | |
11988 | regset_from_core_section here. | |
11989 | (i386obsd_elf_init_abi): New function. | |
11990 | (_initialize_i386obsd_tdep): Register OS/ABI for OpenBSD ELF. | |
11991 | * Makefile.in (i386obsd-tdep.o): Update dependecies. | |
11992 | * config/i386/obsd.mt (TDEPFILES): Add solib.o and solib-svr4.o. | |
11993 | (TM_FILE): Set to tm-nbsd.h. | |
11994 | ||
11995 | * config/i386/obsd.mh (NATDEPFILES): Remove solib.o and | |
11996 | solib-sunos.o. | |
11997 | ||
e4bbbda8 MK |
11998 | * solib-svr4.h: Update copyright year. |
11999 | (svr4_ilp32_fetch_link_map_offsets) | |
12000 | (svr4_lp64_fetch_link_map_offsets): New prototype. | |
12001 | * solib-svr4.c: Update copyright year. | |
12002 | (svr4_ilp32_fetch_link_map_offsets) | |
12003 | (svr4_lp64_fetch_link_map_offsets): New function. | |
12004 | ||
f6fe98ef DJ |
12005 | 2004-02-20 Daniel Jacobowitz <drow@mvista.com> |
12006 | ||
12007 | * dwarf2read.c (add_partial_symbol): Fix typo in adding enumerators | |
12008 | to the partial symbol table. | |
12009 | ||
589ca796 JB |
12010 | 2004-02-20 J. brobecker <brobecker@gnat.com> |
12011 | ||
12012 | * PROBLEMS: Add description of problem documented under gdb/1560. | |
12013 | ||
2031c21a MK |
12014 | 2004-02-20 Mark Kettenis <kettenis@gnu.org> |
12015 | ||
30b344b1 MK |
12016 | * amd64obsd-tdep.c: Include "regset.h" and "i387-tdep.h". Fix |
12017 | comments. | |
12018 | (amd64obsd_supply_regset, amd64obsd_regset_from_core_section): New | |
12019 | functions. | |
12020 | (amd64obsd_init_abi): Reorder initializations. Use | |
12021 | amd64obsd_r_reg_offset to initialize the general-purpose register | |
12022 | set details. Set regset_from_core_section. | |
12023 | (_initialize_amd64obsd_tdep): Rename from | |
12024 | _initialize_amd64obsd_ndep. Add OS ABI handler for core dumps. | |
12025 | * Makefile.in (amd64obsd-tdep.o): Update dependencies. | |
12026 | * config/i386/obsd64.mt (TDEPFILES): Add i386-tdep.o. | |
12027 | ||
2031c21a MK |
12028 | * NEWS (New native configurations): Mention OpenBSD/alpha. |
12029 | * configure.tgt: Add alpha*-*-openbsd*. | |
12030 | * configure.host: Add alpha*-*-openbsd*. | |
12031 | * alphanbsd-tdep.c: Update copyright year. | |
12032 | (_initialize_alphanbsd_tdep): Register OS ABI for OpenBSD ELF. | |
12033 | ||
42471775 AC |
12034 | 2004-02-20 Andrew Cagney <cagney@redhat.com> |
12035 | ||
12036 | Fix PR tdep/1372. | |
12037 | * configure.tgt: Delete target "none-*-*". | |
12038 | * configure.host: Delete host "none-*-*". | |
12039 | * config/none/none.mh: Delete file. | |
12040 | * config/none/none.mt: Delete file. | |
12041 | * config/none/xm-none.h: Delete file. | |
12042 | * config/none/tm-none.h: Delete file. | |
12043 | * config/none/nm-none.h: Delete file. | |
12044 | ||
960ccd7d FF |
12045 | 2004-02-19 Fred Fish <fnf@redhat.com> |
12046 | ||
12047 | * sh-tdep.c (sh_analyze_prologue): Eliminate useless test of | |
12048 | cache->uses_fp prior to setting it. | |
12049 | ||
5f883edd FF |
12050 | 2004-02-19 Fred Fish <fnf@redhat.com> |
12051 | ||
12052 | Fix for PR breakpoint/1558. | |
12053 | * sh-tdep.c (IS_JSR): New macro. | |
12054 | (sh_analyze_prologue): Use IS_JSR to terminate prologue scan. | |
12055 | ||
f98c22d5 JB |
12056 | 2004-02-19 Jim Blandy <jimb@redhat.com> |
12057 | ||
12058 | * findvar.c (value_from_register): Doc fix. | |
12059 | ||
95051d27 JJ |
12060 | 2004-02-19 Jeff Johnston <jjohnstn@redhat.com> |
12061 | ||
12062 | * printcmd.c (print_scalar_formatted): Do not check for sizeof | |
12063 | type being greater than sizeof of host's LONGEST. Always use | |
12064 | unpack_long() unless format 'f' chosen. | |
12065 | ||
ccefbec3 EZ |
12066 | 2004-02-19 Joel Brobecker <brobecker@gnat.com> |
12067 | ||
12068 | Committed by Elena Zannoni <ezannoni@redhat.com> | |
2ede629f | 12069 | |
ccefbec3 EZ |
12070 | * symtab.c (find_pc_sect_psymtab): Return the psymtab that |
12071 | contains a symbol wich is the best, non-exact match for the given | |
12072 | pc. Update comments. | |
12073 | ||
12074 | 2004-02-19 Elena Zannoni <ezannoni@redhat.com> | |
8a1dac83 | 12075 | |
2ede629f EZ |
12076 | * event-top.c (async_request_quit): Remove uses of REQUEST_QUIT |
12077 | macro, which was part of the now removed Mach 3 port. | |
12078 | * utils.c (request_quit): Ditto. | |
12079 | ||
567ee972 MK |
12080 | 2004-02-18 Mark Kettenis <kettenis@gnu.org> |
12081 | ||
12082 | * config/djgpp/fnchange.lst: Rename "amd64obsd-tdep.c" and | |
12083 | "amd64obsd-nat.c" to "a64ob-tdep.c" and "a64ob-nat.c". | |
12084 | ||
50cca7bb MK |
12085 | 2004-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
12086 | ||
12087 | Committed by Mark Kettenis <kettenis@gnu.org>. | |
12088 | ||
12089 | * config/s390/nm-linux.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): | |
12090 | Define. | |
12091 | ||
226361c4 AC |
12092 | 2004-02-18 Andrew Cagney <cagney@redhat.com> |
12093 | ||
12094 | * configure.in: Add a TUI target to CONFIG_ALL, CONFIG_CLEAN, | |
12095 | CONFIG_INSTALL and CONFIG_UNINSTALL. | |
12096 | * configure: Re-generate. | |
12097 | * interps.h (INTERP_TUI): Define. | |
12098 | * Makefile.in: Update dependencies. | |
12099 | (TUI): New macro. | |
12100 | (tui-main.o): Specify dependencies. | |
12101 | (install-tui, uninstall-tui, clean-tui, all-tui): New rules. | |
12102 | * tui/tui-main.c: New file. | |
12103 | ||
49cfa46f MK |
12104 | 2004-02-18 Mark Kettenis <kettenis@gnu.org> |
12105 | ||
e2879ccb MK |
12106 | * amd64obsd-tdep.c, amd64obsd-nat.c: New files. |
12107 | * Makefile.in (amd64obsd-nat.o, amd64obsd-tdep.o): New | |
12108 | dependencies. | |
12109 | * configure.host: Add x86_64-*-openbsd*. | |
12110 | * configure.tgt: Add x86_64-*-openbsd*. | |
12111 | * config/i386/obsd64.mt, config/i386/obsd64.mh: New files. | |
12112 | ||
c43f4bec MK |
12113 | * tui/tui.c: Don't include <malloc.h>. |
12114 | ||
09ae75b6 MK |
12115 | * Makefile.in (ALLDEPFILES): Add amd64-nat.c, amd64bsd-nat.c, |
12116 | amdfbsd-nat.c, amd64-fbsd-tdep.c, amd64nbsd-nat.c and | |
12117 | amd64nbsd-tdep.c. | |
12118 | ||
49cfa46f | 12119 | * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Make |
8a1dac83 | 12120 | static. Remove extraneous whitespace. |
49cfa46f MK |
12121 | * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Make |
12122 | static. | |
12123 | ||
05957fdb JB |
12124 | 2004-02-17 Jim Blandy <jimb@redhat.com> |
12125 | ||
12126 | * findvar.c (value_from_register): Doc fix. | |
12127 | ||
d0f54f9d JB |
12128 | 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
12129 | ||
12130 | Committed by Jim Blandy <jimb@redhat.com>. | |
e1457d83 | 12131 | |
8a1dac83 | 12132 | * eval.c (evaluate_subexp_standard, case OP_OBJC_MSGCALL): Use |
c253954e JB |
12133 | CORE_ADDR as type for selectors. Correct types for GNU run time |
12134 | message lookup function to use double indirection. | |
12135 | * objc-lang.c (lookup_child_selector): Use CORE_ADDR as return type. | |
12136 | * objc-lang.h (lookup_child_selector): Adapt prototype. | |
12137 | ||
9cbd5950 JB |
12138 | * s390-nat.c (SUBOFF): New macro. |
12139 | (supply_gregset, fill_gregset): Use it to handle debugging | |
12140 | of 32-bit exectuables running under a 64-bit kernel. | |
12141 | * s390-tdep.c: Include "solib-svr4.h". | |
12142 | (s390_svr4_fetch_link_map_offset): New function. | |
12143 | (s390x_svr_fetch_link_map_offset): Likewise. | |
12144 | (s390_gdbarch_init): Call set_solib_svr4_fetch_link_map_offsets. | |
12145 | * Makefile.in (s390-tdep.o): Update dependencies. | |
12146 | ||
a8c99f38 JB |
12147 | * s390-tdep.c: Include "trad-frame.h", "frame-base.h", and |
12148 | "frame-unwind.h". | |
12149 | (s390_readinstruction): Reformat. Use read_memory_nobpt. | |
12150 | (GDB_TARGET_IS_ESAME, S390_GPR_SIZE, S390_FPR_SIZE): Remove. | |
12151 | (S390_SYSCALL_OPCODE, S390_SYSCALL_SIZE): Remove. | |
12152 | (S390_SIGCONTEXT_SREGS_OFFSET, S390X_SIGCONTEXT_SREGS_OFFSET, | |
12153 | S390_SIGREGS_FP0_OFFSET, S390X_SIGREGS_FP0_OFFSET, | |
12154 | S390_UC_MCONTEXT_OFFSET, S390X_UC_MCONTEXT_OFFSET, | |
8a1dac83 | 12155 | S390_SIGNAL_FRAMESIZE, |
a8c99f38 JB |
12156 | s390_NR_sigreturn, s390_NR_rt_sigreturn): Remove. |
12157 | (struct frame_extra_info): Remove. | |
12158 | (s390_memset_extra_info): Remove. | |
f73b1eff JB |
12159 | (op1_ag, op1_ay, op1_brasl, op1_brc, op1_brcl, op1_lay, op1_lg) |
12160 | (op1_lmy, op1_ly, op1_sg, op1_stmy, op1_sty, op1_sy, op_a) | |
12161 | (op_agr, op_bas, op_bc, op_bcr, op_sgr, op_sr): New opcodes. | |
a8c99f38 JB |
12162 | (is_rse): Renamed to ... |
12163 | (is_rsy): ... this. Support long displacements. | |
12164 | (is_rxe): Renamed to ... | |
12165 | (is_rxy): ... this. Support long displacements. | |
12166 | (compute_x_addr): Support long displacements. | |
12167 | (struct s390_prologue_data): New data type. | |
12168 | (s390_on_stack): Change API to use struct s390_prologue_data. | |
12169 | (s390_store): Reimplement. | |
12170 | (s390_load): New function. | |
12171 | (s390_get_signal_frame_info): Remove. | |
12172 | (s390_get_frame_info): Remove, replace by ... | |
12173 | (s390_analyze_prolog): ... this new function. | |
12174 | (s390_check_function_end): Remove. | |
12175 | (s390_function_start): Remove. | |
12176 | (s390_frameless_function_invokation): Remove. | |
12177 | (s390_is_sigreturn): Remove. | |
12178 | (s390_init_frame_pc_first): Remove. | |
12179 | (s390_init_frame_extra_info): Remove. | |
12180 | (s390_frame_init_saved_regs): Remove. | |
12181 | (s390_frame_saved_pc_nofix): Remove. | |
12182 | (s390_frame_saved_pc): Remove. | |
12183 | (s390_frame_chain): Remove. | |
12184 | (s390_fp_regnum, s390_read_fp): Remove. | |
12185 | (s390_pop_frame_regular, s390_pop_frame): Remove. | |
12186 | (s390_saved_pc_after_call): Remove. | |
12187 | (s390_skip_prologue): Reimplement. | |
12188 | (s390_in_function_epilogue_p): Support long displacements. | |
12189 | (struct s390_unwind_cache): New data structure. | |
12190 | (s390_frame_unwind_cache): New function. | |
12191 | (s390_prologue_frame_unwind_cache): Likewise. | |
12192 | (s390_backchain_frame_unwind_cache): Likewise. | |
12193 | (s390_frame_this_id, s390_frame_prev_register): Likewise. | |
12194 | (s390_frame_unwind): Define. | |
12195 | (s390_frame_sniffer): New function. | |
12196 | (struct s390_pltstub_unwind_cache): New data structure. | |
12197 | (s390_pltstub_frame_unwind_cache): New function. | |
12198 | (s390_pltstub_frame_this_id): Likewise. | |
12199 | (s390_pltstub_frame_prev_register): Likewise. | |
12200 | (s390_pltstub_frame_unwind): Define. | |
12201 | (s390_pltstub_frame_sniffer): New function. | |
12202 | (struct s390_sigtramp_unwind_cache): New data structure. | |
12203 | (s390_sigtramp_frame_unwind_cache): New function. | |
12204 | (s390_sigtramp_frame_this_id): Likewise. | |
12205 | (s390_sigtramp_frame_prev_register): Likewise. | |
12206 | (s390_sigtramp_frame_unwind): Define. | |
12207 | (s390_sigtramp_frame_sniffer): New function. | |
12208 | (s390_frame_base_address, s390_local_base_address): New functions. | |
12209 | (s390_frame_base): Define. | |
12210 | (s390_unwind_pc, s390_unwind_sp): New function. | |
12211 | (s390_push_dummy_call): Use new frame base location. | |
12212 | (s390_unwind_dummy_id): Likewise. | |
12213 | (s390_gdbarch_init): Remove calls to: | |
12214 | set_gdbarch_frameless_function_invocation, | |
12215 | set_gdbarch_deprecated_init_frame_pc, | |
12216 | set_gdbarch_deprecated_frame_chain, | |
12217 | set_gdbarch_deprecated_frame_init_saved_regs, | |
12218 | set_gdbarch_deprecated_pop_frame, | |
12219 | set_gdbarch_deprecated_init_extra_frame_info, | |
12220 | set_gdbarch_deprecated_init_frame_pc_first, | |
12221 | set_gdbarch_deprecated_target_read_fp, | |
12222 | set_gdbarch_deprecated_frame_saved_pc, | |
12223 | set_gdbarch_deprecated_saved_pc_after_call, | |
12224 | set_gdbarch_deprecated_fp_regnum. | |
12225 | Add calls to: | |
12226 | set_gdbarch_in_solib_call_trampoline, | |
12227 | frame_unwind_append_sniffer, | |
12228 | frame_base_set_default, | |
12229 | set_gdbarch_unwind_pc, | |
12230 | set_gdbarch_unwind_sp. | |
12231 | * Makefile.in (s390-tdep.o): Update dependencies. | |
12232 | ||
b0cf273e JB |
12233 | * s390-tdep.c (struct gdbarch_tdep): Add 'abi' member. |
12234 | (S390_STACK_FRAME_OVERHEAD): Remove. | |
12235 | (S390_STACK_PARAMETER_ALIGNMENT): Remove. | |
12236 | (S390_NUM_FP_PARAMETER_REGISTERS): Remove. | |
12237 | (s390_promote_integer_argument): Remove. | |
12238 | (s390_cannot_extract_struct_value_address): Remove. | |
12239 | (s390_use_struct_convention, s390_store_struct_return): Remove. | |
12240 | (s390_extract_return_value, s390_store_return_value): Remove. | |
12241 | (s390_return_value_convention, s390_return_value): New functions. | |
12242 | (is_float_singleton): Handle typedefs. | |
8a1dac83 | 12243 | (is_double_or_float, is_double_arg, is_simple_arg, pass_by_copy_ref): |
b0cf273e JB |
12244 | Remove, replace by ... |
12245 | (s390_function_arg_pass_by_reference, s390_function_arg_float, | |
12246 | s390_function_arg_integer): ... these new functions. | |
12247 | (s390_push_arguments, s390_push_return_address): Remove, replace by ... | |
12248 | (s390_push_dummy_call, s390_unwind_dummy_id): ... these new functions. | |
12249 | (s390_gdbarch_init): Remove s390_call_dummy_words and elf_flags. | |
12250 | Fill in tdep->abi. | |
12251 | Remove calls to: | |
12252 | set_gdbarch_deprecated_store_struct_return, | |
12253 | set_gdbarch_deprecated_extract_return_value, | |
12254 | set_gdbarch_deprecated_store_return_value, | |
12255 | set_gdbarch_use_struct_convention, | |
12256 | set_gdbarch_extract_struct_value_address, | |
12257 | set_gdbarch_deprecated_pc_in_call_dummy, | |
12258 | set_gdbarch_deprecated_push_arguments, | |
12259 | set_gdbarch_deprecated_save_dummy_frame_tos, | |
12260 | set_gdbarch_deprecated_push_return_address, | |
12261 | set_gdbarch_deprecated_sizeof_call_dummy_words, | |
12262 | set_gdbarch_deprecated_call_dummy_words, | |
12263 | set_gdbarch_deprecated_dummy_write_sp. | |
12264 | Add calls to: | |
12265 | set_gdbarch_push_dummy_call, | |
12266 | set_gdbarch_unwind_dummy_id, | |
12267 | set_gdbarch_return_value. | |
8a1dac83 | 12268 | |
e1457d83 JB |
12269 | * config/s390/nm-linux.h: Update comments. |
12270 | (target_insert_watchpoint, target_remove_watchpoint): Redefine. | |
12271 | (STOPPED_BY_WATCHPOINT): Redefine. | |
12272 | (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Redefine to 1. | |
12273 | (s390_insert_watchpoint, s390_remove_watchpoint): Update prototype. | |
12274 | (s390_stopped_by_watchpoint): Likewise. | |
12275 | (watch_area_cnt): Remove. | |
12276 | * s390-nat.c: Update comments. | |
12277 | (watch_area): Remove typedef. | |
12278 | Global replace watch_area by struct watch_area. | |
12279 | (watch_area_cnt, watch_lo_addr, watch_hi_addr): Remove. | |
8a1dac83 | 12280 | (s390_stopped_by_watchpoint): Remove pid argument, |
e1457d83 JB |
12281 | use s390_inferior_tid. Add short-cut for the no watchpoint case. |
12282 | (s390_fix_watch_points): Remove pid argument, | |
12283 | use s390_inferior_tid. Recompute area spanned by watchpoints. | |
12284 | (s390_insert_watchpoint, s390_remove_watchpoint): Remove pid | |
12285 | argument. Reimplement. | |
12286 | ||
d0f54f9d JB |
12287 | * config/s390/nm-linux.h: Update comments. Do not include "solib.h". |
12288 | (KERNEL_U_ADDR, REGISTER_U_ADDR, U_REGS_OFFSET): Remove. | |
12289 | (FETCH_INFERIOR_REGISTERS): Define. | |
8a1dac83 | 12290 | * config/s390/s390.mh (NATDEPFILES): Remove core-aout.o and |
d0f54f9d JB |
12291 | core-regset.o. |
12292 | * config/s390/s390x.mt: Remove. | |
12293 | * config/s390/tm-s390.h: Remove. | |
12294 | * config/s390/tm-linux.h: Do not include "s390/tm-s390.h". | |
12295 | (TARGET_ELF64): Remove. | |
12296 | (SKIP_TRAMPOLINE_CODE): Do not undefine. | |
12297 | * configure.tgt [s390-*-*, s390x-*-*]: Merge into single | |
12298 | s390*-*-* case; always set gdb_target to s390. | |
12299 | * regformats/reg-s390.dat: Remove control registers. | |
12300 | * regformats/reg-s390x.dat: Likewise. | |
12301 | * s390-tdep.h: New file. | |
8a1dac83 | 12302 | * s390-nat.c: Do not include <asm/processor.h> or <value.h>. |
d0f54f9d JB |
12303 | Include "inferior.h" and "s390-tdep.h". |
12304 | Remove private definition of offsetof. | |
12305 | (s390_register_u_addr): Remove. | |
12306 | (regmap_gregset, regmap_fpregset): Define. | |
12307 | (supply_gregset, fill_gregset): Reimplement. | |
12308 | (supply_fpregset, fill_fpregset): Likewise. | |
12309 | (s390_inferior_tid): New function. | |
12310 | (fetch_regs, store_regs, fetch_fpregs, store_fpregs): Likewise. | |
12311 | (fetch_inferior_registers, store_inferior_registers): Likewise. | |
12312 | * s390-tdep.c: Do not define S390_TDEP. Include "defs.h" instead | |
12313 | of <defs.h>. Include "reggroups.h", "regset.h", and "s390-tdep.h". | |
12314 | Global replace of S390_GP0_REGNUM by S390_R0_REGNUM. | |
12315 | Global replace of S390_FP0_REGNUM by S390_F0_REGNUM. | |
12316 | (struct gdbarch_tdep): Define. | |
12317 | (struct s390_register_info): Define. | |
12318 | (s390_register_info): New variable. | |
12319 | (s390_register_name): Reimplement. | |
12320 | (s390_register_type): New function. | |
12321 | (s390_register_raw_size, s390x_register_raw_size): Remove. | |
12322 | (s390_cannot_fetch_register): Remove. | |
12323 | (s390_register_byte): Remove. | |
12324 | (s390_register_virtual_type, s390x_register_virtual_type): Remove. | |
12325 | (s390_dwarf_regmap): New variable. | |
12326 | (s390_dwarf_reg_to_regnum): New function. | |
12327 | (s390_stab_reg_to_regnum): Remove. | |
12328 | (s390_pseudo_register_read, s390_pseudo_register_write): New functions. | |
12329 | (s390x_pseudo_register_read, s390x_pseudo_register_write): Likewise. | |
12330 | (s390_convert_register_p): Likewise. | |
12331 | (s390_register_to_value, s390_value_to_register): Likewise. | |
12332 | (s390_register_reggroup_p): Likewise. | |
12333 | (s390_regmap_gregset, s390x_regmap_gregset, s390_regmap_fpregset, | |
12334 | s390_gregset, s390x_gregset, s390_fpregset): New variables. | |
12335 | (s390_supply_regset, s390_regset_from_core_section): New functions. | |
12336 | (GDB_TARGET_IS_ESAME): Move here from tm-s390.h. | |
12337 | (S390_FPR_SIZE): Likewise. | |
12338 | (S390_GPR_SIZE): Likewise. Redefine in terms of GDB_TARGET_IS_ESAME. | |
12339 | Global replace of DEPRECATED_REGISTER_SIZE by S390_GPR_SIZE. | |
12340 | (S390_NUM_GPRS): Move here from tm-s390.h. | |
12341 | (S390_NUM_FPRS): Likewise. | |
12342 | (s390_in_function_epilogue_p): New function. | |
12343 | (s390_is_sigreturn): Replace S390_PSW_ADDR_SIZE by S390_GPR_SIZE. | |
12344 | Replace S390_PC_REGNUM by S390_PSWA_REGNUM. | |
12345 | (s390_gdbarch_init): Allocate and set up gdbarch_tdep structure. | |
12346 | Replace s390_stab_reg_to_regnum by s390_dwarf_reg_to_regnum. | |
12347 | Replace S390_FP_REGNUM by S390_SP_REGNUM. | |
12348 | Remove calls to: | |
12349 | set_gdbarch_deprecated_max_register_raw_size, | |
8a1dac83 RM |
12350 | set_gdbarch_deprecated_max_register_virtual_size, |
12351 | set_gdbarch_deprecated_register_byte, | |
d0f54f9d | 12352 | set_gdbarch_cannot_fetch_register, |
8a1dac83 | 12353 | set_gdbarch_cannot_store_register, |
d0f54f9d JB |
12354 | set_gdbarch_deprecated_register_size, |
12355 | set_gdbarch_deprecated_register_raw_size, | |
12356 | set_gdbarch_deprecated_register_virtual_size, | |
12357 | set_gdbarch_deprecated_register_virtual_type, | |
12358 | set_gdbarch_deprecated_register_bytes. | |
12359 | Add calls to: | |
12360 | set_gdbarch_num_pseudo_regs, | |
12361 | set_gdbarch_register_type, | |
12362 | set_gdbarch_convert_register_p, | |
12363 | set_gdbarch_register_to_value, | |
12364 | set_gdbarch_value_to_register, | |
12365 | set_gdbarch_register_reggroup_p, | |
12366 | set_gdbarch_regset_from_core_section, | |
12367 | set_gdbarch_pseudo_register_read, | |
12368 | set_gdbarch_pseudo_register_write, | |
12369 | set_gdbarch_in_function_epilogue_p. | |
12370 | * Makefile.in (s390-nat.o, s390-tdep.o): Update dependencies. | |
12371 | (s390_tdep_h): New variable. | |
12372 | ||
8cfe231d JB |
12373 | 2004-02-17 Jim Blandy <jimb@redhat.com> |
12374 | ||
4589a601 JB |
12375 | * findvar.c (value_from_register): If the type has no length, just |
12376 | return an acceptable value --- don't report an internal error. | |
12377 | ||
8cfe231d JB |
12378 | * stabsread.c (read_type): If we find any type numbers that are |
12379 | forward references, complain if the references aren't resolved by | |
12380 | the time we're finished reading. | |
12381 | (cleanup_undefined_types): Make error message more appropriate for | |
12382 | a complaint. | |
12383 | ||
5bf0017e EZ |
12384 | 2004-02-17 Elena Zannoni <ezannoni@redhat.com> |
12385 | ||
9d62932d EZ |
12386 | * Makefile.in (defs_h): Remove dependency on progress_h. |
12387 | * defs.h (QUIT): Remove use of PROGRESS macro. Remove include of | |
12388 | progress.h. | |
12389 | * main.c (captured_main): Delete use of START_PROGRESS and | |
12390 | END_PROGRESS. | |
12391 | ||
12392 | 2004-02-17 Elena Zannoni <ezannoni@redhat.com> | |
8a1dac83 | 12393 | |
5bf0017e EZ |
12394 | * objfiles.c (terminate_minimal_symbol_table): Add back |
12395 | initialization of MSYMBOL_TYPE. | |
12396 | ||
9fc9f5e2 AC |
12397 | 2004-02-17 David Mosberger <davidm@hpl.hp.com> |
12398 | ||
12399 | Committed by Andrew Cagney. | |
12400 | * Makefile.in (ia64_tdep_h): New macro. | |
12401 | (ia64-linux-tdep.o): Mention $(ia64_tdep_h). | |
12402 | (ia64-tdep.o): Likewise. | |
12403 | * ia64-tdep.h: New file. | |
12404 | * ia64-tdep.c: Update copyright notice. Include "ia64-tdep.h". | |
12405 | (ia64_linux_sigcontext_register_address): Move decl to ia64-tdep.h. | |
12406 | (ia64_aix_sigcontext_register_address): Likewise. | |
12407 | (ia64_linux_getunwind_table): Delete declaration. | |
12408 | * ia64-linux-tdep.c: Likewise. | |
12409 | ||
76cd2bd9 CV |
12410 | 2004-02-17 Corinna Vinschen <vinschen@redhat.com> |
12411 | ||
12412 | * sh-tdep.c (sh_dsp_register_sim_regno): Use DSP_Rx_BANK_REGNUM. | |
12413 | * sh-tdep.h: Rename R0_BANK_REGNUM and R7_BANK_REGNUM to | |
12414 | DSP_R0_BANK_REGNUM and DSP_R7_BANK_REGNUM. | |
12415 | ||
634aa483 AC |
12416 | 2004-02-17 Andrew Cagney <cagney@redhat.com> |
12417 | ||
12418 | * symtab.c (skip_prologue_using_sal): New function. | |
12419 | * symtab.h (skip_prologue_using_sal): Declare. | |
12420 | * frv-tdep.c: Include "symtab.h". | |
12421 | (skip_prologue_using_sal): Delete function. | |
12422 | * mips-tdep.c (skip_prologue_using_sal): Delete function. | |
12423 | * rs6000-tdep.c (refine_prologue_limit): Mention | |
12424 | skip_prologue_using_sal. | |
12425 | * ia64-tdep.c (refine_prologue_limit): Ditto. | |
12426 | * Makefile.in: Update dependencies. | |
12427 | ||
12428 | 2004-02-16 Andrew Cagney <cagney@redhat.com> | |
19772a2c | 12429 | |
39ce7b3f AC |
12430 | * config/alpha/tm-nbsd.h: Update copyright, delete #undef |
12431 | START_INFERIOR_TRAPS_EXPECTED. | |
12432 | * config/alpha/tm-fbsd.h: Update copyright, delete #undef | |
12433 | START_INFERIOR_TRAPS_EXPECTED. | |
12434 | * config/alpha/tm-alphalinux.h (START_INFERIOR_TRAPS_EXPECTED): | |
12435 | Delete macro. | |
12436 | * config/alpha/tm-alpha.h (START_INFERIOR_TRAPS_EXPECTED): Delete | |
12437 | macro, moved to "nm-osf.h". Update copyright. | |
12438 | * config/alpha/nm-osf.h (START_INFERIOR_TRAPS_EXPECTED): Define, | |
12439 | update copyright. | |
12440 | ||
19772a2c AC |
12441 | * gdbarch.sh (DEPRECATED_FRAMELESS_FUNCTION_INVOCATION): Predicate |
12442 | and function replacing FRAMELESS_FUNCTION_INVOCATION. | |
12443 | * blockframe.c (legacy_frameless_look_for_prologue): Rename | |
12444 | frameless_look_for_prologue. | |
12445 | * frame.h (legacy_frameless_look_for_prologue): Rename | |
12446 | frameless_look_for_prologue. | |
12447 | * gdbarch.h, gdbarch.c: Re-generate. | |
12448 | * sh64-tdep.c (sh64_gdbarch_init): Update. | |
12449 | * sh-tdep.c (sh_gdbarch_init): Update. | |
12450 | * s390-tdep.c (s390_gdbarch_init): Update. | |
12451 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
12452 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
12453 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
12454 | (delta68_frame_args_address): Update. | |
12455 | * m32r-tdep.c (m32r_gdbarch_init): Update. | |
12456 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
12457 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
12458 | * frv-tdep.c (frv_gdbarch_init): Update. | |
12459 | (frv_frameless_function_invocation): Update. | |
12460 | * cris-tdep.c (cris_gdbarch_init): Update. | |
12461 | (cris_frameless_function_invocation): Update. | |
12462 | * avr-tdep.c (avr_gdbarch_init): Update. | |
12463 | * arm-tdep.c (arm_gdbarch_init): Update. | |
12464 | * stack.c (frame_info): Update, call predicate. | |
12465 | * rs6000-tdep.c (rs6000_frame_chain): Update, call predicate.. | |
12466 | * frame.c (legacy_get_prev_frame): Update, call predicate.. | |
12467 | * arch-utils.c (generic_frameless_function_invocation_not): Delete. | |
12468 | * arch-utils.h (generic_frameless_function_invocation_not): Delete. | |
12469 | * alpha-tdep.c (alpha_gdbarch_init): Do not set frameless function | |
12470 | invocation. | |
12471 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
12472 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
12473 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
2be8b3c1 AC |
12474 | |
12475 | * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): Delete unused | |
12476 | function. | |
12477 | ||
7dcaac91 DJ |
12478 | 2004-02-16 Daniel Jacobowitz <drow@mvista.com> |
12479 | ||
12480 | * objfiles.c (terminate_minimal_symbol_table): Remove unnecessary | |
12481 | initializations. | |
12482 | ||
88289b6e AC |
12483 | 2004-02-16 Andrew Cagney <cagney@redhat.com> |
12484 | ||
12485 | * tui/tui-windata.c: Include "gdb_string.h". | |
12486 | * tui/tui-source.c, tui/tui-winsource.c: Ditto. | |
12487 | * tui/tui-layout.c, tui/tui-command.c: Ditto. | |
12488 | * Makefile.in: Update dependencies. | |
12489 | ||
9f976b41 DJ |
12490 | 2004-02-16 Daniel Jacobowitz <drow@mvista.com> |
12491 | ||
12492 | * Makefile.in (infrun.o): Add $(gdb_assert_h). | |
12493 | * infrun.c: Include "gdb_assert.h". | |
12494 | (singlestep_ptid, saved_singlestep_ptid) | |
12495 | (stepping_past_singlestep_breakpoint): New variables. | |
12496 | (resume): Set singlestep_ptid. Check for singlestep thread | |
12497 | hop. | |
12498 | (init_wait_for_inferior): Clear stepping_past_singlestep_breakpoint. | |
12499 | (handle_inferior_event): Handle singlestep thread hop. | |
12500 | ||
c324d747 AC |
12501 | 2004-02-16 Andrew Cagney <cagney@redhat.com> |
12502 | ||
f090b9b1 AC |
12503 | * dwarf2-frame.c (dwarf2_frame_ops): New function. |
12504 | (dwarf2_frame_set_init_reg): Use, instead of gdbarch_data. | |
12505 | (dwarf2_frame_init_reg): Ditto. | |
12506 | ||
fd33e6cb AC |
12507 | * printcmd.c (display_command): Check that EXP isn't NULL. Fix |
12508 | suggested by Joshua Neuheisel | |
12509 | ||
c324d747 AC |
12510 | * configure.in: Always check for curses, including pdcurses. |
12511 | Warn, instead of error, when no curses are found. Enable TUI when | |
12512 | curses is available. | |
12513 | * configure: Re-generate. | |
12514 | ||
b66ba949 CV |
12515 | 2004-02-16 Corinna Vinschen <vinschen@redhat.com> |
12516 | ||
12517 | * sh-tdep.c (sh_register_convert_to_virtual): Rename from | |
12518 | sh_sh4_register_convert_to_virtual. | |
12519 | (sh_register_convert_to_raw): Rename from | |
12520 | sh_sh4_register_convert_to_raw. | |
12521 | (sh_pseudo_register_read): Accomodate above name change. | |
12522 | (sh_pseudo_register_write): Ditto. | |
12523 | ||
b58cbbf2 CV |
12524 | 2004-02-16 Corinna Vinschen <vinschen@redhat.com> |
12525 | ||
12526 | * sh-tdep.c (sh_generic_register_name): Remove. | |
12527 | (sh_gdbarch_init): Use sh_sh_register_name in default case. | |
12528 | ||
5929a910 AC |
12529 | 2004-02-15 Andrew Cagney <cagney@redhat.com> |
12530 | ||
4566dfcf AC |
12531 | * configure.in (build_warnings): Add -Wunused-function. |
12532 | * configure: Re-generate. | |
12533 | ||
db11ed55 AC |
12534 | * config/tm-lynx.h (START_INFERIOR_TRAPS_EXPECTED): Delete macro. |
12535 | * config/rs6000/tm-rs6000.h (START_INFERIOR_TRAPS_EXPECTED): Ditto. | |
12536 | ||
46ac7a5d AC |
12537 | * procfs.c (procfs_init_inferior): Assume that |
12538 | START_INFERIOR_TRAPS_EXPECTED is defined. | |
12539 | * config/ns32k/nbsdaout.mt (TM_FILE): Set to tm-ns32k.h. | |
12540 | * config/ns32k/tm-nbsd.h: Delete file, | |
12541 | START_INFERIOR_TRAPS_EXPECTED already defined as 2. | |
12542 | ||
ba801595 AC |
12543 | * config/vax/tm-vaxbsd.h: Do not include "tm-vax.h". |
12544 | * config/vax/tm-vax.h: Delete file. | |
12545 | ||
5929a910 AC |
12546 | * config/mips/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro. |
12547 | * config/i386/tm-i386bsd.h (SIGCONTEXT_PC_OFFSET): Delete macro. | |
12548 | * config/arm/tm-linux.h (SIGCONTEXT_PC_OFFSET): Delete macro. | |
12549 | * config/vax/tm-vaxbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro. | |
12550 | * vax-tdep.c (vax_sigtramp_saved_pc): Inline only reference. | |
12551 | * config/ns32k/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro. | |
12552 | * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Inline only reference. | |
12553 | ||
8f22cb90 MK |
12554 | 2004-02-15 Mark Kettenis <kettenis@gnu.org> |
12555 | ||
12556 | * dwarf2-frame.h (dwarf2_frame_set_init_reg): New prototype. | |
12557 | * dwarf2-frame.c (dwarf2_frame_data): New variable. | |
12558 | (struct dwarf2_frame_ops): New. | |
12559 | (dwarf2_frame_default_init_reg): New function, based on | |
12560 | dwarf2_frame_init_reg. | |
12561 | (dwarf2_frame_init, dwarf2_frame_set_init_reg): New function. | |
12562 | (dwarf2_frame_init_reg): Call architecture-specific function. | |
12563 | (dwarf2_frame_objfile_data): Renamed from dwarf2_frame_data. | |
12564 | (dwarf2_frame_find_fde, add_fde): Use dwarf2_frame_objfile_data | |
12565 | instead of dwarf2_frame_data. | |
12566 | (_initialize_dwarf2_frame): Initailize new dwarf2_frame_data. | |
12567 | Initialize dwarf2_frame_objfile instead of old dwarf2_frame_data. | |
12568 | ||
8132723e AC |
12569 | 2004-02-15 Andrew Cagney <cagney@redhat.com> |
12570 | ||
046a4708 AC |
12571 | * gdbarch.sh (deprecated_register_gdbarch_swap): Rename |
12572 | register_gdbarch_swap. | |
12573 | (DEPRECATED_REGISTER_GDBARCH_SWAP): Rename REGISTER_GDBARCH_SWAP. | |
12574 | * f-lang.c (_initialize_f_language): Update, use | |
12575 | DEPRECATED_REGISTER_GDBARCH_SWAP. | |
12576 | * remote.c (_initialize_remote): Ditto. | |
12577 | * regcache.c (_initialize_regcache): Ditto. | |
12578 | * parse.c (_initialize_parse): Ditto. | |
12579 | * infrun.c (_initialize_infrun): Ditto. | |
12580 | * mi/mi-main.c (_initialize_mi_main): Ditto. | |
12581 | * gdbtypes.c (_initialize_gdbtypes): Ditto. | |
8a1dac83 | 12582 | |
549c1eea AC |
12583 | * solib.c (solib_map_sections): Use bfd_set_cacheable instead of |
12584 | poking .cacheable directly. | |
12585 | * symfile.c (symfile_bfd_open): Ditto. | |
12586 | ||
0c0b39de AC |
12587 | * Makefile.in: Update all dependencies. |
12588 | ||
8132723e AC |
12589 | * Makefile.in: (.SUFFIXES): Add ".l" and ".y". |
12590 | (.y.c, .l.c): Specify implicit rule. Instead of .tab.c, generate | |
12591 | .c. Update references. Delete unnecessary .tab.c and -lex.c rules. | |
12592 | (ada-exp.o, c-exp.o, f-exp.o): Replace ada-exp.tab.o et.al. rule. | |
12593 | (jv-exp.o, m2-exp.o, objc-exp.o, p-exp.o): Similar. | |
0c0b39de | 12594 | |
b9d26eb9 AC |
12595 | 2004-02-14 Andrew Cagney <cagney@redhat.com> |
12596 | ||
8e1f669a AC |
12597 | * arch-utils.c (legacy_convert_register_p): Check |
12598 | DEPRECATED_REGISTER_CONVERTIBLE_P. | |
12599 | * findvar.c (value_of_register): Ditto. | |
12600 | ||
cd0bfa36 AC |
12601 | * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Add predicate. |
12602 | * gdbarch.h, gdbarch.c: Re-generate. | |
12603 | * arch-utils.c (deprecated_register_convertible_not): Delete. | |
12604 | * arch-utils.h (deprecated_register_convertible_not): Delete. | |
12605 | * mi/mi-main.c (get_register): Update. Update copyright. | |
12606 | * infcmd.c (default_print_registers_info): Update. | |
12607 | ||
b9d26eb9 AC |
12608 | * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Delete. |
12609 | (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Delete. | |
12610 | (DEPRECATED_CALL_DUMMY_ADDRESS): Delete. | |
8a1dac83 | 12611 | * gdbarch.h, gdbarch.c: Re-generate. |
b9d26eb9 AC |
12612 | * frame.c (deprecated_get_next_frame_hack): Delete function. |
12613 | * frame.h (deprecated_get_next_frame_hack): Delete declaration. | |
12614 | * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point): | |
12615 | Update. | |
12616 | * infcall.c (call_function_by_hand): Update. | |
12617 | ||
9ab9195f EZ |
12618 | 2004-02-14 Elena Zannoni <ezannoni@redhat.com> |
12619 | ||
12620 | * symfile.c (init_entry_point_info, entry_point_address): Move | |
8a1dac83 | 12621 | from here... |
9ab9195f EZ |
12622 | * objfiles.c (init_entry_point_info, entry_point_address):..to |
12623 | here. | |
12624 | * symfile.h (init_entry_point_info, entry_point_address): Remove | |
12625 | prototypes. | |
12626 | * objfiles.h (init_entry_point_info, entry_point_address):Add | |
8a1dac83 | 12627 | prototypes. |
9ab9195f EZ |
12628 | * cris-tdep.c: Remove include of symfile.h. Add include of |
12629 | objfiles.h. | |
12630 | * infcall.c: Ditto. | |
12631 | * mcore-tdep.c: Ditto. | |
12632 | * mn10300-tdep.c: Ditto. | |
12633 | * sh64-tdep.c: Ditto. | |
12634 | * v850-tdep.c: Ditto. | |
12635 | * arm-tdep.c: Remove include of symfile.h. | |
12636 | * blockframe.c: Ditto. | |
12637 | * coffread.c: Ditto. | |
12638 | * dbxread.c: Ditto. | |
12639 | * dwarf2read.c: Ditto. | |
12640 | * dwarfread.c: Ditto. | |
8a1dac83 | 12641 | * frv-tdep.c: Ditto. |
9ab9195f EZ |
12642 | * ia64-tdep.c: Ditto. |
12643 | * mdebugread.c: Ditto. | |
12644 | * mipsread.c: Ditto. | |
8a1dac83 | 12645 | * rs6000-tdep.c: Ditto. |
9ab9195f EZ |
12646 | * s390-tdep.c: Ditto. |
12647 | * sh-tdep.c: Ditto. | |
8a1dac83 | 12648 | * xstormy16-tdep.c: Ditto. |
9ab9195f EZ |
12649 | * gdbarch.sh: Remove include of symfile.h. |
12650 | * gdbarch.c: Regenerate. | |
12651 | * solib-irix.c (enable_break): Use entry_point_address(). | |
12652 | Add comment about include file. | |
12653 | * xcoffread.c: Add comment about include file. | |
8a1dac83 RM |
12654 | * Makefile.in (arm-tdep.o, blockframe.o, coffread.o, cris-tdep.o) |
12655 | (dbxread.o, dwarf2read.o, dwarfread.o, frv-tdep.o, gdbarch.o) | |
12656 | (ia64-tdep.o, infcall.o, mcore-tdep.o, mdebugread.o, mipsread.o) | |
12657 | (mn10300-tdep.o, rs6000-nat.o, s390-tdep.o, sh64-tdep.o) | |
9ab9195f EZ |
12658 | (sh-tdep.o, v850-tdep.o, xstormy16-tdep.o): Update dependencies. |
12659 | ||
c4c5b7ba AC |
12660 | 2004-02-13 Andrew Cagney <cagney@redhat.com> |
12661 | ||
12662 | * corelow.c (core_xfer_partial): Use "struct bfd_section". | |
12663 | * config/sparc/nm-nbsd.h (struct target_ops): Declare, update | |
12664 | copyright. | |
12665 | * mips-linux-tdep.c: Use "GNU/Linux", update copyright. | |
12666 | ||
3e7879de FF |
12667 | 2004-02-12 Fred Fish <fnf@redhat.com> |
12668 | ||
12669 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Remove duplicate call to | |
12670 | set_gdbarch_store_return_value. | |
12671 | ||
6a7760b6 AC |
12672 | 2004-02-12 Andrew Cagney <cagney@redhat.com> |
12673 | ||
12674 | * remote-rdi.c (arm_rdi_start_remote): Delete unused function. | |
12675 | (arm_rdi_interrupt, arm_rdi_interrupt_twice): Ditto. | |
12676 | (interrupt_query): Ditto. | |
12677 | (ofunc): Delete unused variable. | |
12678 | * cris-tdep.c (cris_abi): Delete unused function. | |
12679 | (reg_pop_op, move_reg_to_mem_index_inc_op): Ditto. | |
12680 | (cris_get_wide_opcode, cris_get_short_size): Ditto. | |
12681 | (cris_get_asr_quick_shift_steps): Ditto. | |
12682 | (cris_skip_prologue_frameless_p): Ditto. | |
12683 | * arm-tdep.c (arm_push_return_address): Delete unused function. | |
12684 | (arm_push_dummy_frame, arm_fix_call_dummy): Ditto. | |
12685 | * rs6000-tdep.c (rs6000_pc_in_call_dummy): Delete unused function. | |
12686 | * s390-tdep.c (s390_function_start): Delete unused function. | |
12687 | ||
31687c3c AC |
12688 | 2004-02-12 Andrew Cagney <cagney@redhat.com> |
12689 | ||
12690 | * gdbarch.sh (PROLOGUE_FRAMELESS_P): Delete. | |
12691 | gdbarch.h, gdbarch.c: Re-generate. | |
12692 | * cris-tdep.c (cris_gdbarch_init): Do not set prologue_frameless_p | |
12693 | to generic_prologue_frameless_p. | |
12694 | * arch-utils.h (generic_prologue_frameless_p): Delete declaration. | |
12695 | * arch-utils.c (generic_prologue_frameless_p): Delete function. | |
12696 | ||
6de918a6 DJ |
12697 | 2004-02-11 Daniel Jacobowitz <drow@mvista.com> |
12698 | ||
12699 | * mips-linux-tdep.c: Include "frame.h". | |
12700 | (mips_linux_in_dynsym_stub, mips_linux_in_dynsym_resolve_code) | |
12701 | (mips_linux_skip_resolver): New functions. | |
12702 | (mips_linux_init_abi): Call set_gdbarch_skip_solib_resolver | |
12703 | and set_gdbarch_in_solib_call_trampoline. | |
12704 | * mips-tdep.c (mips_gdbarch_init): Move gdbarch_init_osabi call | |
12705 | to after set_gdbarch_in_solib_return_trampoline. Only set the | |
12706 | solib hooks to mips16 functions if the OS ABI is unknown. | |
12707 | * config/mips/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Undefine after | |
12708 | including "config/tm-linux.h". | |
12709 | (IN_SOLIB_DYNSYM_RESOLVE_CODE): Define. | |
12710 | * Makefile.in (mips-linux-tdep.o): Update. | |
12711 | ||
87b3ede8 DC |
12712 | 2004-02-11 David Carlton <carlton@kealia.com> |
12713 | ||
12714 | * linespec.c (decode_compound): Only look for a class symbol when | |
12715 | considering all but the rightmost component. | |
12716 | ||
5979bc46 AC |
12717 | 2004-02-11 Andrew Cagney <cagney@redhat.com> |
12718 | ||
12719 | * hppa-tdep.c (hppa_gdbarch_init): Re-order so that the frame and | |
12720 | abi code are are separatly grouped. | |
12721 | ||
5867a2fb AC |
12722 | 2004-02-11 Andrew Cagney <cagney@redhat.com> |
12723 | ||
12724 | * gdbarch.sh (FRAME_ARGS_SKIP): Default to 0. | |
12725 | * gdbarch.h, gdbarch.c: Re-generate. | |
12726 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
12727 | * v850-tdep.c (v850_gdbarch_init): Update. | |
12728 | * sh64-tdep.c (sh64_gdbarch_init): Update. | |
12729 | * sh-tdep.c (sh_gdbarch_init): Update. | |
12730 | * s390-tdep.c (s390_gdbarch_init): Update. | |
12731 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
12732 | * mips-tdep.c (mips_gdbarch_init): Update. | |
12733 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
12734 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
12735 | * m32r-tdep.c (m32r_gdbarch_init): Update. | |
12736 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
12737 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
12738 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
12739 | * frv-tdep.c (frv_gdbarch_init): Update. | |
12740 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
12741 | * cris-tdep.c (cris_gdbarch_init): Update. | |
12742 | * avr-tdep.c (avr_gdbarch_init): Update. | |
12743 | * arm-tdep.c (arm_gdbarch_init): Update. | |
12744 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
12745 | ||
026a72f8 CV |
12746 | 2004-02-11 Corinna Vinschen <vinschen@redhat.com> |
12747 | ||
12748 | * sh-tdep.c (sh_sh3_dsp_register_name): Fix formatting. Add missing | |
12749 | comma. | |
12750 | (sh_sh4al_dsp_register_name): Ditto. | |
12751 | ||
3903d437 AC |
12752 | 2004-02-10 Andrew Cagney <cagney@redhat.com> |
12753 | ||
12754 | * mips-tdep.c (mips_gdbarch_init): Delete deprecated frame code. | |
12755 | (mips_init_frame_pc_first): Delete function. | |
12756 | (mips_frame_saved_pc): Delete function. | |
12757 | (mips_frame_chain): Delete function. | |
12758 | (mips_init_extra_frame_info): Delete function. | |
12759 | (mips_xfer_register): Delete unused variable "reg". | |
12760 | (mips_n32n64_push_dummy_call): Delete unused variable "valbuf". | |
12761 | (mips_n32n64_return_value): Delete unused variable "reg". | |
12762 | (mips_n32n64_return_value): Delete unused variable "pos". | |
12763 | (mips_o32_push_dummy_call): Delete unused variable "valbuf". | |
12764 | (mips_o32_return_value): Delete unused variable "pos". | |
12765 | (mips_o64_push_dummy_call): Delete unused variable "valbuf". | |
12766 | (mips_print_fp_register): Delete unused variable "namelen" | |
12767 | (mips_print_fp_register): Delete unused variable "flt2" | |
12768 | (get_frame_pointer): Delete function. | |
12769 | (cached_proc_desc): Delete static variable. | |
12770 | (mips_pop_frame): Delete function. | |
12771 | (mips_find_saved_regs): Delete function. | |
12772 | (mips_get_saved_register): Delete function. | |
12773 | (mips_saved_pc_after_call): Delete function. | |
12774 | (SIGFRAME_BASE): Delete macro. | |
12775 | (SIGFRAME_FPREGSAVE_OFF): Delete macro. | |
12776 | (SIGFRAME_PC_OFF): Delete macro. | |
12777 | (SIGFRAME_REGSAVE_OFF): Delete macro. | |
12778 | (mips_dump_tdep): Do not print deleted macro definitions. | |
12779 | ||
b9fb98bd AC |
12780 | 2004-02-10 Andrew Cagney <cagney@redhat.com> |
12781 | ||
12782 | * Makefile.in (SFILES): Remove explictly listed tui files. | |
12783 | (SUBDIR_GDBTK_SRCS): Fix path to gdbtk-interp.c. | |
12784 | ||
78ced177 | 12785 | 2004-02-10 Jeff Johnston <jjohnstn@redhat.com> |
8a1dac83 | 12786 | |
78ced177 JJ |
12787 | * ia64-tdep.c (ia64_frame_this_id): Fix tracing print statement |
12788 | to use paddr functions to format ia64 addresses and long values. | |
12789 | (ia64_frame_prev_register, ia64_sigtramp_frame_this_id): Ditto. | |
12790 | (ia64_sigtramp_frame_prev_register, ia64_access_reg): Ditto. | |
12791 | (get_kernel_table, ia64_find_proc_info_x): Ditto. | |
12792 | (ia64_get_dyn_info_list, ia64_libunwind_this_frame_id): Ditto. | |
12793 | (ia64_libunwind_frame_prev_register, ia64_unwind_dummy_id): Ditto. | |
12794 | ||
6a83354a AC |
12795 | 2004-02-10 Andrew Cagney <cagney@redhat.com> |
12796 | ||
12797 | * defs.h: Do not include "tui.h". | |
12798 | * gdb_curses.h: New file. | |
12799 | * tui/tui-hooks.h: New file. | |
12800 | * tui/tui.h (tui_update_all_exec_infos): Delete declaration. | |
12801 | (tui_install_hooks, tui_remove_hooks): Delete declarations. | |
12802 | (tui_initialize_io): Delete declaration. | |
12803 | (tui_initialize_readline: Delete redundant declaration. | |
12804 | (struct tui_point): Delete definition. | |
12805 | * tui/tui-data.h (struct tui_point): Define. | |
12806 | * cli/cli-decode.c [TUI]: Include "tui/tui.h". | |
12807 | * utils.c: Include "tui/tui.h". | |
12808 | * tui/tui-data.h: Include "tui/tui.h" and "gdb_curses.h". | |
12809 | * printcmd.c [TUI]: Include "tui/tui.h". | |
12810 | * cli/cli-cmds.c [TUI]: Include "tui/tui.h". | |
12811 | * tui/tui-command.c: Include "gdb_curses.h". | |
12812 | * tui/tui.c, tui/tui-winsource.c, tui/tui-wingeneral.c: Ditto. | |
12813 | * tui/tui-windata.c, tui/tui-win.c, tui/tui-stack.c: Ditto. | |
12814 | * tui/tui-source.c, tui/tui-regs.c, tui/tui-layout.c: Ditto. | |
12815 | * tui/tui-io.c, tui/tui-disasm.c, tui/tui-data.c: : Ditto. | |
12816 | * tui/tui-hooks.c: Include "tui-hooks.h" and "gdb_curses.h". | |
12817 | * Makefile.in: Update all dependencies. | |
12818 | (tui_hooks_h, gdb_curses_h): Define. | |
12819 | (SUBDIR_TUI_CFLAGS): Remove -I${srcdir}/tui. | |
12820 | ||
997470ef EZ |
12821 | 2004-02-10 Elena Zannoni <ezannoni@redhat.com> |
12822 | ||
12823 | * objfiles.h (struct objfile): Remove unused fields auxf1 and | |
12824 | auxf2. Add comments about some other rarely used fields. | |
12825 | ||
4ff2cc4d AC |
12826 | 2004-02-10 Andrew Cagney <cagney@redhat.com> |
12827 | ||
12828 | * Makefile.in (init.c): Fix script removing duplicates. Problem | |
12829 | reported by Peter Schauer. | |
12830 | ||
1ab21617 EZ |
12831 | 2004-02-09 Elena Zannoni <ezannoni@redhat.com> |
12832 | ||
12833 | * bcache.c (bcache_xmalloc): Use obstack_init instead of | |
12834 | obstack_specify_allocation. | |
12835 | * objfiles.c (allocate_objfile): Ditto. | |
8a1dac83 | 12836 | * solib-sunos.c (solib_add_common_symbols) |
1ab21617 EZ |
12837 | (allocate_rt_common_objfile): Ditto. |
12838 | * symfile.c (reread_symbols): Ditto. | |
12839 | * gdb_obstack.h: Add comment. | |
12840 | ||
17763fd9 EZ |
12841 | 2004-02-09 Elena Zannoni <ezannoni@redhat.com> |
12842 | ||
12843 | * linespec.c (decode_line_1, locate_first_half) | |
12844 | (decode_compound, lookup_prefix_sym): Update comments. Delete old | |
12845 | commented out code. | |
12846 | ||
ec5cdd75 DJ |
12847 | 2004-02-09 Daniel Jacobowitz <drow@mvista.com> |
12848 | ||
12849 | * cp-namespace.c (check_one_possible_namespace_symbol): Don't use | |
12850 | obstack_free. | |
12851 | ||
43b54b88 AC |
12852 | 2004-02-09 Andrew Cagney <cagney@redhat.com> |
12853 | ||
12854 | * blockframe.c (find_pc_partial_function): If find_pc_overlay | |
12855 | fails, try find_pc_section. Fix PR c++/1267. | |
12856 | * minsyms.c (lookup_minimal_symbol_by_pc): Use find_pc_section | |
12857 | instead of find_pc_mapped_section. | |
12858 | (lookup_minimal_symbol_by_pc_section): If the SECTION is NULL, do | |
12859 | not default to the section containing PC. Fix PR symtab/1519. | |
12860 | ||
edfae063 AC |
12861 | 2004-02-09 Andrew Cagney <cagney@redhat.com> |
12862 | ||
12863 | * Makefile.in (mips-tdep.o): Update dependencies. | |
12864 | * mips-tdep.c: Include "frame-unwind.h", "frame-base.h" and | |
12865 | "trad-frame.h". | |
12866 | (mips_unwind_pc): Return the pseudo PC register. | |
12867 | (mips_unwind_dummy_id): New function. | |
12868 | (mips16_fetch_instruction): New function. | |
12869 | (mips32_fetch_instruction): New function. | |
12870 | (struct mips_frame_cache): Define. | |
12871 | (mips_mdebug_frame_cache): New function. | |
12872 | (mips_mdebug_frame_this_id): New function. | |
12873 | (mips_mdebug_frame_prev_register): New function. | |
12874 | (mips_mdebug_frame_unwind): Define. | |
12875 | (mips_mdebug_frame_sniffer): New function. | |
12876 | (mips_mdebug_frame_base_address): New function. | |
12877 | (mips_mdebug_frame_base): Define. | |
12878 | (mips_mdebug_frame_base_sniffer): New function. | |
12879 | (mips_gdbarch_init): Append unwind and base sniffers. Set | |
12880 | unwind_dummy_id. | |
12881 | ||
defc864c AC |
12882 | 2004-02-08 Andrew Cagney <cagney@redhat.com> |
12883 | ||
6764ddad AC |
12884 | * frame.c: Print both the register number and name. |
12885 | ||
defc864c AC |
12886 | * Makefile.in (init.c): Eliminate duplicates. Combine two greps |
12887 | and a sed into a single sed. Make .c and .o patterns more robust. | |
12888 | (OBS): Delete. | |
12889 | (INIT_FILES): Replace OBS with COMMON_OBS. | |
12890 | (COMMON_OBS): Move DEPFILES and YYOBJ to start of definition. | |
12891 | ||
645d6d10 MK |
12892 | 2004-02-08 Mark Kettenis <kettenis@gnu.org> |
12893 | ||
12894 | * sparc-nat.c (sparc_xfer_wcookie): Try to fetch the cookie using | |
12895 | the PT_WCOOKIE request. | |
12896 | ||
23e3c3fc AC |
12897 | 2004-02-08 Andrew Cagney <cagney@redhat.com> |
12898 | ||
58dfe9ff AC |
12899 | * mips-tdep.c (mips_unwind_pc): New function. |
12900 | (mips_gdbarch_init): Set mips_unwind_pc. | |
12901 | ||
1152e35e AC |
12902 | * frame.c (legacy_saved_regs_this_id): Return a null frame ID. |
12903 | (get_frame_id): Allow the UNKNOWN_FRAME. | |
12904 | (frame_register_unwind, get_frame_type): Ditto. | |
12905 | ||
31b75dbf AC |
12906 | * frame.c (legacy_frame_p): Check for DEPRECATED_TARGET_READ_FP_P |
12907 | and DEPRECATED_FP_REGNUM. Don't assume that the lack of | |
12908 | unwind_dummy_id indicates a legacy frame. | |
12909 | ||
3483b318 AC |
12910 | * configure.in (CONFIG_LIB_OBS): Replace with CONFIG_OBS. |
12911 | * configure: Re-generate. | |
12912 | ||
23e3c3fc AC |
12913 | * mips-tdep.c (mips_gdbarch_init): Group deprecated frame unwind |
12914 | methods. | |
12915 | ||
33f8ca73 AC |
12916 | 2004-02-08 Andrew Cagney <cagney@redhat.com> |
12917 | ||
12918 | * configure.in (CONFIG_ALL): Set to Makefile target, and not | |
12919 | makefile macro. | |
12920 | * configure: Re-generate. | |
12921 | (CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Ditto. | |
12922 | * Makefile.in (SUBDIR_CLI_CLEAN): Delete. | |
12923 | (SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): Delete. | |
12924 | (SUBDIR_CLI_ALL, SUBDIR_GDBTK_ALL): Delete. | |
12925 | (SUBDIR_GDBTK_CLEAN, SUBDIR_GDBTK_INSTALL): Delete. | |
12926 | (SUBDIR_GDBTK_UNINSTALL, SUBDIR_MI_ALL): Delete. | |
12927 | (SUBDIR_MI_CLEAN, SUBDIR_MI_INSTALL): Delete. | |
12928 | (SUBDIR_MI_UNINSTALL, SUBDIR_TUI_ALL): Delete. | |
12929 | (SUBDIR_TUI_CLEAN, SUBDIR_TUI_INSTALL): Delete. | |
12930 | (SUBDIR_TUI_UNINSTALL, SUBDIR_CLI_CLEAN): Delete. | |
12931 | ||
6ba8e26f | 12932 | 2004-02-07 Andrew Cagney <cagney@redhat.com> |
d836ee13 | 12933 | |
20d286a5 AC |
12934 | * Makefile.in: Update all dependencies. |
12935 | ||
d836ee13 AC |
12936 | * configure.in (CONFIG_INITS, CONFIG_LIB_OBS): Delete. |
12937 | * configure: Re-generate. | |
12938 | * Makefile.in (INIT_FILES): Replace CONFIG_INITS with CONFIG_SRCS. | |
12939 | (CONFIG_LIB_OBS, CONFIG_INITS): Delete. | |
12940 | (COMMON_OBS): Add "main.o" and "annotate.o". | |
12941 | (ANNOTATE_OBS): Delete. | |
12942 | (OBS): Remove ANNOTATE_OBS. | |
12943 | (DEPFILES): Replace CONFIG_LIB_OBS with CONFIG_LIB_OBS, remove | |
12944 | CONFIG_INITS. | |
12945 | (gdb$(EXEEXT), insight$(EXEEXT)): Do not depend on, or link | |
12946 | against CONFIG_OBS and "main.o". | |
12947 | (SUBDIR_CLI_INITS, SUBDIR_MI_INITS): Delete. | |
12948 | (SUBDIR_TUI_INITS, SUBDIR_GDBTK_INITS): Delete. | |
12949 | ||
d02c80cd AC |
12950 | * tui/tui-command.c: Include "gdb_string.h", delete register |
12951 | attribute, use ISO-C function signatures. | |
12952 | * tui/tui-disasm.c, tui/tui-file.c, tui/tui-io.c: Ditto. | |
12953 | * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto. | |
12954 | * tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Ditto. | |
12955 | * tui/tui.c: Ditto. | |
6ba8e26f AC |
12956 | |
12957 | * tui/tui-command.c: Change variable and function names to lower | |
12958 | case. | |
12959 | * tui/tui-data.c, tui/tui-disasm.c: Ditto. | |
12960 | * tui/tui-hooks.c, tui/tui-io.c, tui/tui-layout.c: Ditto. | |
12961 | * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto. | |
12962 | * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto. | |
12963 | * tui/tui-winsource.c, tui/tui.c: Ditto. | |
12964 | ||
4a146b47 EZ |
12965 | 2004-02-07 Elena Zannoni <ezannoni@redhat.com> |
12966 | ||
12967 | * buildsym.c (free_pending_blocks, finish_block) | |
12968 | (record_pending_block, make_blockvector, end_symtab): Replace | |
12969 | symbol_obstack with objfile_obstack. | |
8a1dac83 | 12970 | * coffread.c (process_coff_symbol, coff_read_struct_type) |
4a146b47 | 12971 | (coff_read_enum_type): Ditto. |
8a1dac83 | 12972 | * cp-namespace.c (initialize_namespace_symtab) |
4a146b47 | 12973 | (check_one_possible_namespace_symbol): Ditto. |
8a1dac83 | 12974 | * dwarf2read.c (new_symbol, dwarf2_const_value, macro_start_file) |
4a146b47 EZ |
12975 | (dwarf2_symbol_mark_computed): Ditto. |
12976 | * dwarfread.c (enum_type, new_symbol, synthesize_typedef): Ditto. | |
12977 | * elfread.c (elf_symtab_read): Ditto. | |
12978 | * hpread.c (hpread_symfile_init, hpread_symfile_init) | |
12979 | (hpread_read_enum_type, hpread_read_function_type) | |
12980 | (hpread_read_doc_function_type, hpread_process_one_debug_symbol): | |
12981 | Ditto. | |
8a1dac83 | 12982 | * jv-lang.c (get_java_class_symtab, add_class_symbol) |
4a146b47 | 12983 | (java_link_class_type): Ditto. |
8a1dac83 | 12984 | * mdebugread.c (parse_symbol, psymtab_to_symtab_1, new_symtab) |
4a146b47 EZ |
12985 | (new_symbol): Ditto. |
12986 | * minsyms.c (install_minimal_symbols): Ditto. | |
12987 | * objfiles.c (allocate_objfile): Remove init of symbol_obstack. | |
12988 | (terminate_minimal_symbol_table): Replace symbol_obstack with | |
12989 | objfile_obstack. | |
12990 | (free_objfile): Remove freeing of symbol_obstack. | |
12991 | * objfiles.h: Remove symbol_obstack field. | |
12992 | * pa64solib.c (add_to_solist): Replace symbol_obstack with | |
12993 | objfile_obstack. | |
12994 | * solib-sunos.c (allocate_rt_common_objfile): Remove init of | |
12995 | symbol_obstack. | |
12996 | (solib_add_common_symbols): Replace symbol_obstack with | |
12997 | objfile_obstack. | |
12998 | * somsolib.c (som_solib_add): Ditto. | |
12999 | * stabsread.c (patch_block_stabs, define_symbol, read_enum_type) | |
13000 | (common_block_start, common_block_end): Ditto. | |
13001 | * symfile.c (reread_symbols): Remove freeing and init of | |
13002 | symbol_obstack. | |
13003 | (allocate_symtab): Rename symbol_obstack to objfile_obstack. | |
13004 | * symfile.h: Update comment. | |
13005 | * symmisc.c (print_objfile_statistics): Remove symbol_obstack | |
13006 | stats printing. | |
13007 | * symtab.c (symbol_set_names): Replace symbol_obstack with | |
13008 | objfile_obstack. | |
13009 | * symtab.h (struct general_symbol_info, struct minimal_symbol): | |
13010 | Update comments. | |
13011 | * xcoffread.c (read_xcoff_symtab, SYMBOL_DUP, SYMNAME_ALLOC) | |
13012 | (init_stringtab, xcoff_initial_scan): Replace symbol_obstack with | |
13013 | objfile_obstack. | |
13014 | ||
6d012f14 AC |
13015 | 2004-02-07 Andrew Cagney <cagney@redhat.com> |
13016 | ||
13017 | * tui/tui.h: Do not include <stdarg.h>, <string.h>, and | |
13018 | "ansidecl.h". Do not undef "reg" and "chtype". Fix case of | |
13019 | fields and variables. | |
13020 | * tui/tui-wingeneral.h (m_beVisible): Delete macro. | |
13021 | (m_beInvisible): Delete macro. | |
13022 | * tui/tui-data.h: Fix case case fields and variables. | |
13023 | (m_genWinPtrIsNull): Delete macro. | |
13024 | (tui_win_list): Rename winList. | |
13025 | (TUI_SRC_WIN): Rename srcWin. | |
13026 | (TUI_DISASM_WIN): Rename disassemWin. | |
13027 | (TUI_DATA_WIN): Rename dataWin. | |
13028 | (TUI_CMD_WIN): Rename cmdWin. | |
13029 | (m_genWinPtrNotNull): Delete macro. | |
13030 | (m_winPtrIsNull): Delete macro. | |
13031 | (m_winPtrNotNull): Delete macro. | |
13032 | (tui_win_is_source_type): Replace m_winIsSourceType | |
13033 | (tui_win_is_auxillary): Replace m_winIsAuzillary. | |
13034 | (tui_win_has_locator): Replace m_hasLocator. | |
13035 | (tui_set_win_highlight): Replace m_setWinHighlightOn and | |
13036 | m_setWinHighlightOff. | |
13037 | * tui/tui-data.c: Update references. | |
13038 | (tui_win_is_source_type, tui_set_win_highlight): New functions. | |
13039 | (tui_win_has_locator, tui_win_is_auxillary): New functions. | |
13040 | * tui/tui-command.c, tui/tui-disasm.c: Update references. | |
13041 | * tui/tui-io.c, tui/tui-layout.c, tui/tui-regs.c: Ditto. | |
13042 | * tui/tui-regs.h, tui/tui-source.c, tui/tui-stack.c: Ditto. | |
13043 | * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto. | |
13044 | * tui/tui-winsource.c, tui/tui.c: Ditto. | |
13045 | ||
7d34766b MK |
13046 | 2004-02-07 Mark Kettenis <kettenis@gnu.org> |
13047 | ||
1c800673 MK |
13048 | * sparc-tdep.h (sparc_fetch_wcookie): New prototype. |
13049 | * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Handle | |
13050 | StackGhost. | |
13051 | ||
7d34766b MK |
13052 | * sparc-tdep.c (sparc32_frame_prev_register): Rename local |
13053 | variable `i6' to `i7'. | |
13054 | (sparc_supply_rwindow, sparc_collect_rwindow): Likewise. | |
13055 | ||
22940a24 AC |
13056 | 2004-02-07 Andrew Cagney <cagney@redhat.com> |
13057 | ||
13058 | * tui/tui.h (Opaque, OpaquePtr OpaqueList): Delete definition. | |
13059 | (TuiPoint, TuiPointPtr): Ditto. | |
13060 | (TuiStatus, TuiStatusPtr): Ditto. | |
13061 | (TuiWinType, TuiWinTypePtr): Ditto. | |
13062 | (struct tui_point): Rename _TuiPoint. | |
13063 | (tui_get_low_disassembly_address): Rename | |
13064 | tuiGetLowDisassemblyAddress. | |
13065 | (tui_update_all_exec_infos): Rename tuiUpdateAllExecInfos. | |
13066 | (tuiFree): Delete declaration. | |
13067 | (OpaqueFuncPtr, TuiOpaqueFuncPtr): Delete definitions. | |
13068 | (TuiVoidFuncPtr, TuiIntFuncPtr): Delete definitions. | |
13069 | * tui/tui.c (tuiFree): Delete function. | |
13070 | * cli/cli-cmds.c (disassemble_command): Update references. | |
13071 | * tui/tui-data.c, tui/tui-data.h, tui/tui-disasm.c: Ditto. | |
13072 | * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto. | |
13073 | * tui/tui-stack.c, tui/tui-win.c, tui/tui-wingeneral.c: Ditto. | |
13074 | * tui/tui-winsource.c: Ditto. | |
13075 | ||
8b92e4d5 EZ |
13076 | 2004-02-07 Elena Zannoni <ezannoni@redhat.com> |
13077 | ||
13078 | * dbxread.c (dbx_symfile_init, start_psymtab, end_psymtab, | |
13079 | coffstab_build_psymtabs, elfstab_build_psymtabs) | |
13080 | (stabsect_build_psymtabs): Replace psymbol_obstack with | |
13081 | objfile_obstack. | |
13082 | * dwarf2-frame.c (decode_frame_entry_1): Ditto. | |
13083 | * dwarf2read.c (dwarf2_build_psymtabs_hard, dwarf2_read_section): | |
13084 | Ditto. | |
13085 | * dwarfread.c (scan_compilation_units): Ditto. | |
13086 | * elfread.c (elfstab_offset_sections): Ditto. | |
13087 | * hppa-tdep.c (read_unwind_info): Ditto. | |
13088 | * hpread.c (hpread_build_psymtabs, hpread_start_psymtab) | |
13089 | (hpread_end_psymtab): Ditto. | |
13090 | * mdebugread.c (mdebug_build_psymtabs, add_pending) | |
13091 | (parse_partial_symbols, new_psymtab, elfmdebug_build_psymtabs): | |
13092 | Ditto. | |
13093 | * mips-tdep.c (non_heuristic_proc_desc): Ditto. | |
8a1dac83 | 13094 | * objfiles.c (add_to_objfile_sections) |
8b92e4d5 EZ |
13095 | (build_objfile_section_table): Ditto. |
13096 | (allocate_objfile): Remove init of psymbol_obstack. | |
13097 | (free_objfile): Remove freeing of psymbol_obstack. | |
13098 | * objfiles.h (struct objfile): Remove field | |
13099 | psymbol_obstack. Update comments. | |
13100 | * pa64solib.c (pa64_solib_add_solib_objfile): Replace | |
13101 | psymbol_obstack with objfile_obstack. | |
13102 | * solib-sunos.c (allocate_rt_common_objfile): Remove init of | |
13103 | psymbol_obstack. | |
13104 | * somread.c (som_symfile_offsets, init_import_symbols) | |
13105 | (init_export_symbols): Replace psymbol_obstack with | |
13106 | objfile_obstack. | |
13107 | * somsolib.c (som_solib_add_solib_objfile): Ditto. | |
13108 | * symfile.c (default_symfile_offsets, syms_from_objfile) | |
13109 | (reread_symbols): Remove freeing and init of psymbol_obstack. | |
13110 | (cashier_psymtab): Update comment. | |
13111 | * symmisc.c (print_objfile_statistics): Don't report stats for | |
13112 | psymbol obstack. | |
13113 | * symtab.h (struct general_symbol_info, struct partial_symtab): | |
13114 | Update comments. | |
13115 | * xcoffread.c (xcoff_start_psymtab, xcoff_end_psymtab, swap_sym) | |
13116 | (xcoff_symfile_offsets): Replace psymbol_obstack with | |
13117 | objfile_obstack. | |
13118 | ||
b99607ea EZ |
13119 | 2004-02-07 Elena Zannoni <ezannoni@redhat.com> |
13120 | ||
13121 | * objfiles.h (struct objfile): Add objfile_obstack field. | |
13122 | Remove type_obstack field. | |
13123 | ||
13124 | * dwarf2read.c (dwarf2_add_field,dwarf2_add_member_fn, | |
13125 | read_structure_scope read_enumeration, new_symbol): Replace | |
13126 | type_obstack with objfile_obstack. | |
13127 | * dwarfread.c (struct_type, enum_type): Ditto. | |
8a1dac83 | 13128 | * gdbtypes.c (alloc_type, alloc_type_instance, init_type) |
b99607ea EZ |
13129 | (lookup_fundamental_type): Ditto. |
13130 | * gdbtypes.h (TYPE_ALLOC): Ditto. | |
8a1dac83 RM |
13131 | * hpread.c (hpread_read_enum_type, hpread_read_function_type) |
13132 | (hpread_read_doc_function_type, hpread_read_struct_type) | |
13133 | (fix_static_member_physnames, hpread_read_array_type) | |
b99607ea | 13134 | (hpread_read_subrange_type, hpread_type_lookup): Ditto. |
8a1dac83 | 13135 | * jv-lang.c (java_lookup_class, type_from_class, type_from_class) |
b99607ea EZ |
13136 | (java_link_class_type): Ditto. |
13137 | * mdebugread.c (parse_type): Ditto. | |
13138 | * objfiles.c (allocate_objfile, free_objfile): Ditto. | |
13139 | * solib-sunos.c (solib_add_common_symbols): Ditto. | |
13140 | * stabsread.c (define_symbol, read_type, read_member_functions, | |
13141 | read_cpp_abbrev, read_one_struct_field): Ditto. | |
13142 | * symfile.c (reread_symbols): Ditto. | |
13143 | * symmisc.c (print_objfile_statistics): Ditto. | |
8a1dac83 | 13144 | |
2a8854a7 AC |
13145 | 2004-02-07 Andrew Cagney <cagney@redhat.com> |
13146 | ||
13147 | * tui/tui-data.h (tui_win_element): Rename TuiWinElement. | |
13148 | (tui_exec_info_content): Rename TuiExecInfoContent. | |
13149 | (TuiGenWinInfo, TuiGenWinInfoPtr): Delete definitions. | |
13150 | (TuiWinInfo, TuiWinInfoPtr): Ditto. | |
13151 | (TuiScrollDirection, TuiScrollDirectionPtr): Ditto. | |
13152 | (TuiList, TuiListPtr): Ditto. | |
13153 | (TuiLayoutType, TuiLayoutTypePtr): Ditto. | |
13154 | (TuiDataType, TuiDataTypePtr): Ditto. | |
13155 | (TuiRegisterDisplayType, TuiRegisterDisplayTypePtr): Ditto. | |
13156 | (TuiLineOrAddress, TuiLineOrAddressPtr): Ditto. | |
13157 | (TuiLayoutDef, TuiLayoutDefPtr): Ditto. | |
13158 | (TuiSourceElement, TuiSourceElementPtr): Ditto. | |
13159 | (TuiDataElement, TuiDataElementPtr): Ditto. | |
13160 | (TuiWinElement, TuiWinElementPtr): Ditto. | |
13161 | (TuiDataInfo, TuiDataInfoPtr): Ditto. | |
13162 | (TuiCommandElement, TuiCommandElementPtr): Ditto. | |
13163 | (TuiLocatorElement, TuiLocatorElementPtr): Ditto. | |
13164 | (TuiWhichElement, TuiWhichElementPtr): Ditto. | |
13165 | (TuiSourceInfo, TuiSourceInfoPtr): Ditto. | |
13166 | (TuiCommandInfo, TuiCommandInfoPtr): Ditto. | |
13167 | * tui/tui-command.c, tui/tui-data.c: Update references. | |
13168 | * tui/tui-data.h, tui/tui-disasm.c, tui/tui-layout.c: Ditto. | |
13169 | * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto. | |
13170 | * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto. | |
13171 | * tui/tui-winsource.c, tui/tui.c: Ditto. | |
8a1dac83 | 13172 | |
05cbe71a MK |
13173 | 2004-02-07 Mark Kettenis <kettenis@gnu.org> |
13174 | ||
13175 | * dwarf2-frame.h: Update copyright. | |
13176 | (enum dwarf2_frame_reg_rule): New. | |
13177 | (struct dwarf2_frame_state_reg): New. | |
13178 | (dwarf2_frame_sniffer, dwarf2_frame_base_sniffer): Make extern. | |
13179 | * dwarf2-frame.c: Update copyright. | |
13180 | (enum dwarf2_reg_rule): Remove. | |
13181 | (struct dwarf2_frame_state): Remove defenition of `struct | |
13182 | dwarf2_frame_state_reg'. | |
13183 | (read_reg): Call get_frame_arch to get the architecture instead of | |
13184 | using CURRENT_GDBARCH. | |
13185 | (execute_cfa_program): Prefix old `enum dwarf2_reg_rule' tags with | |
13186 | DWARF2_FRAME_. | |
13187 | (dwarf2_frame_init_reg): New function. | |
13188 | (dwarf2_frame_cache): Call get_frame_arch to get the architecture | |
13189 | instead of using CURRENT_GDBARCH. Call dwarf2_frame_init_reg to | |
13190 | initialize the register state. Prefix old `enum dwarf2_reg_rule' | |
13191 | tags with DWARF2_FRAME_. | |
13192 | (dwarf2_frame_prev_register): Call get_frame_arch to get the | |
13193 | architecture instead of using CURRENT_GDBARCH. Prefix old `enum | |
13194 | dwarf2_reg_rule' tags with DWARF2_FRAME_. | |
13195 | ||
ec7d9e56 AC |
13196 | 2004-02-06 Andrew Cagney <cagney@redhat.com> |
13197 | ||
dd1abb8c AC |
13198 | * tui/tui-data.h (struct tui_list): Rename _TuiList. |
13199 | (enum tui_data_type): Rename _TuiDataType. | |
13200 | (struct tui_layout_def): Rename _TuiLayoutDef. | |
13201 | (struct tui_source_element): Rename _TuiSourceElement. | |
13202 | (struct tui_data_element): Rename _TuiDataElement. | |
13203 | (struct tui_command_element): Rename _TuiCommandElement. | |
13204 | (struct tui_locator_element): Rename _TuiLocatorElement. | |
13205 | (union tui_which_element): Define. | |
13206 | (struct tui_win_element): Rename _TuiWinElement. | |
13207 | (struct tui_data_info): Rename _TuiDataInfo. | |
13208 | (struct tui_source_info): Rename _TuiSourceInfo. | |
13209 | (struct tui_command_info): Rename _TuiCommandInfo. | |
13210 | (tui_initialize_static_data): Rename initializeStaticData. | |
13211 | (tui_alloc_generic_win_info): Rename allocGenericWinInfo. | |
13212 | (tui_alloc_win_info): Rename allocWinInfo. | |
13213 | (tui_init_generic_part): Rename initGenericPart. | |
13214 | (tui_init_win_info): Rename initWinInfo. | |
13215 | (tui_alloc_content): Rename allocContent. | |
13216 | (tui_add_content_elements): Rename addContentElements. | |
13217 | (tui_init_content_element): Rename initContentElement. | |
13218 | (tui_free_window): Rename freeWindow. | |
13219 | (tui_free_win_content): Rename freeWinContent. | |
13220 | (tui_free_data_content): Rename freeDataContent. | |
13221 | (tui_free_all_source_wins_content): Rename | |
13222 | freeAllSourceWinsContent. | |
13223 | (tui_del_window): Rename tuiDelWindow. | |
13224 | (tui_del_data_windows): Rename tuiDelDataWindows. | |
13225 | (tui_partial_win_by_name): Rename partialWinByName. | |
13226 | (tui_win_name): Rename winName. | |
13227 | (tui_current_layout): Rename currentLayout. | |
13228 | (tui_set_current_layout_to): Rename setCurrentLayoutTo. | |
13229 | (tui_term_height): Rename termHeight. | |
13230 | (tui_set_term_height_to): Rename setTermHeightTo. | |
13231 | (tui_term_width): Rename termWidth. | |
13232 | (tui_set_term_width_to): Rename setTermWidthTo. | |
13233 | (tui_set_gen_win_origin): Rename setGenWinOrigin. | |
13234 | (tui_locator_win_info_ptr): Rename locatorWinInfoPtr. | |
13235 | (tui_source_exec_info_win_ptr): Rename tui_gen_win_info. | |
13236 | (tui_disassem_exec_info_win_ptr): Rename disassemExecInfoWinPtr. | |
13237 | (tui_source_windows): Rename sourceWindows. | |
13238 | (tui_clear_source_windows): Rename clearSourceWindows. | |
13239 | (tui_clear_source_windows_detail): Rename | |
13240 | clearSourceWindowsDetail. | |
13241 | (tui_clear_win_detail): Rename clearWinDetail. | |
13242 | (tui_add_to_source_windows): Rename tuiAddToSourceWindows. | |
13243 | (tui_default_tab_len): Rename tuiDefaultTabLen. | |
13244 | (tui_set_default_tab_len): Rename tuiSetDefaultTabLen. | |
13245 | (tui_win_with_focus): Rename tuiWinWithFocus. | |
13246 | (tui_set_win_with_focus): Rename tuiSetWinWithFocus. | |
13247 | (tui_layout_def): Rename tuiLayoutDef. | |
13248 | (tui_win_resized): Rename tuiWinResized. | |
13249 | (tui_set_win_resized_to): Rename tuiSetWinResizedTo. | |
13250 | (tui_next_win): Rename tuiNextWin. | |
13251 | (tui_prev_win): Rename tuiPrevWin. | |
13252 | (tui_add_to_source_windows): Rename addToSourceWindows. | |
13253 | * tui/tui-winsource.c, tui/tui-win.c: Update references. | |
13254 | * tui/tui-layout.c, tui/tui-source.c: Ditto. | |
13255 | * tui/tui-stack.c, tui/tui-io.c: Ditto. | |
13256 | * tui/tui.c, tui/tui-data.c: Ditto. | |
13257 | * tui/tui-interp.c, tui/tui-data.c: Ditto. | |
13258 | * tui/tui-disasm.c, tui/tui-command.c: Ditto. | |
13259 | ||
a358af15 AC |
13260 | * tui/tui-source.h: Update copyright. Include "tui-data.h". |
13261 | (struct symtab): Declare. | |
13262 | (tui_set_source_content): Rename tuiSetSourceContent. | |
13263 | (tui_show_symtab_source): Rename tuiShowSource. | |
13264 | (tui_source_is_displayed): Rename tuiSourceIsDisplayed. | |
13265 | (tui_vertical_source_scroll): Rename tuiVerticalSourceScroll. | |
13266 | * tui/tui-source.c: Update copyright. Update references. | |
13267 | * tui/tui-win.c, tui/tui-winsource.c: Update references. | |
13268 | * tui/tui-stack.c: Update references. | |
13269 | ||
a21fcd8f AC |
13270 | * tui/tui-win.h: Update copyright. Include "tui-data.h". |
13271 | (struct tui_win_info): Declare. | |
13272 | (tui_scroll_forward): Rename tuiScrollForward. | |
13273 | (tui_scroll_backward): Rename tuiScrollBackward. | |
13274 | (tui_scroll_left): Rename tuiScrollLeft. | |
13275 | (tui_scroll_right): Rename tuiScrollRight. | |
13276 | (tui_set_win_focus_to): Rename tuiSetWinFocusTo. | |
13277 | (tui_resize_all): Rename tuiResizeAll. | |
13278 | (tui_refresh_all_win): Rename tuiRefreshAll. | |
13279 | (tui_sigwinch_handler): Rename tuiSigwinchHandler. | |
13280 | * tui/tui-layout.c, * tui/tui-io.c: Update references. | |
13281 | * tui/tui-wingeneral.h, * tui/tui.c: Update references. | |
13282 | * tui/tui-disasm.c, * tui/tui-command.c: Update references. | |
13283 | ||
edae1ccf AC |
13284 | * tui/tui-windata.h: Update copyright. Include "tui-data.h". |
13285 | (tui_erase_data_content): Rename tuiEraseDataContent. | |
13286 | (tui_display_all_data): Rename tuiDisplayAllData. | |
13287 | (tui_check_data_values): Rename tuiCheckDataValues. | |
13288 | (tui_display_data_from_line): Rename tuiDisplayDataFromLine. | |
13289 | (tui_first_data_item_displayed): Rename tuiFirstDataItemDisplayed. | |
13290 | (tui_first_data_element_no_in_line): Rename | |
13291 | tuiFirstDataElementNoInLine. | |
13292 | (tui_delete_data_content_windows): Rename | |
13293 | tuiDeleteDataContentWindows. | |
13294 | (tui_refresh_data_win): Rename tuiRefreshDataWin. | |
13295 | (tui_display_data_from): Rename tuiDisplayDataFrom. | |
13296 | (tui_vertical_data_scroll): Rename tuiVerticalDataScroll. | |
13297 | * tui/tui-windata.c, tui/tui-hooks.c: Update references. | |
13298 | * tui/tui-win.c, tui/tui-regs.c: Update references. | |
13299 | * tui/tui-layout.c, tui/tui.c: Update references. | |
13300 | ||
ec7d9e56 AC |
13301 | * tui/tui-wingeneral.h: Update copyright. |
13302 | (m_allBeVisible): Delete macro. | |
8a1dac83 | 13303 | (m_allBeInvisible): Delete macro. |
ec7d9e56 AC |
13304 | (struct tui_gen_win_info): Declare. |
13305 | (struct tui_win_info): Declare. | |
13306 | (tui_unhighlight_win): Rename unhighlightWin. | |
13307 | (tui_make_visible, tui_make_invisible): Replace makeVisible. | |
13308 | (tui_make_all_visible, tui_make_all_invisible): Replace makeAllVisible. | |
13309 | (tui_make_window): Rename makeWindow. | |
13310 | (tui_copy_win): Rename copyWin. | |
13311 | (tui_box_win): Rename boxWin. | |
13312 | (tui_highlight_win): Rename highlightWin. | |
13313 | (tui_check_and_display_highlight_if_needed): Rename | |
13314 | checkAndDisplayHighlightIfNeeded. | |
13315 | (tui_refresh_all): Rename refreshAll. | |
13316 | (tui_delete_win): Rename tuiDelwin. | |
13317 | (tui_refresh_win): Rename tuiRefreshWin. | |
13318 | * tui/tui-wingeneral.c (make_visible): Rename makeVisible. | |
13319 | (tui_make_visible, tui_make_invisible): New functions. | |
13320 | (tui_make_all_visible, tui_make_all_invisible): New functions. | |
13321 | (make_all_visible): Rename makeAllVisible. | |
13322 | * tui/tui-winsource.c, tui/tui-windata.c: Update references. | |
13323 | * tui/tui-data.c, tui/tui-winsource.c: Update references. | |
13324 | * tui/tui-windata.c, tui/tui-win.c: Update references. | |
13325 | * tui/tui-regs.c, tui/tui-layout.c: Update references. | |
13326 | * tui/tui-data.h (struct tui_gen_win_info): Rename _TuiGenWinInfo. | |
13327 | ||
1e52e2eb MK |
13328 | 2004-02-06 Mark Kettenis <kettenis@gnu.org> |
13329 | ||
13330 | * proc-api.c (write_with_trace): Initialize local variable to | |
13331 | silence compiler warning. | |
13332 | ||
f80bda8e AC |
13333 | 2004-02-06 Andrew Cagney <cagney@redhat.com> |
13334 | ||
13335 | * tui/tui-source.h: Do not include "defs.h". | |
13336 | (struct tui_win_info): Declare. | |
13337 | (tui_set_source_content_nil): Declare. | |
13338 | * tui/tui-data.h (struct tui_win_info): Rename _TuiWinInfo. | |
13339 | (union tui_line_or_address): Rename _TuiLineOrAddress. | |
13340 | * tui/tui-winsource.h: Update copyright. Include "tui-data.h". | |
13341 | (tui_update_source_window): Rename tuiUpdateSourceWindow. | |
13342 | (tui_update_source_window_as_is): Rename | |
13343 | tuiUpdateSourceWindowAsIs. | |
13344 | (tui_update_source_windows_with_addr): Rename | |
13345 | tuiUpdateSourceWindowsWithAddr. | |
13346 | (tui_update_source_windows_with_line): Rename | |
13347 | tuiUpdateSourceWindowsWithLine. | |
13348 | (tui_clear_source_content): Rename tuiClearSourceContent. | |
13349 | (tui_erase_source_content): Rename tuiEraseSourceContent. | |
13350 | (tui_set_source_content_nil): Rename tuiSetSourceContentNil. | |
13351 | (tui_show_source_content): Rename tuiShowSourceContent. | |
13352 | (tui_horizontal_source_scroll): Rename tuiHorizontalSourceScroll. | |
13353 | (tui_set_exec_info_content): Rename tuiSetExecInfoContent. | |
13354 | (tui_show_exec_info_content): Rename tuiShowExecInfoContent. | |
13355 | (tui_erase_exec_info_content): Rename tuiEraseExecInfoContent. | |
13356 | (tui_clear_exec_info_content): Rename tuiClearExecInfoContent. | |
13357 | (tui_update_exec_info): Rename tuiUpdateExecInfo. | |
13358 | (tui_set_is_exec_point_at): Rename tuiSetIsExecPointAt. | |
13359 | (tui_alloc_source_buffer): Rename tuiAllocSourceBuffer. | |
13360 | (tui_line_is_displayed): Rename tuiLineIsDisplayed. | |
13361 | (tui_addr_is_displayed): Rename tuiAddrIsDisplayed. | |
13362 | (struct tui_win_info): Declare. | |
13363 | * tui/tui-stack.c: Update references. | |
13364 | * tui/tui-layout.c, tui/tui-winsource.c: Ditto. | |
13365 | * tui/tui-win.c, tui/tui-source.c: Ditto. | |
13366 | * tui/tui.c, tui/tui-disasm.c: Ditto. | |
13367 | ||
9fbfb822 MK |
13368 | 2004-02-06 Mark Kettenis <kettenis@gnu.org> |
13369 | ||
13370 | * i386-linux-tdep.c (i386_linux_sigcontext_addr): Fix calculation | |
13371 | of UCONTEXT_ADDR. Fixes PR backtrace/1545. | |
13372 | ||
03cebad2 MK |
13373 | 2004-02-05 Mark Kettenis <kettenis@gnu.org> |
13374 | ||
13375 | * infrun.c (handle_inferior_event): Allow for breakpoint | |
13376 | instructions to generate a SIGSEGV in addition to SIGTRAP, SIGILL | |
13377 | and SIGEMT. Update comments. | |
13378 | * NEWS (Revised SPARC target): Mention support for non-executable | |
13379 | stack. | |
13380 | ||
290281b1 MK |
13381 | 2004-02-04 Mark Kettenis <kettenis@gnu.org> |
13382 | ||
13383 | * target.h (target_object): Add TARGET_OBJECT_WCOOKIE. | |
13384 | * inftarg.c: Update copyright year. | |
13385 | (child_xfer_partial): Add support for TARGET_OBJECT_WCOOKIE. | |
13386 | * sparc-nat.c: Include "target.h" and "gdb_assert.h". | |
13387 | (sparc_xfer_wcookie): New function. | |
13388 | * sparc-tdep.c (sparc_fetch_wcookie): New function. | |
13389 | * Makefile.in (sparc-nat.o): Update dependencies. | |
13390 | * config/sparc/nm-nbsd.h: Include "target.h". | |
13391 | (NATIVE_XFER_WCOOKIE): New define. | |
13392 | (sparc_xfer_wcookie): New prototype. | |
13393 | ||
212161df AC |
13394 | 2004-02-04 Andrew Cagney <cagney@redhat.com> |
13395 | ||
13396 | * m68k-tdep.c (m68k_saved_pc_after_call): Delete #ifdef | |
13397 | SYSCALL_TRAP function. | |
13398 | (m68k_gdbarch_init): Delete #ifdef SYSCALL_TRAP code. | |
13399 | ||
6e4c6c91 DJ |
13400 | 2004-02-04 Andrew Cagney <cagney@redhat.com> |
13401 | Daniel Jacobowitz <drow@mvista.com> | |
13402 | ||
13403 | * objfiles.h: Delete comments refering to inside_entry_func and | |
13404 | DEPRECATED_FRAME_CHAIN_VALID. | |
13405 | * defs.h (inside_entry_func): Update prototype.. | |
13406 | * blockframe.c (inside_entry_func): Rename to | |
13407 | legacy_inside_entry_func. Add new inside_entry_func taking a frame. | |
13408 | * frame.c (get_prev_frame): Pass the frame to inside_entry_func. | |
13409 | ||
cae688ec JJ |
13410 | 2004-02-03 Jeff Johnston <jjohnstn@redhat.com> |
13411 | ||
13412 | * breakpoint.c (struct captured_parse_breakpoint_args): Move | |
13413 | outside of #ifdef SOLIB_ADD region. | |
13414 | (do_restore_lang_radix_cleanup): Ditto. | |
13415 | (resolve_pending_breakpoint): Ditto. | |
13416 | ||
19217676 AC |
13417 | 2004-02-03 Andrew Cagney <cagney@redhat.com> |
13418 | ||
13419 | * ia64-tdep.c (read_sigcontext_register): Delete unused function. | |
13420 | (process_note_abi_tag_sections): Delete unused function. | |
13421 | (ia64_read_fp): Delete unused function. | |
13422 | (gdbarch_extract_struct_value_address): Delete declaration. | |
13423 | ||
876753be AC |
13424 | 2004-02-02 Andrew Cagney <cagney@redhat.com> |
13425 | ||
13426 | * vax-tdep.c (vax_frame_chain): Delete call to | |
13427 | deprecated_inside_entry_file. | |
13428 | * ns32k-tdep.c (ns32k_frame_chain): Ditto. | |
13429 | ||
d4f10bf2 MK |
13430 | 2004-02-02 Mark Kettenis <kettenis@gnu.org> |
13431 | ||
13432 | * dwarf2-frame.c (dwarf2_frame_cache): Deal with a return address | |
13433 | column that's "empty" or "same value" when eliminating REG_RA | |
13434 | rules. | |
13435 | ||
cae688ec JJ |
13436 | 2004-02-02 Jeff Johnston <jjohnstn@redhat.com> |
13437 | ||
13438 | * NEWS: Add information about new pending breakpoint support. | |
13439 | ||
0101ce28 JJ |
13440 | 2004-02-02 Jeff Johnston <jjohnstn@redhat.com> |
13441 | ||
13442 | * breakpoint.h (struct breakpoint): Add new flag, from_tty, | |
13443 | and pending fields for pending breakpoint support. | |
13444 | * breakpoint.c (breakpoint_enabled): Add check for not pending. | |
13445 | (condition_command): Only parse condition if not a pending | |
13446 | breakpoint. | |
13447 | (print_one_breakpoint): Add support for pending breakpoints. | |
13448 | (describe_other_breakpoints): Add checks to verify we are not | |
13449 | dealing with pending breakpoints. | |
13450 | (check_duplicates): Don't check pending breakpoints. | |
13451 | (set_raw_breakpoint): Initialize pending flag. | |
13452 | (do_restore_lang_radix_cleanup): New cleanup routine. | |
13453 | (resolve_pending_breakpoint): New function. | |
13454 | (re_enable_breakpoints_in_shlibs): Try and resolve any | |
13455 | pending breakpoints via resolve_pending_breakpoint. | |
13456 | (mention): Add pending breakpoint support. | |
13457 | (parse_breakpoint_sals): Add new parameter to pass to | |
13458 | decode_line_1 to indicate silent errors when files or functions | |
13459 | are not found. Change all callers. | |
13460 | (do_captured_parse_breakpoint): New function. | |
13461 | (break_command_1): Change prototype to return an rc value and to | |
13462 | take an optional pending breakpoint pointer. Support creating | |
13463 | a pending breakpoint if a "not found" form of error occurs when | |
13464 | parsing the breakpoint. Also support resolving an existing pending | |
13465 | breakpoint and be silent if the resolution fails. | |
13466 | (create_breakpoints): Change prototype to take pending breakpoint | |
13467 | pointer. When resolving a pending breakpoint, use the new pointer | |
13468 | to provide a conditional or commands added by the end-user. | |
13469 | (delete_breakpoint): Add appropriate check for pending. | |
13470 | (breakpoint_re_set_one): Ditto. | |
13471 | (do_enable_breakpoint): Ditto. | |
13472 | ||
8d577d32 DC |
13473 | 2004-02-02 David Carlton <carlton@kealia.com> |
13474 | ||
13475 | * valops.c (enum oload_classification): New. | |
13476 | (find_overload_match): Break implementation into separate | |
13477 | functions; delete #if 0'd code; look for symbols within | |
13478 | namespaces. | |
13479 | (find_oload_champ_namespace,find_oload_champ_namespace_loop) | |
13480 | (find_oload_champ,oload_method_static,classify_oload_match): New. | |
13481 | * cp-support.h: Add declaration for cp_func_name; update | |
13482 | declaration for make_symbol_overload_list. | |
13483 | * cp-support.c (cp_func_name): New. | |
13484 | (overload_list_add_symbol): Fix comment, use | |
13485 | SYMBOL_LINKAGE_NAME and SYMBOL_NATURAL_NAME. | |
13486 | (make_symbol_overload_list): Take a function name and a namespace | |
13487 | instead of a symbol; change implementation. | |
13488 | (make_symbol_overload_list_using): New. | |
13489 | (make_symbol_overload_list_qualified, read_in_psymtabs): New. | |
13490 | ||
22e8e3c7 FF |
13491 | 2004-02-02 Fred Fish <fnf@redhat.com> |
13492 | ||
13493 | * main.c (gdb_stdtarg): Move definition to group with other | |
15390fef | 13494 | gdb_stdtarg definitions and update copyright years. |
22e8e3c7 FF |
13495 | * remote-sim.c (gdb_os_write_stderr): Write output to |
13496 | gdb_stdtargerr stream instead of gdb_stdtarg stream. | |
13497 | (gdb_os_flush_stderr): Flush gdb_stdtargerr steam instead of | |
15390fef | 13498 | gdb_stderr stream and update copyright years. |
22e8e3c7 | 13499 | |
6b753f60 DJ |
13500 | 2004-02-01 Daniel Jacobowitz <drow@mvista.com> |
13501 | ||
13502 | * Makefile.in (mips-linux-nat.o): Update dependencies. | |
13503 | * mips-linux-nat.c: Include mips-tdep.h. | |
13504 | ||
13505 | 2004-02-01 Roland McGrath <roland@redhat.com> | |
2cb6b099 RM |
13506 | |
13507 | * sol-thread.c (sol_thread_xfer_partial): New function. | |
13508 | (init_sol_thread_ops): Use that for to_xfer_partial hook. | |
13509 | (init_sol_core_ops): Likewise. | |
13510 | ||
13511 | * procfs.c (procfs_xfer_partial): New function. | |
13512 | (init_procfs_ops): Use that for procfs_ops.to_xfer_partial. | |
13513 | * Makefile.in (procfs.o): Add $(auxv_h) dep. | |
13514 | ||
13515 | * config/nm-linux.h (NATIVE_XFER_AUXV): New macro, uses auxv.c's | |
13516 | procfs_xfer_auxv function. | |
13517 | ||
13518 | * procfs.c (procfs_make_note_section): If we can read | |
13519 | TARGET_OBJECT_AUXV data, add an NT_AUXV note containing it. | |
13520 | * linux-proc.c (linux_make_note_section): Likewise. | |
13521 | ||
13522 | * auxv.h: New file. | |
13523 | * auxv.c: New file. | |
13524 | * Makefile.in (auxv_h): New variable. | |
13525 | (COMMON_OBS): Add auxv.o here. | |
13526 | (auxv.o): New target. | |
13527 | ||
13528 | * corelow.c (core_xfer_partial): New function. | |
13529 | (init_core_ops): Use it for core_ops.to_xfer_partial. | |
13530 | ||
13531 | * target.h (enum target_object): Add TARGET_OBJECT_AUXV. | |
13532 | * inftarg.c (child_xfer_partial): Support it using NATIVE_XFER_AUXV | |
13533 | macro if that is defined. | |
13534 | ||
fa5281d0 DJ |
13535 | 2004-02-01 Daniel Jacobowitz <drow@mvista.com> |
13536 | ||
13537 | * breakpoint.c (bpstat_stop_status): Take a ptid_t argument, | |
13538 | and check the specified thread for each breakpoint. | |
13539 | * breakpoint.h (bpstat_stop_status): Update prototype. | |
13540 | * infrun.c (handle_inferior_event): Update calls to | |
13541 | bpstat_stop_status. | |
13542 | ||
26ee262d DJ |
13543 | 2004-02-01 Daniel Jacobowitz <drow@mvista.com> |
13544 | ||
13545 | * Makefile.in (cli-cmds.o): Add $(readline_h). | |
13546 | ||
d9b52655 DJ |
13547 | 2004-02-01 Daniel Jacobowitz <drow@mvista.com> |
13548 | ||
13549 | * cli/cli-cmds.c: Include readline.h. | |
13550 | (complete_command): Pass the start of the last word to | |
13551 | complete_line. | |
13552 | ||
9709f61c DJ |
13553 | 2004-01-31 Daniel Jacobowitz <drow@mvista.com> |
13554 | ||
13555 | * breakpoint.c (bpstat_stop_status): Remove not_a_sw_breakpoint | |
13556 | argument, and change first argument to a CORE_ADDR. | |
13557 | * breakpoint.h (bpstat_stop_status): Update prototype. | |
13558 | * infrun.c (adjust_pc_after_break): Add a new comment. | |
13559 | (handle_inferior_event): Update calls to bpstat_stop_status. | |
13560 | ||
4f1280bb DJ |
13561 | 2004-01-31 Daniel Jacobowitz <drow@mvista.com> |
13562 | ||
13563 | * breakpoint.h: Update copyright years. | |
13564 | ||
4fa8626c DJ |
13565 | 2004-01-31 Daniel Jacobowitz <drow@mvista.com> |
13566 | ||
13567 | * breakpoint.c (software_breakpoint_inserted_here_p): New function. | |
13568 | (bpstat_stop_status): Don't decrement PC. | |
13569 | * breakpoint.h (software_breakpoint_inserted_here_p): Add | |
13570 | prototype. | |
13571 | * infrun.c (adjust_pc_after_break): New function. | |
13572 | (handle_inferior_event): Call it, early. Remove later references | |
13573 | to DECR_PC_AFTER_BREAK. | |
13574 | (normal_stop): Add commentary. | |
13575 | ||
fad0733a DJ |
13576 | 2004-01-31 Daniel Jacobowitz <drow@mvista.com> |
13577 | ||
13578 | * breakpoint.c (breakpoint_re_set_one): Add missing chunk of | |
13579 | 2004-01-27 double-free fix. | |
13580 | ||
42cdca6c MK |
13581 | 2004-01-31 Mark Kettenis <kettenis@gnu.org> |
13582 | ||
13583 | * sparc-tdep.c (sparc_fetch_wcookie): New function. | |
13584 | (sparc32_frame_prev_register): Handle StackGhost. | |
13585 | (sparc_supply_rwindow, sparc_collect_rwindow): Likewise. | |
13586 | ||
932d5416 RM |
13587 | 2004-01-29 Roland McGrath <roland@redhat.com> |
13588 | ||
13589 | * configure.in (NEW_PROC_API): Also match solaris2.9 for this test. | |
13590 | * configure: Regenerated. | |
13591 | ||
13592 | * procfs.c: Include gdb_string.h for str* decls, otherwise warnings. | |
13593 | * Makefile.in (procfs.o): Add dep. | |
13594 | ||
47d3492a AC |
13595 | 2004-01-28 Andrew Cagney <cagney@redhat.com> |
13596 | ||
13597 | * tui/tui-stack.h: Update copyright. | |
13598 | (struct frame_info): Add opaque declaration. | |
13599 | (tui_update_locator_filename): Rename tuiUpdateLocatorFilename. | |
13600 | (tui_show_locator_content): Rename tuiShowLocatorContent. | |
13601 | (tui_show_frame_info): Rename tuiShowFrameInfo. | |
13602 | * tui/tui-stack.c: Update copyright. Update references. | |
13603 | * tui/tui-winsource.c: Update references. | |
13604 | * tui/tui-win.c: Update references. | |
13605 | * tui/tui-layout.c: Update references. | |
13606 | * tui/tui-hooks.c: Update copyright, update references. | |
13607 | * tui/tui.c: Update copyright, update references. | |
13608 | * tui/tui-disasm.c: Update references. | |
13609 | ||
5d51ca54 DC |
13610 | 2004-01-28 David Carlton <carlton@kealia.com> |
13611 | ||
13612 | * dwarf2read.c (add_partial_structure): Use demangled name if | |
13613 | namespace equals "". | |
13614 | ||
086ed43d JB |
13615 | 2004-01-27 Jim Blandy <jimb@redhat.com> |
13616 | ||
13617 | Clean up misapplied patch: | |
13618 | * dwarf2read.c (determine_prefix): Change one of the two forward | |
13619 | declarations for 'determine_prefix_aux' to a declaration for this. | |
13620 | (read_func_scope): Use cu->language, not cu_language. Pass 'cu' | |
13621 | argument to 'die_specification'. | |
13622 | ||
2a35147e JB |
13623 | * dwarf2read.c (read_func_scope): Re-indent comment. |
13624 | ||
a355c7de | 13625 | 2004-01-27 Paul N. Hilfinger <hilfinger@gnat.com> |
932d5416 | 13626 | |
a355c7de AC |
13627 | * breakpoint.c (breakpoint_re_set_one): Set b->cond, b->val, and |
13628 | b->exp to NULL after freeing so that error during re-parsing or | |
13629 | evaluation of expressions associated with breakpoint don't | |
13630 | eventually lead to re-freeing of storage. | |
13631 | Committed by Andrew Cagney. | |
13632 | ||
63ff5125 AC |
13633 | 2004-01-27 Andrew Cagney <cagney@redhat.com> |
13634 | ||
13635 | * source.c (ambiguous_line_spec): Delete undefined declaration. | |
13636 | * m32r-rom.c (m32r_set_board_address): Delete unused function. | |
13637 | (m32r_set_server_address, m32r_set_download_path): Ditto. | |
13638 | * remote-fileio.c (remote_fileio_to_fio_int): Ditto. | |
13639 | ||
e142c38c DJ |
13640 | 2004-01-27 Daniel Jacobowitz <drow@mvista.com> |
13641 | ||
13642 | * dwarf2read.c: Update calls to changed and renamed functions, and | |
13643 | references to moved variables. | |
13644 | ||
13645 | (struct dwarf2_cu): Add first_fn, last_fn, cached_fn, | |
13646 | language, language_defn, list_in_scope, and ftypes members. | |
13647 | (cu_first_fn, cu_last_fn, cu_cached_fn, cu_language) | |
13648 | (cu_language_defn, list_in_scope, ftypes, cu_header_offset) | |
13649 | (baseaddr): Remove globals. | |
13650 | ||
13651 | (dwarf_attr): Renamed to dwarf2_attr. Add CU argument. | |
13652 | (set_cu_language, die_is_declaration, die_specification) | |
13653 | (determine_prefix, determin_prefix_aux, class_name, namespace_name) | |
13654 | (dwarf2_linkage_name, dwarf2_name, dwarf2_extension) | |
13655 | (dwarf2_get_ref_die_offset, dwarf2_fundamental_type) | |
13656 | (initialize_cu_func_list, add_to_cu_func_list): Add CU argument. | |
13657 | ||
13658 | (dwarf2_build_psymtabs_hard): Add local baseaddr. Initialize | |
13659 | cu.list_in_scope. Don't initialize cu_header_offset. | |
13660 | (add_partial_symbol): Add local baseaddr. | |
13661 | (psymtab_to_symtab_1): Add local baseaddr. Use | |
13662 | objfile->section_offsets for consistency. Don't initialize | |
13663 | cu_header_offset; do initialize cu.header.offset and | |
13664 | cu.list_in_scope. | |
13665 | (read_file_scope, read_func_scope, read_lexical_block_scope) | |
13666 | (dwarf_decode_lines, new_symbol): Add local baseaddr. | |
13667 | ||
c6e06ede MC |
13668 | 2004-01-27 Michael Chastain <mec.gnu@mindspring.com> |
13669 | ||
fb328ecc | 13670 | * PROBLEMS: Add gdb/1516. |
c6e06ede | 13671 | |
48184fd4 AC |
13672 | 2003-12-29 Robert Millan <robertmh@gnu.org> |
13673 | ||
13674 | Patch committed by Andrw Cagney. | |
13675 | * configure.host: Match knetbsd*-gnu and kfreebsd*-gnu. | |
13676 | * configure.tgt: Match knetbsd*-gnu. | |
13677 | ||
c1321b30 AC |
13678 | 2004-01-26 Andrew Cagney <cagney@redhat.com> |
13679 | ||
f3699be3 AC |
13680 | * breakpoint.c (catch_command_1): Delete #ifdef code. |
13681 | (catch_fork_command_1): Delete #ifdef wrapper. | |
13682 | (catch_exec_command_1): Ditto. | |
13683 | (catch_load_command_1): Ditto. | |
13684 | (catch_unload_command_1): Ditto. | |
13685 | ||
c1321b30 AC |
13686 | * breakpoint.c (watchpoint_check): Delete #if0ed variable. |
13687 | (catch_breakpoint): Delete #if0ed function. | |
13688 | (disable_catch_breakpoint): Ditto. | |
13689 | (delete_catch_breakpoint, enable_catch_breakpoint): Ditto. | |
13690 | (disable_catch, enable_catch, delete_catch): Ditto. | |
13691 | ||
b4501125 AC |
13692 | 2004-01-26 Andrew Cagney <cagney@redhat.com> |
13693 | ||
13694 | * remote.c (echo_check, quit_flag): Delete variables. | |
13695 | (cisco_kernel_mode): Delete variable. | |
13696 | (minitelnet_return, tty_input, escape_count): Delete variables. | |
13697 | (remote_cisco_mode): Delete variable. | |
13698 | (remote_cisco_open, remote_cisco_close): Delete function. | |
13699 | (remote_cisco_mourn, remote_cisco_wait): Delete function. | |
13700 | (init_remote_cisco_ops): Delete function. | |
13701 | (_initialize_remote): Do not install "remote cisco" code. | |
13702 | (read_frame): Delete cisco specific code. | |
13703 | (remote_info_process): Delete function. | |
13704 | (remote_wait): Delete cisco specific code. | |
13705 | (remote_cisco_section_offsets): Delete function. | |
13706 | (remote_cisco_objfile_relocate): Delete function. | |
13707 | (remote_async_wait): Delete cisco specific code. | |
13708 | (minitelnet, readtty, readsocket): Delete function. | |
13709 | ||
74055713 AC |
13710 | 2004-01-26 Andrew Cagney <cagney@redhat.com> |
13711 | ||
13712 | * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS): Deprecate. Add | |
13713 | comments mentioning extract_returned_value_address. | |
13714 | * infcmd.c (print_return_value): Update. Add comments on | |
13715 | extract_returned_value_address. | |
13716 | * stack.c (return_command): Add comments on | |
13717 | extract_returned_value_address. | |
13718 | * values.c: Update comment. | |
13719 | * m32r-tdep.c: Update comment. | |
13720 | * sparc-tdep.c: Update comment. | |
13721 | * ia64-tdep.c (ia64_use_struct_convention): Update comment. | |
13722 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
13723 | * sh64-tdep.c (sh64_gdbarch_init): Update. | |
13724 | * sh-tdep.c (sh_gdbarch_init): Update. | |
13725 | * s390-tdep.c (s390_gdbarch_init): Update. | |
13726 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
13727 | * m68klinux-tdep.c (m68k_linux_init_abi): Update. | |
13728 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
13729 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
13730 | * m32r-tdep.c (m32r_gdbarch_init): Update. | |
13731 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
13732 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
13733 | * frv-tdep.c (frv_gdbarch_init): Update. | |
13734 | * arm-tdep.c (arm_gdbarch_init): Update. | |
13735 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
13736 | ||
a67af2b9 AC |
13737 | 2004-01-26 Andrew Cagney <cagney@redhat.com> |
13738 | ||
13739 | * dwarf2loc.c (dwarf_expr_frame_base): Use SYMBOL_OPS instead of | |
13740 | SYMBOL_LOCATION_FUNCS | |
13741 | (dwarf2_loclist_funcs, dwarf2_locexpr_funcs): Change type to | |
13742 | "struct symbol_ops". | |
13743 | * dwarf2loc.h (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Change | |
13744 | type to "struct symbol_ops". | |
13745 | * symtab.h (struct symbol_ops): Rename "struct location_funcs". | |
13746 | (struct symbol): Replace ".aux_value.loc.funcs" and | |
13747 | ".aux_value.loc.baton" with ".ops" and ".aux_value.ptr". | |
13748 | (SYMBOL_OBJFILE): Delete macro. | |
13749 | (SYMBOL_LOCATION_FUNCS): Delete macro. | |
13750 | (SYMBOL_LOCATION_BATON): Update. | |
13751 | * dwarf2read.c (dwarf2_symbol_mark_computed): Set SYMBOL_OPS | |
13752 | intead of SYMBOL_LOCATION_FUNCS. | |
13753 | * ax-gdb.c (gen_var_ref): Ditto. | |
13754 | * printcmd.c (address_info): Ditto. | |
13755 | * findvar.c (read_var_value): Ditto. | |
13756 | (symbol_read_needs_frame): Ditto. | |
13757 | ||
c034e007 AC |
13758 | 2004-01-26 Andrew Cagney <cagney@redhat.com> |
13759 | ||
13760 | * dwarf2read.c (read_func_scope): Document frame-base hack. | |
13761 | ||
bb472c1e MK |
13762 | 2004-01-25 Mark Kettenis <kettenis@gnu.org> |
13763 | ||
13764 | * infcmd.c (print_return_value): Plug memory leak; delete | |
13765 | ui_stream object. Rename argument `structure_return' to | |
13766 | `struct_return'. | |
13767 | ||
c8e737d5 MK |
13768 | 2004-01-25 Mark Kettenis <kettenis@gnu.org> |
13769 | ||
f941662f MK |
13770 | * infcmd.c (print_return_value): Wrap long lines. |
13771 | (finish_command_continuation, finish_command): Remove unused | |
13772 | variable `funcaddr'. Fix some coding-standards problems. | |
13773 | ||
c558d81a | 13774 | * sparc-tdep.c (sparc_regset_from_core_section): Check whether |
d8d65dd3 | 13775 | SECT_SIZE is large enough, not whether it's exactly the right size. |
c558d81a MK |
13776 | (sparc32_gdbarch_init): Initialize TDEP->sizeof_gregset and |
13777 | TDEP->fpregset to zero. | |
13778 | ||
bf1e5861 | 13779 | * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Also supply the |
c8e737d5 MK |
13780 | floating-point registers for traditional NetBSD core files. |
13781 | (sparc32nbsd_init_abi): Initialize TDEP->sizeof_gregset and | |
13782 | TDEP->sizeof_fpregset here. | |
13783 | ||
4c72d57a MK |
13784 | 2004-01-25 Mark Kettenis <kettenis@gnu.org> |
13785 | ||
566626fa MK |
13786 | * sparc-tdep.h (sparc32nbsd_sigcontext_saved_regs): New prototype. |
13787 | * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): New | |
13788 | function with code split out from | |
13789 | sparc32nbsd_sigcontext_frame_cache. | |
13790 | (sparc32nbsd_sigcontext_frame_cache): Use | |
13791 | sparc32nbsd_sigcontext_saved_regs. | |
13792 | (_initialize_sparc32nbsd_tdep): Don't register OS ABI handler for | |
13793 | OpenBSD. | |
13794 | * sparcobsd-tdep.c: New file. | |
13795 | * Makefile.in (ALLDEPFILES): Add sparcobsd-tdep.c. | |
13796 | (sparcobsd-tdep.o): New dependency. | |
13797 | * configure.tgt (sparc-*-openbsd*): Set gdb_target to obsd. | |
13798 | * config/sparc/obsd.mt: New file. | |
13799 | ||
4c72d57a MK |
13800 | * sparc-tdep.c (sparc32_gdbarch_init): Don't require |
13801 | TDEP->fpregset to be initialized to enable core file register | |
13802 | sets. | |
13803 | ||
7e5e9f88 MK |
13804 | 2004-01-24 Mark Kettenis <kettenis@gnu.org> |
13805 | ||
f0f207fd | 13806 | * sparc64-tdep.h (struct frame_info, struct trad_frame_saved_reg): |
1e067c66 MK |
13807 | Add opaque declarations. |
13808 | (sparc64nbsd_sigcontext_saved_regs): New prototype. | |
13809 | * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): New | |
13810 | function with code split out from | |
13811 | sparc64nbsd_sigcontext_frame_cache. | |
13812 | (sparc64nbsd_sigcontext_frame_cache): Use | |
13813 | sparc64nbsd_sigcontext_saved_regs. | |
13814 | (_initialize_sparc64nbsd_tdep): Don't register OS ABI handler for | |
13815 | OpenBSD. | |
13816 | * sparc64obsd-tdep.c: New file. | |
13817 | * Makefile.in (ALLDEPFILES): Add sparc64obsd-tdep.c. | |
13818 | (sparc64obsd-tdep.o): New dependency. | |
13819 | * configure.tgt (sparc64-*-openbsd*): Set gdb_target to obsd64 and | |
13820 | gdb_osabi to GDB_OSABI_OPENBSD_ELF. | |
13821 | * config/sparc/obsd64.mt: New file. | |
13822 | ||
690668cc MK |
13823 | * sparc-tdep.c (sparc_fetch_instruction): Return zero if we can't |
13824 | read the instruction at PC. | |
13825 | ||
7e5e9f88 MK |
13826 | * sparcnbsd-tdep.c (GDB_OSABI_NETBSD_CORE): Define, based on the |
13827 | value of GDB_OSABI_DEFAULT. | |
13828 | (sparcnbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_CORE | |
13829 | instead of GDB_OSABI_NETBSD_AOUT. | |
13830 | ||
68b6dce9 NR |
13831 | 2004-01-24 Nick Roberts <nick@nick.uklinux.net> |
13832 | ||
13833 | * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-cmds.h: Update | |
13834 | copyright. | |
13835 | ||
080ce8c0 AC |
13836 | 2004-01-23 Andrew Cagney <cagney@redhat.com> |
13837 | ||
13838 | * printcmd.c (display_command): Replace tui_set_display call with | |
13839 | tui_set_layout_for_display_command. | |
13840 | * tui/tui.h (enum tui_win_type): Define. | |
13841 | (tui_set_layout): Delete declaration. | |
13842 | (tui_set_layout_for_display_command): Rename set_tui_layout. | |
13843 | * tui/tui-data.h (enum tui_layout_type): Define. | |
13844 | * tui/tui-layout.h: Update copyright. Include "tui-data.h" and | |
13845 | "tui.h". | |
13846 | (tui_add_win_to_layout): Rename tuiAddWinToLayout. | |
13847 | (tui_default_win_height): Rename tuiDefaultWinHeight. | |
13848 | (tui_default_win_viewport_height): Rename | |
13849 | tuiDefaultWinViewportHeight. | |
13850 | (tui_set_layout): RenametuiSetLayout. | |
13851 | * tui/tui-layout.c: Update references. | |
13852 | * tui/tui.c: Update references. | |
13853 | * tui/tui-disasm.c: Update references. | |
13854 | ||
b368761e DC |
13855 | 2004-01-23 David Carlton <carlton@kealia.com> |
13856 | ||
13857 | Partial workaround for PR c++/1511: | |
13858 | * cp-namespace.c: Include frame.h. | |
13859 | (cp_lookup_transparent_type): New | |
13860 | (cp_lookup_transparent_type_loop): New. | |
13861 | * cp-support.h: Declare cp_lookup_transparent_type. | |
13862 | * symtab.c (basic_lookup_transparent_type): Renamed from | |
13863 | lookup_transparent_type. | |
13864 | (lookup_transparent_type): Replace old body by a call to | |
13865 | current_language->la_lookup_transparent_type. | |
13866 | * symtab.h: Update copyright. Declare | |
13867 | basic_lookup_transparent_type. | |
13868 | * language.h: Update copyright. | |
13869 | (struct language_defn): Add la_lookup_transparent_type. | |
13870 | * language.c: Update copyright. | |
13871 | (unknown_language_defn): Add basic_lookup_transparent_type. | |
13872 | (auto_language_defn): Add basic_lookup_transparent_type. | |
13873 | (local_language_defn): Add basic_lookup_transparent_type. | |
13874 | * ada-lang.c: Update copyright. | |
13875 | (ada_language_defn): Add basic_lookup_transparent_type. | |
13876 | * c-lang.c: Update copyright. | |
13877 | (c_language_defn): Add basic_lookup_transparent_type. | |
13878 | (cplus_language_defn): Add basic_lookup_transparent_type. | |
13879 | (asm_language_defn): Add basic_lookup_transparent_type. | |
13880 | (minimal_language_defn): Add basic_lookup_transparent_type. | |
13881 | * f-lang.c: Update copyright. | |
13882 | (f_language_defn): Add basic_lookup_transparent_type. | |
13883 | * jv-lang.c: Update copyright. | |
13884 | (java_language_defn): Add basic_lookup_transparent_type. | |
13885 | * m2-lang.c: Update copyright. | |
13886 | (m2_language_defn): Add basic_lookup_transparent_type. | |
13887 | * objc-lang.c: Update copyright. | |
13888 | (objc_language_defn): Add basic_lookup_transparent_type. | |
13889 | * p-lang.c: Update copyright. | |
13890 | (p_language_defn): Add basic_lookup_transparent_type. | |
13891 | * scm-lang.c: Update copyright. | |
13892 | (scm_language_defn): Add basic_lookup_transparent_type. | |
13893 | * Makefile.in (cp-namespace.o): Depend on frame.h. | |
13894 | ||
fdde2d81 DC |
13895 | 2004-01-23 David Carlton <carlton@kealia.com> |
13896 | ||
13897 | Patch for PR c++/1520: | |
13898 | * dwarf2read.c (read_func_scope): Set processing_current_prefix | |
13899 | properly if we have a specification die. | |
13900 | (determine_prefix_aux): Rename from determine_prefix. | |
13901 | (determine_prefix): Like the old determine_prefix, but never | |
13902 | returns NULL. | |
13903 | ||
5b828b6b TR |
13904 | 2004-01-23 Theodore A. Roth <troth@openavr.org> |
13905 | ||
13906 | * avr-tdep.c: Update copyright. | |
13907 | (avr_iaddr_p): Delete unused function. | |
13908 | (avr_saddr_p): Delete unused function. | |
13909 | ||
a1b8c067 DC |
13910 | 2004-01-23 David Carlton <carlton@kealia.com> |
13911 | ||
13912 | * symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab. | |
13913 | Fix for PR symtab/1534. | |
13914 | ||
f2cab569 MK |
13915 | 2004-01-23 Mark Kettenis <kettenis@gnu.org> |
13916 | ||
13917 | * NEWS (New native configurations): Mention OpenBSD/sparc and | |
13918 | OpenBSD/sparc64. | |
13919 | * configure.tgt: Add sparc-*-openbsd* and sparc64-*-openbsd*. | |
13920 | * configure.host: Likewise. | |
13921 | * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Register OS ABI | |
13922 | handler for OpenBSD. | |
13923 | * sparc64nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Likewise. | |
13924 | ||
642d8300 MK |
13925 | 2004-01-22 Mark Kettenis <kettenis@gnu.org> |
13926 | ||
89aac506 MK |
13927 | * sparcnbsd-tdep.c (sparcnbsd_core_osabi_sniffer): New function. |
13928 | (_initialize_sparnbsd_tdep): Register sparcnbsd_core_osabi_sniffer. | |
13929 | ||
36662fde MK |
13930 | * ser-pipe.c (pipe_open): Use proper null pointer in execl call. |
13931 | * cli/cli-cmds.c (shell_escape): Likewise. | |
13932 | ||
642d8300 MK |
13933 | * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Recognize |
13934 | OpenBSD .note.openbsd.ident sections. | |
13935 | ||
fae299cd DC |
13936 | 2004-01-22 David Carlton <carlton@kealia.com> |
13937 | ||
13938 | * dwarf2read.c (psymtab_to_symtab_1): Calculate lowpc, highpc via | |
13939 | get_scope_pc_bounds. | |
13940 | (read_file_scope): Ditto. | |
13941 | (get_scope_pc_bounds): New function, produced by extracting code | |
13942 | from the above two functions, consolidating it, and adding support | |
13943 | for DW_TAG_namespace. | |
13944 | ||
a49d618c MK |
13945 | 2004-01-22 Mark Kettenis <kettenis@gnu.org> |
13946 | ||
13947 | * osabi.c (MAX_NOTESZ): New define. | |
13948 | (check_note): New function. | |
13949 | (generic_elf_osabi_sniff_abi_tag_sections): Reorganize code using | |
13950 | check_note. | |
13951 | ||
fe61caab RM |
13952 | 2004-01-21 Roland McGrath <roland@redhat.com> |
13953 | ||
13954 | * MAINTAINERS (write after approval): Add myself. | |
13955 | ||
ec145965 EZ |
13956 | 2004-01-21 Eli Zaretskii <eliz@gnu.org> |
13957 | ||
13958 | * utils.c (init_page_info): Move declarations of `rows' and | |
13959 | `cols' before the __GO32__-specific code. Move the closing brace | |
13960 | outside the #ifdef __GO32__..#endif block. | |
13961 | [__GO32__]: Use `rows' and `cols' to avoid compiler warnings. | |
13962 | ||
877522db PB |
13963 | 2004-01-21 Paul Brook <paul@codesourcery.com> |
13964 | ||
13965 | * infrun.c (handle_inferior_event): Check stop_stack_dummy if handling | |
13966 | BPSTAT_WHAT_CHECK_SHLIBS. | |
13967 | ||
dbf5be1c PB |
13968 | 2004-01-21 Paul Brook <paul@codesourcery.com> |
13969 | ||
13970 | * MAINTAINERS: Add myself to write-after-approval. | |
13971 | ||
81f08b92 AC |
13972 | 2004-01-20 Andrew Cagney <cagney@redhat.com> |
13973 | ||
5a1efed7 AC |
13974 | * ax-gdb.c (print_axs_value): Delete unused function. |
13975 | * jv-lang.c (java_lookup_type): Delete unused function. | |
13976 | * cli/cli-dump.c (dump_filetype): Delete unused function. | |
13977 | * remote-mips.c (remote_mips_insert_hw_breakpoint) | |
13978 | (remote_mips_remove_hw_breakpoint): Delete unused functions. | |
13979 | (mips_getstring): Delete unused function. | |
13980 | (pmon_insert_breakpoint): Delete #if0ed function. | |
13981 | (PMON_MAX_BP): Delete #if0ed MACRO. | |
13982 | (mips_pmon_bp_info): Delete #if0ed variable. | |
13983 | (pmon_remove_breakpoint): Delete #if0ed function. | |
13984 | * monitor.c (monitor_write_even_block): Delete unused function. | |
13985 | (monitor_write_memory_block): Delete #if0ed code. | |
13986 | * dink32-rom.c (dink32_load): Delete unused function. | |
13987 | (_initialize_dink32_rom): Delete #if0ed code. | |
13988 | * d10v-tdep.c (d10v_daddr_p): Delete unused function. | |
13989 | ||
b0a30fce AC |
13990 | * tui/tui-command.c: Update references. |
13991 | * tui/tui-io.c: Update references. | |
13992 | * tui/tui-command.h: Update copyright. | |
13993 | (tui_dispatch_ctrl_char): Rename tuiDispatchCtrlChar. | |
13994 | ||
81f08b92 AC |
13995 | * source.c (ambiguous_line_spec): Delete never-defined function. |
13996 | * remote-rdi.c (arm_rdi_mourn, arm_rdi_send): Ditto. | |
13997 | * gdbtypes.c (add_name, add_mangled_type): Ditto. | |
13998 | * cli/cli-cmds.c (validate_comname): Ditto. | |
13999 | ||
65f05602 AC |
14000 | * tui/tui-disasm.h: Update copyright. Include "tui.h" and |
14001 | "tui-data.h". | |
14002 | (tui_set_disassem_content): Rename tuiSetDisassemContent. | |
14003 | (tui_show_disassem): Rename tuiShowDisassem. | |
14004 | (tui_show_disassem_and_update_source): Rename | |
14005 | tuiVerticalDisassemScroll. | |
14006 | (tui_vertical_disassem_scroll): Rename tuiVerticalDisassemScroll. | |
14007 | (tui_get_begin_asm_address): Rename tuiGetBeginAsmAddress. | |
14008 | * tui/tui.h: Update copyright. | |
14009 | (enum tui_status): Define. | |
14010 | * tui/tui-data.h (enum tui_scroll_direction): Define. | |
14011 | * tui/tui-disasm.c: Update copyright. Update references. | |
14012 | * tui/tui-winsource.c: Update copyright. Update references. | |
14013 | * tui/tui-win.c: Update references. | |
14014 | * tui/tui-layout.c: Update references. | |
14015 | ||
6bb0384f AC |
14016 | 2004-01-20 Andrew Cagney <cagney@redhat.com> |
14017 | ||
14018 | * mi/mi-cmd-stack.c (list_args_or_locals): Move declaration of | |
14019 | sym2 to start of block. | |
14020 | ||
9175c9a3 MC |
14021 | 2004-01-19 Michael Chastain <mec.gnu@mindspring.com> |
14022 | ||
14023 | * MAINTAINERS: Delete mmalloc. | |
14024 | * Makefile.in: Delete MMALLOC, MMALLOC_CFLAGS, -lmmalloc, mmalloc_h. | |
14025 | * NEWS: Mention removal of --with-malloc. | |
14026 | * acconfig.h: Delete USE_MMALLOC, MMCHECK_FORCE. | |
14027 | * config.in: Regenerate. | |
14028 | * configure: Regenerate. | |
6bb0384f AC |
14029 | * configure.in: Delete MMALLOC_CFLAGS, MMALLOC, --with-mmalloc, |
14030 | USE_MMALLOC, MMCHECK_FORCE. | |
9175c9a3 MC |
14031 | * gdbinit.in: Remove mmalloc. |
14032 | * utils.c: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, malloc_botch. | |
14033 | * config/alpha/alpha-linux.mh: Delete MMALLOC, MMALLOC_CFLAGS. | |
14034 | * config/i386/go32.mh: Likewise. | |
14035 | * config/i386/interix.mh: Likewise. | |
14036 | * config/powerpc/xm-linux.h: Delete MMAP_BASE_ADDRESS, MMAP_INCREMENT. | |
14037 | ||
4fcef00a JJ |
14038 | 2004-01-19 Jeff Johnston <jjohnstn@redhat.com> |
14039 | ||
14040 | * linespec.c (decode_variable, symtab_from_filename): Call | |
14041 | error_silent with error message instead of throwing an exception | |
14042 | directly. | |
14043 | * defs.h (error_silent, error_output_message): Add prototypes. | |
14044 | (catch_exceptions_with_msg): Ditto. | |
14045 | * utils.c (error_silent, error_output_message): New functions. | |
14046 | * top.c (catch_exceptions_with_msg): New function. | |
14047 | ||
8e94b928 NR |
14048 | 2004-01-20 Nick Roberts <nick@nick.uklinux.net> |
14049 | ||
14050 | * mi/mi-cmds.h (enum print_values): Add definition. | |
14051 | ||
14052 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Print the name, | |
14053 | type and value for simple data types and just the name and type | |
14054 | for complex ones, if required. | |
14055 | ||
14056 | * mi/mi-cmd-var.c (mi_cmd_var_list_children): Print the values of the | |
14057 | children, if required. | |
14058 | ||
a02d6af8 KB |
14059 | 2004-01-19 Kevin Buettner <kevinb@redhat.com> |
14060 | ||
14061 | * frv-tdep.c (frv_push_arguments, frv_saved_pc_after_call): Delete | |
14062 | unused declarations. | |
14063 | ||
78a4a9b9 AC |
14064 | 2004-01-19 Andrew Cagney <cagney@redhat.com> |
14065 | ||
14066 | * top.h (mapped_symbol_files): Delete declaration. | |
14067 | * main.c (captured_main): Delete option "m" and "mapped". | |
14068 | * objfiles.c (mapped_symbol_files): Delete variable. | |
14069 | * symfile.c (symbol_file_command): Delete mmap code. | |
14070 | (symbol_file_add_with_addrs_or_offsets): Ditto. | |
14071 | (add_symbol_file_command, reread_separate_symbols): Ditto. | |
14072 | * objfiles.h (OBJF_MAPPED): Delete. | |
14073 | * objfiles.c (allocate_objfile) [USE_MMALLOC]: Delete. | |
14074 | (free_objfile) [USE_MMALLOC]: Ditto. | |
14075 | (open_existing_mapped_file): Delete function. | |
14076 | (open_mapped_file): Delete function. | |
14077 | (map_to_file): Delete function. | |
14078 | ||
2dbd5e30 KB |
14079 | 2004-01-19 Kevin Buettner <kevinb@redhat.com> |
14080 | ||
14081 | * infrun.c (step_into_function): Account for possible breakpoint | |
14082 | adjustment when computing ``stop_func_start''. | |
14083 | ||
437b434f KB |
14084 | 2004-01-19 Kevin Buettner <kevinb@redhat.com> |
14085 | ||
14086 | * target.c (default_region_size_ok_for_hw_watchpoint): Compare | |
14087 | the region size against the size of a pointer, not the size of | |
14088 | a register as given by DEPRECATED_REGISTER_SIZE. | |
14089 | ||
55fb0713 AC |
14090 | 2004-01-19 Andrew Cagney <cagney@redhat.com> |
14091 | ||
14092 | * tui/tui-regs.h: Include "tui-data.h". | |
14093 | (tuiFirstRegElementNoInLine): Delete declaration. | |
14094 | (tui_display_registers_from): Rename tuiDisplayRegistersFrom. | |
14095 | (tui_last_regs_line_no): Rename tuiLastRegsLineNo. | |
14096 | (tui_line_from_reg_element_no): Rename tuiLineFromRegElementNo. | |
14097 | (tui_calculate_regs_column_count): Rename | |
14098 | tuiCalculateRegsColumnCount. | |
14099 | (tui_check_register_values): Rename tuiCheckRegisterValues. | |
14100 | (tui_show_registers): Rename tuiShowRegisters. | |
14101 | (tui_display_registers_from_line): Rename | |
14102 | tuiDisplayRegistersFromLine. | |
14103 | (tui_first_reg_element_inline): Rename tuiFirstRegElementInLine. | |
14104 | (tui_toggle_float_regs): Rename tuiToggleFloatRegs. | |
14105 | (tui_first_reg_element_no_inline): Rename | |
14106 | tuiFirstRegElementNoInLine. | |
14107 | * tui/tui-data.h: Update copyright. | |
14108 | (enum tui_register_display_type): Rename _TuiRegisterDisplayType. | |
14109 | * tui/tui-windata.c: Update copyright, update references. | |
14110 | * tui/tui-regs.c: Update copyright, update references. | |
14111 | * tui/tui-win.c: Update copyright, update references. | |
14112 | * tui/tui-layout.c: Update copyright, update references. | |
fe61caab | 14113 | |
cebe9500 AC |
14114 | 2004-01-18 Andrew Cagney <cagney@redhat.com> |
14115 | ||
bcdf1568 AC |
14116 | * tui/tui-io.c: Update copyright. |
14117 | (key_is_end_sequence, key_is_backspace): New functions. | |
14118 | (key_is_command_char, key_is_start_sequence): New function. | |
14119 | (tui_getc): Update references. | |
14120 | * tui/tui-io.h: Update copyright. | |
14121 | (m_tuiStartNewLine): Delete macro. | |
14122 | (m_isBackspace, m_isDeleteChar): Delete macros. | |
14123 | (m_isDeleteLine, m_isDeleteToEol): Delete macros. | |
14124 | (m_isNextPage, m_isPrevPage): Delete macros. | |
14125 | (m_isLeftArrow, m_isRightArrow): Delete macros. | |
14126 | (m_isXdbStyleCommandChar): Delete macro. | |
14127 | (key_is_start_sequence): Declare, replace m_isStartSequence. | |
14128 | (key_is_end_sequence): Declare, replace m_isEndSequence. | |
14129 | (key_is_backspace): Declare ,replace m_isBackspace. | |
14130 | (key_is_command_char): Declare, replace m_isCommandChar. | |
14131 | * tui/tui-command.c: Update copyright. | |
14132 | (tuiDispatchCtrlChar): Update references. | |
14133 | ||
130d87e6 AC |
14134 | * config/djgpp/fnchange.lst: Delete tui/tuiSourceWin.c and |
14135 | tuiSourceWin.h. | |
14136 | ||
d7b2e967 AC |
14137 | * tui/tui-command.c: Rename tui/tuiCommand.c. |
14138 | * tui/tui-command.h: Rename tui/tuiCommand.h. | |
14139 | * tui/tui-data.c: Rename tui/tuiData.c. | |
14140 | * tui/tui-data.h: Rename tui/tuiData.h. | |
14141 | * tui/tui-disasm.c: Rename tui/tuiDisassem.c. | |
14142 | * tui/tui-disasm.h: Rename tui/tuiDisassem.h. | |
14143 | * tui/tui-io.c: Rename tui/tuiIO.c. | |
14144 | * tui/tui-io.h: Rename tui/tuiIO.h. | |
14145 | * tui/tui-layout.c: Rename tui/tuiLayout.c. | |
14146 | * tui/tui-layout.h: Rename tui/tuiLayout.h. | |
14147 | * tui/tui-regs.c: Rename tui/tuiRegs.c. | |
14148 | * tui/tui-regs.h: Rename tui/tuiRegs.h. | |
14149 | * tui/tui-source.c: Rename tui/tuiSource.c. | |
14150 | * tui/tui-source.h: Rename tui/tuiSource.h. | |
14151 | * tui/tui-stack.c: Rename tui/tuiStack.c. | |
14152 | * tui/tui-stack.h: Rename tui/tuiStack.h. | |
14153 | * tui/tui-win.c: Rename tui/tuiWin.c. | |
14154 | * tui/tui-win.h: Rename tui/tuiWin.h. | |
14155 | * tui/tui-windata.c: Rename tui/tuiDataWin.c. | |
14156 | * tui/tui-windata.h: Rename tui/tuiDataWin.h. | |
14157 | * tui/tui-wingeneral.c: Rename tui/tuiGeneralWin.c. | |
14158 | * tui/tui-wingeneral.h: Rename tui/tuiGeneralWin.h. | |
14159 | * tui/tui-winsource.c: Rename tui/tuiSourceWin.c. | |
14160 | * tui/tui-winsource.h: Rename tui/tuiSourceWin.h. | |
14161 | * tui/tui-file.c: Update includes. | |
14162 | * tui/tui-hooks.c: Update includes. | |
14163 | * tui/tui-interp.c: Update includes. | |
14164 | * tui/tui.c: Update includes. | |
14165 | * Makefile.in: Update all tui/ dependencies. | |
14166 | (SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS): Update file names. | |
14167 | ||
b2100910 AC |
14168 | * Makefile.in: Update copyright. Update dependencies. |
14169 | ||
cebe9500 AC |
14170 | * tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile |
14171 | problem. | |
14172 | ||
c6f0559b AC |
14173 | 2004-01-18 Andrew Cagney <cagney@redhat.com> |
14174 | ||
43e9390b AC |
14175 | * mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register |
14176 | instead of register_gdbarch_init. | |
14177 | ||
c6f0559b AC |
14178 | * remote-sds.c (tohex): Delete unused function. Update copyright. |
14179 | * xstormy16-tdep.c (xstormy16_register_virtual_size): Ditto. | |
14180 | * v850-tdep.c (v850_register_virtual_size): Ditto. | |
14181 | * target.c (normal_target_post_startup_inferior): Ditto. | |
14182 | * source.c (ambiguous_line_spec): Ditto. | |
14183 | * remote.c (adapt_remote_get_threadinfo): Ditto. | |
14184 | * mi/mi-out.c (out_field_fmt): Ditto. | |
14185 | * mi/mi-interp.c (mi_interp_read_one_line_hook): Ditto. | |
14186 | (output_control_change_notification): Ditto. | |
14187 | * m68k-tdep.c (m68k_register_byte): Ditto. | |
14188 | (m68k_remote_breakpoint_from_pc): Ditto. | |
14189 | * ui-out.c (init_ui_out_state): Delete unused declaration. | |
14190 | * stabsread.c (search_value): Ditto. | |
14191 | * mi/mi-cmd-env.c (env_cli_command): Ditto. | |
14192 | * maint.c (print_section_table): Ditto. | |
14193 | * infrun.c (set_follow_fork_mode_command): Ditto. | |
14194 | ||
a8504492 MK |
14195 | 2004-01-18 Mark Kettenis <kettenis@gnu.org> |
14196 | ||
14197 | * dwarf2-frame.c (execute_cfa_program): Move DWA_CFA_nop before | |
14198 | DW_CFA_def_cfa_exporession. Add support for | |
14199 | DW_CFA_offset_extendend_sf, DW_CFA_def_cfa_sf and | |
14200 | DW_CFA_def_cfa_offset_sf. This should fix PR backtrace/1391. | |
14201 | ||
0bd8997e AC |
14202 | 2004-01-18 Andrew Cagney <cagney@redhat.com> |
14203 | ||
14204 | * ocd.c: Update copyright. | |
14205 | (bdm_read_register_command): Delete unused function. | |
14206 | (_initialize_remote_ocd): Delete commented out reference. | |
14207 | (get_quoted_char, reset_packet): Delete #if0ed function. | |
14208 | (output_packet, put_quoted_char): Delete #if0ed function. | |
14209 | (stu_put_packet, stu_get_packet): Delete #if0ed function. | |
14210 | (ocd_start_remote): Delete #if0ed code, remove #if1 wrapper. | |
14211 | (BDM_BREAKPOINT): Delete #if0ed macro. | |
14212 | (remote_timeout): Delete #if0ed variable. | |
14213 | ||
31bb40e4 MK |
14214 | 2004-01-18 Mark Kettenis <kettenis@gnu.org> |
14215 | ||
14216 | * Makefile.in (ALLDEPFILES): Remove core-sol2.c. | |
14217 | (core-sol2.o): Remove dependency. | |
14218 | * core-sol2.c: Remove file. | |
14219 | ||
887432a5 AC |
14220 | 2004-01-17 Andrew Cagney <cagney@redhat.com> |
14221 | ||
14222 | * mdebugread.c (compare_blocks): Make addr_diff a LONGEST. | |
14223 | * block.h: Make GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOOCK | |
14224 | enums. | |
14225 | ||
29182b13 DJ |
14226 | 2004-01-17 Daniel Jacobowitz <drow@mvista.com> |
14227 | ||
14228 | * remote.c: Update copyright years. | |
14229 | ||
2963ee1d DJ |
14230 | 2004-01-17 Daniel Jacobowitz <drow@mvista.com> |
14231 | ||
14232 | * remote.c (remote_vcont_resume): Use xstrprintf instead of sprintf. | |
14233 | ||
79d45cd4 AC |
14234 | 2004-01-17 Andrew Cagney <cagney@redhat.com> |
14235 | ||
ee300cd4 AC |
14236 | * mdebugread.c: Update copyright. |
14237 | (parse_symbol): Replace DEPRECATED_STREQ with strcmp. | |
14238 | (parse_type, parse_procedure): Ditto. | |
14239 | (parse_partial_symbols, psymtab_to_symtab_1): Ditto. | |
14240 | ||
fcacc9c2 AC |
14241 | * cris-tdep.c (cris_store_struct_return): Put back accidently |
14242 | deleted function. | |
14243 | ||
79d45cd4 AC |
14244 | * gdbarch.sh: Update copyright year. |
14245 | * gdbarch.h, gdbarch.c: Re-generate. | |
14246 | ||
b263358a DJ |
14247 | 2004-01-17 Daniel Jacobowitz <drow@mvista.com> |
14248 | ||
14249 | Suggested by George Anzinger. | |
14250 | * dwarf2expr.c (execute_stack_op): Fetch the second item from the | |
14251 | correct stack offset. Include unknown opcode numbers in the error | |
14252 | message. | |
14253 | ||
931aecf5 AC |
14254 | 2004-01-17 Andrew Cagney <cagney@redhat.com> |
14255 | ||
14256 | * x86-64-tdep.c (x86_64_init_abi): No need to clear | |
14257 | extract_struct_value_address, i386 does not set it. | |
14258 | * sparc64-tdep.c (sparc64_init_abi): Do not set | |
14259 | extract_struct_value_address, never called. | |
14260 | (sparc64_extract_struct_value_address): Delete function. | |
14261 | * m68hc11-tdep.c: Update copyright. | |
14262 | (m68hc11_gdbarch_init): Delete redundant assignment of | |
14263 | extract_struct_value_address. | |
14264 | * i386-tdep.c: Update copyright. | |
14265 | (i386_gdbarch_init): Do not set extract_struct_value_address, | |
14266 | never called. | |
14267 | (i386_extract_struct_value_address): Delete function. | |
14268 | * sparc-tdep.c (sparc32_gdbarch_init): Do not set | |
14269 | extract_struct_value_address, never called. | |
14270 | (sparc32_extract_struct_value_address): #if 0 function. Add | |
14271 | comments explaining its future. | |
14272 | ||
756fe439 DJ |
14273 | 2004-01-17 Daniel Jacobowitz <drow@mvista.com> |
14274 | ||
14275 | * arm-tdep.c (arm_write_pc): New function. | |
14276 | (arm_gdbarch_init): Call set_gdbarch_write_pc. | |
14277 | ||
e74f0f02 DJ |
14278 | 2004-01-17 Daniel Jacobowitz <drow@mvista.com> |
14279 | ||
14280 | * breakpoint.c (must_shift_inst_regs): Delete. | |
14281 | (bpstat_stop_status): Delete references to DECR_PC_AFTER_HW_BREAK | |
14282 | and SHIFT_INST_REGS. | |
14283 | * infcmd.c (step_1, step_1_continuation): Delete references to | |
14284 | SHIFT_INST_REGS. | |
14285 | * infrun.c (keep_going): Likewise. | |
14286 | * target.h (DECR_PC_AFTER_HW_BREAK): Don't define. | |
14287 | * config/i386/nm-i386.h (DECR_PC_AFTER_HW_BREAK): Likewise. | |
14288 | ||
b6cb9035 AC |
14289 | 2004-01-17 Andrew Cagney <cagney@redhat.com> |
14290 | ||
444a1e2e AC |
14291 | * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Delete. |
14292 | * gdbarch.h, gdbarch.c: Re-generate. | |
14293 | * infcmd.c (print_return_value): Delete reference to | |
14294 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS. | |
14295 | ||
def7e6ed AC |
14296 | * cris-tdep.c (cris_gdbarch_init): Do not set |
14297 | deprecated_extract_struct_value_address. | |
14298 | ||
07be497a AC |
14299 | * xstormy16-tdep.c: Update copyright. |
14300 | (xstormy16_extract_struct_value_address): Update to current | |
14301 | extract struct value address interface. | |
14302 | (xstormy16_gdbarch_init): Set extract_struct_value_address. | |
14303 | * sh64-tdep.c (sh64_extract_struct_value_address): Update to | |
14304 | current extract struct value address interface. | |
14305 | (sh64_gdbarch_init): Set extract_struct_value_address. | |
14306 | ||
6b4d5c91 AC |
14307 | * cris-tdep.c: Update copyright. |
14308 | (cris_extract_struct_value_address): Delete function. | |
14309 | (struct_return_address): Delete variable. | |
14310 | (cris_store_struct_return): Do not set struct_return_address. | |
14311 | ||
464e0365 AC |
14312 | * mcore-tdep.c: Update copyright. |
14313 | (mcore_extract_struct_value_address): Delete function. Update | |
14314 | comments. | |
14315 | (mcore_gdbarch_init): Update. | |
14316 | * mn10300-tdep.c: Update copyright. | |
14317 | (mn10300_extract_struct_value_address): Delete function. | |
14318 | (mn10300_gdbarch_init): Update. | |
14319 | * v850-tdep.c: Update copyright. | |
14320 | (v850_extract_struct_value_address): Delete. | |
14321 | (v850_gdbarch_init): Update. | |
14322 | * ns32k-tdep.c: Update copyright. | |
14323 | (ns32k_extract_struct_value_address): Delete. | |
14324 | (ns32k_gdbarch_init): Update. | |
14325 | * hppa-tdep.c (hppa_extract_struct_value_address): Delete. | |
14326 | (hppa_gdbarch_init): Update. | |
14327 | * vax-tdep.c: Update copyright. | |
14328 | (vax_extract_struct_value_address): Delete. | |
14329 | (vax_gdbarch_init): Update. | |
14330 | ||
afb18d0f AC |
14331 | * gdbarch.sh (DEPRECATED_NPC_REGNUM): Delete. |
14332 | * gdbarch.h, gdbarch.c: Re-generate. | |
14333 | * procfs.c (procfs_fetch_registers): Delete reference to | |
14334 | DEPRECATED_NPC_REGNUM. | |
14335 | (procfs_store_registers): Ditto. | |
14336 | * regcache.c (generic_target_write_pc): Simplify. | |
14337 | * lynx-nat.c: Delete #ifdef SPARC code. Not used. | |
14338 | ||
a698f53e AC |
14339 | * core-sol2.c (fetch_core_registers): Replace |
14340 | DEPRECATED_NPC_REGNUM with equivalent tdep value. | |
14341 | ||
adc11376 AC |
14342 | * hppa-tdep.c: Update copyright year. |
14343 | (hppa_target_write_pc): Use PCOQ_TAIL_REGNUM instead of | |
14344 | NPC_REGNUM. | |
14345 | (hppa_gdbarch_init): Do not set deprecated_npc_regnum. | |
14346 | ||
b6cb9035 AC |
14347 | * mips-tdep.c (mips_write_pc): New function. |
14348 | (mips_gdbarch_init): Set "write_pc" to "mips_write_pc". | |
14349 | (mips_read_pc): Use mips_regnum instead of PC_REGNUM. | |
14350 | (mips_find_saved_regs, mips_software_single_step: Ditto. | |
14351 | (mips_frame_saved_pc, mips_frame_saved_pc): Ditto. | |
14352 | mips_init_extra_frame_info, mips_pop_frame): Ditto. | |
14353 | ||
6d82d43b AC |
14354 | 2004-01-17 Andrew Cagney <cagney@redhat.com> |
14355 | ||
14356 | * mips-tdep.c: Re-indent. Group functions by ABI. | |
14357 | ||
71bd6bd4 AC |
14358 | 2004-01-17 Andrew Cagney <cagney@redhat.com> |
14359 | ||
14360 | * gdbarch.sh (DECR_PC_AFTER_BREAK): Make zero the default. | |
14361 | * gdbarch.c: Re-generate. | |
14362 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
14363 | DECR_PC_AFTER_BREAK to zero. | |
14364 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
14365 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
14366 | * sparc-tdep.c (sparc32_gdbarch_init): Ditto. | |
14367 | * sh64-tdep.c (sh64_gdbarch_init): Ditto. | |
14368 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
14369 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
14370 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
14371 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
14372 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
14373 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
14374 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
14375 | * m32r-tdep.c (m32r_gdbarch_init): Ditto. | |
14376 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
14377 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
14378 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
14379 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
14380 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
14381 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
14382 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
14383 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
14384 | * i386-nto-tdep.c (i386nto_init_abi): Add comment. | |
14385 | ||
a02abb62 JB |
14386 | 2004-01-17 J. Brobecker <brobecker@gnat.com> |
14387 | ||
14388 | * dwarf2read.c (dwarf2_non_const_array_bound_ignored_complaint): | |
14389 | Delete, no longer used. | |
14390 | (read_subrange_type): New function, mostly extracted from | |
14391 | read_array_type(). | |
14392 | (read_array_type): Replace extracted code by call to | |
14393 | read_subrange_type(). | |
14394 | (dwarf2_get_attr_constant_value): New function. | |
14395 | (scan_partial_symbols): Add handling for DW_TAG_subrange_type. | |
14396 | (add_partial_symbol): Likewise. | |
14397 | (process_die): Likewise. | |
14398 | (new_symbol): Likewise. | |
14399 | (read_type_die): Likewise. | |
14400 | ||
cf5b2f1b AC |
14401 | 2004-01-16 Andrew Cagney <cagney@redhat.com> |
14402 | ||
14403 | * symfile.c: Update copyright year. | |
14404 | (compare_symbols): Delete unused function. | |
14405 | * stabsread.c: Update copyright year. | |
14406 | (lrs_general_complaint): Delete unused function. | |
14407 | (ref_search_value): Ditto. | |
14408 | (get_substring): Delete declaration. | |
14409 | * sh64-tdep.c: Update copyright year. | |
14410 | (sh64_get_gdb_regnum): Delete unused function. | |
14411 | * dwarf2read.c (dwarf2_unsupported_at_frame_base_complaint): | |
14412 | Delete unused function. | |
14413 | ||
d33b9831 MK |
14414 | 2004-01-17 Mark Kettenis <kettenis@gnu.org> |
14415 | ||
14416 | * defs.h (gdb_osabi): Add GDB_OSABI_OPENBSD_ELF. | |
14417 | * osabi.c (gdb_osabi_names): Add "OpenBSD ELF". | |
14418 | ||
7aea86e6 AC |
14419 | 2004-01-16 Andrew Cagney <cagney@redhat.com> |
14420 | ||
14421 | Changes from Peter Schauer. | |
14422 | * rs6000-tdep.c: Update copyright year. | |
14423 | (rs6000_push_dummy_call): Update the stack pointer before | |
14424 | accessing the corresponding stack region. | |
14425 | * rs6000-nat.c: Update copyright year. | |
14426 | (set_host_arch): Set "info.abfd" to "exec_bfd". | |
14427 | ||
26b0da32 MK |
14428 | 2004-01-15 Mark Kettenis <kettenis@gnu.org> |
14429 | ||
14430 | * blockframe.c: Update copyright year. | |
14431 | (inside_entry_func): Don't treat a zero PC specially. | |
14432 | ||
86fbe6cc EZ |
14433 | 2004-01-14 Elena Zannoni <ezannoni@redhat.com> |
14434 | ||
14435 | * gcore.c (gcore_copy_callback): Use paddr_d to print size | |
14436 | variable. | |
14437 | (gcore_create_callback): Ditto. Skip any memory segment that has | |
14438 | no permissions set. | |
14439 | ||
63d06c5c DC |
14440 | 2004-01-14 David Carlton <carlton@kealia.com> |
14441 | ||
14442 | Change symbols for C++ nested types to contain the fully qualified | |
14443 | name, if possible. (At least in the DWARF-2 case.) Partial fix | |
14444 | for PR's c++/57, c++/488, c++/539, c++/573, c++/609, c++/832, | |
14445 | c++/895. | |
14446 | * c-exp.y (qualified_type): Handle types nested within classes. | |
14447 | * cp-namespace.c: Update comments. | |
14448 | (cp_set_block_scope): Delete #if 0. | |
14449 | (cp_lookup_nested_type): Handle types nested within classes. | |
14450 | * dwarf2read.c: (scan_partial_symbols): Call add_partial_structure | |
14451 | when appropriate. | |
14452 | (add_partial_symbol): Add the name of the enclosing namespace to | |
14453 | types. | |
14454 | (pdi_needs_namespace): New. | |
14455 | (add_partial_namespace): Tweak comment. | |
14456 | (add_partial_structure): New. | |
14457 | (psymtab_to_symtab_1): Initialize processing_current_prefix | |
14458 | here... | |
14459 | (process_die): instead of here. | |
14460 | (read_structure_scope): Try to figure out the name of the class or | |
14461 | namespace that the structure might be defined within. | |
14462 | (read_enumeration): Generate fully-qualified names, if possible. | |
14463 | (read_namespace): Don't set name to NULL. | |
14464 | (die_specification): New. | |
14465 | (new_symbol): Generate fully-qualified names for types. | |
14466 | (read_type_die): Determine appropriate prefix. | |
14467 | (determine_prefix): New. | |
14468 | (typename_concat): New. | |
14469 | (class_name): New. | |
14470 | * valops.c (value_aggregate_elt): Pass NOSIDE to | |
14471 | value_struct_elt_for_reference. | |
14472 | (value_struct_elt_for_reference): Make static, add NOSIDE | |
14473 | parameter, call value_maybe_namespace_elt as a last resort. | |
14474 | (value_namespace_elt): Break out code into | |
14475 | value_maybe_namespace_elt. | |
14476 | (value_maybe_namespace_elt): New. | |
14477 | ||
87783b8b AC |
14478 | 2004-01-12 Andrew Cagney <cagney@redhat.com> |
14479 | ||
14480 | * mips-tdep.c (mips_convert_register_p): Handle both raw and | |
14481 | cooked floating-point registers. | |
14482 | (mips_gdbarch_init): Set convert_register_p, register_to_value, | |
14483 | and value_to_register. | |
14484 | ||
6503b91e AC |
14485 | 2004-01-13 Andrew Cagney <cagney@redhat.com> |
14486 | ||
14487 | * gdbarch.sh (FUNCTION_START_OFFSET): Make zero the default. | |
14488 | * gdbarch.c: Re-generate. | |
14489 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
14490 | FUNCTION_START_OFFSET. | |
14491 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
14492 | * sparc-tdep.c (sparc32_gdbarch_init): Ditto. | |
14493 | * sh64-tdep.c (sh64_gdbarch_init): Ditto. | |
14494 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
14495 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
14496 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
14497 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
14498 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
14499 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
14500 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
14501 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
14502 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
14503 | * m32r-tdep.c (m32r_gdbarch_init): Ditto. | |
14504 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
14505 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
14506 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
14507 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
14508 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
14509 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
14510 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
14511 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
14512 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
14513 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
14514 | ||
ea1dd7bc DJ |
14515 | 2004-01-13 Daniel Jacobowitz <drow@mvista.com> |
14516 | ||
14517 | * infrun.c (follow_fork_mode_ask): Remove. | |
14518 | (follow_fork_mode_kind_names): Remove follow_fork_mode_ask. | |
14519 | (follow_fork): Simplify and remove internal error for | |
14520 | follow_fork_mode_ask. | |
14521 | (_initialize_infrun): Update "set follow-fork-mode" help text. | |
14522 | ||
0f0cffd2 AC |
14523 | 2004-01-13 Andrew Cagney <cagney@redhat.com> |
14524 | ||
14525 | * configure.in: Update copyright year. | |
14526 | (build_warnings): Add -Wunused-label. | |
14527 | * configure: Re-generate. | |
14528 | ||
de38af99 AC |
14529 | 2004-01-12 Andrew Cagney <cagney@redhat.com> |
14530 | ||
954a7fba AC |
14531 | * exec.h (exec_ops): Make "extern". |
14532 | ||
de38af99 AC |
14533 | * mips-tdep.c (mips_pseudo_register_read): Don't return a value, |
14534 | the function is void. | |
14535 | (mips_pseudo_register_write): Ditto. | |
14536 | ||
1a111ce3 AC |
14537 | 2004-01-12 Andrew Cagney <cagney@redhat.com> |
14538 | ||
14539 | * stack.c (frame_info): Delete DEPRECATED_PRINT_EXTRA_FRAME_INFO | |
14540 | call. Never defined. | |
14541 | * sparc-tdep.h (struct frame_info): Add opaque declaration. | |
14542 | * sparc64-tdep.h (struct gdbarch): Add opaque declaration. | |
14543 | (struct sparc_gregset, struct regcache): Ditto. | |
14544 | * sparc-nat.c: Update copyright. Specify "GNU/Linux". | |
14545 | ||
48efe704 AC |
14546 | 2004-01-12 Andrew Cagney <cagney@redhat.com> |
14547 | ||
14548 | * mi/ChangeLog: Delete file. Renamed to ... | |
14549 | * mi/ChangeLog-1999-2003: New file. | |
14550 | * tui/ChangeLog: Delete file. Renamed to ... | |
14551 | * tui/ChangeLog-1998-2003: New file. | |
fe61caab | 14552 | |
a54124c5 MK |
14553 | 2004-01-11 Mark Kettenis <kettenis@gnu.org> |
14554 | ||
2ca62865 MK |
14555 | * sparc64nbsd-tdep.c: Include "regset.h". |
14556 | (sparc64nbsd_sizeof_struct_reg, sparc64nbsd_sizeof_struct_fpreg): | |
14557 | Remove variables. | |
14558 | (fetch_core_registers): Remove function. | |
14559 | (sparc64nbsd_core_fns): Remove variable. | |
14560 | (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): New | |
14561 | functions. | |
14562 | (sparc64nbsd_init_abi): Initialize TDEP->gregset, | |
14563 | TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset. | |
14564 | (_initialize_sparc64nbsd_tdep): Remove call to add_core_fns. | |
14565 | ||
ca9d58e9 MK |
14566 | * sparc-tdep.c (sparc32_extract_struct_value_address): Rename from |
14567 | sparc_extract_struct_value_address. | |
14568 | (sparc32_gdbarch_init): Set extract_struct_value_address. | |
14569 | * sparc64-tdep.c (sparc64_extract_struct_value_address): New | |
14570 | function. | |
14571 | (sparc64_init_abi): Set extract_struct_value_address. Don't set | |
14572 | return_value_on_stack. | |
14573 | ||
3cc87ec0 MK |
14574 | * NEWS: Mention that %cs and %ss have been added to the AMD64 |
14575 | configurations | |
14576 | ||
5bf00f29 MK |
14577 | * frame.c: Update copyright year. |
14578 | (get_prev_frame): Improve comment. | |
14579 | ||
4f7ec84e MK |
14580 | * sparc64fbsd-tdep.c: Include "regset.h". |
14581 | (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg): | |
14582 | Remove variables. | |
14583 | (fetch_core_registers): Remove function. | |
14584 | (sparc64fbsd_core_fns): Remove variable. | |
14585 | (sparc64fbsd_supply_gregset, sparc64fbsd_supply_fpregset): New | |
14586 | functions. | |
14587 | (sparc64fbsd_init_abi): Initialize TDEP->gregset, | |
14588 | TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset. | |
46b58ce9 | 14589 | (_initialize_sparc64fbsd_tdep): Remove call to add_core_fns. |
4f7ec84e | 14590 | |
4e7b0cd3 MK |
14591 | * sparcnbsd-tdep.c: Include "regset.h". |
14592 | (fetch_core_registers): Remove function. | |
14593 | (sparcnbsd_core_fns, sparcnbsd_elfcore_fns): Remove varaibles. | |
14594 | (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): New | |
14595 | functions. | |
14596 | (sparc32nbsd_init_abi): Initialize TDEP->gregset and | |
14597 | TDEP->fpregset. | |
46b58ce9 | 14598 | (_initialize_sparcnbsd_tdep): Remove calls to add_core_fns. |
4e7b0cd3 | 14599 | |
a54124c5 MK |
14600 | * sparc-tdep.h (struct regset): Provide opaque declaration. |
14601 | (struct gdbarch_tdep): Add gregset, sizeof_gregset, | |
14602 | fpregset and sizeof_fpregset members. | |
14603 | * sparc-tdep.c (struct regset): Provide opaque declaration. | |
14604 | (sparc_regset_from_core_section): New function. | |
14605 | (sparc32_gdbarch_init): Initialize TDEP->gregset, | |
14606 | TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_fpregset. | |
14607 | Set regset_from_core_section when appropriate. | |
14608 | ||
29ff87c5 MK |
14609 | 2004-01-10 Mark Kettenis <kettenis@gnu.org> |
14610 | ||
79b1ab3d MK |
14611 | * x86-64-tdep.c (amd64_non_pod_p): New function. |
14612 | (amd64_classify_aggregate): Return class memory for non-POD | |
14613 | C++ structure types. | |
14614 | ||
6470d250 MK |
14615 | * x86-64-tdep.c (amd64_push_arguments): Add struct_return |
14616 | argument. Use it to reserve a register if necessary. | |
14617 | (amd64_push_dummy_call): Pass STRUCT_RETURN in call to | |
14618 | amd64_push_arguments. | |
14619 | ||
562c50c2 MK |
14620 | * x86-64-tdep.c (amd64_classify_aggregate): Ignore static fields. |
14621 | ||
af233647 MK |
14622 | * x86-64-tdep.c (amd64_register_info): Add %cs and %ss. Adjust |
14623 | register numbers in comments. | |
14624 | * x86-64-tdep.h: Update copyright year. | |
14625 | (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM): | |
14626 | Adjust for addition of %cs and %ss. | |
14627 | * amd64fbsd-nat.c: Update copyright year. | |
14628 | (reg_offset): Add register offsets for %cs and %ss. | |
14629 | * amd64fbsd-tdep.c: Update copyright year. | |
14630 | (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss. | |
14631 | (amd64fbsd_sc_reg_offset): Likewise. | |
14632 | * x86-64-linux-nat.c: Update copyright year. | |
14633 | (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs | |
14634 | and %ss. | |
14635 | * amd64nbsd-nat.c: Update copyright year. | |
14636 | (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss. | |
14637 | * amd64nbsd-tdep.c: Update copyright year. | |
14638 | (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss. | |
14639 | * x86-64-linux-tdep.c: Update copyright year. | |
14640 | (user_to_gdb_regmap): Add mapping for %cs and %ss. | |
14641 | (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss. | |
14642 | * regformats/reg-x86-64.dat: Add %cs and %ss. | |
14643 | ||
29ff87c5 MK |
14644 | * blockframe.c (inside_entry_func): Reformat. Introduce new local |
14645 | variables to prevent long lines. Update comments to reflect | |
14646 | reality. | |
14647 | ||
38d518c9 EZ |
14648 | 2004-01-09 David Carlton <carlton@kealia.com> |
14649 | ||
14650 | Checked in by Elena Zannoni <ezannoni@redhat.com>. | |
14651 | * dwarf2read.c (read_namespace): Pull out name-generating code | |
14652 | into namespace_name. Rename previous_namespace to previous_prefix | |
14653 | and processing_current_namespace to processing_current_prefix.. | |
14654 | (namespace_name): New function. | |
14655 | (add_partial_symbol): Substitute uses of pdi->name with | |
14656 | actual_name. | |
14657 | * cp-support.h: Rename processing_current_namespace to | |
14658 | processing_current_prefix. | |
14659 | Update copyright year. | |
14660 | * cp-namespace.c: Rename processing_current_namespace to | |
14661 | processing_current_prefix. | |
14662 | Update copyright year. | |
fe61caab | 14663 | |
1e4728e7 AC |
14664 | 2004-01-09 Andrew Cagney <cagney@redhat.com> |
14665 | ||
14666 | * jv-valprint.c, ser-unix.c: Add missing copyright years. | |
14667 | ||
c77c642a MK |
14668 | 2004-01-09 Mark Kettenis <kettenis@gnu.org> |
14669 | ||
14670 | * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of | |
14671 | complaining. | |
14672 | (process_one_symbol): Deal with N_PATCH stabs. | |
14673 | ||
b44e9041 EZ |
14674 | 2004-01-09 Elena Zannoni <ezannoni@redhat.com> |
14675 | ||
14676 | * dwarf2read.c (read_array_type): Discard FORTRAN_HACK macro and | |
14677 | ifdeffed code. | |
14678 | Update copyright year. | |
38d518c9 | 14679 | |
eccfb640 MC |
14680 | 2004-01-08 Michael Chastain <mec.gnu@mindspring.com> |
14681 | ||
14682 | * config/pa/tm-hppa.h: Update extern declarations for | |
14683 | hppa32_hpux_frame_saved_pc_in_sigtramp, | |
14684 | hppa32_hpux_frame_base_before_sigtramp, and | |
14685 | hppa32_hpux_frame_find_saved_regs_in_sigtramp. | |
14686 | ||
848c5feb MC |
14687 | 2004-01-08 Michael Chastain <mec.gnu@mindspring.com> |
14688 | ||
14689 | * config/pa/tm-hppah.h: Update copyright years. | |
14690 | ||
3cc5d663 AC |
14691 | 2004-01-08 Andrew Cagney <cagney@redhat.com> |
14692 | ||
14693 | * mips-tdep.c (mips_n32n64_reg_struct_has_addr): Delete function. | |
14694 | (mips_o32_reg_struct_has_addr): Delete function. | |
14695 | (mips_gdbarch_init): Update. | |
14696 | (mips_extract_struct_value_address): Delete function. | |
14697 | ||
bfec0b41 JJ |
14698 | 2004-01-08 David Mosberger <davidm@hpl.hp.com> |
14699 | ||
14700 | * ia64-linux-tdep.c: Update GATE_AREA_END value to reflect | |
14701 | reality. | |
14702 | ||
16e109ca AC |
14703 | 2004-01-07 Andrew Cagney <cagney@redhat.com> |
14704 | ||
6214a8a1 AC |
14705 | * mips-tdep.c (mips_gdbarch_init): Set elf_flags to the previous |
14706 | architecture's elf flags (when available). | |
14707 | ||
8d5838b5 AC |
14708 | * mips-tdep.c (mips_gdbarch_init): Move code determining the MIPS |
14709 | FPU to the start, check the MIPS FPU when looking for an old | |
14710 | architecture. | |
14711 | (set_mipsfpu_single_command): Update the architecture. | |
14712 | (set_mipsfpu_double_command, set_mipsfpu_none_command): Ditto. | |
14713 | ||
480d3dd2 AC |
14714 | * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Delete macro. |
14715 | (mips_mask_address_p): Add "tdep" parameter. | |
14716 | (show_mask_address, mips_addr_bits_remove): Update. | |
14717 | (mips_dump_tdep): Update. | |
14718 | (MIPS_DEFAULT_STACK_ARGSIZE): Delete macro. | |
14719 | (MIPS_STACK_ARGSIZE): Delete macro. | |
14720 | (mips_stack_argsize, mips_eabi_push_dummy_call): Update. | |
14721 | (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call): Update. | |
14722 | (mips_o64_push_dummy_call, mips_o32_return_value): Update. | |
14723 | (mips_dump_tdep): Update. | |
14724 | (MIPS_SAVED_REGSIZE): Delete macro. | |
14725 | (MIPS_DEFAULT_SAVED_REGSIZE): Delete macro. | |
14726 | (mips_saved_regsize, mips_eabi_use_struct_convention): Update. | |
14727 | (mips_eabi_reg_struct_has_addr, mips_find_saved_regs): Update. | |
14728 | (mips_frame_saved_pc, mips16_heuristic_proc_desc): Update. | |
14729 | (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call): Update. | |
14730 | (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update. | |
14731 | (mips_pop_frame, return_value_location): Update. | |
14732 | (mips_n32n64_return_value, mips_dump_tdep): Update. | |
14733 | ||
ec03c1ac AC |
14734 | * mips-tdep.c (mips_gdbarch_init): Clean up code selecting the |
14735 | MIPS ABI. | |
14736 | ||
16e109ca AC |
14737 | * mips-tdep.c: Update copyright. |
14738 | (mips_gdbarch_init): Merge two code blocks handling the register | |
14739 | name and number layout. | |
14740 | ||
15255275 MS |
14741 | 2004-01-02 Pawel Ostrowski <pasza@zodiac.mimuw.edu.pl> |
14742 | ||
14743 | * tracepoint.c (validate_actionline): Fix segv at EOF | |
14744 | ||
9f9057da MC |
14745 | 2004-01-07 Michael Chastain <mec.gnu@mindspring.com> |
14746 | ||
14747 | * hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME | |
14748 | properly for static fields. | |
14749 | ||
0127c0d3 | 14750 | 2004-01-06 Jeff Johnston <jjohnstn@redhat.com> |
91562f53 | 14751 | Jason Molenda <jmolenda@apple.com> |
0127c0d3 JJ |
14752 | |
14753 | * disasm.c: Update copyright to include 2004. | |
14754 | (do_mixed_source_and_assembly): For uiout asm list | |
14755 | and tuple cleanups, initialize to null_cleanup instead of | |
fe61caab | 14756 | NULL and do so prior to loop. Only reset when we close off |
0127c0d3 | 14757 | the tuple/list. Move check for whether to close off the |
fe61caab | 14758 | asm tuple/list to after dump_insns call where it will be run |
0127c0d3 JJ |
14759 | on each loop iteration. |
14760 | ||
5269965e AC |
14761 | 2004-01-05 Andrew Cagney <cagney@redhat.com> |
14762 | ||
54f1137d AC |
14763 | * ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED" |
14764 | should be a switch case and not a label. | |
14765 | * mips-tdep.c (mips32_next_pc): Delete unused labels | |
14766 | "greater_equal_branch" and "less_zero_branch". | |
14767 | * jv-valprint.c (java_print_value_fields): Delete unused label | |
14768 | "flush_it". | |
14769 | ||
5269965e AC |
14770 | * target.c (unpush_target): Only close a target that is in the |
14771 | target stack. | |
14772 | ||
dbc22fa1 MK |
14773 | 2004-01-05 Mark Kettenis <kettenis@gnu.org> |
14774 | ||
9515395e MK |
14775 | * sparc-tdep.c (sparc_extract_struct_value_address): Get the |
14776 | address from [sp + 64] instead of %o2. | |
14777 | ||
dbc22fa1 MK |
14778 | * frame.c (get_prev_frame): Don't try to unwind the PC. This |
14779 | fixes PR backtrace/1476. | |
14780 | ||
5439edaa AC |
14781 | 2004-01-05 Andrew Cagney <cagney@redhat.com> |
14782 | ||
14783 | * libunwind-frame.h (struct frame_id): Add opaque declaration, | |
14784 | move to start of file. | |
14785 | * i386-tdep.h (struct regcache): Add opaque declaration. | |
14786 | * config/ia64/nm-linux.h (struct target_ops): Add opaque | |
14787 | declaration. | |
14788 | * ia64-tdep.c (ia64_find_proc_info_x): Do not use __FUNCTION__. | |
14789 | (ia64_gdbarch_init): Use "GNU/Linux" in comment. | |
14790 | * win32-nat.c (fake_create_process): Use ISO C style definition. | |
14791 | * stabsread.c (define_symbol): Delete #ifndef | |
14792 | DEPRECATED_USE_REGISTER_NOT_ARG wrapper around | |
14793 | stabs_argument_has_addr call, macro never defined. | |
14794 | ||
19061abe MC |
14795 | 2004-01-04 Michael Chastain <mec.gnu@mindspring.com> |
14796 | ||
14797 | * op50-rom.c: Delete. | |
14798 | * w89k-rom.c: Delete. | |
14799 | * Makefile.in: Remove references. | |
14800 | ||
e53bef9f MK |
14801 | 2004-01-04 Mark Kettenis <kettenis@gnu.org> |
14802 | ||
14803 | * x86-64-tdep.c: Update copyright year. | |
14804 | (struct amd64_register_info): Rename from x86_64_register_info. | |
14805 | (amd64_register_info): Rename from x86_64_register_info. | |
14806 | (AMD64_NUM_REGS): Rename from X86_64_NUM_REGS. | |
14807 | (amd64_register_name): Rename from x86_64_register_name. | |
14808 | (amd64_register_type): Rename from x86_64_register_type. | |
14809 | (amd64_dwarf_regmap): Rename from x86_64_dwarf_regmap. | |
14810 | (amd64_dwarf_regmap_len): Rename from x86_64_dwarf_regmap_len. | |
14811 | (amd64_dwarf_reg_to_regnum): Rename from | |
14812 | x86_64_dwarf_reg_to_regnum. | |
14813 | (amd64_convert_register_p): Rename from x86_64_convert_register_p. | |
14814 | (amd64_push_dummy_call): Rename from x86_64_push_dummy_call. | |
14815 | (AMD64_NUM_SAVED_REGS): Rename from X86_64_NUM_SAVED_REGS. | |
14816 | (struct amd64_frame_cache): Renamed from x86_64_frame_cache. | |
14817 | (amd64_alloc_frame_cache): Renamed from x86_64_alloc_frame_cache. | |
14818 | (amd64_analyze_prologue): Rename from x86_64_analyze_prologue. | |
14819 | (amd64_skip_prologue): Rename from x86_64_skip_prologue. | |
14820 | (amd64_frame_cache): Rename from x86_64_frame_cache. | |
14821 | (amd64_frame_this_id): Rename from x86_64_frame_this_id. | |
14822 | (amd64_frame_prev_register): Rename from | |
14823 | x86_64_frame_prev_register. | |
14824 | (amd64_frame_unwind): Rename from x86_64_frame_unwind. | |
14825 | (amd64_frame_sniffer): Rename from x86_64_frame_sniffer. | |
14826 | (amd64_sigtramp_frame_cache): Rename from | |
14827 | x86_64_sigtramp_frame_cache. | |
14828 | (amd64_sigtramp_frame_prev_register): Rename from | |
14829 | x86_64_sigtramp_frame_prev_register. | |
14830 | (amd64_sigtramp_frame_unwind): Rename from | |
14831 | x86_64_sigtramp_frame_unwind. | |
14832 | (amd64_sigtramp_frame_sniffer): Rename from | |
14833 | x86_64_sigtramp_frame_sniffer. | |
14834 | (amd64_frame_base_address): Rename from x86_64_frame_base_address. | |
14835 | (amd64_frame_base): Rename from x86_64_frame_base. | |
14836 | (amd64_unwind_dummy_id): Rename from x86_64_unwind_dummy_id. | |
14837 | (amd64_frame_align): Rename from x86_64_frame_align. | |
14838 | (amd64_supply_fpregset): Rename from x86_64_supply_fpregset. | |
14839 | (amd64_regset_from_core_section): Rename from | |
14840 | x86_64_regset_from_core_section. | |
14841 | (x86_64_init_abi): Update comments. | |
14842 | ||
fca6aa58 NR |
14843 | 2004-01-04 Nick Roberts <nick@nick.uklinux.net> |
14844 | ||
14845 | * MAINTAINERS (write after approval): Add myself. | |
14846 | ||
8ada74e3 MK |
14847 | 2004-01-04 Mark Kettenis <kettenis@gnu.org> |
14848 | ||
14849 | * sparc64-tdep.c (sparc64_store_arguments): Fix handling of | |
14850 | `float' arguments. | |
14851 | ||
5154b0cd MK |
14852 | 2004-01-04 Mark Kettenis <kettenis@gnu.org> |
14853 | ||
14854 | * sparc64-tdep.c (sparc64_store_floating_fields): Update comment | |
14855 | such that it mentions a specific version of GCC that exhibits this | |
14856 | bug. | |
14857 | ||
fb316966 MK |
14858 | 2004-01-03 Mark Kettenis <kettenis@gnu.org> |
14859 | ||
200cc553 MK |
14860 | * sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a |
14861 | structure that has a single `float' member, store it in %f1 in | |
14862 | addition to %f0. | |
14863 | ||
e226a4a0 MK |
14864 | * sparc-sol2-nat.c: Add missing '\'. |
14865 | ||
b9d4c5ed MK |
14866 | * sparc-tdep.c (sparc32_return_value): New function. |
14867 | (sparc32_use_struct_convention, sparc32_return_value_on_stack): | |
14868 | Remove functions. | |
14869 | (sparc32_gdbarch_init): Set return_value, don't set | |
14870 | extract_return_value, store_return_value, use_struct_convention | |
14871 | and return_value_on_stack. | |
14872 | ||
fb316966 MK |
14873 | * sparc-sol2-nat.c: Add missing ')'. |
14874 | ||
1af510a8 JB |
14875 | 2004-01-03 J. Brobecker <brobecker@gnat.com> |
14876 | ||
14877 | * infrun.c (handle_step_into_function): New function. | |
14878 | (handle_inferior_event): Extract out some code into the new | |
14879 | function above. | |
14880 | ||
5cf4d23a JB |
14881 | 2004-01-03 J. Brobecker <brobecker@gnat.com> |
14882 | ||
14883 | * infrun.c (handle_inferior_event): Move the declaration of | |
14884 | real_stop_pc inside the if blocks where it is used. | |
14885 | ||
60af1db2 MK |
14886 | 2004-01-03 Mark Kettenis <kettenis@gnu.org> |
14887 | ||
14888 | * sparc64-tdep.c (sparc64_16_byte_align_p) | |
14889 | (sparc64_store_floating_fields, sparc64_store_floating_fields): | |
14890 | Use check_typedef to get subtypes of structures and unions. | |
14891 | (sparc64_store_return_value): Fix calculation of the appropriate | |
14892 | offset into VALBUF when storing a structure or union. | |
14893 | (sparc64_return_value): New function. | |
14894 | (sparc64_use_struct_convention): Remove function. | |
14895 | (sparc64_init_abi): Set return_value, don't set | |
14896 | extract_return_value, store_return_value and | |
14897 | use_struct_convention. | |
14898 | ||
1a901d3f EZ |
14899 | 2004-01-03 Eli Zaretskii <eliz@elta.co.il> |
14900 | ||
14901 | * config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS, | |
14902 | bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c, | |
14903 | gdb/config/alpha/xm-alphaosf.h, | |
14904 | gdb/config/powerpc/tm-ppcle-eabi.h, | |
14905 | gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001, | |
14906 | gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003, | |
14907 | gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in, | |
14908 | gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c, | |
14909 | gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c, | |
14910 | gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c, | |
14911 | gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c, | |
14912 | gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c, | |
14913 | gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c, | |
14914 | gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c, | |
14915 | gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp, | |
14916 | nclude/ChangeLog-9103, include/coff/ChangeLog-9103, | |
14917 | include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103, | |
14918 | opcodes/ChangeLog-0001, opcodes/ChangeLog-0203, | |
14919 | opcodes/openrisc-dis.c, opcodes/openrisc-desc.h, | |
14920 | sim/frv/profile-fr550.c, sim/frv/profile-fr550.h, | |
14921 | sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c, | |
14922 | sim/testsuite/sim/sh64/compact/ldsl-mach.cgs, | |
14923 | sim/testsuite/sim/sh64/compact/ldsl-macl.cgs, | |
14924 | sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and | |
14925 | sim/testsuite/sim/sh64/compact/stsl-macl.cgs. | |
14926 | Remove lines for .cvsignore files. | |
14927 | ||
ef52e463 JB |
14928 | 2004-01-03 J. Brobecker <brobecker@gnat.com> |
14929 | ||
14930 | * infrun.c: Back out the previous change. | |
14931 | ||
cb1bf9dc MK |
14932 | 2004-01-03 Mark Kettenis <kettenis@gnu.org> |
14933 | ||
f0424ef6 MK |
14934 | * NEWS: Mention revised SPARC target. Add sparc-*-lynxos* and |
14935 | sparc-*-sunos4* to the list of REMOVED configurations. | |
14936 | ||
cb1bf9dc MK |
14937 | * configure.tgt: Add back sparc-*-vxworks*. |
14938 | * remote-vxsparc.c: Remove all includes except for "defs.h", | |
14939 | "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h". | |
14940 | Include "sparc-tdep.h". | |
14941 | (SPARC_R_G1): New define. | |
14942 | (vxsparc_gregset): New variable. | |
14943 | (ext_format_sparc): Remove extern declaration. | |
14944 | (vx_read_register): Rewrite to use sparc32_supply_gregset and | |
14945 | sparc32_supply_fpregset. | |
14946 | (vx_write_register): Rewrite to use sparc32_collect_gregset, | |
14947 | sparc_collect_rwindow and sparc32_collect_fpregset. | |
14948 | * config/sparc/tm-vxworks.h: New file, based on recently removed | |
14949 | tm-vxsparc.h. | |
14950 | * config/sparc/vxworks.mt: New file, based on recently removed | |
14951 | vxworks.mt. | |
fe61caab | 14952 | |
5e938f9f JB |
14953 | 2004-01-03 J. Brobecker <brobecker@gnat.com> |
14954 | ||
14955 | * infrun.c (handle_step_into_function): New function. | |
14956 | (handle_inferior_event): Extract out some code into the new | |
14957 | function above. | |
14958 | ||
386c036b MK |
14959 | 2004-01-02 Mark Kettenis <kettenis@gnu.org> |
14960 | ||
14961 | * Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and | |
14962 | sparcl-tdep.c. Add sparc-linux-tdep.c, sparc-sol2-nat.c, | |
14963 | sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c, | |
14964 | sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c, | |
14965 | sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c, | |
14966 | sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c. | |
14967 | (sparc_nat_h): New variable. | |
14968 | (sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables. | |
14969 | (tm-sun4os4.h): Remove dependency. | |
14970 | (sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies. | |
14971 | (sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o, | |
14972 | sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o, | |
14973 | sparc-tdep.o): Update dependencies. | |
14974 | (sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o, | |
14975 | sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o, | |
14976 | sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New | |
14977 | dependencies. | |
14978 | * configure.host: Remove existing sparc-*-lynxos*, | |
14979 | sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*, | |
14980 | ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*, | |
14981 | sparcv9-*-* and sparc64-*-* triplets. Add new sparc64-*-linux*, | |
14982 | sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2* | |
14983 | triplets. | |
14984 | * configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*, | |
14985 | sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*, | |
14986 | sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*, | |
14987 | sparcv9-*-* and commented out sparc64-*-solars2* triplets. Add | |
14988 | new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*, | |
14989 | sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*, | |
14990 | sparc64-*-solaris2* and sparc64-*-* triplets. | |
14991 | * sparc64-tdep.c: Update copyright year. Include "inferior.h", | |
14992 | "symtab.h" and "objfiles.h". | |
14993 | (BIAS): Remove define. | |
14994 | (X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22) | |
14995 | (X_DISP19): Remove macros. | |
14996 | (sparc_fetch_instruction): Remove function. | |
14997 | (struct gdbarch_tdep): Remove definition. | |
14998 | (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE. | |
14999 | (sparc_breakpoint_from_pc): Remove function. | |
15000 | (struct sparc64_frame_cache): Remove definition. | |
15001 | (sparc64_alloc_frame_cache, sparc64_analyze_prologue, | |
15002 | sparc64_unwind_pc): Remove functions. | |
15003 | (sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of | |
15004 | `struct sparc64_frame_cache. Call sparc_analyze_prologue instead | |
15005 | of sparc64_analyze_prologue. Mark constant as ULL instead of UL. | |
15006 | (sparc64_frame_cache): Change return type to `struct | |
15007 | sparc_frame_cache *'. Simply call sparc_frame_cache. | |
15008 | (sparc64_frame_this_id, sparc64_frame_prev_register, | |
15009 | sparc64_frame_base_address): Use `struct sparc_frame_cache' | |
15010 | instead of `struct sparc64_frame_cache. | |
15011 | (sparc_unwind_dummy_id, sparc_extract_struct_value_address, | |
15012 | sparc_analyze_control_transfer, sparc_software_single_step, | |
15013 | sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow, | |
15014 | _initialize_sparc64_tdep): Remove functions. | |
15015 | (TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros. | |
15016 | (PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New | |
15017 | macros. | |
15018 | (sparc64_supply_gregset, sparc64_collect_gregset, | |
15019 | sparc64_supply_fpregset, sparc64_collect_fpregset): New functions. | |
15020 | (sparc64_init_abi): New function. | |
15021 | * sparc64-tdep.h: Update copyright year. Fix typo in multiple | |
15022 | inclusion guard. Include "sparc-tdep.h". | |
15023 | (BIAS): Define. | |
15024 | (r_tstate_offset, r_fprs_offset): New defines. | |
15025 | (enum sparc_regnum): Remove defenition. | |
15026 | (enum sparc64_regnum): Reformat. | |
15027 | (sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes. | |
15028 | (sparc64_init_abi, sparc64_supply_gregset, | |
15029 | sparc64_collect_gregset, sparc64_supply_fpregset, | |
15030 | sparc64_collect_fpregset): New prototypes. | |
15031 | (sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset): | |
15032 | Add extern declarations. | |
15033 | (sparc64_sol2_init_abi): New prototype. | |
15034 | (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg) | |
15035 | (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove | |
15036 | prototypes. | |
15037 | * sparc64fbsd-nat.c: Include "sparc-nat.h", don't include | |
15038 | "sparnbsd-nat.h". | |
15039 | (sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove | |
15040 | functions. | |
15041 | (_initialize_sparc64fbsd_nat): Remove initialization of | |
15042 | sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg, | |
15043 | sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p, | |
fe61caab | 15044 | sparcbsd_fpreg_supplies_p. Initialize sparc_gregset. |
386c036b MK |
15045 | * sparc64fbsd-tdep.c: Update copyright year. Include "frame.h", |
15046 | "frame-unwind.h", "trad-frame.h" and "gdb_assert.h". | |
15047 | (sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset) | |
15048 | (sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset) | |
15049 | (sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset) | |
15050 | (sparc64fbsd_r_y_offset): Remove variables. | |
15051 | (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg): | |
15052 | Make static and const. | |
15053 | (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg) | |
15054 | (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove | |
15055 | functions. | |
15056 | (sparc64fbsd_gregset): New variable. | |
15057 | (fetch_core_registers): Replace calls to sparc64fbsd_supply_reg | |
15058 | and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset | |
15059 | and sparc64_supply_fpregset. | |
15060 | (sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache) | |
15061 | (sparc64fbsd_sigtramp_frame_this_id) | |
15062 | (sparc64fbsd_sigtramp_frame_prev_register): New functions. | |
15063 | (sparc64fbsd_sigtramp_frame_unwind): New variable. | |
15064 | (sparc64fbsd_sigtramp_frame_sniffer): New function. | |
15065 | (sparc64fbsd_init_abi): Set pc_in_sigtramp, append | |
15066 | sparc64fbsd_sigtramp_frame_sniffer. Call sparc64_init_abi. | |
15067 | * sparcnbsd-tdep.c: Update copyright year. Include | |
15068 | "floatformat.h", "frame.h", "frame-unwind.h", "symtab.h", | |
15069 | "trad-frame.h" and "gdb_assert.h", don't include "target.h", | |
15070 | "value.h" and "sparcnbsd-tdep.h". | |
15071 | (REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC) | |
15072 | (REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT) | |
15073 | (REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC) | |
15074 | (REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove | |
15075 | defines. | |
15076 | (sparcnbsd_gregset): New variable. | |
15077 | (sparcnbsd_supply_reg32, sparcnbsd_supply_reg64) | |
15078 | (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64) | |
15079 | (sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64) | |
15080 | (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions. | |
15081 | (sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New | |
15082 | variables. | |
15083 | (sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache) | |
15084 | (sparc32nbsd_sigcontext_frame_this_id) | |
15085 | (sparc32nbsd_sigcontext_frame_prev_register): New functions. | |
15086 | (sparc32nbsd_sigcontext_frame_unwind): New variable. | |
15087 | (sparc32nbsd_sigtramp_frame_sniffer): New function. | |
15088 | (sparcnbsd_get_longjmp_target_32, | |
15089 | sparcnbsd_get_longjmp_target_64): Remove functions. | |
15090 | (sparcnbsd_aout_in_solib_call_trampoline): Rewrite. | |
15091 | (sparcnbsd_init_abi_common, sparcnbsd_init_aout, | |
15092 | sparcnbsd_init_elf): Remove. | |
15093 | (sparcnbsd_init_abi, sparcnbsd_aout_init_abi) | |
15094 | (sparcnbsd_elf_init_abi): New functions. | |
15095 | (_initialize_sparcnbsd_tdep): New prototype. | |
15096 | (_initialize_sparnbsd_tdep): Update. | |
15097 | * config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and | |
15098 | corelow.o. Add sparc64-nat.o and sparc-nat.o. | |
15099 | * config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o. | |
15100 | * config/sparc/linux.mh: Update comment. | |
15101 | (XM_FILE, HOST_IPC): Remove variables. | |
15102 | (NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o. Remove | |
15103 | sparc-linux-nat.o. | |
15104 | * config/sparc/linux.mt: Update comment. | |
15105 | (TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o. | |
15106 | * config/sparc/nbsd.mt: Reformat. | |
15107 | * config/sparc/nbsd64.mh: Update comment. | |
15108 | (NATDEPFILES): Add sparc-nat.o. | |
15109 | * config/sparc/nbsd64.mt: Update comment. | |
15110 | (TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o. | |
15111 | (TM_FILE): Set to tm-nbsd.h. | |
15112 | * config/sparc/nbsdelf.mh: Update comment. | |
15113 | (NATDEPFILES): Add sparc-nat.o. | |
15114 | (XM_FILE): Delete. | |
15115 | * config/sparc/nbsdaout.mh: Update comment. | |
15116 | (NATDEPFILES): Add sparc-nat.o | |
15117 | (XM_FILE): Delete. | |
15118 | * config/sparc/nm-linux.h: Update copyright year. Don't include | |
15119 | "config/nm-svr4.h" and "solib.h". Add protection against multiple | |
15120 | inclusion. | |
15121 | (KERNEL_U_SIZE): Remove define. | |
15122 | (kernel_u_size): Remove prototype. | |
15123 | (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define. | |
15124 | * config/sparc/nm-nbsd.h: Update copyright. Don't include | |
15125 | "regcache.h". | |
15126 | (CHILD_PREPARE_TO_STORE): Remove define. | |
15127 | * config/sparc/nm-nbsdaout.h: Tweak some comments. | |
15128 | * sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c, | |
15129 | sparcnbsd-nat.c: Rewrite files. | |
15130 | * config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files. | |
15131 | * sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h, | |
15132 | sparcnbsd-tdep.h: Remove files. | |
15133 | * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h, | |
15134 | config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt, | |
15135 | config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt, | |
15136 | config/sparc/sparc-em.mt, config/sparc/sparclynx.mh, | |
15137 | config/sparc/sparclynx.mt, config/sparc/sun4os4.mh, | |
15138 | config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh, | |
15139 | config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h, | |
15140 | config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h, | |
15141 | config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h, | |
15142 | config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h, | |
15143 | config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt, | |
15144 | config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files. | |
15145 | * sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c, | |
15146 | sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c, | |
15147 | sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files. | |
15148 | * config/sparc/linux64.mh, config/sparc/linux64.mt, | |
15149 | config/sparc/nm-sol2.h, config/sparc/sol2-64.mt, | |
15150 | config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt, | |
15151 | config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files. | |
15152 | ||
ee84457a AC |
15153 | 2004-01-02 Andrew Cagney <cagney@redhat.com> |
15154 | ||
15155 | From 2003-12-18 Kazuhiro Inaoka: | |
15156 | * configure.host: Add m32r-linux target. | |
15157 | ||
0bc2134e MC |
15158 | 2004-01-02 Michael Chastain <mec.gnu@mindspring.com> |
15159 | ||
15160 | * top.c (print_gdb_version): Update year to 2004. | |
15161 | ||
89a72f9c MM |
15162 | 2004-01-02 Mark Mitchell <mark@codesourcery.com> |
15163 | ||
15164 | * MAINTAINERS: Add myself to the write-after-approval category. | |
15165 | ||
86b013ed DJ |
15166 | 2004-01-02 Daniel Jacobowitz <drow@mvista.com> |
15167 | ||
15168 | From Bernardo Innocenti <bernie@develer.com>: | |
15169 | * configure.tgt: Add uClinux target. | |
15170 | ||
e42c9534 AC |
15171 | 2004-01-02 Andrew Cagney <cagney@redhat.com> |
15172 | ||
15173 | * utils.c (do_my_cleanups): Make static, add forward declaration. | |
15174 | * defs.h (do_my_cleanups): Delete declaration. | |
15175 | ||
162467d3 EZ |
15176 | 2004-01-02 Eli Zaretskii <eliz@elta.co.il> |
15177 | ||
15178 | * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and | |
15179 | bfd/ChangeLog-0203. | |
15180 | ||
78434e59 MK |
15181 | 2004-01-02 Mark Kettenis <kettenis@gnu.org> |
15182 | ||
15183 | * configure.in: Check for <machine/reg.h>. Check for `struct reg' | |
15184 | in <machine/reg.h>. | |
15185 | * configure, config.in: Regenerate. | |
15186 | ||
48efe704 AC |
15187 | For older changes see ChangeLog-2003, mi/ChangeLog-1999-2003, and |
15188 | tui/ChangeLog-1998-2003. | |
c906108c SS |
15189 | \f |
15190 | Local Variables: | |
15191 | mode: change-log | |
15192 | left-margin: 8 | |
15193 | fill-column: 74 | |
15194 | version-control: never | |
15195 | End: |