]>
Commit | Line | Data |
---|---|---|
80fadb11 JB |
1 | 2004-05-24 Jim Blandy <[email protected]> |
2 | ||
3 | * MAINTAINERS (tracing bytecode stuff): Allow global maintainers | |
4 | to approve changes. | |
5 | ||
19e2d14b KB |
6 | 2004-05-24 Kevin Buettner <[email protected]> |
7 | ||
8 | * symtab.c (fixup_section): Search section table when lookup by | |
9 | name fails. | |
10 | ||
1b07b470 RC |
11 | 2004-05-24 Randolph Chung <[email protected]> |
12 | ||
13 | * hppa-tdep.c: Fix handling of 8-byte structures; they should not | |
14 | be "small_struct". | |
15 | ||
368702b1 MK |
16 | 2004-05-24 Mark Kettenis <[email protected]> |
17 | ||
5df97fde MK |
18 | * m68kbsd-nat.c (m68kbsd_collect_gregset): Specify correct |
19 | register number in regcache_raw_collect call. | |
20 | (m68kbsd_collect_fpregset): Likewise. | |
21 | * vaxbsd-nat.c (vaxbsd_collect_gregset): Likewise. | |
22 | ||
368702b1 MK |
23 | * regset.h (struct regset): Add back `regset' member. |
24 | ||
a770d4ec MK |
25 | 2004-05-23 Mark Kettenis <[email protected]> |
26 | ||
70f9f479 MK |
27 | * configure.in: Check for td_pcb in `struct thread'. |
28 | * configure, config.in: Regenerated. | |
29 | ||
2e16d79e MK |
30 | * dpx2-nat.c: Remove file. |
31 | * Makefile.in (ALLDEPFILES): Remove dpx2-nat.c. | |
32 | (dpx2-nat.o): Remove dependencies. | |
33 | ||
492cf391 MK |
34 | * amd64obsd-nat.c: Include "gdbcore.h", "regcache.h", |
35 | <sys/types.h>, <machine/frame.h>, <machine/pcb.h> and "bsd-kvm.h". | |
36 | (amd64obsd_supply_pcb): New function. | |
37 | (_initialize_amd64obsd_nat): Enable libkvm interface. | |
38 | * Makefile.in (amd64obsd-nat.o): Update dependencies. | |
39 | * config/i386/obsd64.mh (NATDEPFILES): Add bsd-kvm.o | |
40 | (LOADLIBES): New variable. | |
41 | ||
a770d4ec MK |
42 | * sparcnbsd-nat.c: Include "gdbcore.h", "regcache.h", |
43 | <sys/types.h>, <machine/pcb.h> and "bsd-kvm.h". | |
44 | (sparc32nbsd_supply_pcb): New function. | |
45 | (_initialize_sparcnbsd_nat): Enable libkvm interface. | |
46 | * Makefile.in (sparcnbsd-nat.o): Update dependencies. | |
47 | * config/sparc/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o. | |
48 | (LOADLIBES): New variable. | |
49 | ||
9ea75c57 MK |
50 | 2004-05-22 Mark Kettenis <[email protected]> |
51 | ||
2e0c3539 MK |
52 | * bsd-kvm.c, bsd-kvm.h: New files. |
53 | * i386fbsd-nat.c: Include <sys/types.h>, <machine/pcb.h> and | |
54 | "bsd-kvm.h". | |
55 | (i386fbsd_supply_pcb): New function. | |
56 | * Makefile.in (ALLDEPFILES): Add bsd-kvm.c. | |
57 | (i386fbsd-nat.o): Update dependencies. | |
58 | (bsd_kvm_h): New variable. | |
59 | (bsd-kvm.o): New dependency. | |
60 | * config/i386/fbsd.mh (NATDEPFILES): Add bsd-kvm.o. | |
61 | (LOADLIBES): New variable. | |
62 | ||
9ea75c57 MK |
63 | * regset.c: Tweak comment. |
64 | (regset_alloc): Remove descr argument. Use GDBARCH_OBSTACK_ZALLOC | |
65 | macro. | |
66 | * regset.h: Update copyright year. | |
67 | (struct regset): Remove `descr' member, add `gdbarch' member. | |
68 | (regset_alloc): Adjust prototype and comment. | |
69 | * i386-tdep.c (i386_supply_gregset): Get TDEP from REGSET->arch. | |
70 | (i386_supply_fpregset): Likewise. | |
71 | (i386_regset_from_core_section): Update call to regset_alloc. | |
72 | * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get TDEP from | |
73 | REGSET->arch. | |
74 | (i386obsd_aout_regset_from_core_section): Update call to | |
75 | regset_alloc. | |
76 | * i386nbsd-tdep.c (i386nbsd_aout_supply_regset): Get TDEP from | |
77 | REGSET->arch. | |
78 | (i386nbsd_aout_regset_from_core_section): Update call to | |
79 | regset_alloc. | |
80 | * amd64-tdep.c (amd64_supply_fpregset): Get TDEP from | |
81 | REGSET->arch. | |
82 | (amd64_regset_from_core_section): Update call to regset_alloc. | |
83 | * amd64obsd-tdep.c (amd64obsd_supply_regset): Get TDEP from | |
84 | REGSET->arch. | |
85 | (amd64obsd_regset_from_core_section): Update call to regset_alloc. | |
86 | * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Directly pass | |
87 | &sparc32nbsd_gregset in sparc32_supply_gregset call. | |
88 | (sparc32nbsd_init_abi): Update call to regset_alloc. | |
89 | * sparc64obsd-tdep.c (sparc64obsd_supply_gregset): Directly pass | |
90 | &sparc64obsd_core_gregset in sparc64_supply_gregset call. | |
91 | (sparc64obsd_init_abi): Update call to regset_alloc. | |
92 | * sparc64nbsd-tdep.c (sparc64nbsd_supply_gregset): Directly pass | |
93 | &sparc64nbsd_gregset in sparc64_supply_gregset call. | |
94 | (sparc64nbsd_init_abi): Update call to regset_alloc. | |
95 | * sparc64fbsd-tdep.c (sparc64fbsd_supply_gregset): Directly pass | |
96 | &sparc64fbsd_gregset in sparc64_supply_gregset call. | |
97 | (sparc64fbsd_init_abi): Update call to regset_alloc. | |
98 | ||
867e2dc5 JB |
99 | 2004-05-22 Jim Blandy <[email protected]> |
100 | ||
101 | * ppc-tdep.h (spe_register_p): New declaration. | |
102 | (struct gdbarch_tdep): New members: ppc_acc_regnum and | |
103 | ppc_spefscr_regnum. | |
104 | * rs6000-tdep.c (spe_register_p): New function. | |
105 | (rs6000_dwarf2_stab_reg_to_regnum): Recognize numbers for acc and | |
106 | spefscr. | |
107 | (rs6000_gdbarch_init): Initialize the new members of the tdep | |
108 | structure. | |
109 | ||
617a4cba JB |
110 | 2004-05-21 Jim Blandy <[email protected]> |
111 | ||
0397dee1 JB |
112 | * ppc-linux-nat.c (fetch_register): Move code back to be next |
113 | to the comment that describes it. (Moved code, instead of | |
114 | comment, for symmetry with store_register.) | |
115 | ||
617a4cba JB |
116 | Allocate regset structures in the gdbarch's obstack, not using |
117 | xmalloc. | |
118 | * regset.c (regset_alloc): Renamed from regset_xmalloc. | |
119 | Add 'arch' argument. Allocate the regset on arch's obstack, not | |
120 | using xmalloc. | |
121 | * regset.h (regset_alloc): Update declaration. | |
122 | * am64-tdep.c (amd64_regset_from_core_section): Update call; pass | |
123 | gdbarch argument. | |
124 | * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Same. | |
125 | * i386-tdep.c (i386_regset_from_core_section): Same. | |
126 | * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Same. | |
127 | * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Same. | |
128 | * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Same. | |
129 | * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Same. | |
130 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Same. | |
131 | * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Same. | |
132 | ||
9aa3914d JB |
133 | 2004-05-21 Joel Brobecker <[email protected]> |
134 | ||
135 | * config/djgpp/fnchange.lst: Undo previous change, was useless. | |
136 | ||
99c87dab JB |
137 | 2004-05-21 Jim Blandy <[email protected]> |
138 | ||
139 | * dwarf2expr.c (execute_stack_op): Add 'break' statements after | |
140 | cases for DW_OP_div and DW_OP_shr. (Thanks to Reva Cuthbertson.) | |
141 | ||
c2b6b4aa JB |
142 | 2004-05-20 Jim Blandy <[email protected]> |
143 | ||
144 | * rs6000-tdep.c (rs6000_push_dummy_call): Formatting fixes. | |
145 | ||
144529d0 MK |
146 | 2004-05-20 Mark Kettenis <[email protected]> |
147 | ||
148 | * regset.h: Make prototype const-correct. | |
149 | * regset.c (regset_xmalloc): Make const-correct. | |
150 | ||
4725b721 PH |
151 | 2004-05-20 Paul N. Hilfinger <[email protected]> |
152 | ||
153 | * symtab.h (SYMBOL_SEARCH_NAME): New definition. | |
154 | (SYMBOL_MATCHES_SEARCH_NAME): New definition. | |
155 | (symbol_search_name): Declare. | |
156 | ||
157 | * dictionary.c (iter_name_first_hashed): Match on SYMBOL_SEARCH_NAME. | |
158 | (iter_name_next_hashed): Ditto. | |
159 | (iter_name_next_linear): Ditto. | |
160 | (insert_symbol_hashed): Hash on SYMBOL_SEARCH_NAME. | |
161 | ||
162 | * symtab.c (lookup_partial_symbol): Assume symbols ordered by | |
163 | search name, using SYMBOL_SEARCH_NAME and SYMBOL_MATCHES_SEARCH_NAME. | |
164 | (symbol_search_name): New function. | |
165 | ||
166 | * symfile.c (compare_psymbols): Order by SYMBOL_SEARCH_NAME. | |
167 | ||
168 | * minsyms.c (build_minimal_symbol_hash_tables): Change | |
169 | test for adding to demangled hash table to check for difference | |
170 | between SYMBOL_SEARCH_NAME and SYMBOL_LINKAGE_NAME. | |
171 | ||
be07a590 JB |
172 | 2004-05-19 Jim Blandy <[email protected]> |
173 | ||
174 | Use a constructor function to create regset structures. | |
175 | * regset.h (supply_regset_ftype, collect_regset_ftype): New typedefs. | |
176 | (struct regset): Use supply_regset_ftype. Add new | |
177 | 'collect_regset' member. | |
178 | (regset_xmalloc): New declaration. | |
179 | * regset.c: New file. | |
180 | * am64-tdep.c (amd64_regset_from_core_section): Use | |
181 | regset_xmalloc to construct regset structures. | |
182 | * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Same. | |
183 | * i386-tdep.c (i386_regset_from_core_section): Same. | |
184 | * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Same. | |
185 | * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Same. | |
186 | * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Same. | |
187 | * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Same. | |
188 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Same. | |
189 | * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Same. | |
190 | * Makefile.in (COMMON_OBS): Add regset.o. | |
191 | (regset.o): New rule. | |
192 | ||
604368f5 JB |
193 | 2004-05-19 Joel Brobecker <[email protected]> |
194 | ||
195 | * config/djgpp/fnchange.lst: Add entries for pthread_cond_wait.exp | |
196 | and pthread_cond_wait.c. | |
197 | ||
82d69f8b JB |
198 | 2004-05-18 Jim Blandy <[email protected]> |
199 | ||
200 | * rs6000-tdep.c (rs6000_gdbarch_init): Initialize tdep fields | |
201 | before the mach-specific switch, and then let the individual cases | |
202 | override the defaults, rather than leaving them uninitialized | |
203 | until the switch and then setting them in each case. | |
204 | ||
5859efe5 RC |
205 | 2004-05-18 Randolph Chung <[email protected]> |
206 | ||
207 | * hppa-tdep.c (hppa_frame_cache): Check for validity of r31 for | |
208 | millicode functions. | |
209 | ||
9ca80cf8 RC |
210 | 2004-05-18 Randolph Chung <[email protected]> |
211 | ||
212 | * somsolib.c (som_solib_remove_inferior_hook): Make all the size | |
213 | references to dld_flags_buffer consistent. | |
214 | ||
ed70ba00 RC |
215 | 2004-05-18 Randolph Chung <[email protected]> |
216 | ||
217 | * hppa-tdep.c (hppa_frame_cache): If a frame pointer is available, use | |
218 | it for unwinding the stack. | |
219 | ||
63100632 RC |
220 | 2004-05-18 Randolph Chung <[email protected]> |
221 | ||
222 | * config/pa/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, SKIP_TRAMPOLINE_CODE) | |
223 | Undefine these so we can overide them using gdbarch. | |
224 | ||
090ccbb7 RC |
225 | 2004-05-18 Randolph Chung <[email protected]> |
226 | ||
227 | * hppa-tdep.c (hppa_stub_frame_unwind_cache): Don't do export stub | |
228 | handling for 64-bit HPUX (elf). | |
229 | ||
594706e6 DJ |
230 | 2004-05-18 Daniel Jacobowitz <[email protected]> |
231 | ||
232 | * alpha-tdep.c (alpha_gdbarch_init): Use LL suffix for large | |
233 | constants. | |
234 | * amd64-tdep.c (amd64_skip_prologue): Likewise. | |
235 | * ia64-tdep.c (examine_prologue): Likewise. | |
236 | * ns32k-tdep.c (ns32k_fix_call_dummy): Remove unused function. | |
237 | * v850-tdep.c (v850_fix_call_dummy): Likewise. | |
238 | ||
e5483145 MK |
239 | 2004-05-18 Mark Kettenis <[email protected]> |
240 | ||
241 | * vax-tdep.c (vax_return_value): Implement | |
242 | RETURN_VALUE_ABI_RETURNS_ADDRESS. | |
243 | ||
caed1a45 MK |
244 | 2004-05-17 Mark Kettenis <[email protected]> |
245 | ||
246 | * vax-tdep.c (vax_return_value): Fix typo. | |
247 | ||
3c0b7db2 AC |
248 | 2004-05-17 Andrew Cagney <[email protected]> |
249 | ||
5aae53e5 AC |
250 | * MAINTAINERS: Mark Salter was also responsible for |
251 | testsuite/config/ | |
252 | ||
3c0b7db2 AC |
253 | * NEWS: Mention signal fixes. |
254 | ||
22b0923d RC |
255 | 2004-05-17 Randolph Chung <[email protected]> |
256 | ||
257 | * hppa-tdep.c (hppa_stub_frame_unwind_cache): For HPUX stub unwinding, | |
258 | check to see if we are unwinding an export stub. Export stubs clobber | |
259 | the %rp in the call path and stores the original rp in a stack slot. | |
260 | ||
22f2b2f3 JB |
261 | 2004-05-17 Jim Blandy <[email protected]> |
262 | ||
263 | * MAINTAINERS: Update address for J.T. Conklin. | |
264 | ||
cea96d64 RC |
265 | 2004-05-17 Randolph Chung <[email protected]> |
266 | ||
267 | * hppa-tdep.c: Remove superfluous #include's. | |
268 | * Makefile.in (hppa-tdep.o): Update dependencies. | |
269 | ||
f08f6a4a RC |
270 | 2004-05-17 Randolph Chung <[email protected]> |
271 | ||
272 | * hppa-tdep.c (THREAD_INITIAL_FRAME_SYMBOL): Delete unused symbol. | |
273 | (THREAD_INITIAL_FRAME_SYM_LEN): Likewise. | |
274 | (unwind_command, hppa_alignof, prologue_inst_adjust_sp) | |
275 | (is_branch, inst_saves_gr, inst_saves_fr, compare_unwind_entries) | |
276 | (read_unwind_info, internalize_unwinds, record_text_segment_lowaddr): | |
277 | Remove static function declarations. | |
278 | ||
51da707a MK |
279 | 2004-05-17 Mark Kettenis <[email protected]> |
280 | ||
caed1a45 MK |
281 | * alphabsd-nat.c: Update copyright year. |
282 | (getregs_supplies): Replace PC_REGNUM with ALPHA_PC_REGNUM. | |
283 | ||
c0c2b0db MK |
284 | * m68k-tdep.h (m68k_regnum): Add M68K_D2_REGNUM, M68K_D7_REGNUM |
285 | and M68K_A2_REGNUM. | |
286 | ||
51da707a MK |
287 | * m68k-tdep.c (m68k_svr4_return_value): Implement |
288 | RETURN_VALUE_ABI_RETURNS_ADDRESS. | |
289 | ||
8d027a04 MK |
290 | 2004-05-16 Mark Kettenis <[email protected]> |
291 | ||
292 | * sol-thread.c Update copyright year. Fix various coding | |
293 | standards violations. Tweak a few comments. | |
294 | (td_err_string, td_state_string, thread_to_lwp, lwp_to_thread): | |
295 | Delete prototypes. | |
296 | ||
0d99fdb9 RC |
297 | 2004-05-15 Randolph Chung <[email protected]> |
298 | ||
299 | * hppa-tdep.h (hppa_frame_prev_register_helper): Pass save_regs | |
300 | as pointer instead of array reference since HPUX compiler does | |
301 | not accept unsized array arguments. | |
302 | * somsolib.c (dld_flags_buffer): Use constant array size. | |
303 | ||
f7e3843a MK |
304 | 2004-05-15 Mark Kettenis <[email protected]> |
305 | ||
0fe85704 MK |
306 | * amd64obsd-tdep.c (amd64obsd_sigtramp_p): Replace hexadecimal |
307 | offset with decimal offset. | |
308 | (amd64obsd_sigcontext_addr): Return correct address for entire | |
309 | signal trampoline. | |
310 | ||
a54f9a00 MK |
311 | * vax-tdep.c (vax_frame_num_args): Use get_frame_base_address |
312 | instead of get_frame_base. | |
313 | ||
feae6502 MK |
314 | * i386bsd-nat.c (supply_gregset): Use regcache_raw_supply. |
315 | (fill_gregset): Use regcache_raw_collect. | |
316 | ||
0382d099 MK |
317 | * config/djgpp/fnchange.lst: Add entries for ppcobsd-nat.c and |
318 | ppcobsd-tdep.c. | |
319 | ||
f7e3843a MK |
320 | * config/sparc/tm-nbsd64.h: Remove file. |
321 | * config/tm-sunos.h: Remove file. | |
322 | ||
773df3e5 JB |
323 | 2004-05-15 Joel Brobecker <[email protected]> |
324 | ||
325 | * rs6000-tdep.c (store_param_on_stack_p): New function, | |
326 | an improved version of some code extracted from skip_prologue(). | |
327 | (skip_prologue): Use store_param_on_stack_p() to detect | |
328 | instructions saving a parameter on the stack. Detect when r0 | |
329 | is used to save a parameter. | |
330 | Do not mark "li rx, SIMM" instructions as part of the prologue, | |
331 | unless the following instruction is also part of the prologue. | |
332 | ||
95918acb AC |
333 | 2004-05-14 Andrew Cagney <[email protected]> |
334 | ||
06f32659 AC |
335 | * infrun.c (handle_inferior_event): Simplify |
336 | STEP_OVER_UNDEBUGGABLE. | |
337 | ||
95918acb AC |
338 | * infrun.c (handle_step_into_function): Delete function. |
339 | (handle_inferior_event): Inline calls to | |
340 | handle_step_into_function. | |
341 | ||
42203e46 JG |
342 | 2004-05-14 Jerome Guitton <[email protected]> |
343 | ||
344 | * rs6000-nat.c: Fix a comment. | |
345 | ||
02f60eae JB |
346 | 2004-05-12 David Anderson <[email protected]> |
347 | ||
348 | Committed by Jim Blandy <[email protected]>: | |
349 | * regcache.c (struct regcache_descr): fix comment spelling. | |
350 | ||
552e377b JB |
351 | 2004-05-13 J. Brobecker <[email protected]> |
352 | ||
353 | * aix-thread.c: s/ppc_floating_point_p/ppc_floating_point_unit_p/. | |
354 | Fixes a link link failure. | |
355 | ||
349766b2 JB |
356 | 2004-05-13 J. Brobecker <[email protected]> |
357 | ||
358 | * aix-thread.c (store_regs_kernel_thread): Fix a little obvious | |
359 | error that was causing the build to fail. | |
360 | ||
0d4d5484 JB |
361 | 2004-05-13 J. Brobecker <[email protected]> |
362 | ||
363 | * aix-thread.c: #include "gdb_string.h". Needed for memset and memcopy. | |
364 | * Makefile.in (aix-thread.o): Add dependency on gdb_string.h. | |
365 | ||
0b30808c AC |
366 | 2004-05-13 Andrew Cagney <[email protected]> |
367 | ||
368 | * infrun.c (handle_inferior_event): Check for | |
369 | STEP_OVER_UNDEBUGGABLE after signal trampolines and function | |
370 | calls. Update comments. | |
371 | ||
cdf2c5f5 JB |
372 | 2004-05-13 Jim Blandy <[email protected]> |
373 | ||
063715bf JB |
374 | * aix-thread.c (pdc_read_regs, supply_gprs64, supply_fprs) |
375 | (fetch_regs_user_thread, fetch_regs_kernel_thread) | |
376 | (store_regs_user_thread, store_regs_kernel_thread): Use | |
377 | ppc_num_gprs and ppc_num_fprs instead of '32' and '31'. | |
378 | * ppc-linux-nat.c (fill_gregset): Same. | |
379 | * ppc-linux-tdep.c (ppc_linux_supply_gregset) | |
380 | (ppc_linux_sigtramp_cache): Same. | |
381 | * ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_fill_reg) | |
382 | (ppcnbsd_sigtramp_cache_init): Same. | |
383 | * rs6000-nat.c (fetch_core_registers): Same. | |
384 | * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset) | |
385 | (rs6000_frame_cache): Same. | |
386 | ||
cdf2c5f5 JB |
387 | * aix-thread.c (supply_gprs64, fetch_regs_user_thread) |
388 | (store_regs_user_thread): Use tdep->ppc_gp0_regnum, instead | |
389 | of assuming that the gprs are numbered starting with zero. | |
390 | * ppc-linux-nat.c (fill_gregset): Same. | |
391 | * ppc-linux-tdep.c (ppc_linux_supply_gregset): Same. | |
392 | * ppcnbsd-nat.c (getregs_supplies): Same. | |
393 | * ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_fill_reg): Same. | |
394 | * rs6000-nat.c (fetch_core_registers): Same. | |
395 | * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset): Same. | |
396 | ||
450bd37b MS |
397 | 2004-05-07 Michael Snyder <[email protected]> |
398 | ||
399 | * tracepoint.c (scope_info): Add handling for LOC_COMPUTED, | |
400 | LOC_COMPUTED_ARG, and LOC_INDIRECT. | |
401 | ||
4a72a2a6 AC |
402 | 2004-05-13 Andrew Cagney <[email protected]> |
403 | ||
404 | * infrun.c (handle_inferior_event): Use frame_unwind_id. | |
405 | ||
8edfa926 BM |
406 | 2004-05-13 Bryce McKinlay <[email protected]> |
407 | ||
408 | * dwarf2loc.c (find_location_expression): Use ANOFFSET to adjust | |
409 | base_address for shared libraries. | |
410 | ||
723e0e3d BM |
411 | 2004-05-13 Bryce McKinlay <[email protected]> |
412 | ||
413 | * MAINTAINERS (write after approval): Add myself. | |
414 | ||
00d4360e UW |
415 | 2004-05-13 Ulrich Weigand <[email protected]> |
416 | ||
417 | * breakpoint.c (bpstat_stop_status): Add new argument | |
418 | STOPPED_BY_WATCHPOINT. Use it instead of testing | |
419 | target_stopped_data_address agaist 0 to check whether | |
420 | or not we stopped due to a hardware watchpoint. | |
421 | * breakpoint.h (bpstat_stop_status): Adapt prototype. | |
422 | * infrun.c (handle_inferior_event): Call bpstat_stop_status | |
423 | with new argument. | |
424 | ||
ec76baa5 JB |
425 | 2004-05-12 Jim Blandy <[email protected]> |
426 | ||
427 | * configure.in: When checking whether we should use the -bbigtoc | |
428 | option, don't forget to restore the original value of LDFLAGS. | |
429 | * configure: Regenerated. | |
430 | ||
f2c9ca08 AC |
431 | 2004-05-12 Andrew Cagney <[email protected]> |
432 | ||
433 | * thread.c (load_infrun_state): Delete step_sp. | |
434 | * infrun.c (context_switch): Ditto. | |
435 | * inferior.h (step_sp): Ditto. | |
436 | * infcmd.c (step_sp, step_1, step_once, until_next_command): Ditto. | |
437 | * gdbthread.h (struct thread_info, save_infrun_state) | |
438 | (restore_infrun_state): Ditto. | |
439 | ||
090ddb2a UW |
440 | 2004-05-12 Ulrich Weigand <[email protected]> |
441 | ||
442 | * MAINTAINERS (write after approval): Add myself. | |
443 | ||
8aad930b AC |
444 | 2004-05-12 Andrew Cagney <[email protected]> |
445 | ||
446 | * infrun.c (adjust_pc_after_break): Rewrite decr logic, | |
447 | eliminate reference to step_sp. | |
448 | (struct execution_control_state, init_execution_control_state) | |
449 | (handle_inferior_event, keep_going): Delete update_step_sp and | |
450 | step_sp. | |
451 | * infcmd.c (step_sp): Note that variable is unused. | |
452 | ||
922d5ae0 AC |
453 | 2004-05-11 Andrew Cagney <[email protected]> |
454 | ||
455 | * infrun.c (step_over_function): Delete function. | |
456 | (handle_step_into_function): Use insert_step_resume_breakpoint. | |
457 | (insert_step_resume_breakpoint): Fix assertion. | |
458 | ||
017c5ca5 NR |
459 | 2004-05-11 Nick Roberts <[email protected]> |
460 | ||
461 | * utils.c (defaulted_query): Just use the normal query input type | |
462 | when printing the annotations. | |
463 | ||
42edda50 AC |
464 | 2004-05-11 Andrew Cagney <[email protected]> |
465 | ||
466 | * infrun.c (handle_inferior_event): Simplify code handling | |
467 | step-into or return-from a signal trampoline. | |
468 | ||
d28b44a7 AC |
469 | 2004-05-11 Andrew Cagney <[email protected]> |
470 | ||
471 | * ppcnbsd-tdep.c: Include "gdb_assert.h". | |
472 | * Makefile.in (ppcnbsd-tdep.o): Update dependencies. | |
473 | ||
383f0f5b JB |
474 | 2004-05-10 Jim Blandy <[email protected]> |
475 | ||
d0b57c3a JB |
476 | * ppc-bdm.c (bdm_ppc_fetch_registers): Replace utterly broken code |
477 | with a call to internal_error. | |
478 | ||
383f0f5b JB |
479 | * ppc-tdep.h (struct gdbarch_tdep): Change definition of |
480 | ppc_fp0_regnum and ppc_fpscr_regnum: if they are -1, then this | |
481 | processor variant lacks those registers. | |
482 | (ppc_floating_point_unit_p): Change description to make it clear | |
483 | that this returns info about the ISA, not the ABI. | |
484 | * rs6000-tdep.c (ppc_floating_point_unit_p): Decide whether to | |
485 | return true or false by checking tdep->ppc_fp0_regnum and | |
486 | tdep->ppc_fpscr_regnum. The original code replicated the BFD | |
487 | arch/mach switching done in rs6000_gdbarch_init; it's better to | |
488 | keep that logic there, and just check the results here. | |
489 | (rs6000_gdbarch_init): On the E500, set tdep->ppc_fp0_regnum and | |
490 | tdep->ppc_fpscr_regnum to -1 to indicate that we have no | |
491 | floating-point registers. | |
492 | (ppc_supply_fpregset, ppc_collect_fpregset) | |
493 | (rs6000_push_dummy_call, rs6000_extract_return_value) | |
494 | (rs6000_store_return_value): Assert that we have floating-point | |
495 | registers. | |
496 | (rs6000_dwarf2_stab_reg_to_regnum): Add FIXME. | |
497 | (rs6000_frame_cache): Don't note the locations at which | |
498 | floating-point registers were saved if we have no fprs. | |
499 | * aix-thread.c (supply_fprs, fill_fprs): Assert that we have FP | |
500 | registers. | |
501 | (fetch_regs_user_thread, fetch_regs_kernel_thread) | |
502 | (store_regs_user_thread, store_regs_kernel_thread): Only call | |
503 | supply_fprs / fill_fprs if we actually have floating-point | |
504 | registers. | |
505 | (special_register_p): Check ppc_fpscr_regnum before matching | |
506 | against it. | |
507 | (supply_sprs64, supply_sprs32, fill_sprs64, fill_sprs32): Don't | |
508 | supply / collect fpscr if we don't have it. | |
509 | * ppc-bdm.c: #include "gdb_assert.h". | |
510 | (bdm_ppc_fetch_registers, bdm_ppc_store_registers): Assert that we | |
511 | have floating-point registers, since I can't test this code on | |
512 | FP-free systems to adapt it. | |
513 | * ppc-linux-nat.c (ppc_register_u_addr): Don't match against the | |
514 | fpscr and floating point register numbers if they don't exist. | |
515 | (fetch_register): Assert that we have floating-point registers | |
516 | before we reach the code that handles them. | |
517 | (store_register): Same. And use tdep instead of calling | |
518 | gdbarch_tdep again. | |
519 | (fill_fpregset): Don't try to collect FP registers and fpscr if we | |
520 | don't have them. | |
521 | (ppc_linux_sigtramp_cache): Don't record the saved locations of | |
522 | fprs and fpscr if we don't have them. | |
523 | (ppc_linux_supply_fpregset): Don't supply fp regs and fpscr if we | |
524 | don't have them. | |
525 | * ppcnbsd-nat.c: #include "gdb_assert.h". | |
526 | (getfpregs_supplies): Assert that we have floating-point registers. | |
527 | * ppcnbsd-tdep.c (ppcnbsd_supply_fpreg, ppcnbsd_fill_fpreg): Same. | |
528 | * ppcobsd-tdep.c: #include "gdb_assert.h". | |
529 | (ppcobsd_supply_gregset, ppcobsd_collect_gregset): Assert that we | |
530 | have floating-point registers. | |
531 | * rs6000-nat.c (regmap): Don't match against the fpscr and | |
532 | floating point register numbers if they don't exist. | |
533 | (fetch_inferior_registers, store_inferior_registers, | |
534 | fetch_core_registers): Only fetch / store / supply the | |
535 | floating-point registers and the fpscr if we have them. | |
536 | * Makefile.in (ppc-bdm.o, ppc-linux-nat.o, ppcnbsd-nat.o) | |
537 | (ppcobsd-tdep.o): Update dependencies. | |
538 | ||
15960608 AC |
539 | 2004-05-10 Andrew Cagney <[email protected]> |
540 | ||
541 | * infrun.c (through_sigtramp_breakpoint): Delete variable. | |
542 | (context_switch): Do not switch through_sigtramp_breakpoint. | |
543 | * gdbthread.h (save_infrun_state, load_infrun_state) | |
544 | (struct thread_info): Delete through_sigtramp_breakpoint parameter | |
545 | and structure member. | |
546 | * thread.c (load_infrun_state, save_infrun_state): Update. | |
547 | ||
5ab5aa0f MK |
548 | 2004-05-10 Mark Kettenis <[email protected]> |
549 | ||
550 | * m68kbsd-tdep.c (m68kbsd_elf_init_abi): Call m68k_svr4_init_abi. | |
551 | ||
da78b0e7 DJ |
552 | 2004-05-10 Maciej W. Rozycki <[email protected]> |
553 | ||
554 | * acinclude.m4: Quote macro names being defined by AC_DEFUN | |
555 | throughout. | |
556 | * aclocal.m4: Regenerate. | |
557 | ||
cca0d3b0 NW |
558 | 2004-05-10 Nathan J. Williams <[email protected]> |
559 | ||
560 | * alphanbsd-tdep.c: Fix include of "gdb_string.h". | |
561 | ||
d303a6c7 AC |
562 | 2004-05-10 Andrew Cagney <[email protected]> |
563 | ||
564 | * infrun.c (check_sigtramp2): Delete function. | |
565 | (handle_inferior_event): When single stepping, and taking a | |
566 | signal, set a breakpoint at the signal return address. Delete | |
567 | redundant calls to check_sigtramp2. | |
568 | (insert_step_resume_breakpoint): New function. | |
569 | (through_sigtramp_breakpoint, handle_inferior_event) | |
570 | (follow_exec, wait_for_inferior, fetch_inferior_event) | |
571 | (currently_stepping, keep_going): Delete most uses of | |
572 | through_sigtramp_breakpoint, not that it should be deleted. | |
573 | (delete_breakpoint_current_contents): Delete function. | |
574 | ||
03f4cc20 RC |
575 | 2004-05-10 Randolph Chung <[email protected]> |
576 | ||
577 | * config/pa/linux.mt (TM_FILE): Use new tm-linux.h for hppa-linux | |
578 | target. | |
579 | * config/pa/tm-linux.h: New file. | |
580 | ||
37fc812e DJ |
581 | 2004-05-10 Daniel Jacobowitz <[email protected]> |
582 | ||
583 | * cli/cli-setshow.c (cmd_show_list): Check for "show" in the middle | |
584 | of prefixes. Don't print the prefix twice in the CLI. | |
585 | ||
26c0b942 JB |
586 | 2004-05-10 Jim Blandy <[email protected]> |
587 | ||
2e56e9c1 JB |
588 | * rs6000-tdep.c (ppc_collect_gregset): When regnum == -1, do |
589 | collect all the gprs. | |
590 | ||
26c0b942 JB |
591 | * rs6000-tdep.c (ppc_collect_gregset): Correct off-by-one error in |
592 | loop collecting gprs. | |
593 | ||
dc497459 AC |
594 | 2004-05-09 Andrew Cagney <[email protected]> |
595 | ||
596 | * remote-vx.c (net_step): Delete step-range code. | |
597 | * remote.c (remote_resume, init_all_packet_configs) | |
598 | (set_remote_protocol_E_packet_cmd) | |
599 | (show_remote_protocol_E_packet_cmd) | |
600 | (remote_protocol_E, show_remote_cmd, _initialize_remote) | |
601 | (remote_protocol_e, set_remote_protocol_e_packet_cmd) | |
602 | (show_remote_protocol_e_packet_cmd): Ditto. | |
603 | ||
0543f387 MK |
604 | 2004-05-09 Mark Kettenis <[email protected]> |
605 | ||
c481d1ca MK |
606 | * hppa-tdep.h (enum hppa_regnum): Name enum, add HPPA_R1_REGNUM. |
607 | ||
f626a069 MK |
608 | * hppa-tdep.h: Update copyright year. |
609 | (struct trad_frame_saved_reg): Add opaque declaration. | |
610 | ||
6fa57a7d MK |
611 | * amd64-tdep.c (amd64_return_value): Implement |
612 | RETURN_VALUE_ABI_RETURNS_ADDRESS. | |
613 | ||
e47577ab MK |
614 | * m68k-tdep.c (m68k_convert_register_p, m68k_register_to_value) |
615 | (m68k_value_to_register): New functions. | |
616 | (m68k_gdbarch_init): Set convert_register_p, register_to_value and | |
617 | value_to_register. | |
618 | ||
31db7b6c MK |
619 | * defs.h (enum return_value_convention): Add |
620 | RETURN_VALUE_ABI_RETURNS_ADDRESS and | |
621 | RETURN_VALUE_ABI_PRESERVES_ADDRESS. | |
622 | * infcmd.c (legacy_return_value): New function. | |
623 | (print_return_value): Rwerite to implement | |
624 | RETURN_VALUE_ABI_RETURNS_ADDRESS. | |
625 | * values.c (using_struct_return): Check for inequality to | |
626 | RETURN_VALUE_REGISTER_CONVENTION instead of equality to | |
627 | RETURN_VALUE_STRUCT_CONVENTION. | |
628 | * i386-tdep.c (i386_return_value): Implement | |
629 | RETURN_VALUE_ABI_RETURNS_ADDRESS. | |
630 | ||
0543f387 MK |
631 | * vax-tdep.c: Tweak comments. Reorder include files. Don't |
632 | include "symtab.h", "opcode/vax.h" and "inferior.h". | |
633 | (vax_skip_prologue): Replace calls to read_memory_integer by calls | |
634 | to read_memory_unsigned_integer. | |
635 | (vax_gdbarch_init): Reorder. | |
636 | (_initialize_vax_tdep): Spell out prototype. | |
637 | * Makefile.in (vax-tdep.o): Update dependencies. | |
638 | ||
0c93b7b6 AC |
639 | 2004-05-08 Andrew Cagney <[email protected]> |
640 | ||
e6b55ae2 AC |
641 | * infrun.c (resume): Delete call to DO_DEFERRED_STORES. |
642 | * target.c (target_detach, target_disconnect): Ditto. | |
643 | ||
1ac839b8 AC |
644 | * infcall.c (call_function_by_hand): When no |
645 | DEPRECATED_SAVE_DUMMY_FRAME_TOS call generic_save_dummy_frame_tos. | |
646 | * rs6000-tdep.c (rs6000_gdbarch_init): Do not set | |
647 | DEPRECATED_SAVE_DUMMY_FRAME_TOS. | |
648 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
649 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
650 | ||
28954179 AC |
651 | * gdbarch.sh (DEPRECATED_FIX_CALL_DUMMY): Delete. |
652 | * gdbarch.h, gdbarch.c: Re-generate. | |
653 | * ns32k-tdep.c (ns32k_gdbarch_init): Do not set | |
654 | deprecated_fix_call_dummy. | |
655 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
656 | * infcall.c (call_function_by_hand): Do not call | |
657 | DEPRECATED_FIX_CALL_DUMMY. | |
658 | ||
434b87dd AC |
659 | * gdbarch.sh (DEPRECATED_CALL_DUMMY_WORDS) |
660 | (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Delete. | |
661 | * gdbarch.h, gdbarch.c: Re-generate. | |
662 | * arm-linux-tdep.c (arm_linux_call_dummy_words) | |
663 | (arm_linux_init_abi): Do not set deprecated_call_dummy_words or | |
664 | deprecated_sizeof_call_dummy_words. | |
665 | * arm-tdep.c (arm_call_dummy_words, arm_gdbarch_init): Ditto. | |
666 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
667 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
668 | * sh64-tdep.c (sh64_gdbarch_init): Ditto. | |
669 | * ns32k-tdep.c (ns32k_call_dummy_words, ns32k_gdbarch_init): Ditto. | |
670 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
671 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
672 | * arch-utils.h (legacy_call_dummy_words) | |
673 | (legacy_sizeof_call_dummy_words): Delete declarations. | |
674 | * arch-utils.c (legacy_call_dummy_words) | |
675 | (legacy_sizeof_call_dummy_words): Delete variables. | |
676 | ||
58d28df8 AC |
677 | * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Delete. |
678 | * gdbarch.h, gdbarch.c: Re-generate. | |
679 | * inferior.h (PUSH_DUMMY_FRAME): Delete macro. | |
680 | * infcall.c (call_function_by_hand): Eliminate call to | |
681 | DEPRECATED_PUSH_DUMMY_FRAME. | |
682 | * ns32k-tdep.c (ns32k_gdbarch_init): Do not set deprecated | |
683 | push_dummy_frame. | |
684 | (ns32k_push_dummy_frame): Delete function. | |
685 | ||
e4a2df64 AC |
686 | * ns32k-tdep.c (ns32k_gdbarch_init): Do not set |
687 | deprecated_call_dummy_breakpoint_offset or | |
688 | deprecated_call_dummy_start_offset. | |
689 | * dummy-frame.c, arm-tdep.c: Update comments. | |
690 | * gdbarch.sh (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET) | |
691 | (DEPRECATED_CALL_DUMMY_START_OFFSET): Delete. | |
692 | * gdbarch.h, gdbarch.c: Re-generate. | |
693 | ||
d3712828 AC |
694 | * infcall.c (legacy_push_dummy_code): Delete function. |
695 | (push_dummy_code): Delete call. | |
696 | ||
7a882905 AC |
697 | * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete. |
698 | * gdbarch.h, gdbarch.c: Re-generate. | |
699 | * blockframe.c (legacy_frame_chain_valid): Simplify by eliminating | |
700 | DEPRECATED_USE_GENERIC_DUMMY_FRAMES. | |
701 | * infcall.c (legacy_push_dummy_code, call_function_by_hand): Ditto. | |
702 | * frame.c (frame_type_from_pc, legacy_get_prev_frame): Ditto. | |
703 | ||
0ec5872b AC |
704 | * breakpoint.h (deprecated_frame_in_dummy): Delete declaration. |
705 | (struct frame_info): Delete opaque declaration. | |
706 | * breakpoint.c (deprecated_frame_in_dummy): Delete function. | |
707 | * frame.c (get_frame_type): Delete call. | |
708 | ||
0c93b7b6 AC |
709 | * ns32k-tdep.c (ns32k_gdbarch_init): Do not set deprecated |
710 | pc_in_call_dummy. | |
711 | * inferior.h (deprecated_pc_in_call_dummy_on_stack): Delete. | |
712 | * blockframe.c (deprecated_pc_in_call_dummy_on_stack): Delete. | |
713 | ||
75536971 MK |
714 | 2004-05-08 Mark Kettenis <[email protected]> |
715 | ||
527ca6bb MK |
716 | * alphanbsd-tdep.c: Include "gdb_string.h". |
717 | * armnbsd-tdep.c: Update copyright year. | |
718 | Include "gdb_string.h". | |
719 | * Makefile.in (alphanbsd-tdep.o, armnbsd-tdep.o): Update | |
720 | dependencies. | |
721 | ||
d39fdc61 MK |
722 | * delta68-nat.c: Remove file. |
723 | * m68k-tdep.c (delta68_in_sigtramp, delta68_frame_args_address) | |
724 | (delta68_frame_saved_pc, delta68_frame_num_args): Remove functions. | |
725 | * Makefile.in (ALLDEPFILES): Remove delta68-nat.c. | |
726 | (delta68-nat.o): Remove dependency. | |
727 | ||
75536971 MK |
728 | * m68k-tdep.c (m68k_frameless_function_invocation): Remove |
729 | function. | |
730 | (m68k_gdbarch_init): Don't set | |
731 | deprecated_frameless_function_invocation. | |
732 | ||
f4ca1d1f RC |
733 | 2004-05-07 Randolph Chung <[email protected]> |
734 | ||
735 | * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Use | |
736 | read_memory_nobpt for code reading when doing frame unwinding. | |
737 | * hppa-linux-tdep.c (insns_match_pattern): Likewise. | |
738 | ||
2f0e8c7a RC |
739 | 2004-05-07 Randolph Chung <[email protected]> |
740 | ||
741 | * hppa-linux-tdep.c (hppa_linux_sigtramp_find_sigcontext): Pass in pc | |
742 | instead of sp, handle sigaltstack case. | |
743 | (hppa_linux_sigtramp_frame_unwind_cache): Adjust calls to | |
744 | hppa_linux_sigtramp_find_sigcontext, and set base to the frame of the | |
745 | signal handler and not that of the caller. | |
746 | (hppa_linux_sigtramp_unwind_sniffer): Adjust calls to | |
747 | hppa_linux_sigtramp_find_sigcontext. | |
748 | ||
959464ff RC |
749 | 2004-05-07 Randolph Chung <[email protected]> |
750 | ||
751 | * Makefile.in (ALLDEPFILES): Add hppa-linux-tdep.c and | |
752 | hppa-linux-nat.c. | |
753 | (hppa-linux-tdep.o, hppa-linux-nat.o): Define rules. | |
754 | * hppa-linux-nat.c (fetch_register, store_register): Define. | |
755 | (fetch_inferior_registers, store_inferior_registers): Define. | |
756 | (supply_gregset): Add comment and clean up some unneeded code. | |
757 | (fill_gregset): Add comment and fix so that it saves registers in | |
758 | the right place in the gregset. | |
759 | (fill_fpregset): Fix buffer overrun problem. | |
760 | * config/pa/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define. | |
761 | ||
0da28f8a RC |
762 | 2004-05-07 Randolph Chung <[email protected]> |
763 | ||
764 | * hppa-tdep.c (hppa_frame_prev_register_helper): New function to | |
765 | do common handling of the pcoqt register. | |
766 | (hppa_frame_prev_register, hppa_stub_frame_prev_register): Convert | |
767 | to use helper function. | |
768 | (hppa_frame_unwind_sniffer): Only use if unwind entry is present. | |
769 | (hppa_fallback_frame_cache, hppa_fallback_frame_this_id) | |
770 | (hppa_fallback_frame_prev_register, hppa_fallback_frame_unwind): New | |
771 | generic fallback unwinder when all else fails. | |
772 | (hppa_gdbarch_init): Add fallback sniffer. | |
773 | * hppa-tdep.h (hppa_frame_prev_register_helper): Prototype. | |
774 | * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_prev_register): Convert | |
775 | to use helper function. | |
776 | ||
b9ec757a JB |
777 | 2004-05-08 Joel Brobecker <[email protected]> |
778 | ||
779 | * config/djgpp/fnchange.lst: Add translation rules for | |
780 | gdb.arch/powerpc-aix-prologue.c and gdb.arch/powerpc-aix-prologue.exp. | |
781 | ||
756e95f1 MK |
782 | 2004-05-08 Mark Kettenis <[email protected]> |
783 | ||
784 | * frame.c (get_prev_frame_1): Work around GCC bug. | |
785 | * frame.h: Add comment about GCC bug. | |
786 | ||
2b4855ab AC |
787 | 2004-05-07 Andrew Cagney <[email protected]> |
788 | ||
789 | * observer.c: Include "commands.h" and "gdbcmd.h". | |
790 | (observer_debug, _initialize_observer): Add the | |
791 | command "set/show debug observer". | |
792 | * observer.sh: When observer debugging, log notify calls. | |
793 | * Makefile.in (observer.o): Update dependencies. | |
794 | ||
ba3e8e46 JM |
795 | 2004-05-07 Jason Molenda ([email protected]) |
796 | ||
797 | * cli/cli-decode.c: Fix "SHOW_DOR" comment typeos. | |
798 | ||
16796152 JB |
799 | 2004-05-07 Jim Blandy <[email protected]> |
800 | ||
daf6dc85 JB |
801 | * aix-thread.c (fetch_regs_kernel_thread, fill_gprs64, |
802 | fill_gprs32, store_regs_kernel_thread): Use tdep->ppc_gp0_regnum | |
803 | to recognize gpr regnums, instead of assuming that | |
804 | tdep->ppc_fp0_regnum marks the end of the general-purpose | |
805 | registers. | |
806 | ||
16796152 JB |
807 | * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Assert that |
808 | the given architecture has floating-point registers. | |
809 | ||
c69b8bfc AC |
810 | 2004-05-07 Andrew Cagney <[email protected]> |
811 | ||
812 | * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Replace with | |
813 | macro defined to 1. | |
814 | * gdbarch.h, gdbarch.c: Re-generate. | |
815 | * ns32k-tdep.c (ns32k_gdbarch_init): Do not set | |
816 | deprecated_use_generic_dummy_frames. | |
817 | ||
7243600a BF |
818 | 2004-05-07 Brian Ford <[email protected]> |
819 | ||
820 | * NEWS: Mention Cygwin DWARF 2 support. | |
821 | ||
73c1e0a1 AC |
822 | 2004-05-07 Andrew Cagney <[email protected]> |
823 | ||
824 | * objfiles.h (struct entry_info): Delete unused fields | |
825 | deprecated_entry_file_lowpc and deprecated_entry_file_highpc. | |
826 | * objfiles.c (init_entry_point_info, objfile_relocate): Update. | |
827 | * mipsread.c (mipscoff_symfile_read): Update. | |
828 | * mdebugread.c (parse_partial_symbols): Update. | |
829 | * dwarfread.c (read_file_scope): Update. | |
830 | * dwarf2read.c (read_file_scope): Update. | |
831 | * dbxread.c (read_dbx_symtab, read_dbx_symtab): Update. | |
832 | * coffread.c (complete_symtab): Update. | |
833 | ||
1d3056ac MK |
834 | 2004-05-07 Mark Kettenis <[email protected]> |
835 | ||
836 | * infcall.c (_initialize_infcall): Fix typo. | |
837 | ||
15170568 AC |
838 | 2004-05-07 Andrew Cagney <[email protected]> |
839 | ||
840 | * cli/cli-decode.c (add_setshow_zinteger_cmd): New function. | |
841 | * command.h (add_setshow_zinteger_cmd): Declare. | |
842 | ||
34f75cc1 RC |
843 | 2004-05-06 Randolph Chung <[email protected]> |
844 | ||
845 | * config/pa/tm-hppa.h (RO_REGNUM, FLAGS_REGNUM, RP_REGNUM) | |
846 | (HPPA_FP_REGNUM, HPPA_SP_REGNUM, SAR_REGNUM, IPSW_REGNUM) | |
847 | (PCOQ_HEAD_REGNUM, PCSQ_HEAD_REGNUM, PCOQ_TAIL_REGNUM, PCSQ_TAIL_REGNUM) | |
848 | (EIEM_REGNUM, IIR_REGNUM, ISR_REGNUM, IOR_REGNUM, SR4_REGNUM) | |
849 | (RCR_REGNUM, PID0_REGNUM, PID1_REGNUM, PID2_REGNUM, PID3_REGNUM) | |
850 | (CCR_REGNUM, TR0_REGNUM, CR27_REGNUM, HPPA_FP0_REGNUM, FP4_REGNUM) | |
851 | (ARG0_REGNUM, ARG1_REGNUM, ARG2_REGNUM, ARG3_REGNUM): Move *_REGNUM | |
852 | definitions ... | |
853 | * hppa-tdep.h: ... to here, with HPPA_ prefix. | |
854 | * Makefile.in (hppah-nat.o): Add $(hppa_tdep_h) | |
855 | * hppa-hpux-tdep.c (hppa32_hpux_frame_find_saved_regs_in_sig) | |
856 | (hppa64_hpux_frame_find_saved_regs_in_sig) | |
857 | (child_get_current_exception_event): Add HPPA_ prefix to *_REGNUM usage. | |
858 | * hppa-linux-nat.c (GR_REGNUM, TR_REGNUM, greg_map): Likewise. | |
859 | * hppa-linux-tdep.c (hppa_dwarf_reg_to_regnum) | |
860 | (hppa_linux_target_write_pc, hppa_linux_sigtramp_frame_unwind_cache) | |
861 | (hppa_linux_sigtramp_frame_prev_register): Likewise. | |
862 | * hppa-tdep.c (hppa32_return_value, hppa64_return_value) | |
863 | (hppa32_push_dummy_call, hppa64_push_dummy_call, hppa64_frame_align) | |
864 | (hppa_target_read_pc, hppa_target_write_pc, hppa_frame_cache) | |
865 | (hppa_frame_prev_register, hppa_stub_frame_unwind_cache) | |
866 | (hppa_stub_frame_prev_register, hppa_unwind_dummy_id) | |
867 | (hppa_skip_permanent_breakpoint, hppa_instruction_nullified) | |
868 | (hppa32_register_type, hppa_cannot_store_register) | |
869 | (hppa_fetch_pointer_argument, hppa_pseudo_register_read): Likewise. | |
870 | * hppah-nat.c (store_inferior_registers, fetch_register): Likewise. | |
871 | * hpread.c (hpread_process_one_debug_symbol): Likewise. | |
872 | * pa64solib.c (pa64_solib_have_load_event) | |
873 | (pa64_solib_have_unload_event, pa64_solib_loaded_library_pathname) | |
874 | (pa64_solib_unloaded_library_pathname): Likewise. | |
875 | * somsolib.c (som_solib_have_load_event, som_solib_have_unload_event) | |
876 | (som_solib_library_pathname): Likewise. | |
877 | ||
0a5e7efe JI |
878 | 2004-05-05 Jim Ingham <[email protected]> |
879 | ||
880 | * breakpoint.c (create_breakpoints): Copy the ignore count and | |
881 | thread id over from the pended breakpoint to the actual | |
882 | breakpoint. | |
883 | ||
10a4b113 AC |
884 | 2004-05-05 Andrew Cagney <[email protected]> |
885 | ||
886 | * gdbarch.sh (PARM_BOUNDARY): Delete. | |
887 | gdbarch.h, gdbarch.c: Re-generate. | |
888 | * valops.c (PARM_BOUNDARY): Delete macro. | |
889 | (value_push): Delete PARM_BOUNDARY code. | |
890 | * m68k-tdep.c (m68k_gdbarch_init): Do not set parm_boundary. | |
891 | ||
366f009f JB |
892 | 2004-05-04 Jim Blandy <[email protected]> |
893 | ||
32b99774 JB |
894 | * ppc-linux-nat.c (fetch_ppc_registers, store_ppc_registers): |
895 | Don't assume that the gprs, fprs, and UISA sprs are | |
896 | contiguous, start at register number zero, and end with fpscr. | |
897 | Instead, use the numbers from the tdep structure. | |
898 | ||
366f009f JB |
899 | * config/rs6000/tm-rs6000.h (FP0_REGNUM): Document that this |
900 | should no longer be used in code specific to the RS6000 and its | |
901 | derivatives. | |
902 | * ppc-tdep.h (struct gdbarch_tdep): Add 'ppc_fp0_regnum' member. | |
903 | * rs6000-tdep.c (rs6000_gdbarch_init): Initialize | |
904 | tdep->ppc_fp0_regnum. | |
905 | (ppc_supply_fpregset, ppc_collect_fpregset) | |
906 | (rs6000_push_dummy_call, rs6000_extract_return_value) | |
907 | (rs6000_dwarf2_stab_reg_to_regnum, rs6000_store_return_value) | |
908 | (rs6000_frame_cache): Use tdep->ppc_fp0_regnum instead of | |
909 | FP0_REGNUM. | |
910 | * aix-thread.c (supply_fprs, fetch_regs_kernel_thread) | |
911 | (fill_gprs64, fill_gprs32, fill_fprs, store_regs_kernel_thread): | |
912 | Same. | |
913 | * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_fetch_registers, | |
914 | bdm_ppc_store_registers): Same. | |
915 | * ppc-linux-nat.c (ppc_register_u_addr, fetch_register) | |
916 | (store_register, fill_fpregset): Same. | |
917 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache) | |
918 | (ppc_linux_supply_fpregset): Same. | |
919 | * ppcnbsd-nat.c (getfpregs_supplies): Same. | |
920 | * ppcnbsd-tdep.c (ppcnbsd_supply_fpreg, ppcnbsd_fill_fpreg): | |
921 | Same. | |
922 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call, | |
923 | do_ppc_sysv_return_value, ppc64_sysv_abi_push_dummy_call, | |
924 | ppc64_sysv_abi_return_value): Same. | |
925 | * rs6000-nat.c (regmap, fetch_inferior_registers) | |
926 | (store_inferior_registers, fetch_core_registers): Same. | |
927 | ||
827f338d MK |
928 | 2004-05-01 Mark Kettenis <[email protected]> |
929 | ||
930 | * m68knbsd-nat.c: Remove file. | |
931 | * m68knbsd-tdep.c: Remove file. | |
932 | * Makefile.in: (m68knbsd-nat.o, m68knbsd-tdep.o): Remove | |
933 | dependencies. | |
934 | * configure.host: Add m68k-*-netbsdelf*. | |
935 | * configure.tgt (m68k-*-netbsd*): Set gdb_target to nbsd. | |
936 | * config/m68k/nbsdaout.mh (NATDEPFILES): Add m68kbsd-nat.o, | |
937 | solib.o and solib-sunos.o. Remove m68knbsd-nat.o, corelow.o. | |
938 | (XM_FILE): Remove. | |
939 | * config/m68k/nbsdelf.mh: New file. | |
940 | * config/m68k/nbsd.mt: New file. | |
941 | * config/m68k/nbsdaout.mt: Remove file. | |
942 | * config/m68k/tm-nbsd.h: Don't include <sys/param.h>, | |
943 | <machine/vmparam.h> and "m68k/tm-m68k.h". Include "solib.h". | |
944 | (BPT_VECTOR, STACK_END_ADDR): Remove defines. | |
945 | (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Likewise. | |
946 | (use_struct_convention): Remove prototype. | |
947 | (USE_STRUCT_CONVENTION): Remove define. | |
948 | * config/m68k/xm-nbsd.h: Remove file. | |
949 | ||
66894781 MS |
950 | 2004-05-04 Michael Snyder <[email protected]> |
951 | ||
952 | * m68k-tdep.c (m68k_gdbarch_init): Default to using | |
953 | reg_struct_return method (as gcc usually does for cross targets). | |
954 | ||
f0f63663 AC |
955 | 2004-05-04 Ulrich Weigand <[email protected]> |
956 | ||
957 | Committed by Andrew Cagney. | |
958 | * s390-tdep.c (s390_sigtramp_frame_unwind_cache): Account for | |
959 | alignment padding when accessing ucontext struct members. | |
960 | ||
edf61169 JB |
961 | 2004-05-04 Jim Blandy <[email protected]> |
962 | ||
8bf659e8 JB |
963 | * config/ppc-tdep.h (struct gdbarch_tdep): Delete |
964 | 'ppc_gplast_regnum' member. | |
965 | (ppc_num_gprs): New enum constant. | |
966 | * ppc-linux-nat.c (ppc_register_u_addr): Use tdep->ppc_gp0_regnum | |
967 | and ppc_num_gprs instead of tdep->ppc_gplast_regnum. | |
968 | * rs6000-nat.c (regmap, fetch_inferior_registers, | |
969 | store_inferior_registers): Same. | |
970 | * rs6000-tdep.c (e500_pseudo_register_read) | |
971 | (e500_pseudo_register_write): Same. | |
972 | (rs6000_gdbarch_init): Don't initialize tdep->ppc_gplast_regnum. | |
973 | ||
b967e06f JB |
974 | * config/rs6000/tm-rs6000.h (FPLAST_REGNUM): Delete #definition. |
975 | * ppc-tdep.h (ppc_num_fprs): New enum constant. | |
976 | * aix-thread.c (fetch_regs_kernel_thread, fill_fprs, | |
977 | store_regs_kernel_thread): Use FP0_REGNUM + ppc_num_fprs, not | |
978 | FPLAST_REGNUM. | |
979 | * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers): | |
980 | Same. | |
981 | * ppc-linux-nat.c (ppc_register_u_addr): Same. | |
982 | * rs6000-nat.c (regmap, fetch_inferior_registers) | |
983 | (store_inferior_registers): Same. | |
984 | ||
edf61169 JB |
985 | * aix-thread.c (fill_fprs): Fix off-by-one error comparing regno |
986 | with FPLAST_REGNUM. | |
987 | ||
58a9656e JB |
988 | 2004-05-03 Joel Brobecker <[email protected]> |
989 | ||
990 | * dwarf2read.c (dwarf2_create_include_psymtab): Fix build | |
991 | failure detected by recent versions of GCC. | |
992 | (psymtab_to_symtab_1): No longer use the PST_PRIVATE macro | |
993 | to be consistent with the usage in dwarf2_create_include_psymtab. | |
994 | ||
dc305454 MS |
995 | 2004-05-03 Michael Snyder <[email protected]> |
996 | ||
997 | * mips-tdep.c (mips_gdbarch_init): Fix typo in comment. | |
998 | (heuristic_proc_start): Whitespace cleanup. | |
999 | ||
29972665 MK |
1000 | 2004-05-04 Mark Kettenis <[email protected]> |
1001 | ||
6b57680d MK |
1002 | * sun3-nat.c: Remove file. |
1003 | * Makefile.in (tm-sun3.h tm-altos.h tm-sun2.h tm-3b1.h): Remove | |
1004 | dependencies. | |
1005 | (ALLDEPFILES): Remove sun3-nat.c. | |
1006 | (sun3-nat.o): Remove dependencies. | |
1007 | ||
29972665 MK |
1008 | * i386-interix-nat.c, i386-interix-tdep.c, |
1009 | config/i386/nm-interix.h, config/i386/interix.mh, | |
1010 | config/i386/interix.mt: Remove files. | |
1011 | * Makefile.in (i386-interix-nat.o, i386-interix-tdep.o): Remove | |
1012 | dependencies. | |
1013 | ||
f595cb19 MK |
1014 | 2004-05-03 Mark Kettenis <[email protected]> |
1015 | ||
1016 | * m68k-tdep.h (struct gdbarch_tdep): Add member | |
1017 | struct_value_regnum. | |
1018 | (m68k_svr4_init_abi): New prototype. | |
1019 | * m68k-tdep.c: Include "floatformat.h". Add comment about all the | |
1020 | different calling conventions. | |
1021 | (m68k_extract_return_value): Remove code dealing with single-field | |
1022 | structs. | |
1023 | (m68k_store_return_value): Remove code dealing with single-field | |
1024 | structs. Correctly store return values of 5, 6, 7 or 8 bytes. | |
1025 | (m68k_extract_struct_value_address): Remove function. | |
1026 | (m68k_svr4_extract_return_value,m68k_svr4_store_return_value) | |
1027 | (m68k_reg_struct_return_p, m68k_return_value) | |
1028 | (m68k_svr4_return_value): New functions. | |
1029 | (m68k_use_struct_convention): Remove function. | |
1030 | (m68k_push_dummy_call): Use new struct_value_regnum member of | |
1031 | `struct gdbarch_tdep' instead of hardcoded register number to | |
1032 | store STRUCT_ADDR. | |
1033 | (m68k_svr4_init_abi): New function. | |
1034 | (m68k_gdbarch_init): Don't set extract_return_value, | |
1035 | store_return_values, deprecated_extract_struct_value_address and | |
1036 | use_struct_convention. Set return_value instead. Initialize new | |
1037 | struct_value_regnum member of `struct gdbarch_tdep'. | |
1038 | * m68klinux-tdep.c: Update copyright year. | |
1039 | (m68k_linux_extract_return_value, m68k_linux_store_return_value) | |
1040 | (m68k_linux_extract_struct_value_address): Remove function. | |
1041 | (m68k_linux_init_abi): Don't set extract_return_value, | |
1042 | store_return_values, deprecated_extract_struct_value_address and | |
1043 | use_struct_convention. Call m68k_svr4_init_abi but override the | |
1044 | new struct_value_regnum member of `struct gdbarch_tdep'. | |
1045 | * Makefile.in (m68k-tdep.o): Update dependencies. | |
1046 | ||
aaa75496 JB |
1047 | 2004-05-03 J. Brobecker <[email protected]> |
1048 | ||
1049 | * dwarf2read.c (line_header): Add new included_p field in | |
1050 | field file_names. | |
1051 | (partial_die_info): New field has_stmt_list. New field line_offset. | |
1052 | (dwarf2_create_include_psymtab): New function. | |
1053 | (dwarf2_build_include_psymtabs): New function. | |
1054 | (add_file_name): Add forward declaration. Initialize new field. | |
1055 | (dwarf_decode_lines): Add new parameter. Enhance this procedure | |
1056 | to be able to determine the list of files included by the | |
1057 | given unit, and build their associated psymtabs. | |
1058 | (dwarf2_build_psymtabs_hard): Build the psymtabs for the included | |
1059 | files as well. | |
1060 | (psymtab_to_symtab_1): Build the symtabs of all dependencies as well. | |
1061 | (read_file_scope): Update call to dwarf_decode_lines. | |
1062 | (read_partial_die): Handle DW_AT_stmt_list attributes. | |
1063 | ||
c848556f MC |
1064 | 2004-05-02 Michael Chastain <[email protected]> |
1065 | ||
1066 | Unfix PR gdb/1626. | |
1067 | * configure.in: Revert special case for osf5.*. | |
1068 | * configure: Regenerate. | |
1069 | ||
eb4556d7 JB |
1070 | 2004-05-02 Jim Blandy <[email protected]> |
1071 | ||
1072 | Move the symbol-file-from-memory functions into their own file. | |
1073 | * symfile-mem.c, symfile-mem.h: New files. | |
1074 | * symfile.c (symbol_file_add_from_bfd): New function. | |
1075 | (symbol_file_add): Call symbol_file_add_from_bfd. | |
1076 | (symbol_file_add_from_memory, add_symbol_file_from_memory_command): | |
1077 | Moved to symfile-mem.c. | |
1078 | (_initialize_symfile): Move definition of | |
1079 | add-symbol-file-from-memory command to symfile-mem.c. | |
1080 | * symfile.h (symbol_file_add_from_bfd): New declaration. | |
1081 | * config/i386/linux.mt (TDEPFILES): Add symfile-mem.o. | |
1082 | * config/powerpc/linux.mt (TDEPFILES): Same. | |
1083 | * Makefile.in (SFILES): Add symfile-mem.c. | |
1084 | (symfile_mem_h): New variable. | |
1085 | (HFILES_NO_SRCDIR): Add symfile-mem.h. | |
1086 | (symfile-mem.o): New rule. | |
1087 | ||
80bb239e AC |
1088 | 2004-05-01 Andrew Cagney <[email protected]> |
1089 | ||
7789d0fa AC |
1090 | * breakpoint.c (insert_bp_location): Use get_frame_id, and |
1091 | frame_find_by_id instead of frame_relative_level. | |
1092 | (do_enable_breakpoint): Ditto. | |
1093 | * thread.c: Update copyright. | |
1094 | (info_threads_command): Ditto, simplify. | |
1095 | ||
80bb239e AC |
1096 | * frame.c (deprecated_generic_get_saved_register): Delete |
1097 | function, moved to "xstormy16-tdep.c". | |
1098 | * xstormy16-tdep.c (xstormy16_get_saved_register): Inline | |
1099 | deprecated_generic_get_saved_register from "frame.c". | |
1100 | (xstormy16_frame_saved_register): Call | |
1101 | xstormy16_get_saved_register. | |
1102 | * dummy-frame.c (deprecated_find_dummy_frame_regcache): Make | |
1103 | static. | |
1104 | * dummy-frame.h (deprecated_find_dummy_frame_regcache): Delete. | |
1105 | * frame.h (deprecated_generic_get_saved_register): Delete. | |
1106 | ||
b2a871dd MC |
1107 | 2004-05-01 Michael Chastain <[email protected]> |
1108 | ||
1109 | * dwarfread.c: Update documentation on the state of dwarf-1. | |
1110 | ||
0e100dab AC |
1111 | 2004-05-01 Andrew Cagney <[email protected]> |
1112 | ||
acd8056e AC |
1113 | * stack.c (select_frame_command): Delete call to |
1114 | frame_relative_level. | |
1115 | (print_frame, set_backtrace_limit_command, backtrace_limit_info): | |
1116 | Delete #if0 code. | |
1117 | (frame_info): Do not print FRAMELESS. | |
1118 | (print_block_frame_labels): Replace DEPRECATED_STREQ. | |
1119 | (catch_info): Delete #if0 code. | |
1120 | ||
0e100dab AC |
1121 | * frame.c (create_sentinel_frame): Set type to SENTINEL_FRAME. |
1122 | * dummy-frame.c (dummy_frame_this_id): Use get_frame_type, instead | |
1123 | of frame_relative_level. | |
1124 | * sentinel-frame.c (sentinel_frame_unwinder): Set unwinder's type | |
1125 | to SENTINEL_FRAME. | |
1126 | * frame.h (enum frame_type): Add SENTINEL_FRAME. | |
1127 | * s390-tdep.c (s390_prologue_frame_unwind_cache): Delete calls to | |
1128 | frame_relative_level. | |
1129 | ||
55699d59 AC |
1130 | * frame.h (deprecated_set_frame_type): Delete declaration. |
1131 | * frame.c (deprecated_set_frame_type): Delete function, update | |
1132 | comments. | |
1133 | ||
fcf70625 AC |
1134 | * gdbarch.sh (DEPRECATED_PC_IN_SIGTRAMP): Delete. |
1135 | * gdbarch.h, gdbarch.c: Re-generate. | |
1136 | * shnbsd-tdep.c (shnbsd_init_abi): Do not set pc_in_sigtramp. | |
1137 | (shnbsd_pc_in_sigtramp): Delete. | |
1138 | * i386-interix-tdep.c (i386_interix_init_abi): Do not set | |
1139 | pc_in_sigtramp. | |
1140 | * hppa-hpux-tdep.c (hppa_hpux_init_abi): Do not set | |
1141 | pc_in_sigtramp. | |
1142 | * frame.h: Update comments. | |
1143 | * ppc-linux-tdep.c: Update comments. | |
1144 | * breakpoint.c (bpstat_what): Update comments. | |
1145 | ||
ac5eccb7 AC |
1146 | * Makefile.in (m68klinux-tdep.o, m68klinux-nat.o): Fix |
1147 | m68klinux-tdep.o's dependencies, were previously added to | |
1148 | m68klinux-nat.o. | |
1149 | ||
f2524b93 AC |
1150 | * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Use pc_in_sigtramp. |
1151 | * alpha-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp. | |
1152 | * alphafbsd-tdep.c (alphafbsd_init_abi): Update. | |
1153 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Update. | |
1154 | * alpha-linux-tdep.c (alpha_linux_init_abi): Update. | |
1155 | ||
17e20bce AC |
1156 | * Makefile.in (m68klinux-nat.o): Update dependencies. |
1157 | * m68klinux-tdep.c: Include "trad-frame.h" and "frame-unwind.h". | |
1158 | (m68k_linux_sigtramp_frame_cache) | |
1159 | (m68k_linux_sigtramp_frame_this_id) | |
1160 | (m68k_linux_sigtramp_frame_prev_register) | |
1161 | (m68k_linux_sigtramp_frame_unwind) | |
1162 | (m68k_linux_sigtramp_frame_sniffer) | |
1163 | (struct m68k_linux_sigtramp_info, m68k_linux_init_abi): Code from | |
1164 | m68k-tdep.h and m68k-tdep.c, add "linux" to function and variable | |
1165 | names, use trad-frame.h. | |
1166 | * m68k-tdep.h (struct gdbarch_tdep): Delete get_sigtramp_info. | |
1167 | (struct m68k_sigtramp_info): Delete. | |
1168 | * m68k-tdep.c (m68k_sigtramp_frame_cache) | |
1169 | (m68k_sigtramp_frame_this_id, m68k_sigtramp_frame_prev_register) | |
1170 | (m68k_sigtramp_frame_unwind, m68k_sigtramp_frame_sniffer) | |
1171 | (m68k_gdbarch_init): Delete all the sigtramp code, moved to | |
1172 | "m68klinux-tdep.c". | |
1173 | ||
c8864fa2 AC |
1174 | * infrun.c (check_sigtramp2): Delete check for |
1175 | DEPRECATED_PC_IN_SIGTRAMP and INNER_THAN. | |
1176 | ||
511dd2cd MK |
1177 | 2004-05-01 Mark Kettenis <[email protected]> |
1178 | ||
1179 | * m68k-tdep.h (m68kbsd_fpreg_offset): New prototype. | |
1180 | ||
8c6b0e06 AC |
1181 | 2004-05-01 Andrew Cagney <[email protected]> |
1182 | ||
9df0bb3f AC |
1183 | * frv-linux-tdep.c: Include "trad-frame.h" and "frame-unwind.h". |
1184 | (frv_linux_sigtramp_frame_cache) | |
1185 | (frv_linux_sigtramp_frame_this_id) | |
1186 | (frv_linux_sigtramp_frame_prev_register) | |
1187 | (frv_linux_sigtramp_frame_unwind) | |
1188 | (frv_linux_sigtramp_frame_sniffer): Copied from frv-tdep.c, | |
1189 | include "linux" in function and variable names, directly call | |
1190 | frv_linux_pc_in_sigtramp and frv_linux_sigcontext_reg_addr, use | |
1191 | the latest trad-frame code. | |
1192 | (frv_linux_init_abi): Append frv_linux_sigtramp_frame_sniffer, do | |
1193 | not set frv_sigcontext_reg_addr or deprecated_pc_in_sigtramp | |
1194 | * Makefile.in (frv-linux-tdep.o): Update dependencies. | |
1195 | * frv-tdep.h (frv_set_sigcontext_reg_addr): Delete declaration. | |
1196 | * frv-tdep.c (frv_sigtramp_frame_cache) | |
1197 | (frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register) | |
1198 | (frv_sigtramp_frame_unwind, frv_sigtramp_frame_sniffer): Moved to | |
1199 | frv-linux-tdep.c. | |
1200 | (frv_gdbarch_init): Do not append a sigtramp sniffer. | |
1201 | (struct gdbarch_tdep): Delete sigcontext_reg_addr. | |
1202 | (frv_set_sigcontext_reg_addr): Delete function. | |
1203 | ||
8c6b0e06 AC |
1204 | * gdbarch.sh (DEPRECATED_SIGTRAMP_START) |
1205 | (DEPRECATED_SIGTRAMP_END): Delete. | |
1206 | * gdbarch.h, gdbarch.c: Re-generate. | |
1207 | * arch-utils.c (legacy_pc_in_sigtramp): Simplify. | |
1208 | * config/vax/tm-vaxbsd.h: Update copyright. | |
1209 | (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete. | |
1210 | (DEPRECATED_IN_SIGTRAMP): Define. | |
1211 | * config/m68k/tm-nbsd.h: Update copyright. | |
1212 | (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete. | |
1213 | (DEPRECATED_IN_SIGTRAMP): Define. | |
1214 | ||
50ea7769 MK |
1215 | 2004-05-01 Mark Kettenis <[email protected]> |
1216 | ||
03ac2a74 MK |
1217 | * dwarf2-frame.c (read_encoded_value): Handle DW_EH_PE_funcrel |
1218 | encondings. Fixes PR gdb/1628. | |
1219 | ||
50ea7769 MK |
1220 | * dwarf2-frame.c (execute_cfa_program): Complain if we encounter a |
1221 | DW_CFA_restore state without a matching DW_CFA_remember_state | |
1222 | instead of aborting. Fixes PR backtrace/1589. | |
1223 | ||
9a5d7be1 JB |
1224 | 2004-04-30 Joel Brobecker <[email protected]> |
1225 | ||
1226 | * MAINTAINERS: Add self as AIX maintainer. | |
1227 | Update my e-mail address in write-after-approval section. | |
1228 | ||
2593d1cd AC |
1229 | 2004-04-30 Andrew Cagney <[email protected]> |
1230 | ||
ce12bbf9 AC |
1231 | * frame.c (frame_type_from_pc): Delete call to PC_IN_SIGTRAMP. |
1232 | (legacy_get_prev_frame): Ditto. | |
1233 | ||
36710c63 AC |
1234 | * mips-tdep.c (mips_pc_in_sigtramp): Delete. |
1235 | (mips_gdbarch_init): Do not set pc_in_sigtramp. | |
1236 | * mipsread.c (sigtramp_address): Delete extern variable. | |
1237 | (mipscoff_new_init): Delete reference. | |
1238 | * mdebugread.c (sigtramp_address, sigtramp_end): Delete variables. | |
1239 | (fixup_sigtramp): Delete function. | |
1240 | * config/mips/tm-mips.h (sigtramp_address, sigtramp_end) | |
1241 | (fixup_sigtramp): Delete declarations. | |
1242 | ||
2593d1cd AC |
1243 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Do not set |
1244 | deprecated_pc_in_sigtramp. | |
1245 | (ppcnbsd_pc_in_sigtramp): Delete function. | |
1246 | ||
2a25f91c MK |
1247 | 2004-05-01 Mark Kettenis <[email protected]> |
1248 | ||
1249 | * config/m68k/nm-nbsd.h: Tweak comments. | |
1250 | * config/m68k/nm-nbsdaout.h: Likewise. | |
1251 | ||
0b281939 AC |
1252 | 2004-04-30 Andrew Cagney <[email protected]> |
1253 | ||
1254 | * arm-tdep.c (arm_sigtramp_unwind_sniffer): Call | |
1255 | legacy_pc_in_sigtramp. | |
1256 | * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Ditto. | |
1257 | ||
8f2d3ea0 MK |
1258 | 2004-05-01 Mark Kettenis <[email protected]> |
1259 | ||
1260 | Add OpenBSD/m68k support. | |
1261 | * NEWS (New native configurations): Mention OpenBSD/m68k. | |
1262 | * m68kbsd-tdep.c: New file. | |
1263 | * m68kbsd-nat.c: New file. | |
1264 | * Makefile.in (ALLDEPFILES): Add m68kbsd-nat.c and m68kbsd-tdep.c. | |
1265 | (m68kbsd-nat.o, m68kbsd-tdep.o): New dependencies. | |
1266 | * configure.host: Add m68k-*-openbsd. | |
1267 | * configure.tgt: Add m68k-*-openbsd. | |
1268 | * config/m68k/tm-obsd.h: New file. | |
1269 | * config/m68k/obsd.mt: New file. | |
1270 | * config/m68k/obsd.mh: New file. | |
1271 | * config/djgpp/fnchange.lst: Add entries for m68kbsd-nat.c and | |
1272 | m68kbsd-tdep.c. | |
1273 | ||
c40f49a4 AC |
1274 | 2004-04-30 Andrew Cagney <[email protected]> |
1275 | ||
1276 | * mipsnbsd-tdep.c (mipsnbsd_pc_in_sigtramp): Delete function. | |
1277 | (mipsnbsd_init_abi): Do not set pc_in_sigtramp. | |
1278 | ||
e81554cd MK |
1279 | 2004-04-30 Mark Kettenis <[email protected]> |
1280 | ||
1281 | * m68k-tdep.c (REMOTE_BPT_VECTOR): Remove define. | |
1282 | * config/m68k/tm-nbsd.h (REMOTE_BPT_VECTOR): Remove define. | |
1283 | ||
d4dc1a91 BF |
1284 | 2004-04-30 Brian Ford <[email protected]> |
1285 | ||
1286 | Revert 2004-04-16 change. | |
1287 | * i386-tdep.c (i386_gdbarch_init): Fix comment typos. | |
1288 | (i386_coff_init_abi): Remove. | |
1289 | * i386-tdep.h (i386_coff_init_abi): Remove. | |
1290 | * i386-cygwin-tdep.c (i386_cygwin_init_abi): Remove call to above. | |
1291 | ||
2f72f850 AC |
1292 | 2004-04-30 Andrew Cagney <[email protected]> |
1293 | ||
e492f9d6 AC |
1294 | * blockframe.c (find_pc_partial_function): Delete use of |
1295 | DEPRECATED_PC_IN_SIGTRAMP, DEPRECATED_SIGTRAMP_START and | |
1296 | DEPRECATED_SIGTRAMP_END. | |
1297 | ||
7b7adad0 AC |
1298 | * config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Delete. |
1299 | * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Delete. | |
1300 | * config/mips/tm-nbsd.h: Delete undef DEPRECATED_IN_SIGTRAMP. | |
1301 | * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Delete. | |
1302 | * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Delete. | |
1303 | ||
2f72f850 AC |
1304 | * defs.h (deprecated_inside_entry_file): Delete declaration. |
1305 | * blockframe.c (deprecated_inside_entry_file): Delete function. | |
1306 | (legacy_frame_chain_valid): Delete call. | |
1307 | * sh64-tdep.c (sh64_frame_chain): Delete call. | |
1308 | * objfiles.h: Update comments. | |
1309 | * i386-interix-tdep.c (i386_interix_frame_chain_valid): Delete | |
1310 | call. | |
1311 | * frame.c (get_prev_frame): Delete call, update comments. | |
1312 | ||
283f90a7 BF |
1313 | 2004-04-30 Brian Ford <[email protected]> |
1314 | ||
1315 | * MAINTAINERS (Write After Approval): Add myself. | |
1316 | ||
8ee56bcf AC |
1317 | 2004-04-30 Andrew Cagney <[email protected]> |
1318 | ||
1319 | * gdbarch.sh (BELIEVE_PCC_PROMOTION_TYPE): Delete. | |
1320 | * gdbarch.h, gdbarch.c: Re-generate. | |
1321 | * stabsread.c (define_symbol): Delete BELIEVE_PCC_PROMOTION_TYPE | |
1322 | code. | |
1323 | ||
ee27e1b6 AC |
1324 | 2004-04-30 Andrew Cagney <[email protected]> |
1325 | ||
1326 | * gdb-events.sh (selected_thread_changed) | |
1327 | (selected_frame_level_changed, target_changed): Delete. | |
1328 | * gdb-events.h, gdb-events.c: Re-generate. | |
1329 | * valops.c (value_assign): Update. | |
1330 | * stack.c (select_frame_command, up_silently_base) | |
1331 | (down_silently_base): Update. | |
1332 | ||
d5ac5a39 AC |
1333 | 2004-04-29 Andrew Cagney <[email protected]> |
1334 | ||
1335 | * mips-tdep.c (mips_register_type): Re-write, handle 32-bit ABI | |
1336 | registers correctly. | |
1337 | (print_gp_register_row, mips32_heuristic_proc_desc) | |
1338 | (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call) | |
1339 | (mips_o64_push_dummy_call, mips_eabi_push_dummy_call): Eliminate | |
1340 | references to mips_isa_regsize. | |
1341 | ||
ceae6e75 AC |
1342 | 2004-04-29 Andrew Cagney <[email protected]> |
1343 | ||
1344 | * mips-tdep.c (struct gdbarch_tdep): Delete | |
1345 | mips_fp_register_double. | |
1346 | (FP_REGISTER_DOUBLE): Delete macro, replace with test for | |
1347 | mips_abi_regsize. | |
1348 | (mips_gdbarch_init): Do not set mips_fp_register_double. | |
1349 | (mips_dump_tdep): Do not print FP_REGISTER_DOUBLE. | |
1350 | ||
a587af0b AC |
1351 | 2004-04-29 Joel Brobecker <[email protected]> |
1352 | ||
1353 | Committed by Andrew Cagney. | |
1354 | * infrun.c (handle_inferior_event): Rely on frame IDs to detect | |
1355 | function calls. | |
1356 | ||
13326b4e AC |
1357 | 2004-04-29 Andrew Cagney <[email protected]> |
1358 | ||
1359 | * mips-tdep.c (mips_abi_regsize): Replace tdep parameter with | |
1360 | gdbarch, use mips_abi, update callers. | |
1361 | (mips_stack_argsize): Replace tdep parameter with gdbarch, use | |
1362 | mips_abi_regsize, update callers. | |
1363 | (struct gdbarch_tdep): Delete mips_default_stack_argsize and | |
1364 | mips_default_abi_regsize. | |
1365 | (mips_gdbarch_init): Do not set mips_default_stack_argsize and | |
1366 | mips_default_abi_regsize. | |
1367 | ||
711cc5cd AC |
1368 | 2004-04-29 Andrew Cagney <[email protected]> |
1369 | ||
1b13c4f6 AC |
1370 | * mips-tdep.c (mips_abi_regsize): Rename mips_saved_regsize. |
1371 | (mips_abi_regsize_string): Rename mips_saved_regsize_string. | |
1372 | (struct gdbarch_tdep): Rename mips_default_saved_regsize to | |
1373 | mips_default_abi_regsize. | |
1374 | (mips_isa_regsize): Rename mips_regisze. | |
1375 | * mipsnbsd-tdep.c: Update. | |
1376 | * mips-linux-tdep.c: Update. | |
1377 | * irix5-nat.c: Update. | |
1378 | * mips-tdep.h (mips_isa_regsize): Update. | |
1379 | ||
711cc5cd AC |
1380 | * gdb-events.sh (WITH_GDB_EVENTS): Delete macro and references. |
1381 | Delete all disabled code. | |
1382 | * gdb-events.h, gdb-events.c: Re-generate. | |
1383 | ||
e63bbc88 MK |
1384 | 2004-04-19 Jerome Guitton <[email protected]> |
1385 | Mark Kettenis <[email protected]> | |
1386 | ||
1387 | * i386-tdep.c (i386_skip_prologue): follow the last jump only if | |
1388 | the function begins with a branch instruction. | |
1389 | ||
fd35795f MK |
1390 | 2004-04-29 Mark Kettenis <[email protected]> |
1391 | ||
1392 | * i386-tdep.c: Fix spelling mistakes. | |
1393 | ||
c960c18f AC |
1394 | 2004-04-28 Rainer Orth <[email protected]> |
1395 | Andrew Cagney <[email protected]> | |
1396 | ||
1397 | * configure.in (mips-sgi-irix5*): Define _KMEMUSER for | |
1398 | <sys/proc.h>. | |
1399 | * acconfig.h: Provide default _KMEMUSER value. | |
1400 | * config.in, configure: Re-generate. | |
1401 | * NEWS: Mention fix. | |
1402 | ||
50306a9d RC |
1403 | 2004-04-24 Randolph Chung <[email protected]> |
1404 | ||
1405 | * configure.host (hppa*-*-linux*): New target. | |
1406 | * configure.tgt (hppa*-*-linux*): Likewise. | |
1407 | * hppa-tdep.c (hppa_gdbarch_init): Set cannot_fetch_register, move | |
1408 | gdbarch_init_osabi() call earlier so that osabi-specific frame | |
1409 | unwinders can be registered first. | |
1410 | * config/djgpp/fnchange.lst: Add entries for hppa-linux-tdep.c and | |
1411 | hppa-linux-nat.c. | |
1412 | * config/pa/tm-hppa.h (ISR_REGNUM, PID0_REGNUM, PID1_REGNUM) | |
1413 | (PID2_REGNUM, PID3_REGNUM): Add definitions of some register numbers. | |
1414 | * config/pa/linux.mh: New file. | |
1415 | * config/pa/linux.mt: New file. | |
1416 | * config/pa/nm-linux.h: New file. | |
1417 | * config/pa/xm-linux.h: New file. | |
1418 | * hppa-linux-nat.c: New file. | |
1419 | * hppa-linux-tdep.c: New file. | |
1420 | ||
2a6228ef RC |
1421 | 2004-04-28 Randolph Chung <[email protected]> |
1422 | ||
1423 | * hppa-tdep.c (hppa32_return_value): Handle both 4- and 8-byte fp | |
1424 | return values. | |
1425 | (hppa32_push_dummy_call): Fix small struct and floating point argument | |
1426 | passing, and make sure the stack frame is properly aligned. | |
1427 | ||
82c10df6 AC |
1428 | 2004-04-28 Andrew Cagney <[email protected]> |
1429 | ||
d762c46a AC |
1430 | * stack.c (print_stack_frame): Fix description. |
1431 | ||
82c10df6 AC |
1432 | * NEWS: Mention gdb/gdbserver/configure execute permission |
1433 | changed. PR server/519. | |
1434 | ||
0faf0076 AC |
1435 | 2004-04-28 Andrew Cagney <[email protected]> |
1436 | ||
1437 | * stack.c (print_stack_frame_stub): Delete declaration. | |
1438 | (struct print_stack_frame_args, print_stack_frame) | |
1439 | (print_frame_info, print_frame): Replace "source" with print what. | |
1440 | Replace "print" with "print_level". Replace "args" with | |
1441 | "print_args". | |
1442 | * frame.h (show_and_print_stack_frame, print_stack_frame) | |
1443 | (print_frame_info): Update declarations. | |
1444 | * stack.c (select_and_print_frame, frame_command) | |
1445 | (current_frame_command, up_command, down_command): Update calls - | |
1446 | use get_selected_frame, pass "enum print_what" for source, do not | |
1447 | call frame_relative_level. | |
1448 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Ditto. | |
1449 | * remote-rdp.c (remote_rdp_open): Ditto. | |
1450 | * remote-mips.c (common_open): Ditto. | |
1451 | * remote-e7000.c (e7000_start_remote): Ditto. | |
1452 | * ocd.c (ocd_start_remote): Ditto. | |
1453 | * mi/mi-main.c (mi_cmd_exec_return): Ditto. | |
1454 | * infrun.c (normal_stop): Ditto. | |
1455 | * inflow.c (kill_command): Ditto. | |
1456 | * infcmd.c (finish_command): Ditto. | |
1457 | * corelow.c (core_open): Ditto. | |
1458 | * tracepoint.c (finish_tfind_command): Ditto. | |
1459 | * thread.c (info_threads_command, info_threads_command) | |
1460 | (restore_current_thread, do_captured_thread_select): Ditto. | |
1461 | * ada-tasks.c (task_command): Ditto. | |
1462 | ||
f4c5303c OF |
1463 | 2004-04-26 Orjan Friberg <[email protected]> |
1464 | ||
1465 | * frame.c: Include "observer.h". | |
1466 | (frame_observer_target_changed): New function. | |
1467 | (_initialize_frame): Attach target_changed observer. | |
1468 | * regcache.c: Include "observer.h". | |
1469 | (regcache_observer_target_changed): New function. | |
1470 | (_initialize_regcache): Attach target_changed observer. | |
1471 | * valops.c: Include "observer.h". | |
1472 | (value_assign): Notify target_changed event when modifying register. | |
1473 | * Makefile.in (frame.o, regcache.o, valops.o): Add $(observer_h). | |
1474 | ||
7270d8f2 OF |
1475 | 2004-04-26 Orjan Friberg <[email protected]> |
1476 | ||
1477 | From Paul Koning <[email protected]>: | |
1478 | * breakpoint.c (free_valchain): New function. | |
1479 | (insert_bp_location, delete_breakpoint): Use free_valchain. | |
1480 | (remove_breakpoint): Do not remove the valchain. | |
1481 | (bpstat_stop_status): If not stopped by watchpoint, skip | |
1482 | watchpoints when generating stop status list. | |
1483 | * infrun.c (handle_inferior_event): Make | |
1484 | stepped_after_stopped_by_watchpoint a global variable. | |
1485 | * remote.c (remote_stopped_data_address): Return watch data | |
1486 | address rather than zero if stepped_after_stopped_by_watchpoint is | |
1487 | set. | |
1488 | ||
02d62932 MC |
1489 | 2004-04-25 Michael Chastain <[email protected]> |
1490 | ||
1491 | Fix PR gdb/1626. | |
1492 | * configure.in: Check for curses after termcap. | |
1493 | On osf5.*, do not check for ncurses. | |
1494 | * configure: Regenerate. | |
1495 | ||
3e9a183c MK |
1496 | 2004-04-25 Mark Kettenis <[email protected]> |
1497 | ||
c79ac407 MK |
1498 | * ppcobsd-nat.c: Include "ppc-tdep.h". |
1499 | * Makefile.in (ppcobsd-nat.o): Update dependencies. | |
1500 | ||
3e9a183c MK |
1501 | * stack.c (return_command): Use CHECK_TYPEDEF on the return type. |
1502 | Fixes PR tdep/1623 and PR tdep/1624. | |
1503 | ||
38cc9c28 MC |
1504 | 2004-04-24 Michael Chastain <[email protected]> |
1505 | ||
1506 | * xmodem.h, xmodem.c: Remove files. | |
1507 | * Makefile.in: Remove references to xmodem.h, xmodem.c. | |
1508 | ||
7f07c5b6 RC |
1509 | 2004-04-23 Randolph Chung <[email protected]> |
1510 | ||
1511 | * hppa-tdep.c (hppa_stub_unwind_cache, hppa_stub_frame_unwind_cache) | |
1512 | (hppa_stub_frame_this_id, hppa_stub_frame_prev_register) | |
1513 | (hppa_stub_frame_unwind, hppa_stub_unwind_sniffer): New stub unwinder | |
1514 | for handling stackless frames. | |
1515 | (hppa_gdbarch_init): Link in hppa_stub_unwind_sniffer. | |
1516 | ||
9f7194c3 RC |
1517 | 2004-04-23 Randolph Chung <[email protected]> |
1518 | ||
1519 | * hppa-tdep.c (hppa_frame_cache): Handle the case when frame unwind | |
1520 | starts at a pc before the frame is created. | |
1521 | ||
dcff6009 JB |
1522 | 2004-04-23 Joel Brobecker <[email protected]> |
1523 | ||
1524 | * ChangeLog-2002: Fix year in one of the ChangeLog entries. | |
1525 | ||
65951cd9 JG |
1526 | 2004-04-23 Jerome Guitton <[email protected]> |
1527 | ||
1528 | * rs6000-tdep.c (rs6000_extract_return_value): When extracting a float, | |
1529 | use convert_typed_floating to get the appropriate format. | |
1530 | ||
abc485a1 RC |
1531 | 2004-04-22 Randolph Chung <[email protected]> |
1532 | ||
1533 | * hppa-tdep.h (find_unwind_entry, hppa_get_field, hppa_extract_5_load) | |
1534 | (hppa_extract_5R_store, hppa_extract_5r_store, hppa_extract_17) | |
1535 | (hppa_extract_21, hppa_extract_14, hppa_low_sign_extend) | |
1536 | (hppa_sign_extend): Add prototype. | |
1537 | * hppa-tdep.c (get_field, extract_5_load, extract_5R_store) | |
1538 | (extract_5r_store, extract_17, extract_21, extract_14, low_sign_extend) | |
1539 | (sign_extend): Rename with hppa_ prefix and make non-static. Other | |
1540 | hppa targets will also use these functions. | |
1541 | (find_unwind_entry): Remove prototype (moved to hppa-tdep.h). | |
1542 | (hppa_in_solib_call_trampoline, hppa_in_solib_return_trampoline) | |
1543 | (hppa_skip_trampoline_code): Move to hppa-hpux-tdep.c | |
1544 | (hppa_gdbarch_init): Remove gdbarch setting of | |
1545 | skip_trampoline_code, in_solib_call_trampoline and | |
1546 | in_solib_return_trampoline. | |
1547 | * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline) | |
1548 | (hppa64_hpux_in_solib_call_trampoline): New functions, split from | |
1549 | hppa_in_solib_call_trampoline. | |
1550 | (hppa_hpux_in_solib_return_trampoline, hppa_hpux_skip_trampoline_code): | |
1551 | Moved from hppa-tdep.c. | |
1552 | (hppa_hpux_init_abi): Set gdbarch for skip_trampoline_code, | |
1553 | in_solib_call_trampoline and in_solib_return_trampoline. | |
1554 | ||
369aa520 RC |
1555 | 2004-04-22 Randolph Chung <[email protected]> |
1556 | ||
1557 | * hppa-tdep.c (hppa_debug): New variable. | |
1558 | (find_unwind_entry, hppa_frame_cache): Add debug output. | |
1559 | (_initialize_hppa_tdep): Add command to set debug flag. | |
1560 | ||
476be15e AC |
1561 | 2004-04-22 Andrew Cagney <[email protected]> |
1562 | ||
1563 | * ppcnbsd-tdep.c: Update copyright. Include "tramp-frame.h" and | |
1564 | "trad-frame.h". | |
1565 | (ppcnbsd_sigtramp_cache_init, ppcnbsd_sigtramp): Implement a NetBSD | |
1566 | signal trampoline unwinder. | |
1567 | (ppcnbsd_init_abi): Register ppcnbsd_sigtramp. | |
1568 | ||
d195bc9f MK |
1569 | 2004-04-22 Mark Kettenis <[email protected]> |
1570 | ||
1571 | Add OpenBSD/powerpc support. | |
1572 | * NEWS (New native configurations): Mention OpenBSD/powerpc. | |
1573 | * ppc-tdep.h (struct ppc_reg_offsets): New structure. | |
1574 | (ppc_supply_gregset, ppc_supply_fpregset, ppc_collect_gregset) | |
1575 | (ppc_collect_fpregset): New prototypes. | |
1576 | * ppcobsd-nat.c: New file. | |
1577 | * ppcobsd-tdep.c: New file. | |
1578 | * ppcobsd-tdep.h: New file. | |
1579 | * rs6000-tdep.c: Include "regset.h". | |
1580 | (ppc_supply_reg, ppc_collect_reg, ppc_supply_gregset) | |
1581 | (ppc_supply_fpregset, ppc_collect_gregset, ppc_collect_fpregset): | |
1582 | New functions. | |
1583 | * Makefile.in (ALLDEPFILES): Add pccobsd-nat.c and ppcobsd-tdep.c. | |
1584 | (ppcobsd-nat.o, ppcobsd-tdep.o): New dependencies. | |
1585 | (rs6000-tdep.o): Update dependencies. | |
1586 | * configure.host: Add powerpc-*-openbsd. | |
1587 | * configure.tgt: Add powerpc-*-openbsd. | |
1588 | * config/powerpc/obsd.mh: New file. | |
1589 | * config/powerpc/nm-obsd.h: New file. | |
1590 | * config/powerpc/obsd.mt: New file. | |
1591 | ||
6f14cc33 AC |
1592 | 2004-04-22 Andrew Cagney <[email protected]> |
1593 | ||
fcf29e5f AC |
1594 | * frame.h (show_frame_info): Delete declaration. |
1595 | ||
6f14cc33 AC |
1596 | * arm-tdep.c (arm_prologue_this_id): Delete redundant cycle test. |
1597 | * m68hc11-tdep.c (m68hc11_frame_this_id): Ditto. | |
1598 | * m32r-tdep.c (m32r_frame_this_id): Ditto. | |
1599 | * frv-tdep.c (frv_frame_this_id): Ditto. | |
1600 | * avr-tdep.c (avr_frame_this_id): Ditto. | |
1601 | ||
e5786a5c EZ |
1602 | 2004-04-22 Elena Zannoni <[email protected]> |
1603 | ||
1604 | * MAINTAINERS: Drop maintenance of gdb.stabs, and linespec.c. | |
1605 | ||
26e75e5c JB |
1606 | 2004-04-22 Jim Blandy <[email protected]> |
1607 | ||
1608 | * ppc-linux-nat.c (ppc_register_u_addr): Don't assume that r0 is | |
1609 | register number zero. | |
1610 | ||
d8d65dd3 MS |
1611 | 2004-04-21 Michael Snyder <[email protected]> |
1612 | ||
1613 | * mips-tdep.c (heuristic_proc_start): | |
1614 | Warning() already prefixes "Warning: ". | |
1615 | ||
9a4105ab AC |
1616 | 2004-04-21 Andrew Cagney <[email protected]> |
1617 | ||
1618 | * annotate.h (deprecated_annotate_starting_hook) | |
1619 | (deprecated_annotate_stopped_hook) | |
1620 | (deprecated_annotate_exited_hook) | |
1621 | (deprecated_annotate_signal_hook) | |
1622 | (deprecated_annotate_signalled_hook): Deprecate. | |
1623 | * tracepoint.h (deprecated_create_tracepoint_hook) | |
1624 | (deprecated_delete_tracepoint_hook) | |
1625 | (deprecated_modify_tracepoint_hook) | |
1626 | (deprecated_trace_find_hook) | |
1627 | (deprecated_trace_start_stop_hook): Deprecate. | |
1628 | * target.h (deprecated_target_new_objfile_hook): Deprecate. | |
1629 | * remote.h (deprecated_target_resume_hook) | |
1630 | (deprecated_target_wait_loop_hook): Deprecate. | |
1631 | * gdbcore.h (deprecated_exec_file_display_hook) | |
1632 | (deprecated_file_changed_hook): Deprecate. | |
1633 | * frame.h (deprecated_selected_frame_level_changed_hook): Deprecate. | |
1634 | * defs.h (deprecated_modify_breakpoint_hook) | |
1635 | (deprecated_command_loop_hook, deprecated_show_load_progress) | |
1636 | (deprecated_print_frame_info_listing_hook) | |
1637 | (deprecated_query_hook, deprecated_warning_hook) | |
1638 | (deprecated_flush_hook, deprecated_create_breakpoint_hook) | |
1639 | (deprecated_delete_breakpoint_hook) | |
1640 | (deprecated_interactive_hook, deprecated_registers_changed_hook) | |
1641 | (deprecated_readline_begin_hook, deprecated_readline_hook) | |
1642 | (deprecated_readline_end_hook, deprecated_register_changed_hook) | |
1643 | (deprecated_memory_changed_hook, deprecated_init_ui_hook) | |
1644 | (deprecated_context_hook, deprecated_target_wait_hook) | |
1645 | (deprecated_attach_hook, deprecated_detach_hook) | |
1646 | (deprecated_call_command_hook, deprecated_set_hook) | |
1647 | (deprecated_error_hook, deprecated_error_begin_hook) | |
1648 | (deprecated_ui_load_progress_hook): Deprecate. | |
1649 | * valops.c, uw-thread.c, utils.c, tui/tui-io.c: Update. | |
1650 | * tui/tui-hooks.c, tracepoint.c, top.c, thread-db.c: Update. | |
1651 | * target.c, symfile.c, stack.c, sol-thread.c, rs6000-nat.c: Update. | |
1652 | * remote.c, remote-mips.c, regcache.c, mi/mi-interp.c: Update. | |
1653 | * main.c, interps.c, infcmd.c, hpux-thread.c, frame.c: Update. | |
1654 | * exec.c, dsrec.c, d10v-tdep.c, corefile.c, complaints.c: Update. | |
1655 | * cli/cli-script.c, cli/cli-setshow.c, breakpoint.c: Update. | |
1656 | * annotate.c, aix-thread.c: Update. | |
1657 | ||
62cf13cc AC |
1658 | 2004-04-21 Andrew Cagney <[email protected]> |
1659 | ||
b2e31a62 AC |
1660 | * Makefile.in (vaxnbsd-tdep.o): Update dependencies. |
1661 | * vaxnbsd-tdep.c: Include "gdb_string.h". | |
1662 | ||
62cf13cc AC |
1663 | * symfile.c (symbol_file_add_from_memory): #if 0 function. |
1664 | (add_symbol_file_from_memory_command): #if 0 function body, call | |
1665 | error instead. | |
1666 | ||
00e32a35 AC |
1667 | 2004-04-21 Andrew Cagney <[email protected]> |
1668 | ||
1669 | * gdbcore.h: Update copyright. | |
1670 | (deprecated_add_core_fns): Rename add_core_fns. | |
1671 | * win32-nat.c (_initialize_core_win32): Update. | |
1672 | * sun3-nat.c (_initialize_core_sun3): Update. | |
1673 | * shnbsd-tdep.c (_initialize_shnbsd_tdep): Update. | |
1674 | * rs6000-nat.c (_initialize_core_rs6000): Update. | |
1675 | * ppcnbsd-tdep.c (_initialize_ppcnbsd_tdep): Update. | |
1676 | * nto-tdep.c (_initialize_nto_tdep): Update. | |
1677 | * ns32knbsd-nat.c (_initialize_ns32knbsd_nat): Update. | |
1678 | * mipsnbsd-tdep.c (_initialize_mipsnbsd_tdep): Update. | |
1679 | * mips-nat.c (_initialize_core_mips): Update. | |
1680 | * mips-linux-tdep.c (_initialize_mips_linux_tdep): Update. | |
1681 | * m68knbsd-nat.c (_initialize_m68knbsd_nat): Update. | |
1682 | * m68klinux-nat.c (_initialize_m68k_linux_nat): Update. | |
1683 | * lynx-nat.c (_initialize_core_lynx): Update. | |
1684 | * irix5-nat.c (_initialize_core_irix5): Update. | |
1685 | * i386-interix-nat.c (_initialize_core_interix): Update. | |
1686 | * cris-tdep.c (_initialize_cris_tdep): Update. | |
1687 | * corelow.c (deprecated_add_core_fns): Update. | |
1688 | * core-regset.c (_initialize_core_regset): Update. | |
1689 | * core-aout.c (_initialize_core_aout): Update. | |
1690 | * armnbsd-nat.c (_initialize_arm_netbsd_nat): Update. | |
1691 | * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Update. | |
1692 | * alpha-nat.c (_initialize_core_alpha): Update. | |
1693 | ||
13c7b1ca JB |
1694 | 2004-04-21 Jim Blandy <[email protected]> |
1695 | ||
1696 | * rs6000-tdep.c (registers_e500, registers_7400): Doc fixes. | |
1697 | ||
7b5a2f43 DJ |
1698 | 2004-04-19 Daniel Jacobowitz <[email protected]> |
1699 | ||
1700 | * dwarf2read.c (dwarf2_tmp_obstack, dwarf2_free_tmp_obstack): | |
1701 | Delete. | |
1702 | (dwarf_alloc_block): Take a CU argument. Use the comp_unit_obstack. | |
1703 | (read_attribute_value): Update calls to dwarf_alloc_block. | |
1704 | (dwarf2_build_psymtabs_hard): Don't initialize or clean up | |
1705 | dwarf2_tmp_obstack. | |
1706 | (psymtab_to_symtab_1): Likewise. Clean up using | |
1707 | free_stack_comp_unit. | |
1708 | (add_to_cu_func_list): Use the comp_unit_obstack. | |
1709 | ||
05cf31d1 JB |
1710 | 2004-04-19 Joel Brobecker <[email protected]> |
1711 | ||
1712 | * dwarf2read.c (dwarf2_flag_true_p): New function. | |
1713 | (die_is_declaration): Use the function above. Add some comments. | |
1714 | ||
adf93a2f MK |
1715 | 2004-04-19 Mark Kettenis <[email protected]> |
1716 | ||
1717 | * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Specify | |
1718 | architecture when registering sparcnbsd_core_osabi_sniffer. | |
1719 | Adjust comment. | |
1720 | ||
748894bf MK |
1721 | 2004-04-18 Mark Kettenis <[email protected]> |
1722 | ||
f622ad42 MK |
1723 | * infcall.c (find_function_addr): Add FUNCTION_START_OFFSET to |
1724 | return value. | |
1725 | ||
c4fc7f1b MK |
1726 | Based on a patch from Brian Ford <[email protected]>: |
1727 | * i386-tdep.c: Correct register numbering scheme comments | |
1728 | throughout. | |
1729 | (i386_stab_reg_to_regnum): Rename to i386_dbx_reg_to_regnum. | |
1730 | (i386_dwarf_reg_to_regnum): Rename to i386_svr4_reg_to_regnum. | |
1731 | (i386_coff_init_abi, i386_elf_init_abi): Accomodate renames above. | |
1732 | (i386_gdb_arch_init): Likewise. | |
1733 | ||
b4ead1bd MK |
1734 | * Makefile.in (ALLDEPFILES): List ppc-sysv-tdep.c, ppcnbsd-nat.c |
1735 | and ppcnbsd-tdep.c instead of ppc-sysv-tdep.o, ppcnbsd-nat.o and | |
1736 | ppcnbsd-tdep.o. | |
1737 | ||
748894bf MK |
1738 | * m68k-tdep.h: Tweak comments. |
1739 | * m68k-tdep.c: Tweak comment. | |
1740 | ||
fdd72f95 RC |
1741 | 2004-04-17 Randolph Chung <[email protected]> |
1742 | ||
1743 | * Makefile.in (hppa-hpux-tdep.o): Add $(hppa_tdep_h). | |
1744 | * hppa-hpux-tdep.c (hppa-tdep.h): Include. | |
1745 | (hppa_hpux_som_init_abi): Set is_elf to 0. | |
1746 | (hppa_hpux_elf_init_abi): Set is_elf to 1. | |
1747 | * hppa-tdep.c (low_text_segment_address): Remove global. | |
1748 | (record_text_segment_lowaddr): Pass in low address as parameter. Use | |
1749 | section offset to calculate segment address. | |
1750 | (internalize_unwinds): Define low_text_segment_address as local and | |
1751 | pass to record_text_segment_lowaddr for ELF targets. | |
1752 | (hppa_gdbarch_init): Zero fill tdep structure. | |
1753 | (hppa_dump_tdep): Print tdep structure. | |
1754 | * hppa-tdep.h (gdbarch_tdep): Add is_elf member to tdep structure. | |
1755 | ||
0f8d9d59 RC |
1756 | 2004-04-17 Randolph Chung <[email protected]> |
1757 | ||
1758 | * hppa-tdep.c (hppa_pseudo_register_read): Define. | |
1759 | (hppa_gdbarch_init): Set pseudo_register_read. | |
1760 | * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Remove. | |
1761 | * regcache.c (supply_register): Remove check for | |
1762 | DEPRECATED_CLEAN_UP_REGISTER_VALUE since we've removed the last user. | |
1763 | ||
7c46b9fb RC |
1764 | 2004-04-17 Randolph Chung <[email protected]> |
1765 | ||
1766 | * Makefile.in (hpread.o, pa64solib.o, somsolib.o): Add $(hppa_tdep_h) | |
1767 | * hppa-tdep.h (INSTRUCTION_SIZE): Move from tm-hppa.h. | |
1768 | (hpread_adjust_stack_address): Move to hpread.c. | |
1769 | * hppa-tdep.h (unwind_table_entry, unwind_stub_types, obj_unwind_info, | |
1770 | obj_private_struct): Move from tm-hppa.h. | |
1771 | * hpread.c (hppa-tdep.h): Include. | |
1772 | (hpread_adjust_stack_address): Move from hppa-tdep.c. | |
1773 | (hpread_read_function_type, hpread_read_doc_function_type) | |
1774 | (hpread_process_one_debug_symbol): Call hpread_adjust_stack_address | |
1775 | directly. | |
1776 | * pa64solib.c (hppa-tdep.h): Include. | |
1777 | * somsolib.c (hppa-tdep.h): Include. | |
1778 | * config/pa/tm-hppa.h (frame_info, frame_saved_regs, value, type, | |
1779 | inferior_status): Remove unused forward declarations. | |
1780 | (INSTRUCTION_SIZE): Move to hppa-tdep.c. | |
1781 | (unwind_table_entry, unwind_stub_types, obj_unwind_info, | |
1782 | obj_private_struct): Move to hppa-tdep.h. | |
1783 | (HPREAD_ADJUST_STACK_ADDRESS): Remove. | |
1784 | ||
8d153463 RC |
1785 | 2004-04-17 Randolph Chung <[email protected]> |
1786 | ||
1787 | * hppa-tdep.c (hppa_reg_struct_has_addr, hppa_skip_prologue) | |
1788 | (hppa_skip_trampoline_code, hppa_in_solib_call_trampoline) | |
1789 | (hppa_in_solib_return_trampoline, hppa_cannot_store_register) | |
1790 | (hppa_smash_text_address, hppa_target_read_pc, hppa_target_write_pc): | |
1791 | Remove forward declaration and make static. | |
1792 | (hppa_reg_struct_has_addr): Remove. | |
1793 | ||
350c2e5b JB |
1794 | 2004-04-16 Joel Brobecker <[email protected]> |
1795 | ||
1796 | * observer.sh: Move comments in sed command to first column. | |
1797 | ||
bbde78fa JM |
1798 | 2004-04-16 Jason Molenda ([email protected]) |
1799 | ||
1800 | * frame.c: Minor typeo corrections in comments. | |
1801 | ||
e0270fd9 JB |
1802 | 2004-04-16 Joel Brobecker <[email protected]> |
1803 | ||
1804 | * observer.c (observer_test_first_notification_function): Update | |
1805 | function profile. | |
1806 | (observer_test_second_notification_function): Likewise. | |
1807 | (observer_test_third_notification_function): Likewise. | |
1808 | ||
3d049254 MK |
1809 | 2004-04-16 Mark Kettenis <[email protected]> |
1810 | ||
1811 | From Brian Ford <[email protected]>: | |
1812 | * i386-tdep.c (i386_coff_init_abi): New function. | |
1813 | * i386-tdep.h (i386_coff_init_abi): New prototype. | |
1814 | * i386-cygwin-tdep.c (i386_cygwin_init_abi): Call it. Use correct | |
1815 | register number translation functions for DWARF and DWARF 2. | |
1816 | ||
7867684d JB |
1817 | 2004-04-16 Joel Brobecker <[email protected]> |
1818 | ||
1819 | * dwarf2read.c: Back out my previous change, it was incorrect. | |
1820 | ||
72bf9492 DJ |
1821 | 2004-04-16 Daniel Jacobowitz <[email protected]> |
1822 | ||
1823 | * dwarf2read.c: Include "hashtab.h". | |
1824 | (struct dwarf2_cu): Add partial_dies, comp_unit_obstack, | |
1825 | has_namespace_info. | |
1826 | (struct partial_die_info): Add comments. Use bitfields to reduce | |
1827 | memory footprint. Add scope, scope_set, has_specification, | |
1828 | spec_offset, die_parent, die_child, and die_sibling. | |
1829 | (peek_die_abbrev): Add prototype. | |
1830 | (partial_read_comp_unit_head): New function, broken out from | |
1831 | dwarf2_build_psymtabs_hard. | |
1832 | (dwarf2_build_psymtabs_hard): Remove unused variable abbrev_ptr. | |
1833 | Use partial_read_comp_unit_head. Initialize the CU and | |
1834 | comp_unit_obstack. Update calls to read_partial_die and | |
1835 | scan_partial_symbols. Use free_stack_comp_unit and | |
1836 | load_partial_dies. | |
1837 | (scan_partial_symbols): Change PDI to a pointer. Use the child and | |
1838 | sibling pointers to walk partial DIEs. Call fixup_partial_die. | |
1839 | Update calls to helper functions. Remove NAMESPACE argument. | |
1840 | Update comments. | |
1841 | (partial_die_parent_scope, partial_die_full_name): New functions. | |
1842 | (add_partial_symbol): Remove namespace argument. Update call to | |
1843 | pdi_needs_namespace. Use partial_die_full_name. Handle | |
1844 | DW_TAG_namespace. Check has_namespace_info flag. | |
1845 | (pdi_needs_namespace): Remove NAMESPACE argument. Just check the | |
1846 | tag. Handle namespaces. | |
1847 | (add_partial_namespace, add_partial_enumeration): Simplify. | |
1848 | (guess_structure_name): New function, derived from | |
1849 | add_partial_structure. | |
1850 | (add_partial_structure): Remove. | |
1851 | (determine_class_name): Update comment. | |
1852 | (dwarf2_read_abbrevs): Set has_namespace_info flag. | |
1853 | (is_type_tag_for_partial, load_partial_dies): New functions. | |
1854 | (read_partial_die): Pass abbrev and abbrev_len as arguments. | |
1855 | Record specifications instead of following them immediately. | |
1856 | (find_partial_die_in_comp_unit, find_partial_die) | |
1857 | (fixup_partial_die, free_stack_comp_unit) | |
1858 | (hashtab_obstack_allocate, dummy_obstack_deallocate) | |
1859 | (partial_die_hash, partial_die_eq): New functions. | |
1860 | * Makefile.in (hashtab_h): Define. | |
1861 | (dwarf2read.o): Update dependencies. | |
1862 | (observer_inc, observer_h): Move to the correct section. | |
1863 | ||
fdc860a3 JB |
1864 | 2004-04-15 Joel Brobecker <[email protected]> |
1865 | ||
1866 | * dwarf2read.c (dwarf2_attribute_true_p): New function. | |
1867 | (die_is_declaration): Use the function above. Add comment. | |
1868 | ||
dc718098 JB |
1869 | 2004-04-15 Joel Brobecker <[email protected]> |
1870 | ||
1871 | * dwarf2read.c (read_structure_scope): Identify stub types | |
1872 | using die_is_declaration() only. | |
1873 | ||
8718a420 RM |
1874 | 2004-04-15 Roland McGrath <[email protected]> |
1875 | ||
1876 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Take ABFD as | |
1877 | argument instead of NAME. | |
1878 | (symbol_file_add, reread_separate_symbols): Call symfile_bfd_open | |
1879 | in call to symbol_file_add_with_addrs_or_offsets. | |
1880 | (build_addr_info): New function, helper for ... | |
1881 | (symbol_file_add_from_memory): New function. | |
1882 | (add_symbol_file_from_memory_command): New function using that. | |
1883 | (_initialize_symfile): Register it for add-symbol-file-from-memory. | |
1884 | (pre_add_symbol_hook): Add const to argument type. | |
1885 | * symfile.h (symbol_file_add_from_memory): Declare it. | |
1886 | ||
8b910bab MK |
1887 | 2004-04-15 Mark Kettenis <[email protected]> |
1888 | ||
9f076e7a MK |
1889 | * NEWS (New native configurations): Mention OpenBSD/vax. |
1890 | * configure.host: Add vax-*-openbsd*. | |
1891 | * config/vax/obsd.mh: New file. | |
1892 | * config/vax/nm-obsd.h: New file. | |
1893 | ||
8b910bab MK |
1894 | * vax-tdep.c: Include "regset.h". |
1895 | (vax_supply_gregset): New function. | |
1896 | (vax_gregset): New variable. | |
1897 | (vax_regset_from_core_section): New function. | |
1898 | (vax_gdbarch_init): Set regset_from_core_section. | |
1899 | * Makefile.in (vax-tdep.o): Update dependencies. | |
1900 | ||
7a464420 AC |
1901 | 2004-04-15 Andrew Cagney <[email protected]> |
1902 | ||
1903 | * observer.c (normal_stop_subject, observer_notify_normal_stop) | |
1904 | (observer_normal_stop_notification_stub) | |
1905 | (observer_attach_normal_stop, observer_detach_normal_stop): | |
1906 | Delete, replaced by #include "observer.inc". | |
1907 | * infrun.c (normal_stop): Pass "stop_bpstat" to | |
1908 | observer_notify_normal_stop. | |
1909 | * Makefile.in (observer_inc): Define. | |
1910 | (observer.o): Update dependencies. | |
1911 | (observer.h, observer.inc): New rules. | |
1912 | * observer.h: Delete file. | |
1913 | * observer.sh: New file. | |
1914 | ||
e36ad527 MK |
1915 | 2004-04-15 Mark Kettenis <[email protected]> |
1916 | ||
1917 | * vax-tdep.c (vax_frame_cache): Fix typo. | |
1918 | ||
67b441e1 MK |
1919 | 2004-04-14 Mark Kettenis <[email protected]> |
1920 | ||
6f606e1c MK |
1921 | * NEWS (New native configurations): Mention NetBSD/vax. |
1922 | * configure.host: Add vax-*-netbsdelf* and vax-*-netbsd*. | |
1923 | * config/vax/nbsdelf.mh: New file. | |
1924 | * config/vax/nbsdaout.mh: New file. | |
1925 | * config/vax/nm-nbsd.h: New file. | |
1926 | * config/vax/nm-nbsdaout.h: New file. | |
1927 | ||
9c5519a5 MK |
1928 | * vaxnbsd-tdep.c: New file. |
1929 | * Makefile.in (vaxnbsd-tdep.o): New dependency. | |
1930 | * configure.tgt: Add vax-*-netbsd* and vax-*-openbsd*. | |
1931 | * config/vax/nbsd.mt: New file. | |
1932 | * config/vax/tm-nbsd.h: New file. | |
1933 | ||
4844a614 MK |
1934 | * Makefile.in (vaxbsd-nat.o): New dependency. |
1935 | ||
67b441e1 MK |
1936 | * vax-tdep.h (vax_regnum): Add VAX_R0_REGNUM and VAX_R1_REGNUM. |
1937 | * vax-tdep.c (vax_store_arguments): Remove struct_return and | |
1938 | struct_addr arguments. Don't push return value address. | |
1939 | (vax_push_dummy_call): Don't pass STRUCT_RETURN and STRUCT_ADDR as | |
1940 | arguments to vax_store_arguments. Store return value address in | |
1941 | R1. | |
1942 | (vax_store_struct_return, vax_extract_return_value) | |
1943 | (vax_store_return_value): Remove functions. | |
1944 | (vax_return_value): New function. | |
1945 | (vax_gdbarch_init): Set return value. Don't set | |
1946 | deprecated_store_struct_return, deprecated_extract_struct_return | |
1947 | and deprecated_store_return_value. | |
1948 | ||
6672f2ae AS |
1949 | 2004-04-14 Andreas Schwab <[email protected]> |
1950 | ||
1951 | * ia64-tdep.c (ia64_libunwind_frame_prev_register): Handle null | |
1952 | value buffer. | |
1953 | * libunwind-frame.c (libunwind_frame_prev_register): Likewise. | |
1954 | ||
7346c184 MK |
1955 | 2004-04-14 Mark Kettenis <[email protected]> |
1956 | ||
1957 | * vax-tdep.c (vax_store_arguments, vax_push_dummy_call) | |
1958 | (vax_unwind_dummy_id): New functions. | |
1959 | (vax_push_dummy_frame, vax_pop_frame): Remove functions. | |
1960 | (vax_call_dummy_words, sizeof_vax_call_dummy_words): Remove | |
1961 | variables. | |
1962 | (vax_fix_call_dummy): Remove function. | |
1963 | (vax_gdbarch_init): Set push_dummy_call and unwind_dummy_id. | |
1964 | Don't set deprecated_push_dummy_frame, deprecated_pop_frame, | |
1965 | call_dummy_location, deprecated_call_dummy_words, | |
1966 | deprecated_sizeof_call_dummy_words, | |
1967 | deprecated_call_dummy_breakpoint_offset, | |
1968 | deprecated_use_generic_dummy_frames, deprecated_pc_in_call_dummy, | |
1969 | and deprecated_dummy_write_sp. | |
1970 | ||
58e23df4 DC |
1971 | 2004-04-13 David Carlton <[email protected]> |
1972 | ||
1973 | * MAINTAINERS: Move myself to "paper trail" section. | |
1974 | ||
5e6b39ff MK |
1975 | 2004-04-12 Mark Kettenis <[email protected]> |
1976 | ||
7def7fef MK |
1977 | * vax-tdep.c: Include "frame-base.h", "frame-unwind.h" and |
1978 | "trad-frame.h". | |
1979 | (vax_frame_init_saved_regs): Remove function. | |
1980 | (vax_sigtramp_saved_pc): Remove function. | |
1981 | (vax_frame_saved_pc): Remove function. | |
1982 | (vax_frame_args_address): Remove function. | |
1983 | (vax_frame_num_args): Rewrite. | |
1984 | (vax_frame_chain): Remove function. | |
1985 | (vax_push_dummy_frame): Replace DEPRECATED_FP_REGNUM with | |
1986 | VAX_FP_REGNUM. | |
1987 | (vax_pop_frame): Likewise. | |
1988 | (vax_saved_pc_after_call): Remove function. | |
1989 | (struct vax_frame_cache): New structure. | |
1990 | (vax_frame_cache): New function. | |
1991 | (vax_frame_this_id): New function. | |
1992 | (vax_frame_prev_register): New function. | |
1993 | (vax_frame_unwind): New variable. | |
1994 | (vax_frame_sniffer): New function. | |
1995 | (vax_frame_base_address): New function. | |
1996 | (vax_frame_args_address): New function. | |
1997 | (vax_frame_base): New variable. | |
1998 | (vax_unwind_pc): New function. | |
1999 | (vax_gdbarch_init): Don't set deprecated_init_frame_pc, | |
2000 | deprecated_fp_regnum, deprecated_saved_pc_after_call, | |
2001 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
2002 | deprecated_frame_args_address and | |
2003 | deprecated_frame_init_saved_regs. | |
2004 | * Makefile.in (vax-tdep.o): Update dependencies. | |
2005 | ||
53284fc1 MK |
2006 | * vaxbsd-nat.c: New file. |
2007 | ||
5e6b39ff MK |
2008 | * vax-tdep.h: Update copyright year. Adjust comments. |
2009 | (VAX_REGISTER_SIZE, VAX_REGISTER_BYTES, VAX_MAX_REGISTER_RAW_SIZE, | |
2010 | VAX_MAX_REGISTER_VIRTUAL_SIZE): Remove macros. | |
2011 | (vax_regnum): New enum. Replacing... | |
2012 | (VAX_AP_REGNUM, VAX_FP_REGNUM, VAX_SP_REGNUM, VAX_PC_REGNUM) | |
2013 | (VAX_PS_REGNUM): ... these removed macros. | |
2014 | * vax-tdep.c (vax_register_name): Remove prototype. | |
2015 | (vax_register_name): Reorganize somewhat. Use ARRAY_SIZE. | |
2016 | (vax_register_byte, vax_register_raw_size, | |
2017 | vax_register_virtual_size, vax_register_virtual_type): Remove | |
2018 | functions. | |
2019 | (vax_register_type): New function. | |
2020 | (vax_breakpoint_from_pc): Reorganize. | |
2021 | (vax_gdbarch_init): Set register_type. Don't set | |
2022 | deprecated_register_size, deprecated_register_bytes, | |
2023 | deprecated_register_byte, deprecated_register_raw_size, | |
2024 | deprecated_max_register_raw_size, | |
2025 | deprecated_register_virtual_size, | |
2026 | deprecated_max_register_virtual_size and | |
2027 | deprecated_register_virtual_type. Add comment on stack direction. | |
2028 | ||
e9c71e9f MK |
2029 | 2004-04-11 Mark Kettenis <[email protected]> |
2030 | ||
2031 | * amd64-tdep.h (amd64_regnum): Add AMD64_CS_REGNUM, | |
2032 | AMD64_SS_REGNUM, AMD64_DS_REGNUM, AMD64_ES_REGNUM, | |
296bc76f | 2033 | AMD64_FS_REGNUM and AMD64_GS_REGNUM. |
e9c71e9f | 2034 | |
d46f1176 | 2035 | 2004-04-10 Randolph Chung <[email protected]> |
8718a420 | 2036 | |
d46f1176 RC |
2037 | * MAINTAINERS (write after approval): Add myself. |
2038 | ||
a2a84a72 RC |
2039 | 2004-04-07 Randolph Chung <[email protected]> |
2040 | ||
2041 | * hppa-tdep.c (hppa_inner_than): Remove. | |
2042 | (is_pa_2): Remove unused static variable. | |
8718a420 | 2043 | (hppa_gdbarch_init): Use core_addr_greaterthan instead of own version. |
a2a84a72 | 2044 | |
e85c3284 PH |
2045 | 2004-03-10 Paul N. Hilfinger <[email protected]> |
2046 | ||
2047 | * language.h (language_defn): Add new la_post_parser field. | |
2048 | * parser-defs.h (null_post_parser): New declaration (default for | |
2049 | la_post_parser). | |
8718a420 | 2050 | |
e85c3284 PH |
2051 | * parse.c (parse_exp_1): Move code to parse_exp_in_context and |
2052 | insert call to that function. | |
2053 | (parse_exp_in_context): New function, including code formerly in | |
8718a420 | 2054 | parse_exp_1. Calls language-dependent post-parser after |
e85c3284 PH |
2055 | prefixification. |
2056 | (parse_expression_in_context): New exported function. | |
2057 | (null_post_parser): New definition. | |
2058 | * expression.h (parse_expression_in_context): Add declaration. | |
8718a420 | 2059 | |
e85c3284 PH |
2060 | * p-lang.c (pascal_language_defn): Add trivial post-parser. |
2061 | * c-lang.c (c_language_defn): Ditto. | |
2062 | (cplus_language_defn): Ditto. | |
2063 | (asm_language_defn): Ditto. | |
2064 | (minimal_language_defn): Ditto. | |
2065 | * f-lang.c (f_language_defn): Ditto. | |
2066 | * jv-lang.c (java_language_defn): Ditto. | |
2067 | * language.c (unknown_language_defn): Ditto. | |
2068 | (auto_language_defn): Ditto. | |
2069 | (local_language_defn): Ditto. | |
2070 | * m2-lang.c (m2_language_defn): Ditto. | |
2071 | * scm-lang.c (scm_language_defn): Ditto. | |
2072 | * obj-lang.c (objc_language_defn): Ditto. | |
8718a420 | 2073 | |
d9f8c85b MK |
2074 | 2004-04-10 Mark Kettenis <[email protected]> |
2075 | ||
fa34704a MK |
2076 | * amd64nbsd-tdep.c (amd64nbsd_sigcontext_addr): Remove function. |
2077 | (amd64nbsd_mcontext_addr): New function. | |
2078 | (amd64nbsd_init_abi): Initialize TDEP->sigcontext_addr as | |
2079 | amd64nbsd_mcontext_addr. Directly initialize TDEP->sc_reg_offset | |
2080 | with amd64nbsd_r_reg_offset, instead of building it on the fly. | |
2081 | ||
403e1656 MK |
2082 | * corelow.c (core_xfer_partial): Fix coding standards violation. |
2083 | Add support for TARGET_OBJECT_WCOOKIE. | |
2084 | ||
a57e5a95 MK |
2085 | * sparc-linux-tdep.c (sparc32_linux_init_abi): Don't set |
2086 | deprecated_pc_in_sigtramp. | |
2087 | * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Likewise. | |
2088 | * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Likewise. | |
2089 | * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Likewise. | |
2090 | * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Likewise. | |
2091 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Likewise. | |
2092 | * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Likewise. | |
2093 | * sparcobsd-tdep.c (sparc32obsd_init_abi): Likewise. | |
2094 | ||
377d9ebd MK |
2095 | * amd64-linux-tdep.c, amd64nbsd-tdep.c, amd64obsd-tdep.c, |
2096 | i386-linux-tdep.c, i386-tdep.c, i386nbsd-tdep.c, i386obsd-tdep.c: | |
2097 | Fix typo. | |
2098 | ||
f0ef85a5 MK |
2099 | * amd64-tdep.c (amd64_supply_fxsave): Only fiddle with |
2100 | I387_FISEG_REGNUM and I387_FOSEG_REGNUM in 64-bit mode. | |
2101 | (amd64_collect_fxsave): Likewise. | |
2102 | ||
d9f8c85b MK |
2103 | * i386-sol2-tdep.c: Include "gdb_string.h". |
2104 | (i386_sol2_sigtramp_p): Recognize signal trampoline based on its | |
2105 | name. | |
2106 | * Makefile.in (i386-sol2-tdep.o): Update dependencies. | |
2107 | ||
75f501b5 MK |
2108 | 2004-04-10 Mark Kettenis <[email protected]> |
2109 | ||
2110 | * i386-sol2-tdep.c: Include "solib-svr4.h". | |
2111 | (i386_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets. | |
2112 | * Makefile.in (i386-sol2-tdep.o): Update dependencies. | |
2113 | * config/i386/tm-i386sol2.h: Include :solib.h". | |
2114 | * config/i386/i386sol2.mh (NATDEPFILES): Remove solib.o, | |
2115 | solib-svr4.o and solib-legacy.o. | |
2116 | * config/i386/i386sol2.mt (TDEPFILES): Add solib.o and | |
2117 | solib-svr4.o. | |
2118 | ||
b31bc724 MK |
2119 | 2004-04-09 Mark Kettenis <[email protected]> |
2120 | ||
18bbbd9e MK |
2121 | * amd64-linux-nat.c (fetch_inferior_registers): Correctly check |
2122 | whether a register is supplied by PTRACE_GETFPREGS. | |
2123 | (store_inferior_registers): Likewise. | |
2124 | * amd64bsd-nat.c (fetch_inferior_registers): Correctly check | |
2125 | whether a register is supplied by PT_GETFPREGS. | |
2126 | (store_inferior_registers): Likewise. | |
2127 | ||
3c30bf1b MK |
2128 | * config/i386/linux.mt (TDEPFILES): Remove solib-legacy.o. |
2129 | * config/i386/linux64.mt (TDEPFILES): Likewise. | |
2130 | ||
a4194092 MK |
2131 | * i386-linux-nat.c: Update copyrigth year. Tweak comment. |
2132 | ||
911bc6ee MK |
2133 | * amd64-tdep.c (amd64_sigtramp_frame_sniffer): Rewrite to use new |
2134 | sigtramp_p member of `struct gdbarch_tdep'. Also check whether | |
2135 | the program counter is in the range specified by `struct | |
2136 | gdbarch_tdep'. | |
2137 | * amd64-linux-tdep.c: Include "symtab.h". | |
2138 | (amd64_linux_pc_in_sigtramp): Remove function. | |
2139 | (amd64_linux_sigtramp_p): New function. | |
2140 | (amd64_linux_init_abi): Initialize TDEP->sigtramp_p. Don't set | |
2141 | deprecated_pc_in_sigtramp. | |
2142 | * amd64nbsd-tdep.c: Include "symtab.h". | |
2143 | (amd64nbsd_sigtramp_p): New function. | |
2144 | (amd64nbsd_init_abi): Initialize TDEP->sigtramp_p. Don't set | |
2145 | deprecated_pc_in_sigtramp. | |
2146 | * amd64obsd-tdep.c: Include "symtab.h" and "objfiles.h". Add a | |
2147 | few comments. | |
2148 | (amd64obsd_pc_in_sigtramp): Remove function. | |
2149 | (amd64obsd_sigtramp_p): New function. | |
2150 | (amd64obsd_init_abi): Initialize TDEP->sigtramp_p. Don't set | |
2151 | deprecated_pc_in_sigtramp. | |
2152 | * i386-tdep.h (struct gdbarch_tdep): Add sigtramp_p member. | |
2153 | (i386bsd_pc_ins_sigtramp): Remove prototype. | |
2154 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Remove prototypes. | |
2155 | * i386-tdep.c (i386_sigtramp_frame_sniffer): Rewrite to use new | |
2156 | sigtramp_p member of `struct gdbarch_tdep'. Also check whether | |
2157 | the program counter is in the range specified by `struct | |
2158 | gdbarch_tdep'. | |
2159 | (i386_pc_in_sigtramp, i386_svr4_pc_in_sigtramp): Remove functions. | |
2160 | (i386_sigtramp_p, i386_svr4_sigtramp_p): New functions. | |
2161 | (i386_go32_pc_in_sigtramp): Remove function. | |
2162 | (i386_svr4_init_abi): Don't set deprecated_pc_in_sigtramp. | |
2163 | Initialize TDEP->sigtramp_p. | |
2164 | (i386_go32_init_abi): Initialize TDEP->sigtramp_p to NULL. | |
2165 | (i386_gdbarch_init): Initialize TDEP->sigtramp_p. Don't set | |
2166 | deprecated_pc_in_sigtramp. | |
2167 | * i386-linux-tdep.c: Adjust comments. | |
2168 | (i386_linux_pc_in_sigtramp): Remove function. | |
2169 | (i386_linux_sigtramp_p): New function. | |
2170 | (i386_linux_init_abi): Initialize TDEP->sigtramp_p. Don't set | |
2171 | deprecated_pc_in_sigtramp. | |
2172 | * i386-nto-tdep.c: Update copyright year. | |
2173 | (i386nto_pc_in_sigtramp): Remove function. | |
2174 | (i386nto_sigtramp_p): New function. | |
2175 | (i386nto_sigcontext_addr): Use I386_ESP_REGNUM instead of | |
2176 | SP_REGNUM. | |
2177 | (i386nto_init_abi): Initialize TDEP->sigtramp_p. Don't set | |
2178 | deprecated_pc_in_sigtramp. | |
2179 | * i386-sol2-tdep.c: Update copyright year. | |
2180 | (i386_sol2_pc_in_sigtramp): Remove function. | |
2181 | (i386_sol2_sigtramp_p): New function. | |
2182 | (i386_sol2_init_abi): Initialize TDEP->sigtramp_p. Don't set | |
2183 | deprecated_pc_in_sigtramp. | |
2184 | * i386bsd-tdep.c (i386bsd_pc_in_sigtramp): Remove function. | |
2185 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Remove functions. | |
2186 | (i386bsd_init_abi): Don't set deprecated_pc_in_sigtramp, | |
2187 | deprecated_sigtramp_start and deprecated_sigtramp_end. | |
2188 | * i386nbsd-tdep.c: Include "frame.h" and "symtab.h". | |
2189 | (i386nbsd_pc_in_sigtramp): Remove function. | |
2190 | (i386nbsd_sigtramp_p): New function. | |
2191 | (i386nbsd_init_abi): Don't set deprecated_pc_in_sigtramp, | |
2192 | deprecated_sigtramp_start, deprecated_sigtramp_end. Initialize | |
2193 | TDEP->sigtramp_start, TDEP->sigtramp_end and TDEP->sigtramp_p. | |
2194 | * i386obsd-tdep.c: Include "frame.h", "symtab.h" and "objfiles.h". | |
2195 | (i386obsd_pc_in_sigtramp): Remove function. | |
2196 | (i386obsd_sigtramp_p): New function. | |
2197 | (i386obsd_sigtramp_start, i386obsd_sigtramp_end): Remove | |
2198 | functions. | |
2199 | (i386bsd_init_abi): Don't set deprecated_pc_in_sigtramp, | |
2200 | deprecated_sigtramp_start, deprecated_sigtramp_end. Initialize | |
2201 | TDEP->sigtramp_p. | |
2202 | * Makefile.in (amd64-linux-tdep.o, amd64nbsd-tdep.o, | |
2203 | amd64obsd-tdep.o, i386nbsd-tdep.o, i386obsd-tdep.o): Update | |
2204 | dependencies. | |
2205 | ||
e083e6ec MK |
2206 | * config/i386/i386aout.mt: Remove file. |
2207 | ||
bd153b94 MK |
2208 | * configure.tgt: Remove i[34567]86-*-go32*, |
2209 | i[34567]86-*-msdosdjgpp*, i[34567]86-*-sco*, i[34567]86-*-sysv* | |
2210 | and i[34567]86-*-isc*. Set gdb_target to i386 for | |
2211 | i[34567]86-*-netware* and i[34567]86-*-*. | |
2212 | * config/i386/i386.mt: New file. | |
2213 | * config/i386/embed.mt: Remove file. | |
2214 | * config/i386/go32.mt: Remove file. | |
2215 | * config/i386/i386nw.mt: Remove file. | |
2216 | * config/i386/i386v.mt: Remove file. | |
2217 | * config/i386/tm-go32.h: Remove file. | |
2218 | ||
4a1bcc8c MK |
2219 | * tui/tui-hooks.c: Include "readline/readline.h" after |
2220 | "gdb_curses.h" instead of before. | |
2221 | * tui/tui-io.c: Likewise. | |
2222 | ||
f9a79064 MK |
2223 | * tui/tui.c: Fix typo in comment. |
2224 | ||
b31bc724 MK |
2225 | * sparc64-tdep.c (sparc_address_from_register): Remove function. |
2226 | ||
f83f82bc AC |
2227 | 2004-04-08 Andrew Cagney <[email protected]> |
2228 | ||
2229 | * breakpoint.h (deprecated_exception_catchpoints_are_fragile) | |
2230 | (deprecated_exception_support_initialized): Declare. | |
8718a420 | 2231 | * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support) |
f83f82bc AC |
2232 | (initialize_hp_cxx_exception_support) |
2233 | (child_enable_exception_callback): Update. | |
2234 | * breakpoint.c (deprecated_exception_catchpoints_are_fragile) | |
2235 | (deprecated_exception_support_initialized): Rename | |
2236 | deprecated_exception_catchpoints_are_fragile and | |
2237 | deprecated_exception_support_initialized. | |
2238 | (breakpoint_init_inferior, breakpoint_init_inferior): Update. | |
2239 | ||
2240 | * symtab.c (deprecated_hp_som_som_object_present): Rename | |
2241 | hp_som_som_object_present. | |
2242 | * symtab.h (deprecated_hp_som_som_object_present): Declare. | |
2243 | * symfile.c (hp_som_som_object_present, RESET_HP_UX_GLOBALS): | |
2244 | Update. Delete extern declaration. | |
2245 | * valops.c (hp_som_som_object_present): Ditto. | |
8718a420 | 2246 | * parse.c (deprecated_hp_som_som_object_present) |
f83f82bc AC |
2247 | (parse_nested_classes_for_hpacc): Ditto. |
2248 | * hpread.c (hp_som_som_object_present, hpread_expand_symtab): Ditto. | |
8718a420 | 2249 | * hppa-hpux-tdep.c (hp_som_som_object_present) |
f83f82bc AC |
2250 | (initialize_hp_cxx_exception_support): Ditto. |
2251 | * eval.c (hp_som_som_object_present, evaluate_subexp_standard): Ditto. | |
8718a420 | 2252 | * cp-valprint.c (hp_som_som_object_present) |
f83f82bc | 2253 | (cp_print_class_method): Ditto. |
8718a420 | 2254 | * c-typeprint.c (hp_som_som_object_present): |
f83f82bc AC |
2255 | (c_type_print_base): Ditto. |
2256 | * c-exp.y (hp_som_som_object_present): Ditto. | |
2257 | ||
fb2be677 AC |
2258 | 2004-04-08 Andrew Cagney <[email protected]> |
2259 | ||
2260 | * frame-unwind.c (struct frame_unwind_table, frame_unwind_init) | |
2261 | (frame_unwind_prepend_unwinder, frame_unwind_append_sniffer) | |
2262 | (frame_unwind_find_by_frame): Re-implement the unwind code so | |
2263 | that it can both prepend and append sniffers. Replace | |
2264 | frame_unwind_register_unwinder with frame_unwind_prepend_unwinder. | |
2265 | * tramp-frame.c (tramp_frame_append): Use | |
2266 | frame_unwind_prepend_unwinder. | |
2267 | * frame-unwind.h (frame_unwind_prepend_unwinder): Replace | |
2268 | frame_unwind_register_unwinder. | |
2269 | * tramp-frame.h (tramp_frame_prepend_unwinder): Rename | |
2270 | tramp_frame_append. | |
2271 | * tramp-frame.c (tramp_frame_prepend_unwinder): Update. | |
8718a420 | 2272 | * mips-linux-tdep.c (mips_linux_init_abi, mips_linux_init_abi) |
fb2be677 AC |
2273 | (mips_linux_init_abi): Update. |
2274 | ||
67faf007 KB |
2275 | 2004-04-08 Kevin Buettner <[email protected]> |
2276 | ||
2277 | * ppc-linux-tdep.c (ELF_NREG, ELF_NFPREG, ELF_NVRREG) | |
2278 | (ELF_FPREGSET_SIZE): Delete constants formerly used in core | |
2279 | file support. | |
2280 | ||
8973ff21 KB |
2281 | 2004-04-07 Kevin Buettner <[email protected]> |
2282 | ||
2283 | * ia64-tdep.c (elf.h): Don't include. | |
2284 | (elf/ia64.h) [HAVE_LIBUNWIND_IA64_H]: Include. | |
2285 | ||
4a0e2f88 JM |
2286 | 2004-04-07 Jason Molenda ([email protected]) |
2287 | ||
2288 | * frame.h: Typeo corrections in comments. | |
2289 | ||
9872ad24 JB |
2290 | 2004-04-07 Jim Blandy <[email protected]> |
2291 | ||
2292 | * i386-tdep.c (i386_stab_reg_to_regnum): Correct numbering for | |
2293 | %esp and %ebp | |
2294 | ||
70b216c8 MK |
2295 | 2004-04-07 Mark Kettenis <[email protected]> |
2296 | ||
11d5789c MK |
2297 | * config/sparc/linux.mt (TDEPFILES): Remove solib-legacy.o. |
2298 | * config/sparc/linux64.mt (TDEPFILES): Likewise. | |
2299 | * config/sparc/sol2.mt (TDEPFILES): Add solib.o and solib-svr4.o. | |
2300 | * config/sparc/sol2.mh (NATDEPFILES): Remove solib.o, solib-svr4.o | |
2301 | and solib-legacy.o. | |
2302 | * config/sparc/sol2-64.mt (TDEPFILES): Add solib.o and | |
2303 | solib-svr4.o. | |
2304 | * config/sparc/tm-sol2.h: Update copyright year. Include | |
2305 | "solib.h". | |
2306 | ||
70b216c8 MK |
2307 | * sparc-sol2-tdep.c: Update copyright year. Include |
2308 | "solib-svr4.h". | |
2309 | (sparc32_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets. | |
2310 | * sparc64-sol2-tdep.c: Include "solib-svr4.h". | |
2311 | (sparc64_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets. | |
096f864c | 2312 | * Makefile.in (sparc-sol2-tdep.o, sparc64-sol2-tdep.o): Update |
70b216c8 MK |
2313 | dependencies. |
2314 | ||
6339dc9e AC |
2315 | 2004-04-06 Andrew Cagney <[email protected]> |
2316 | ||
2317 | * infttrace.c: Include "infttrace.h". | |
2318 | * infttrace.h: Include "target.h". | |
2319 | * Makefile.in (infttrace_h): Update. | |
2320 | (infttrace.o): Update. | |
8718a420 | 2321 | |
93449403 AC |
2322 | 2004-04-06 Andrew Cagney <[email protected]> |
2323 | ||
6d518969 AC |
2324 | * hppah-nat.c (hpux_has_forked, hpux_has_vforked) |
2325 | (hpux_has_execd, hpux_has_syscall_event): Include "infttrace.h", | |
2326 | move extern declarations from here ... | |
2327 | * infttrace.h: ... to here. | |
2328 | * Makefile.in (hppah-nat.o): Update dependencies. | |
2329 | ||
85f4f2d8 AC |
2330 | * hppa-tdep.c (hppa_breakpoint_from_pc): Make static. |
2331 | (hppa_gdbarch_init): Set gdbarch_breakpoint_from_pc | |
8718a420 | 2332 | * config/pa/tm-hppa.h (BREAKPOINT_FROM_PC, BREAKPOINT32): |
85f4f2d8 AC |
2333 | (hppa_breakpoint_from_pc): Delete. |
2334 | ||
93449403 AC |
2335 | * MAINTAINERS: Mark hppa-elf as buildable with -Werror. |
2336 | ||
71456ec6 AC |
2337 | 2004-04-05 Andrew Cagney <[email protected]> |
2338 | ||
2339 | * hppa-tdep.c: Do not include <sys/types.h>, <sys/param.h>, | |
2340 | <signal.h>, <sys/ptrace.h>, #include "a.out.encap.h", | |
2341 | <sys/file.h>. | |
8718a420 | 2342 | |
4c02c60c AC |
2343 | 2004-04-06 Randolph Chung <[email protected]> |
2344 | ||
2345 | Committed by Andrew Cagney (mechanical change). | |
2346 | * hppa-tdep.c: (args_for_find_stub, hp_som_som_object_present, | |
2347 | exception_catchpoints_are_fragile, find_stub_with_shl_get, | |
2348 | cover_find_stub_with_shl_get, initialize_hp_cxx_exception_support, | |
2349 | child_enable_exception_callback, current_ex_event, | |
2350 | null_symtab_and_line, child_get_current_exception_event, | |
2351 | HP_ACC_EH_notify_hook, HP_ACC_EH_set_hook_value, | |
2352 | HP_ACC_EH_notify_callback, HP_ACC_EH_break, HP_ACC_EH_catch_throw, | |
2353 | HP_ACC_EH_catch_catch, __eh_notification, hp_cxx_exception_support, | |
2354 | hp_cxx_exception_support_initialized, eh_notify_hook_addr, | |
2355 | eh_notify_callback_addr, eh_break_addr, eh_catch_catch_addr, | |
2356 | eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior): | |
2357 | Move hpux-specific definitions ... | |
2358 | * hppa-hpux-tdep.c: ... to here. | |
2359 | ||
3a515653 AC |
2360 | 2004-04-05 Andrew Cagney <[email protected]> |
2361 | ||
2362 | * hppa-tdep.c (hppa_frame_cache): Pass the frame's func to | |
2363 | skip_prologue_using_sal. | |
2364 | ||
c1730d02 AC |
2365 | 2004-04-05 Andrew Cagney <[email protected]> |
2366 | ||
2367 | * config/i386/tm-i386.h: Delete file. | |
2368 | * config/i386/tm-vxworks.h: Update copyright, do not include | |
2369 | "tm-i386.h". | |
2370 | * config/i386/tm-nto.h, config/i386/tm-linux.h: Ditto. | |
2371 | * config/i386/tm-i386sol2.h, config/i386/tm-i386lynx.h: Ditto. | |
2372 | * config/i386/tm-go32.h, config/i386/tm-cygwin.h: Ditto. | |
2373 | * config/i386/ncr3000.mt (TM_FILE): Delete. | |
2374 | * config/i386/interix.mt (TM_FILE): Delete. | |
2375 | * config/i386/i386v.mt (TM_FILE): Delete. | |
2376 | * config/i386/i386nw.mt (TM_FILE): Delete. | |
2377 | * config/i386/i386gnu.mt (TM_FILE): Delete. | |
2378 | * config/i386/i386aout.mt (TM_FILE): Delete. | |
2379 | * config/i386/embed.mt (TM_FILE): Delete. | |
2380 | ||
8b67aa36 KB |
2381 | 2004-04-05 Kevin Buettner <[email protected]> |
2382 | ||
2383 | * frv-tdep.h (fsr0_regnum, acc0_regnum, acc7_regnum, accg0123_regnum) | |
2384 | (accg4567_regnum, msr0_regnum, msr1_regnum, gner0_regnum) | |
2385 | (gner1_regnum, fner0_regnum, fner1_regnum, accg0_regnum) | |
2386 | (accg7_regnum): New constants. | |
2387 | (last_spr_regnum, last_pseudo_regnum): Update. | |
c2f59a1a KB |
2388 | * frv-tdep.c (new_variant): Initialize names for fsr0, acc0-acc7, |
2389 | accg0-accg7, msr0, msr1, gner0, gner1, fner0, and fner1. | |
8b67aa36 KB |
2390 | (frv_pseudo_register_read, frv_pseudo_register_write): Add support |
2391 | for accg registers. | |
2392 | (frv_register_sim_regno): Update spr_map[]. | |
2393 | ||
3c7012f5 AC |
2394 | 2004-04-04 Andrew Cagney <[email protected]> |
2395 | ||
2396 | * config/mips/xm-riscos.h: Delete. | |
2397 | * config/mips/xm-mipsv4.h, config/mips/xm-mips.h: Delete. | |
2398 | * config/mips/tm-mipsv4.h, config/mips/riscos.mh: Delete. | |
2399 | * config/mips/nm-riscos.h, config/mips/nm-news-mips.h: Delete. | |
2400 | * config/mips/nm-mips.h, config/mips/news-mips.mh: Delete. | |
2401 | * config/mips/news-mips.mh, config/m68k/tm-m68kv4.h: Delete. | |
2402 | * config/mips/decstation.mh, config/mips/littlemips.mh: Delete. | |
2403 | * config/mips/mipsv4.mt, config/m68k/tm-sun3.h: Delete. | |
2404 | * config/m68k/xm-sun3os4.h, config/m68k/xm-sun3.h: Delete. | |
2405 | * config/m68k/xm-sun2.h, config/m68k/xm-m68kv4.h: Delete. | |
2406 | * config/m68k/xm-dpx2.h, config/m68k/xm-delta68.h: Delete. | |
2407 | * config/m68k/xm-3b1.h, config/m68k/tm-sun3os4.h: Delete. | |
2408 | * config/m68k/tm-m68klynx.h, config/m68k/tm-dpx2.h: Delete. | |
2409 | * config/m68k/tm-delta68.h, config/m68k/tm-3b1.h: Delete. | |
2410 | * config/m68k/sun3os4.mt, config/m68k/nm-sysv4.h: Delete. | |
2411 | * config/m68k/nm-sun3.h, config/m68k/sun3os4.mh: Delete. | |
2412 | * config/m68k/sun2os3.mh, config/m68k/nm-sun2.h: Delete. | |
2413 | * config/m68k/nm-m68klynx.h, config/m68k/sun3os3.mt: Delete. | |
2414 | * config/m68k/nm-dpx2.h, config/m68k/sun2os3.mt: Delete. | |
2415 | * config/m68k/dpx2.mh, config/m68k/sun3os3.mh: Delete. | |
2416 | * config/m68k/sun2os4.mh, config/m68k/nm-delta68.h: Delete. | |
2417 | * config/m68k/m68kv4.mt, config/m68k/m68klynx.mt: Delete. | |
2418 | * config/m68k/3b1.mt, config/m68k/m68klynx.mh: Delete. | |
2419 | * config/m68k/m68kv4.mh, config/m68k/sun2os4.mt: Delete. | |
2420 | * config/m68k/tm-sun2os4.h, config/m68k/3b1.mh: Delete. | |
2421 | * config/m68k/dpx2.mt, config/m68k/delta68.mt: Delete. | |
2422 | * config/m68k/tm-sun2.h, config/m68k/delta68.mh: Delete. | |
8718a420 | 2423 | |
3c7012f5 AC |
2424 | * configure.tgt: Remove m68000-*-sunos3*, m68000-*-sunos4*, |
2425 | m68*-bull-sysv*, m68*-att-*, m68*-motorola-*, m68*-*-lynxos*, | |
2426 | m68*-*-sunos3*, m68*-*-sunos4*, m68*-*-sysv4*, mips*-*-sysv4*. | |
2427 | * configure.host: Remove m680[01]0-sun-sunos3*, | |
2428 | m680[01]0-sun-sunos4*, m68*-att-*, m68*-bull*-sysv*, | |
2429 | m68*-*-lynxos*, m68*-*-sysv4*, m68*-motorola-*, m68*-sun-sunos3*, | |
2430 | m68*-sun-sunos4*, m68*-sun-*, mips-dec-*, mips-little-*, | |
2431 | mips-sony-*, mips-*-mach3*, mips-*-sysv4*, mips-*-sysv*, | |
2432 | mips-*-riscos*. | |
2433 | * NEWS: Mention removed systems. | |
2434 | ||
99d16a21 AC |
2435 | 2004-04-04 Andrew Cagney <[email protected]> |
2436 | ||
2437 | GDB 6.1 release created from 6.1 branch. | |
2438 | ||
6cdf9d98 AC |
2439 | 2004-04-04 Andrew Cagney <[email protected]> |
2440 | ||
98d346c3 AC |
2441 | * gnu-nat.c (gnu_wait): Use memcpy instead of bcopy. |
2442 | * remote-vxmips.c (vx_read_register, vx_write_register): Ditto. | |
2443 | * remote-vx68.c (vx_read_register, vx_write_register): Ditto. | |
2444 | ||
6cdf9d98 AC |
2445 | * config/vax/xm-vax.h (FAULT_CODE_ORIGIN, INIT_STACK): Delete. |
2446 | * config/alpha/xm-alphaosf.h (NO_SIGINTERRUPT): Delete. | |
2447 | * config/alpha/xm-alphalinux.h (NO_SIGINTERRUPT): Delete. | |
2448 | ||
859a326d JB |
2449 | 2004-04-03 Jim Blandy <[email protected]> |
2450 | ||
2451 | * MAINTAINERS: Chris Faylor has changed employers; add him to | |
2452 | "paper trail" section, and update his E-mail address. | |
2453 | ||
b87178c3 AC |
2454 | 2004-04-03 Andrew Cagney <[email protected]> |
2455 | ||
4ea2acf0 AC |
2456 | * frame-unwind.c (frame_unwind_find_by_frame): Delete check for |
2457 | generic dummy frames. | |
2458 | * dummy-frame.c: Update copyright. | |
2459 | (dummy_frame_sniffer): Delete check for generic dummy frames. | |
2460 | ||
d0bd2d18 | 2461 | * config/pa/tm-hppa.h (REG_PARM_STACK_SPACE): Delete. |
8718a420 | 2462 | * config/pa/tm-hppa64.h (PA20W_CALLING_CONVENTIONS) |
d0bd2d18 AC |
2463 | (REG_PARM_STACK_SPACE): Delete. |
2464 | * hppa-tdep.c (hppa64_push_dummy_call, hppa32_push_dummy_call): | |
2465 | Inline reference to REG_PARM_STACK_SPACE. | |
2466 | ||
b87178c3 AC |
2467 | * config/pa/tm-hppah.h (FRAME_SAVED_PC_IN_SIGTRAMP) |
2468 | (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP) | |
2469 | (hppa32_hpux_frame_find_saved_regs_in_sigtramp) | |
2470 | (FRAME_BASE_BEFORE_SIGTRAMP) | |
2471 | (hppa32_hpux_frame_base_before_sigtramp) | |
2472 | (hppa32_hpux_frame_saved_pc_in_sigtramp): Delete. | |
2473 | * config/pa/tm-hppa64.h (hppa64_hpux_frame_saved_pc_in_sigtramp) | |
2474 | (hppa64_hpux_frame_find_saved_regs_in_sigtramp) | |
2475 | (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP) | |
2476 | (FRAME_BASE_BEFORE_SIGTRAMP) | |
2477 | (hppa64_hpux_frame_base_before_sigtramp) | |
2478 | (FRAME_SAVED_PC_IN_SIGTRAMP): Delete. | |
2479 | ||
43e2e1a0 AC |
2480 | 2004-04-03 Andrew Cagney <[email protected]> |
2481 | ||
2482 | * PROBLEMS: Mention that GDB doesn't build on HP/UX 11.00. | |
2483 | ||
ddc135a4 AC |
2484 | 2004-04-02 Andrew Cagney <[email protected]> |
2485 | ||
2486 | * sh64-tdep.c (sh64_init_extra_frame_info): Replace | |
2487 | DEPRECATED_CALL_DUMMY_LENGTH with 0, simplify. | |
2488 | * dummy-frame.h: Delete out-of-date comments. | |
2489 | * gdbarch.sh (DEPRECATED_CALL_DUMMY_LENGTH): Delete. | |
2490 | * gdbarch.h, gdbarch.c: Re-generate. | |
2491 | ||
d15bfd3a | 2492 | 2004-04-02 Joel Brobecker <[email protected]> |
8718a420 | 2493 | |
d15bfd3a AC |
2494 | Committed by Andrew Cagney <[email protected]>. |
2495 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Do not take | |
2496 | into account an instruction saving a register if we have already | |
2497 | seen an earlier instruction saving that same register. | |
2498 | ||
f04ceafa AC |
2499 | 2004-04-02 Andrew Cagney <[email protected]> |
2500 | ||
08be3abd AC |
2501 | * gdbarch.sh (DEPRECATED_INIT_FRAME_PC_FIRST): Delete. |
2502 | * gdbarch.h, gdbarch.c: Re-generate. | |
2503 | * frame.c (legacy_get_prev_frame): Delete references to | |
2504 | DEPRECATED_INIT_FRAME_PC_FIRST. | |
2505 | ||
f04ceafa AC |
2506 | * infrun.c (pc_in_sigtramp): Delete function. |
2507 | (check_sigtramp2): Inline call to pc_in_sigtramp, use | |
2508 | get_frame_type. | |
2509 | ||
08e69816 AC |
2510 | 2004-04-02 Andrew Cagney <[email protected]> |
2511 | ||
2512 | * infrun.c (handle_step_into_function): Delete code conditional on | |
2513 | legacy_frame_p. | |
2514 | (handle_inferior_event, step_over_function): Ditto. | |
2515 | ||
adb54772 AC |
2516 | 2004-04-02 Andrew Cagney <[email protected]> |
2517 | ||
2518 | * frame.c (get_prev_frame_1): Exclude signal trampolines from the | |
2519 | "previous frame inner to this frame" test. | |
2520 | ||
304396fb AC |
2521 | 2004-04-02 Andrew Cagney <[email protected]> |
2522 | ||
2523 | * frame.c (safe_frame_unwind_memory): New function. | |
2524 | * frame.h (safe_frame_unwind_memory): Declare. Update description | |
2525 | of /safe_/ methods. | |
2526 | * tramp-frame.c (tramp_frame_start): Re-order parmeters, add | |
2527 | "next_frame". Use safe_frame_unwind_memory. | |
2528 | (tramp_frame_sniffer): Update call to tramp_frame_start. | |
2529 | ||
6502dd73 DJ |
2530 | 2004-04-01 Daniel Jacobowitz <[email protected]> |
2531 | ||
2532 | * dwarf2read.c (dwarf2_objfile_data_key): New. | |
2533 | (struct dwarf2_per_objfile, dwarf2_per_objfile): New. | |
2534 | (dwarf_info_size, dwarf_abbrev_size, dwarf_line_size) | |
2535 | (dwarf_pubnames_size, dwarf_aranges_size, dwarf_loc_size) | |
2536 | (dwarf_macinfo_size, dwarf_str_size, dwarf_ranges_size) | |
2537 | (dwarf_frame_size, dwarf_eh_frame_size, dwarf_info_buffer) | |
2538 | (dwarf_abbrev_buffer, dwarf_line_buffer, dwarf_str_buffer) | |
2539 | (dwarf_macinfo_buffer, dwarf_ranges_buffer, dwarf_loc_buffer): | |
2540 | Remove variables. | |
2541 | (struct dwarf2_pinfo): Remove per-objfile members. Update comments. | |
2542 | (DWARF_ABBREV_SIZE, DWARF_LINE_SIZE) | |
2543 | (DWARF_LOC_SIZE, DWARF_MACINFO_SIZE, DWARF_STR_SIZE) | |
2544 | (DWARF_RANGES_SIZE, DWARF_INFO_BUFFER) | |
2545 | (DWARF_ABBREV_BUFFER, DWARF_LINE_BUFFER, DWARF_STR_BUFFER) | |
2546 | (DWARF_MACINFO_BUFFER, DWARF_RANGES_BUFFER, DWARF_LOC_BUFFER): | |
2547 | Remove macros. | |
2548 | (dwarf2_has_info): Take an objfile argument. Allocate per-objfile | |
2549 | data. | |
2550 | (dwarf2_locate_sections, dwarf2_build_psymtabs) | |
2551 | (dwarf2_build_psymtabs_easy, dwarf2_build_psymtabs_hard) | |
2552 | (skip_one_die, dwarf2_get_pc_bounds, dwarf2_read_abbrevs) | |
2553 | (read_partial_die, read_full_die, read_indirect_string) | |
2554 | (dwarf_decode_line_header, dwarf_decode_macros) | |
2555 | (dwarf2_symbol_mark_computed): Remove use of removed macros. | |
2556 | Update uses of removed variables. | |
2557 | (psymtab_to_symtab_1): Restore per-objfile data pointer. Remove use | |
2558 | of removed macros. | |
2559 | (_initialize_dwarf2_read): New function. | |
2560 | * symfile.h (dwarf2_has_info): Update prototype. | |
2561 | * coffread.c (coff_symfile_read): Update call to dwarf2_has_info. | |
2562 | * elfread.c (elf_symfile_read): Likewise. | |
2563 | ||
408752b0 JB |
2564 | 2004-04-01 Jim Blandy <[email protected]> |
2565 | ||
9f744501 JB |
2566 | * rs6000-tdep.c (rs6000_dwarf2_stab_reg_to_regnum): New, unified |
2567 | function for register numbers on all the rs6000-derived targets. | |
2568 | (rs6000_gdbarch_init): Don't register a separate | |
2569 | gdbarch_dwarf2_reg_to_regnum function for the E500. Use | |
2570 | rs6000_dwarf2_stab_reg_to_regnum for both Dwarf 2 and stabs on all | |
2571 | variants. | |
2572 | ||
408752b0 JB |
2573 | * i386-tdep.c: Add FIXME regarding STABS vs. Dwarf 2 register |
2574 | numbering. | |
2575 | ||
2de41bce PH |
2576 | 2004-04-01 Paul N. Hilfinger <[email protected]> |
2577 | ||
2578 | * valarith.c: Update copyright notice. | |
2579 | (value_add): Handle range types. | |
2580 | (value_sub): Ditto. | |
2581 | (value_equal): Ditto. | |
2582 | (value_less): Ditto. | |
2583 | (value_neg): Ditto. | |
2584 | (value_complement): Ditto. | |
8718a420 | 2585 | (value_binop): Simplify slightly by using is_integral_type and |
2de41bce | 2586 | eliminiating unnecessary COERCE_ENUMs. |
8718a420 | 2587 | |
5613d8d3 AC |
2588 | 2004-03-31 Andrew Cagney <[email protected]> |
2589 | ||
2590 | * frame.h (frame_unwind_id): Declare. | |
2591 | * frame.c (frame_unwind_id): New function. | |
2592 | (get_prev_frame_1): New function. | |
2593 | (frame_debug_got_null_frame): New function. | |
2594 | (get_prev_frame): Use frame_debug_got_null_frame. Move unwind | |
2595 | code proper to prev_frame, update description. | |
2596 | * infrun.c (step_over_function): Use frame_unwind_id. | |
2597 | ||
c4557624 JB |
2598 | 2004-04-31 J. Brobecker <[email protected]> |
2599 | ||
2600 | * hppa-tdep.c (hppa32_push_dummy_call): Set the Stack Pointer. | |
2601 | (hppa64_push_dummy_call): Likewise. | |
2602 | ||
3e6bb910 JB |
2603 | 2004-03-30 Jim Blandy <[email protected]> |
2604 | ||
2605 | From Ulrich Weigand: | |
2606 | * utils.c (query): Do not use a va_list variable multiple times. | |
2607 | ||
a2f23071 DJ |
2608 | 2004-03-29 Daniel Jacobowitz <[email protected]> |
2609 | ||
2610 | * Makefile.in (linux_nat_h): Update dependencies. | |
2611 | * configure.in: Check for <gnu/libc-version.h>. | |
2612 | * configure: Regenerate. | |
2613 | * config.in: Regenerate. | |
2614 | * linux-nat.h: Include "target.h". Add waitstatus field to | |
2615 | struct lwp_info. | |
2616 | * lin-lwp.c (add_lwp): Initialize waitstatus.kind. | |
2617 | (lin_lwp_attach_lwp): Don't attach to LWPs we have already attached | |
2618 | to. | |
2619 | (lin_lwp_handle_extended): New function. Handle clone events. | |
2620 | (wait_lwp): Use lin_lwp_handle_extended. Update comment about | |
2621 | thread exit events. | |
2622 | (child_wait): Handle clone events. | |
2623 | (lin_lwp_wait: Use lin_lwp_handle_extended and handle clone events. | |
2624 | * linux-nat.c (linux_enable_event_reporting): Turn on | |
2625 | PTRACE_O_TRACECLONE. | |
2626 | (linux_handle_extended_wait): Handle clone events. | |
2627 | * thread-db.c: Include <gnu/libc-version.h>. | |
2628 | (struct private_thread_info): Add dying flag. | |
2629 | (enable_thread_event_reporting): Enable TD_DEATH for glibc 2.2 and | |
2630 | higher. | |
2631 | (attach_thread): Update comments. Handle dying threads. | |
2632 | (detach_thread): Set the dying flag. | |
2633 | (check_event): Always call attach_thread. | |
2634 | ||
8d5f9dcb DJ |
2635 | 2004-03-29 Daniel Jacobowitz <[email protected]> |
2636 | ||
2637 | * mips-tdep.c (mips_pdr_data): New. | |
2638 | (non_heuristic_proc_desc): Use objfile_data and set_objfile_data. | |
2639 | (_initialize_mips_tdep): Initialize mips_pdr_data. | |
2640 | ||
66337bb1 CV |
2641 | 2004-03-29 Corinna Vinschen <[email protected]> |
2642 | ||
2643 | * minsyms.c (install_minimal_symbols): Move dropping leading | |
2644 | char from linkage name from here... | |
2645 | (prim_record_minimal_symbol_and_info): ...to here. Simplify | |
2646 | test for "__gnu_compiled*" symbols. | |
2647 | ||
e802b915 JB |
2648 | 2004-03-28 Jim Blandy <[email protected]> |
2649 | ||
2650 | * rs6000-tdep.c (skip_prologue): Recognize moves from argument | |
2651 | registers to temp register r0 and byte stores as prologue | |
2652 | instructions. | |
2653 | ||
72b56458 AC |
2654 | 2004-03-28 Andrew Cagney <[email protected]> |
2655 | ||
2656 | * PROBLEMS (Stack backtraces): Rewrite. Remove reference to | |
2657 | arm*-*-*. | |
2658 | ||
0bfbda3b SC |
2659 | 2004-03-28 Stephane Carrez <[email protected]> |
2660 | ||
2661 | * tui/tui-regs.c (tui_show_registers): Make sure the TUI is active | |
2662 | and switch the layout to force a display of register window. | |
2663 | ||
5a7225ed JB |
2664 | 2004-02-26 J. Brobecker <[email protected]> |
2665 | ||
2666 | * amd64-tdep.c (amd64_classify): make RANGE_TYPE objects be part | |
2667 | of the INTEGER class. | |
2668 | ||
81a07a45 JB |
2669 | 2004-03-26 Jim Blandy <[email protected]> |
2670 | ||
2671 | * ppc-linux-tdep.c (ppc_linux_init_abi): Long doubles are eight | |
2672 | bytes long on PPC GNU/Linux. | |
2673 | ||
8c691c7a DC |
2674 | 2004-03-26 David Carlton <[email protected]> |
2675 | ||
2676 | * PROBLEMS: Refer to gdb/1588 instead of gdb/826. | |
2677 | ||
103a0089 AC |
2678 | 2004-03-25 Andrew Cagney <[email protected]> |
2679 | ||
2680 | * PROBLEMS: Add general section titles, remove references to | |
2681 | specific releases. | |
2682 | ||
7a5ea0d4 DJ |
2683 | 2004-03-25 Daniel Jacobowitz <[email protected]> |
2684 | ||
2685 | * arm-linux-tdep.c (ARM_LINUX_JB_ELEMENT_SIZE): Define to | |
2686 | INT_REGISTER_SIZE. | |
2687 | (arm_linux_push_arguments): Use TARGET_DOUBLE_BIT instead of | |
2688 | FP_REGISTER_VIRTUAL_SIZE. | |
2689 | * arm-tdep.c (arm_make_sigtramp_cache): Use register_size instead | |
2690 | of DEPRECATED_REGISTER_RAW_SIZE. | |
2691 | (arm_register_type): Add gdbarch argument. | |
2692 | (arm_register_raw_size, arm_register_virtual_size): Delete. | |
2693 | (arm_register_byte, arm_extract_return_value) | |
2694 | (arm_store_return_value, arm_get_longjmp_target): Update references | |
2695 | to INT_REGISTER_RAW_SIZE and FP_REGISTER_RAW_SIZE. | |
2696 | (arm_gdbarch_init): Likewise. Don't set | |
2697 | deprecated_register_raw_size, deprecated_register_virtual_size, | |
2698 | deprecated_max_register_raw_size, | |
2699 | deprecated_max_register_virtual_size, or | |
2700 | deprecated_max_register_virtual_type. Do set register_type. | |
2701 | * arm-tdep.h (ARM_MAX_REGISTER_RAW_SIZE) | |
2702 | (ARM_MAX_REGISTER_VIRTUAL_SIZE, INT_REGISTER_VIRTUAL_SIZE) | |
2703 | (FP_REGISTER_VIRTUAL_SIZE): Delete. | |
2704 | (INT_REGISTER_RAW_SIZE): Rename to INT_REGISTER_SIZE. | |
2705 | (FP_REGISTER_RAW_SIZE): Rename to FP_REGISTER_SIZE. | |
2706 | * arm-linux-tdep.c (ARM_NBSD_JB_ELEMENT_SIZE): Define to | |
2707 | INT_REGISTER_SIZE. | |
2708 | * remote-rdp.c (remote_rdp_fetch_register): Use MAX_REGISTER_SIZE. | |
2709 | (remote_rdp_store_register): Likewise. | |
2710 | ||
5792a79b DJ |
2711 | 2004-03-24 Daniel Jacobowitz <[email protected]> |
2712 | ||
2713 | * Makefile.in (mips-linux-tdep.o): Update dependencies. | |
2714 | * mips-tdep.c (mips_gdbarch_init): Move frame predicates | |
2715 | to after osabi initialization. | |
2716 | * mips-linux-tdep.c: Include "trad-frame.h" and "tramp-frame.h". | |
2717 | (mips_linux_o32_sigframe_init, mips_linux_n32n64_sigframe_init): New | |
2718 | functions. | |
2719 | (mips_linux_o32_sigframe, mips_linux_o32_rt_sigframe) | |
2720 | (mips_linux_n32_rt_sigframe, mips_linux_n64_rt_sigframe): New | |
2721 | variables. | |
2722 | (mips_linux_init_abi): Append signal trampoline unwinders. | |
2723 | ||
1196bfda AC |
2724 | 2004-03-24 Andrew Cagney <[email protected]> |
2725 | ||
2726 | * tramp-frame.h (TRAMP_SENTINEL_INSN): Define, document. | |
2727 | * tramp-frame.c: Include "gdb_assert.h". | |
2728 | (tramp_frame_start): Use TRAMP_SENTINEL_INSN. Use ULONGEST and | |
2729 | correct sizeof. | |
2730 | (tramp_frame_append): Validate the tramp frame's instructions. | |
2731 | * Makefile.in (tramp-frame.o): Update dependencies. | |
2732 | ||
4be282b4 AC |
2733 | 2004-03-23 Andrew Cagney <[email protected]> |
2734 | ||
2735 | * trad-frame.h (trad_frame_set_reg_addr): Declare. | |
2736 | ||
69aec09b AC |
2737 | 2004-03-23 Andrew Cagney <[email protected]> |
2738 | ||
2739 | * MAINTAINERS (Past Maintainers): Add Mark Salter and Fernando | |
2740 | Nasser as past testsuite/lib/ (and other) maintainers. | |
2741 | ||
63ed89b4 DJ |
2742 | 2004-03-23 Daniel Jacobowitz <[email protected]> |
2743 | ||
2744 | * infcmd.c (attach_command): Reread symbols if we already have | |
2745 | an exec file. | |
2746 | ||
f3b36427 AC |
2747 | 2004-03-23 Andrew Cagney <[email protected]> |
2748 | ||
2749 | * rs6000-tdep.c (frame_get_saved_regs): Delete unused function. | |
2750 | ||
aa2a3f87 AC |
2751 | 2004-03-23 Andrew Cagney <[email protected]> |
2752 | ||
2753 | * gdbarch.sh (SIGTRAMP_START, SIGTRAMP_END): Deprecate. | |
2754 | * gdbarch.h, gdbarch.c: Re-generate. | |
2755 | * i386obsd-tdep.c (i386obsd_init_abi): Update. | |
2756 | * i386nbsd-tdep.c (i386nbsd_init_abi): Update. | |
2757 | * i386bsd-tdep.c (i386bsd_init_abi): Update. | |
8718a420 | 2758 | * config/vax/tm-vaxbsd.h (DEPRECATED_SIGTRAMP_END) |
aa2a3f87 | 2759 | (DEPRECATED_SIGTRAMP_START): Update. |
8718a420 | 2760 | * config/m68k/tm-nbsd.h (DEPRECATED_SIGTRAMP_END) |
aa2a3f87 AC |
2761 | (DEPRECATED_SIGTRAMP_START): Update. |
2762 | * blockframe.c (find_pc_sect_partial_function): Update. | |
2763 | * arch-utils.c (legacy_pc_in_sigtramp): Update. | |
2764 | ||
00cac895 DJ |
2765 | 2004-03-23 Daniel Jacobowitz <[email protected]> |
2766 | ||
2767 | * remote.c (remote_open_1): Reopen the exec file and reread symbols | |
2768 | if necessary. | |
2769 | ||
f561f026 AC |
2770 | 2004-03-23 Andrew Cagney <[email protected]> |
2771 | ||
2772 | * gdbarch.sh (PC_IN_SIGTRAMP): Change to a function with | |
2773 | predicate, deprecate. | |
2774 | * gdbarch.h, gdbarch.c: Re-generate. | |
2775 | * alpha-linux-tdep.c (alpha_linux_init_abi): Update. | |
2776 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Update. | |
2777 | * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Update. | |
2778 | * alphafbsd-tdep.c (alphafbsd_init_abi): Update. | |
2779 | * alphanbsd-tdep.c (alphanbsd_init_abi): Update. | |
2780 | * amd64-linux-tdep.c (amd64_linux_init_abi): Update. | |
2781 | * amd64-tdep.c (amd64_sigtramp_frame_sniffer): Update. | |
2782 | * amd64nbsd-tdep.c (amd64nbsd_init_abi): Update. | |
2783 | * amd64obsd-tdep.c (amd64obsd_init_abi): Update. | |
2784 | * arm-tdep.c (arm_sigtramp_unwind_sniffer): Update. | |
2785 | * blockframe.c (find_pc_partial_function): Update. | |
2786 | * breakpoint.c (bpstat_what): Update. | |
2787 | * frame.c (frame_type_from_pc, legacy_get_prev_frame): Update. | |
2788 | * frv-linux-tdep.c (frv_linux_init_abi): Update. | |
2789 | * frv-tdep.c (frv_sigtramp_frame_sniffer): Update. | |
2790 | * hppa-hpux-tdep.c (hppa_hpux_init_abi): Update. | |
2791 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
2792 | * i386-linux-tdep.c (i386_linux_init_abi): Update. | |
2793 | * i386-nto-tdep.c (i386nto_init_abi): Update. | |
2794 | * i386-sol2-tdep.c (i386_sol2_init_abi): Update. | |
2795 | * i386-tdep.c (i386_sigtramp_frame_sniffer) | |
2796 | (i386_svr4_init_abi, i386_go32_init_abi, i386_gdbarch_init): Update. | |
2797 | * i386bsd-tdep.c (i386bsd_init_abi): Update. | |
2798 | * i386nbsd-tdep.c (i386nbsd_init_abi): Update. | |
2799 | * i386obsd-tdep.c (i386obsd_init_abi): Update. | |
2800 | * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Update. | |
2801 | * infrun.c (pc_in_sigtramp): Update. | |
2802 | * m68k-tdep.c (m68k_sigtramp_frame_sniffer): Update. | |
2803 | * m68klinux-tdep.c (m68k_linux_init_abi): Update. | |
2804 | * mips-tdep.c (mips_gdbarch_init): Update. | |
2805 | * mipsnbsd-tdep.c (mipsnbsd_init_abi): Update. | |
2806 | * ppc-linux-tdep.c: Update comment. | |
2807 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Update. | |
2808 | * shnbsd-tdep.c (shnbsd_init_abi): Update. | |
2809 | * sparc-linux-tdep.c (sparc32_linux_init_abi): Update. | |
2810 | * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Update. | |
2811 | * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Update. | |
2812 | * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Update. | |
2813 | * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Update. | |
2814 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Update. | |
2815 | * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Update. | |
2816 | * sparcobsd-tdep.c (sparc32obsd_init_abi): Update. | |
8718a420 | 2817 | |
8050c72f AC |
2818 | 2004-03-23 Andrew Cagney <[email protected]> |
2819 | ||
d2259dd3 AC |
2820 | * tramp-frame.h, tramp-frame.h: New files. |
2821 | * Makefile.in (SFILES, tramp_frame_h, COMMON_OBS, tramp-frame.o): | |
2822 | Update rules to include "tramp-frame.h" and "tramp-frame.c". | |
2823 | ||
8050c72f AC |
2824 | * Makefile.in: Update all dependencies. |
2825 | ||
0db9b4b7 AC |
2826 | 2004-03-23 Andrew Cagney <[email protected]> |
2827 | ||
2828 | * Makefile.in (trad_frame_h): Add $(frame_h). | |
2829 | * trad-frame.h: Update copyright. Include "frame.h". | |
2830 | (struct trad_frame_cache, trad_frame_cache_zalloc): Declare. | |
2831 | (trad_frame_set_id, trad_frame_get_id): Declare. | |
2832 | (trad_frame_set_reg_addr, trad_frame_get_register): Declare. | |
2833 | * trad-frame.c: Update copyright. | |
2834 | (struct trad_frame_cache): Define. | |
2835 | (trad_frame_cache_zalloc): New function. | |
2836 | (trad_frame_set_id, trad_frame_get_id): New functions. | |
2837 | (trad_frame_set_reg_addr, trad_frame_get_register): New functions. | |
8718a420 | 2838 | |
8e645ae7 AC |
2839 | 2004-03-22 Andrew Cagney <[email protected]> |
2840 | ||
2841 | * s390-tdep.c (struct s390_stub_unwind_cache): Rename | |
2842 | s390_pltstub_unwind_cache. | |
2843 | (s390_stub_frame_unwind_cache): Rename | |
2844 | s390_pltstub_frame_unwind_cache. | |
2845 | (s390_stub_frame_this_id): Rename s390_pltstub_frame_this_id. | |
2846 | (s390_stub_frame_prev_register): Rename | |
2847 | s390_pltstub_frame_prev_register. | |
2848 | (s390_stub_frame_unwind): Rename s390_pltstub_frame_unwind. | |
2849 | (s390_stub_frame_sniffer): Rename s390_stub_frame_sniffer. | |
2850 | ||
2851 | From Ulrich Weigand: | |
2852 | * s390-tdep.c (s390_pltstub_frame_sniffer): Handle invalid function | |
2853 | pointer calls like PLT calls. | |
2854 | ||
34fcf120 DJ |
2855 | 2004-03-22 Daniel Jacobowitz <[email protected]> |
2856 | ||
2857 | * mips-tdep.c (non_heuristic_proc_desc): Search using the specified | |
2858 | PC rather than the partial function start address. Use the start | |
2859 | address to sanity check the found PDR. | |
2860 | ||
5b917078 DJ |
2861 | 2004-03-22 Daniel Jacobowitz <[email protected]> |
2862 | ||
2863 | * lin-lwp.c (lin_lwp_wait): Pass the LWP ID to | |
2864 | linux_handle_extended_wait. | |
2865 | ||
8adf9e78 AC |
2866 | 2004-03-22 Andrew Cagney <[email protected]> |
2867 | ||
c3122434 AC |
2868 | * rs6000-tdep.c (frame_initial_stack_address): Delete unused |
2869 | function. | |
2870 | ||
8adf9e78 AC |
2871 | * frame.h (generic_pop_current_frame): Delete declaration. |
2872 | (deprecate_pop_dummy_frame): Deprecate | |
2873 | generic_pop_dummy_frame. | |
2874 | * dummy-frame.c (deprecated_pop_dummy_frame): Update. | |
2875 | (generic_pop_current_frame): Delete function. | |
2876 | * mn10300-tdep.c (mn10300_pop_frame): Eliminate call to | |
2877 | generic_pop_current_frame. | |
2878 | * v850-tdep.c (v850_pop_frame): Update. | |
2879 | * mcore-tdep.c (mcore_pop_frame): Update. | |
2880 | * sh64-tdep.c (sh64_pop_frame): Update. | |
2881 | * h8300-tdep.c (h8300_pop_frame): Update. | |
2882 | ||
90ba813f AC |
2883 | 2004-03-22 Andrew Cagney <[email protected]> |
2884 | ||
2885 | * frame.h (deprecated_pc_in_call_dummy): Rename | |
2886 | generic_pc_in_call_dummy. | |
2887 | * dummy-frame.h (pc_in_dummy_frame): Delete declaration. | |
2888 | * dummy-frame.c (deprecated_pc_in_call_dummy): Rename | |
2889 | generic_pc_in_call_dummy. | |
2890 | (pc_in_dummy_frame): Make static. | |
2891 | * gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Update. | |
2892 | * gdbarch.h, gdbarch.c: Re-generate. | |
2893 | * dummy-frame.c (dummy_frame_sniffer): Simplify. | |
2894 | * frame.c (frame_type_from_pc): Call deprecated_pc_in_call_dummy. | |
2895 | (legacy_get_prev_frame): Ditto. | |
2896 | * inferior.h: Delete reference to generic_pc_in_call_dummy in | |
2897 | comment. | |
8718a420 | 2898 | |
ca4bb888 AC |
2899 | 2004-03-21 Andrew Cagney <[email protected]> |
2900 | ||
244675f9 AC |
2901 | * inferior.h (deprecated_pc_in_call_dummy_at_entry_point): Delete |
2902 | declaration and out-of-date comment. | |
2903 | * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point): | |
2904 | Delete function. | |
2905 | * mn10300-tdep.c (mn10300_gdbarch_init): Do not set | |
2906 | deprecated_pc_in_call_dummy. | |
2907 | ||
ca4bb888 AC |
2908 | * infrun.c (handle_inferior_event): For non legacy frames, use the |
2909 | frame ID and frame type to identify a signal trampoline. Update | |
2910 | comments. | |
2911 | ||
1777c7b4 NW |
2912 | 2004-03-21 Nathan J. Williams <[email protected]> |
2913 | ||
2914 | * mipsnbsd-tdep.c: Update copyright. Include "mips-tdep.h". | |
2915 | * Makefile.in (mipsnbsd-tdep.o): Update dependencies. | |
2916 | ||
82417da5 AC |
2917 | 2004-03-21 Andrew Cagney <[email protected]> |
2918 | ||
2919 | * frame-unwind.h: Update copyright. | |
2920 | (struct frame_data): Add opaque declaration. | |
2921 | (frame_sniffer_ftype): Declare. | |
2922 | (struct frame_unwind): Add "unwind_data" and "sniffer". | |
2923 | (frame_unwind_register_unwinder): Declare. | |
2924 | (frame_unwind_find_by_frame): Add parameter "this_cache". | |
2925 | * frame.c (get_frame_id, create_new_frame, legacy_get_prev_frame) | |
2926 | (legacy_get_prev_frame, legacy_get_prev_frame) | |
2927 | (get_frame_type): Pass the prologue_cache to | |
2928 | frame_unwind_find_by_frame. | |
2929 | * frame-unwind.c (struct frame_unwind_table_entry): Add field | |
2930 | "unwinder". | |
2931 | (frame_unwind_register_unwinder): New function. | |
2932 | (frame_unwind_find_by_frame): Handle an unwind sniffer. | |
2933 | ||
b2ba182e PH |
2934 | 2004-03-20 Paul Hilfinger <[email protected]> |
2935 | ||
2936 | * bcache.c (print_percentage): Use floating point to avoid | |
2937 | incorrect results when portion*100 overflows. | |
2938 | ||
81332287 KB |
2939 | 2004-03-19 Kevin Buettner <[email protected]> |
2940 | ||
2941 | * ppc_tdep.h (ppc_linux_frame_saved_pc) | |
2942 | (ppc_linux_init_extra_frame_info) | |
2943 | (ppc_linux_frameless_function_invocation) | |
2944 | (ppc_linux_frame_init_saved_regs, ppc_linux_frame_chain) | |
2945 | (rs6000_frame_saved_pc, rs6000_init_extra_frame_info) | |
2946 | (rs6000_frameless_function_invocation, rs6000_frame_init_saved_regs) | |
2947 | (rs6000_frame_chain): Delete declarations. | |
2948 | * ppc-linux-tdep.c (ppc_linux_frame_saved_pc) | |
2949 | (ppc_linux_init_extra_frame_info) | |
2950 | (ppc_linux_frameless_function_invocation) | |
2951 | (ppc_linux_frame_init_saved_regs, ppc_linux_frame_chain): Delete. | |
2952 | (ppc_linux_init_abi): Remove registration of above deleted functions. | |
2953 | * rs6000-tdep.c (rs6000_init_extra_frame_info) | |
2954 | (rs6000_frame_init_saved_regs, rs6000_init_frame_pc_first) | |
2955 | (rs6000_frame_args_address, rs6000_saved_pc_after_call) | |
2956 | (rs6000_pop_frame, rs6000_frameless_function_invocation) | |
2957 | (rs6000_frame_saved_pc, rs6000_frame_chain): Delete. | |
2958 | (rs6000_gdbarch_init): Remove registration of above deleted functions. | |
2959 | Use rs6000_unwind_pc(), rs6000_frame_sniffer(), | |
2960 | rs6000_unwind_dummy_id(), and rs6000_frame_base_sniffer() for | |
2961 | frame management for all OSABIs. | |
2962 | ||
61a65099 KB |
2963 | 2004-03-19 Andrew Cagney <[email protected]> |
2964 | ||
2965 | Committed by Kevin Buettner <[email protected]>. | |
2966 | ||
2967 | * ppc-linux-tdep.c: Include "trad-frame.h", and "frame-unwind.h". | |
2968 | Update copyright. | |
2969 | (struct ppc_linux_sigtramp_cache, ppc_linux_sigtramp_cache) | |
2970 | (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register) | |
2971 | (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer) | |
2972 | (ppc_linux_init_abi): Add both 32- and 64-bit signal trampoline | |
2973 | unwinders. #ifdef legacy frame code. | |
2974 | * rs6000-tdep.c: Include "trad-frame.h", "frame-unwind.h", and | |
2975 | "frame-base.h". | |
2976 | (rs6000_unwind_pc, rs6000_unwind_dummy_id) | |
2977 | (struct rs6000_frame_cache, rs6000_frame_cache) | |
2978 | (rs6000_frame_this_id, rs6000_frame_prev_register) | |
2979 | (rs6000_frame_sniffer, rs6000_frame_unwind) | |
2980 | (rs6000_frame_base_address, rs6000_frame_base_sniffer) | |
2981 | (rs6000_frame_base): Implement a traditional frame unwinder. | |
2982 | (rs6000_gdbarch_init): When unknown, NetBSD, or GNU/Linux use the | |
2983 | frame unwinder. | |
2984 | ||
88f7da05 KB |
2985 | 2004-03-19 Kevin Buettner <[email protected]> |
2986 | ||
2987 | * breakpoint.c (adjust_breakpoint_address): Don't adjust | |
2988 | breakpoint address for watchpoints or the catch eventpoints. | |
2989 | Add new paramter ``bptype''. Adjust all callers. | |
2990 | ||
f826dce1 AC |
2991 | 2004-03-19 Andrew Cagney <[email protected]> |
2992 | ||
33cb8b0f AC |
2993 | * config/pa/tm-hppa.h (GDB_TARGET_IS_HPPA): Delete unused macro. |
2994 | ||
f826dce1 AC |
2995 | * PROBLEMS: Delete note that ARM does not use frame code, problem |
2996 | fixed. | |
2997 | ||
43b1ab88 AC |
2998 | 2004-03-18 Andrew Cagney <[email protected]> |
2999 | ||
292ab034 AC |
3000 | * stack.c (return_command): Delete code wrapped in #ifdef |
3001 | DEPRECATED_CALL_DUMMY_HAS_COMPLETED, macro no longer defined. | |
3002 | ||
43b1ab88 AC |
3003 | * rs6000-tdep.c (skip_prologue): Record only the first LR save. |
3004 | ||
dbfe4626 AC |
3005 | 2004-03-18 Andrew Cagney <[email protected]> |
3006 | ||
3007 | * config/mips/tm-nbsd.h: Replace IN_SIGTRAMP with | |
3008 | DEPRECATED_IN_SIGTRAMP. | |
3009 | * config/powerpc/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto. | |
3010 | * config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP) Ditto. | |
3011 | * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Ditto. | |
3012 | * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Ditto. | |
3013 | * config/ia64/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto. | |
3014 | * config/ia64/tm-aix.h (DEPRECATED_IN_SIGTRAMP): Ditto. | |
3015 | * config/arm/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto. | |
3016 | * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Ditto. | |
3017 | * arch-utils.c (legacy_pc_in_sigtramp): Ditto. | |
3018 | * arch-utils.h: Remove reference to IN_SIGTRAMP in comment. | |
3019 | ||
0cad6aec AC |
3020 | 2004-03-18 Andrew Cagney <[email protected]> |
3021 | ||
3022 | * frame-base.c: Update copyright. Include "gdb_obstack.h". | |
3023 | (struct frame_base_table_entry): Define. | |
3024 | (struct frame_base_table): Re-implement as a linked list. | |
3025 | (frame_base_init): Re-implement. | |
3026 | (frame_base_table): Delete function. | |
3027 | (append_predicate): Delete function. | |
3028 | (frame_base_append_sniffer): Update. | |
3029 | (frame_base_set_default): Update. | |
3030 | (frame_base_find_by_frame): Update. | |
3031 | (_initialize_frame_base): Use gdbarch_data_register_pre_init. | |
3032 | * Makefile.in (frame-base.o): Update dependencies. | |
3033 | ||
9982c2e7 AC |
3034 | 2004-03-17 Andrew Cagney <[email protected]> |
3035 | ||
3036 | * frame.c (legacy_get_prev_frame): Pass correct frame to | |
3037 | frame_unwind_find_by_frame. | |
3038 | ||
8dfe8985 DC |
3039 | 2004-03-17 David Carlton <[email protected]> |
3040 | ||
3041 | * NEWS: Mention C++ nested types and namespaces | |
3042 | ||
ed47347a MC |
3043 | 2004-03-16 Michael Chastain <[email protected]> |
3044 | ||
3045 | * PROBLEMS: Add section headers, "Regressions since gdb 6.0" | |
3046 | and "Regressions since gdb 5.3.". Add known regressions since | |
3047 | gdb 6.0. | |
3048 | ||
90aeadfc DC |
3049 | 2004-03-16 David Carlton <[email protected]> |
3050 | ||
3051 | * dwarf2read.c (process_structure_scope): Process children even | |
3052 | when we're a declaration. | |
3053 | ||
73912b9b AC |
3054 | 2004-03-16 Andrew Cagney <[email protected]> |
3055 | ||
3056 | * symtab.h (find_pc_sect_partial_function): Delete declaration. | |
3057 | * blockframe.c (find_pc_partial_function) | |
3058 | (find_pc_sect_partial_function): Merge into a single | |
3059 | find_pc_partial_function. | |
3060 | ||
283accbc MK |
3061 | 2004-03-16 Mark Kettenis <[email protected]> |
3062 | ||
3063 | * i386bsd-nat.c: s/regno/regnum/g. | |
3064 | (fetch_inferior_registers): Use I386_ST0_REGNUM instead of | |
3065 | FP0_REGNUM. | |
3066 | (store_inferior_registers): Likewise. | |
3067 | ||
f5b1afdf MK |
3068 | 2004-03-16 Mark Kettenis <[email protected]> |
3069 | ||
3070 | * i386bsd-nat.c (fill_fpregset): Call i387_collect_fsave instead | |
3071 | of i387_fill_fsave. | |
3072 | (store_inferior_registers): Call i387_collect_fsave and | |
3073 | i387_collect_fxsave instead of i387_fill_fsave and | |
3074 | i387_fill_fxsave. | |
3075 | ||
41fe5eb3 AC |
3076 | 2004-03-15 Andrew Cagney <[email protected]> |
3077 | ||
3078 | * Makefile.in (frame-unwind.o): Update dependencies. | |
3079 | * frame-unwind.c: Include "gdb_obstack.h". | |
3080 | (frame_unwind_init): Replace "gdbarch" parameter with an "obstack" | |
3081 | parameter. | |
3082 | (append_predicate): Delete function. | |
3083 | (struct frame_unwind_table_entry): New structure. | |
3084 | (struct frame_unwind_table): Replace "sniffer" with "head" and | |
3085 | "tail". | |
3086 | (frame_unwind_append_sniffer): Update. | |
3087 | (frame_unwind_find_by_frame): Update. | |
3088 | (_initialize_frame_unwind): Registe frame_unwind_init using | |
3089 | gdbarch_data_register_pre_init. | |
3090 | ||
3f63813d MK |
3091 | 2004-03-15 Mark Kettenis <[email protected]> |
3092 | ||
3093 | * i386bsd-nat.c: Update copyright year. | |
3094 | (CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Undefine and then | |
3095 | define unconditionally. | |
3096 | ||
3248c325 | 3097 | 2004-03-15 Mark Kettenis <[email protected]> |
63b6c53f MK |
3098 | |
3099 | * i387-tdep.h (i387_collect_fsave): New prototype. | |
3100 | * i387-tdep.c (i387_collect_fsave): New function containing most | |
3101 | of the code from i387_fill_fsave. | |
3248c325 | 3102 | (i387_fill_fsave): Call i387_collect_fsave. |
63b6c53f | 3103 | |
871fbe6a MK |
3104 | 2004-03-15 Mark Kettenis <[email protected]> |
3105 | ||
3106 | * i386-linux-tdep.c: Update copyright year. | |
3107 | (i386_linux_svr4_fetch_link_map_offsets): Remove function. | |
3108 | (i386_linux_init_abi): Set solib_svr4_fetch_link_maop_offsets to | |
3109 | svr4_ilp32_link_map_offsets instead of | |
3110 | i386_linux_svr4_fetch_link_map_offsets. | |
3111 | ||
8176b9b8 DC |
3112 | 2004-03-15 David Carlton <[email protected]> |
3113 | ||
3114 | Fix for PR c++/1553: | |
3115 | * dwarf2read.c (read_structure_type): Determine type name by | |
3116 | calling determine_class_name. | |
3117 | (determine_class_name): New. | |
3118 | (determine_prefix): Look at TYPE_TAG_NAME and call | |
3119 | determine_class_name when appropriate. | |
3120 | (determine_prefix_aux, class_name): Delete. | |
9d58e29d | 3121 | (read_namespace): Set die->type. |
8176b9b8 | 3122 | |
fe8bf7d7 KB |
3123 | 2004-03-15 Kevin Buettner <[email protected]> |
3124 | ||
3125 | * breakpoint.c (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete | |
3126 | unused macro definition. The definition in target.h (or perhaps | |
3127 | elsewhere) takes precedence. | |
3128 | ||
ed6edd9b AC |
3129 | 2004-03-15 Andrew Cagney <[email protected]> |
3130 | ||
f9be684a AC |
3131 | * ppc-tdep.h: Update copyright. |
3132 | (ppc_linux_supply_gregset, ppc_linux_supply_fpregset): Change | |
3133 | function signatures to match "regsets.h". | |
3134 | * ppc-linux-tdep.c: Include "regset.h". | |
3135 | (ELF_GREGSET_SIZE): Delete. | |
3136 | (right_supply_register): New function. | |
3137 | (ppc_linux_supply_fpregset, ppc_linux_supply_gregset): Rewrite | |
3138 | using right_supply_register. | |
3139 | (ppc32_linux_supply_gregset, ppc64_linux_supply_gregset): New | |
3140 | functions. | |
3141 | (ppc64_linux_gregset, ppc32_linux_gregset): Define. | |
3142 | (ppc_linux_init_abi): Register ppc_linux_regset_from_core_section. | |
3143 | (_initialize_ppc_linux_tdep): Do not register | |
3144 | ppc_linux_regset_core_fns. | |
3145 | (ppc_linux_regset_from_core_section): Replace | |
3146 | fetch_core_registers. | |
3147 | (ppc_linux_regset_core_fns): Delete. | |
3148 | * ppc-linux-nat.c: (right_fill_reg): New function. | |
3149 | (supply_gregset): Update call to ppc_linux_supply_gregset. | |
3150 | (fill_gregset): Clear the register set, use right_fill_reg. | |
3151 | (supply_fpregset): Update call to ppc_linux_supply_fpregset. | |
3152 | (fill_fpregset): Use right_fill_reg, correctly compute FP offsets. | |
3153 | ||
ed6edd9b AC |
3154 | * rs6000-tdep.c (rs6000_register_virtual_type): Make registers |
3155 | unsigned. | |
3156 | ||
030f20e1 AC |
3157 | 2004-03-15 Andrew Cagney <[email protected]> |
3158 | ||
3159 | * gdbarch.sh (gdbarch_data_pre_init_fytpe) | |
3160 | (gdbarch_data_register_pre_init, gdbarch_data_post_init_fytpe) | |
3161 | (gdbarch_data_register_post_init): Replace gdbarch_data_init_ftype | |
3162 | and register_gdbarch_data. | |
3163 | (deprecated_set_gdbarch_data): Rename set_gdbarch_data. | |
3164 | (struct gdbarch_data): Replace "init" by "pre_init" and | |
3165 | "post_init". | |
3166 | * gdbarch.h, gdbarch.c: Re-generate. | |
3167 | * dwarf2-frame.c (dwarf2_frame_init): Replace "gdbarch" paramter | |
3168 | with"obstack", use OBSTACK_ZALLOC. | |
3169 | (dwarf2_frame_ops): Delete. | |
3170 | (dwarf2_frame_set_init_reg): Use gdbarch_data. | |
3171 | (dwarf2_frame_init_reg): Use gdbarch_data. | |
3172 | (_initialize_dwarf2_frame): Use gdbarch_data_register_pre_init. | |
8718a420 | 3173 | * solib-svr4.c (set_solib_svr4_fetch_link_map_offsets) |
030f20e1 AC |
3174 | (_initialize_svr4_solib): Update. |
3175 | * user-regs.c (_initialize_user_regs): Update. | |
3176 | * reggroups.c (_initialize_reggroup): Update. | |
3177 | * regcache.c (_initialize_regcache): Update. | |
3178 | * mips-linux-tdep.c (_initialize_mips_linux_tdep): Update. | |
3179 | * libunwind-frame.c (_initialize_libunwind_frame): Update. | |
3180 | * gnu-v3-abi.c (init_gnuv3_ops): Update. | |
3181 | * frame-unwind.c (_initialize_frame_unwind): Update. | |
3182 | * frame-base.c (_initialize_frame_base): Update. | |
3183 | * user-regs.c (user_reg_add): Update. | |
3184 | * reggroups.c (reggroup_add): Update. | |
3185 | * mips-linux-tdep.c (set_mips_linux_register_addr): Update. | |
3186 | * libunwind-frame.c (libunwind_frame_set_descr): Update. | |
3187 | * frame-unwind.c (frame_unwind_append_sniffer): Update. | |
3188 | * frame-base.c (frame_base_table): Update. | |
3189 | * remote.c (_initialize_remote): Update. | |
3190 | * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Define. | |
8718a420 | 3191 | |
3111a3fc AC |
3192 | 2004-03-15 Andrew Cagney <[email protected]> |
3193 | ||
3194 | * cris-tdep.c (bfd_lookup_symbol): Delete unused function. | |
3195 | ||
5ecb7103 KB |
3196 | 2004-03-15 Kevin Buettner <[email protected]> |
3197 | ||
3198 | * Makefile.in (frv-linux-tdep.o): Add dependencies. | |
3199 | * frv-linux-tdep.c: New file. | |
3200 | * frv-tdep.c (struct gdbarch_tdep): Add new field | |
3201 | ``sigcontext_reg_addr''. | |
3202 | (frv_set_sigcontext_reg_addr, frv_sigtramp,frame_cache) | |
3203 | (frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register) | |
3204 | (frv_sigramp_frame_sniffer): New functions. | |
3205 | (frv_sigtramp_frame_unwind): New static global. | |
3206 | (frv_gdbarch_init): Hook in ABI-specific overrides. Hook up frame | |
3207 | sniffers. | |
3208 | * frv-tdep.h (frv_set_sigcontext_reg_addr): New function. | |
3209 | * config/frv/frv.mt (TDEPFILES): Add frv-linux-tdep.o. | |
3210 | ||
1ccda5e9 KB |
3211 | 2004-03-15 Kevin Buettner <[email protected]> |
3212 | ||
3213 | * frv-tdep.c (frv_analyze_prologue): Terminate prologue scan, | |
3214 | but not via a call to error(), when unable to read memory. | |
3215 | ||
b375a0a5 KB |
3216 | 2004-03-15 Kevin Buettner <[email protected]> |
3217 | ||
3218 | * frv-tdep.c (frv_call_dummy_words): Delete. | |
3219 | (frv_frame_unwind_cache): Delete unused variable, ``prev_sp''. | |
3220 | ||
4fdf6121 AC |
3221 | 2004-03-15 Andrew Cagney <[email protected]> |
3222 | ||
3223 | * infrun.c (handle_step_into_function, step_over_function): Only | |
3224 | update and use STEP_FRAME_ID when the system is using legacy | |
3225 | frames. Update comments. | |
3226 | ||
34021503 MK |
3227 | 2004-03-14 Mark Kettenis <[email protected]> |
3228 | ||
187e21d1 MK |
3229 | * amd64-linux-tdep.h: Remove file. |
3230 | * amd64-linux-tdep.c: Don't include "inferior.h" and | |
3231 | "amd64-linux-tdep.h". Include "frame.h" and "solib-svr4.h". | |
3232 | (USER_R15, USER_R14, USER_R13, USER_R12, USER_RBP, USER_RBX) | |
3233 | (USER_R11, USER_R10, USER_R9, USER_R8, USER_RAX, USER_RCX) | |
3234 | (USER_RDX, USER_RSI, USER_RDI, USER_RIP, USER_CS, USER_EFLAGS) | |
3235 | (USER_RSP, USER_SS, USER_DS, USER_ES, USER_FS, USER_GS): Remove | |
3236 | macros. | |
3237 | (user_to_gdb_regmap): Remove variable. | |
3238 | (amd64_linux_gregset_reg_offset): New variable. | |
3239 | (amd64_core_fns): Remove variable. | |
3240 | (fetch_core_registers): Remove function. | |
3241 | (amd64_linux_supply_gregset, amd64_linux_fill_gregset): Remove | |
3242 | functions. | |
3243 | (_initialize_amd64_linux_tdep): Don't set add_core_fns. | |
3244 | * amd64-linux-nat.c: Don't include "amd64-linux-tdep.h". | |
3245 | * Makefile.in (amd64_linux_tdep_h): Remove. | |
3246 | (amd64-linux-nat.o): Update dependencies. | |
3247 | (amd64-linux-tdep.o): Update dependencies. | |
3248 | ||
99679982 MK |
3249 | * amd64-linux-nat.c (GETFPREGS_SUPPLIES): Remove macro. |
3250 | (fetch_regs, fetch_fpregs, store_regs, store_fpregs): Remove | |
3251 | functions. | |
3252 | (fetch_inferior_registers, store_inferior_registers): Rewrite. | |
3253 | ||
34021503 MK |
3254 | * amd64-tdep.h (amd64_fill_fxsave): Remove prototype. |
3255 | * amd64-tdep.c (amd64_fill_fxsave): Remove function. | |
3256 | ||
134d01f1 DJ |
3257 | 2004-03-14 Daniel Jacobowitz <[email protected]> |
3258 | ||
3259 | * dwarf2read.c (read_structure_type): Rename from | |
8718a420 | 3260 | read_structure_scope. Don't create a symbol or call process_die. |
134d01f1 DJ |
3261 | Return immediately if die->type is set. Call read_type_die before |
3262 | dwarf2_add_member_fn. | |
3263 | (process_structure_scope): New function. | |
3264 | (read_enumeration_type, process_enumeration_scope): New functions, | |
3265 | broken out from read_enumeration. Don't create the enumeration | |
3266 | type if it has already been created. | |
3267 | (read_enumeration): Removed. | |
3268 | (process_die): Call read_structure_type, process_structure_scope, | |
3269 | read_enumeration_type, and process_enumeration_scope. Just call | |
3270 | new_symbol for base and subrange types. Add a comment about other | |
3271 | type dies. | |
3272 | (read_type_die): Call read_enumeration_type. | |
3273 | (add_partial_structure, new_symbol): Update comments. | |
3274 | ||
65760afb SC |
3275 | 2004-03-13 Stephane Carrez <[email protected]> |
3276 | ||
3277 | * m68hc11-tdep.c (m68hc11_register_name): Get soft reg information. | |
3278 | ||
10f59415 SC |
3279 | 2004-03-13 Stephane Carrez <[email protected]> |
3280 | ||
3281 | * tui/tui-win.h (tui_get_cmd_list): Declare. | |
3282 | * tui/tui-win.c (tui_command): New function. | |
3283 | (tui_get_cmd_list): New function. | |
3284 | (_initialize_tui_win): Moved initialization of tui command in | |
3285 | tui_get_cmd_list. | |
3286 | ||
3287 | * tui/tui-data.c (init_content_element): Setup new data members. | |
3288 | (init_win_info): Likewise. | |
3289 | (free_content_elements): Free it. | |
3290 | * tui/tui-data.h (struct tui_data_element): Store the register | |
3291 | content to print. | |
3292 | (struct tui_data_info): Keep the current register group. | |
3293 | ||
3294 | * tui/tui-layout.c (tui_set_layout): Update call to tui_show_registers. | |
3295 | ||
3296 | * tui/tui-regs.h (tui_show_registers): Update prototype. | |
3297 | (tui_toggle_float_regs, tui_calculate_regs_column_count): Remove. | |
3298 | (tui_resize_all): No need to calculate anything for register window. | |
3299 | * tui/tui-regs.c (tui_calculate_regs_column_count): Remove. | |
3300 | (tui_set_register_element, tui_set_general_regs_content): Remove. | |
3301 | (tui_set_special_regs_content): Remove. | |
3302 | (tui_set_general_and_special_regs_content): Remove. | |
3303 | (tui_set_float_regs_content): Remove. | |
3304 | (tui_reg_value_has_changed, tui_get_register_raw_value): Remove. | |
3305 | (tui_set_regs_content): Remove. | |
3306 | (tui_toggle_float_regs, _tui_toggle_float_regs_command): Remove. | |
3307 | (tui_v_show_registers_command_support): Remove. | |
3308 | (tui_show_registers): Use a reggroup to specify the registers to show. | |
3309 | (tui_show_register_group): New function. | |
3310 | (tui_display_registers_from): Compute the layout of register window | |
3311 | and refresh with new API; be sure to delete old register windows. | |
3312 | (tui_check_register_values): Update to use tui_get_register and | |
3313 | tui_display_data. | |
3314 | (tui_display_register): Just refresh the register window part. | |
3315 | (tui_register_format): Format registers and save in tui_data_element. | |
3316 | (tui_get_register): New to combine tui_reg_value_has_changed and | |
3317 | tui_get_register_raw_value; fix to use the new gdb API. | |
3318 | (tui_show_float_command): Renamed tui_reg_float_command. | |
3319 | (tui_show_general_command): Renamed tui_reg_general_command. | |
3320 | (tui_show_special_command): Renamed tui_reg_system_command. | |
3321 | (_initialize_tui_regs): Remove unused commands. | |
3322 | ||
c3364ea4 MK |
3323 | 2004-03-13 Mark Kettenis <[email protected]> |
3324 | ||
27d1e716 MK |
3325 | * NEWS (New native configurations): Mention OpenBSD/amd64. |
3326 | ||
c3364ea4 MK |
3327 | * config/i386/nm-fbsd.h: Include "config/nm-bsd.h". |
3328 | (PTRACE_ARG3_TYPE, FETCH_INFERIOR_REGISTERS, ATTACH_DETACH): | |
3329 | Remove defines. | |
3330 | * config/i386/nm-fbsd64.h: Likewise. | |
3331 | * config/i386/nm-obsd.h: Likewise. | |
3332 | * config/sparc/nm-fbsd.h: Likewise. Update copyright year. | |
3333 | * config/alpha/nm-fbsd.h: Likewise. Update copyright year. | |
3334 | ||
b2d6d697 KB |
3335 | 2004-03-12 Kevin Buettner <[email protected]> |
3336 | ||
3337 | * frv-tdep.c (set_variant_scratch_registers): New function. | |
b2d6d697 KB |
3338 | * frv-tdep.h (scr0_regnum, scr1_regnum, scr2_regnum, scr3_regnum): |
3339 | New constants. | |
3340 | ||
76e43199 KB |
3341 | From Richard Sandiford <[email protected]>: |
3342 | * frv-tdep.c (frv_gdbarch_init): Add FR450 support. | |
3343 | ||
34ce532e KB |
3344 | 2004-03-12 Kevin Buettner <[email protected]> |
3345 | ||
3346 | * frv-tdep.c, frv-tdep.h (first_gpr_regnum, sp_regnum, fp_regnum) | |
3347 | (struct_return_regnum, last_gpr_regnum, first_fpr_regnum) | |
3348 | (last_fpr_regnum, pc_regnum, first_spr_regnum, psr_regnum, ccr_regnum) | |
3349 | (cccr_regnum, fdpic_loadmap_exec_regnum, fdpic_loadmap_interp_regnum) | |
3350 | (tbr_regnum, brr_regnum, dbar0_regnum, dbar1_regnum, dbar2_regnum) | |
3351 | (dbar3_regnum, lr_regnum, lcr_regnum, iacc0h_regnum, iacc0l_regnum) | |
3352 | (last_spr_regnum, frv_num_regs, first_pseudo_regnum, iacc0_regnum) | |
3353 | (last_pseudo_regnum, frv_num_pseudo_regs): Move constant (enum) | |
3354 | definitions from frv-tdep.c to frv-tdep.h. | |
3355 | ||
c4d10515 KB |
3356 | 2004-03-12 Kevin Buettner <[email protected]> |
3357 | ||
3358 | Add shared library support for FR-V FDPIC ABI: | |
3359 | * Makefile.in (solib-frv.o): Add dependencies. | |
3360 | * frv-tdep.c (find_func_descr, frv_convert_from_func_ptr_addr): | |
3361 | New functions. | |
3362 | (frv_push_dummy_call): Add support for FDPIC ABI. | |
3363 | (frv_gdbarch_init): Call set_gdbarch_convert_from_func_ptr_addr() | |
3364 | for FDPIC ABI. | |
3365 | * frv-tdep.h (frv_fdpic_find_global_pointer): Declare. | |
3366 | (frv_fdpic_find_canonical_descriptor): Declare. | |
3367 | * solib-frv.c: New file. | |
3368 | * config/frv/frv.mt (TDEPFILES): Add solib.o and solib-frv.o. | |
3369 | * config/frv/tm-frv.h (solib.h): Include. | |
3370 | ||
ed1bd989 KB |
3371 | 2004-03-12 Kevin Buettner <[email protected]> |
3372 | ||
3373 | * Makefile.in (elf_frv_h, frv_tdep_h): Define. | |
3374 | (frv-tdep.o): Update dependencies. | |
3375 | * frv-tdep.h: New file. | |
3376 | * frv-tdep.c (elf-bfd.h, elf/frv.h, osabi.h, frv-tdep.h): Include. | |
3377 | (fdpic_loadmap_exec_regnum, fdpic_loadmap_interp_regnum): New | |
3378 | constants. | |
3379 | (struct gdbarch_tdep): Add new member ``frv_abi''. | |
3380 | (frv_abi, frv_fdpic_loadmap_addresses, set_variant_abi_fdpic): New | |
3381 | functions. | |
3382 | (new_variant): Set ``frv_abi'' field. | |
3383 | (gdb_arch_init): Detect FDPIC executables. | |
3384 | ||
82b38f72 MK |
3385 | 2004-03-12 Mark Kettenis <[email protected]> |
3386 | ||
3387 | * solib-svr4.h: Change SOLIB_SVR4 wrapper into SOLIB_SVR4_H | |
3388 | wrapper. | |
3389 | ||
db1ea9ba AC |
3390 | 2004-03-11 Andrew Cagney <[email protected]> |
3391 | ||
3392 | * solib-svr4.h: Add #ifndef SOLIB_SVR4 wrapper. | |
3393 | ||
f8766ec1 KB |
3394 | 2004-03-11 Kevin Buettner <[email protected]> |
3395 | ||
3396 | * solist.h (master_so_list): New function. | |
3397 | * solib.c (master_so_list): Likewise. | |
3398 | * solib-svr4.c (enable_break): Iterate over so_list entries | |
3399 | obtained from master list instead of entries obtained directly | |
3400 | via svr4_current_sos(). | |
3401 | ||
523f6a27 BE |
3402 | 2004-03-10 Ben Elliston <[email protected]> |
3403 | ||
3404 | * MAINTAINERS: Update my mail address. | |
3405 | ||
37814c18 KI |
3406 | 2004-03-10 Kei Sakamoto <[email protected]> |
3407 | ||
3408 | * remote-m32r-sdi.c: Support hardware watchpoint. | |
3409 | ||
8b9740d8 DJ |
3410 | 2004-03-09 Daniel Jacobowitz <[email protected]> |
3411 | ||
3412 | * user-regs.c: Update copyright years. | |
3413 | (struct user_regs): Rename to gdb_user_regs. | |
3414 | (append_user_reg, builtin_user_regs, user_regs_init) | |
3415 | (user_reg_add, user_reg_map_name_to_regnum) | |
3416 | (usernum_to_user_reg): Update. | |
3417 | ||
4bb7a0a7 DJ |
3418 | 2004-03-09 Daniel Jacobowitz <[email protected]> |
3419 | ||
3420 | * dwarf2read.c (skip_leb128, peek_die_abbrev, skip_one_die) | |
3421 | (skip_children): New functions. | |
3422 | (locate_pdi_sibling): Call skip_children. | |
3423 | ||
44e1a9eb DJ |
3424 | 2004-03-09 Daniel Jacobowitz <[email protected]> |
3425 | ||
3426 | * arm-tdep.c (arm_use_struct_convention): Look through typedefs. | |
3427 | * gdbtypes.c (check_typedef): Update comments. | |
3428 | ||
f3dd6933 DJ |
3429 | 2004-03-09 Daniel Jacobowitz <[email protected]> |
3430 | ||
3431 | * dwarf2read.c (struct comp_unit_head): Remove dwarf2_abbrevs array. | |
3432 | (struct dwarf2_cu): Add abbrev_obstack and dwarf2_abbrevs | |
3433 | pointer. Update comment about comp_unit_head. | |
3434 | (struct abbrev_info): Shorten two int flags. | |
3435 | (dwarf_alloc_abbrev): Take a CU argument. | |
3436 | (dwarf2_build_psymtabs_hard): Call dwarf2_free_abbrev_table | |
3437 | each time through the loop. Update cleanup argument. | |
3438 | (psymtab_to_symtab_1): Update cleanup call. | |
3439 | (dwarf2_read_abbrevs, dwarf2_alloc_abbrev): Allocate on the | |
3440 | abbrev_obstack. | |
3441 | (dwarf2_free_abbrev_table): Renamed from dwarf2_empty_abbrev_table. | |
3442 | Just call obstack_free and clear the pointer. | |
3443 | ||
b40c7d58 DJ |
3444 | 2004-03-09 Daniel Jacobowitz <[email protected]> |
3445 | ||
3446 | * infrun.c (handle_inferior_event): Remove short-circuit code for | |
3447 | events in a different thread. | |
3448 | ||
333dabeb DJ |
3449 | 2004-03-09 Daniel Jacobowitz <[email protected]> |
3450 | ||
3451 | * target.c (debug_to_xfer_memory): If targetdebug is 1, don't | |
3452 | print the whole transfer. | |
3453 | (initialize_targets): Update description of "set debug target". | |
3454 | ||
aa17d93e DJ |
3455 | 2004-03-09 Daniel Jacobowitz <[email protected]> |
3456 | ||
3457 | * arm-tdep.c (thumb_get_next_pc): Handle Thumb BLX. | |
3458 | ||
0b71f08f NW |
3459 | 2004-03-08 Nathan J. Williams <[email protected]> |
3460 | ||
3461 | * MAINTAINERS (write after approval): Add myself. | |
3462 | ||
3930f270 CV |
3463 | 2004-03-08 Corinna Vinschen <[email protected]> |
3464 | ||
3465 | * sh-tdep.c (sh_print_registers_info): Use for loop. | |
3466 | Don't skip multiple registers when a float register is encountered. | |
3467 | ||
a2b4a96c CV |
3468 | 2004-03-08 Corinna Vinschen <[email protected]> |
3469 | ||
3470 | Fix PR tdep/1291. | |
3471 | * sh-tdep.c (sh_analyze_prologue): Align PC relative addressing | |
3472 | to official SH documentation. | |
3473 | ||
f15a4bc0 AC |
3474 | 2004-03-07 Andrew Cagney <[email protected]> |
3475 | ||
3476 | * ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register): Delete | |
3477 | unused function. | |
3478 | ||
9498281f DJ |
3479 | 2004-03-07 Daniel Jacobowitz <[email protected]> |
3480 | ||
3481 | * arm-tdep.c (thumb_get_next_pc): Handle BX. | |
3482 | (arm_get_next_pc): Handle BX and BLX. | |
3483 | ||
449e1137 AC |
3484 | 2004-03-07 Andrew Cagney <[email protected]> |
3485 | ||
eded0a31 AC |
3486 | * hppa-tdep.c: Replace DEPRECATED_FP_REGNUM with HPPA_FP_REGNUM, |
3487 | FP0_REGNUM with HPPA_FP0_REGNUM, and SP_REGNUM with | |
3488 | HPPA_SP_REGNUM. | |
3489 | (hppa_register_raw_size, hppa_register_byte, hppa_read_fp) | |
3490 | (hppa_target_read_fp): Delete. | |
3491 | (hppa_gdbarch_init): Do not set deprecated register_raw_size, | |
3492 | register_virtual_size, max_register_raw_size, | |
3493 | max_register_virtual_size, register_byte, register_size, | |
3494 | target_read_fp, fp_regnum, and register_bytes. Set register_type | |
3495 | instead of register_virtual_type. | |
3496 | (hppa32_register_type, hppa64_register_type): Replace | |
3497 | hppa32_register_virtual_type and hppa64_register_virtual_type. | |
3498 | * config/pa/tm-hppa.h (HPPA_FP0_REGNUM, HPPA_SP_REGNUM) | |
3499 | (HPPA_FP_REGNUM): Define. | |
3500 | ||
f5f907e2 AC |
3501 | * hppa-tdep.c (hppa_gdbarch_init): Add missing "break". |
3502 | ||
69b4bbe4 AC |
3503 | * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO) |
3504 | (pa_do_registers_info): Delete. | |
3505 | * hppa-tdep.c (pa_do_registers_info, pa_do_strcat_registers_info) | |
8718a420 | 3506 | (pa_print_registers, pa_print_fp_reg, pa_strcat_registers) |
69b4bbe4 | 3507 | (pa_strcat_fp_reg, pa_register_look_aside): Delete. |
f5f907e2 | 3508 | |
78161e48 AC |
3509 | * infcall.c (legacy_push_dummy_code): Delete #ifdef |
3510 | GDB_TARGET_IS_HPPA code. | |
3511 | * config/pa/tm-hppa.h (DEPRECATED_FIX_CALL_DUMMY) | |
8718a420 | 3512 | (hppa_fix_call_dummy, DEPRECATED_CALL_DUMMY_HAS_COMPLETED) |
78161e48 AC |
3513 | (DEPRECATED_DUMMY_WRITE_SP, CALL_DUMMY): Delete. |
3514 | * config/pa/tm-hppa64.h (CALL_DUMMY): Delete. | |
8718a420 RM |
3515 | * hppa-tdep.c (hppa_frame_chain, hppa_frame_chain_valid) |
3516 | (hppa_push_dummy_frame, hppa_pop_frame, hppa_push_arguments) | |
3517 | (hppa_fix_call_dummy, hppa64_stack_align, hppa_frame_saved_pc) | |
78161e48 | 3518 | (hppa_init_extra_frame_info, hppa_saved_pc_after_call) |
8718a420 RM |
3519 | (hppa64_call_dummy_breakpoint_offset, hppa_frame_init_saved_regs) |
3520 | (hppa_frameless_function_invocation, hppa64_store_return_value) | |
3521 | (hppa_store_struct_return, hppa64_extract_return_value) | |
78161e48 | 3522 | (hppa64_use_struct_convention, hppa_frame_find_saved_regs) |
8718a420 | 3523 | (hppa32_call_dummy_length, hppa64_call_dummy_length) |
78161e48 | 3524 | (find_dummy_frame_regs, FUNC_LDIL_OFFSET, FUNC_LDO_OFFSET) |
8718a420 RM |
3525 | (find_proc_framesize, deposit_21, restore_pc_queue) |
3526 | (find_return_regnum, pc_in_interrupt_handler, deposit_14) | |
210197d2 | 3527 | (rp_saved, pc_in_linker_stub): Delete. |
78161e48 | 3528 | |
782eae8b AC |
3529 | Unconditionally enable 64-bit frame and ABI code. |
3530 | * hppa-tdep.c (hppa_gdbarch_init): Do not set deprecated | |
3531 | call_dummy_breakpoint_offset, call_dummy_length, stack_align, | |
3532 | push_dummy_frame, fix_call_dummy, push_arguments, | |
3533 | call_dummy_location, extract_return_value, use_struct_convention, | |
3534 | store_return_value, store_struct_return, saved_pc_after_call, | |
3535 | init_frame_pc, frame_init_saved_regs, init_extra_frame_info, | |
3536 | frame_chain, frame_chain_valid, frameless_function_invocation, | |
3537 | frame_saved_pc, and pop_frame. | |
78161e48 | 3538 | |
449e1137 AC |
3539 | * hppa-tdep.c: Replace PC_REGNUM with PCOQ_HEAD_REGNUM. |
3540 | (hppa64_return_value, hppa64_push_dummy_call): Rewrite. | |
3541 | (hppa_gdbarch_init): Do not set PC_REGNUM. | |
3542 | ||
12507572 MK |
3543 | 2004-03-06 Mark Kettenis <[email protected]> |
3544 | ||
3545 | * config/alpha/tm-fbsd.h: Remove file. | |
3546 | * config/alpha/fbsd.mt: Tweak comment. | |
3547 | (TM_FILE): Set to tm-alpha.h. | |
3548 | ||
c107cc1b AC |
3549 | 2004-03-05 Andrew Cagney <[email protected]> |
3550 | ||
3551 | * infrun.c (step_over_function): When non-legacy code, and no | |
3552 | step_frame_id, use the unwinder to get the caller's frame ID. | |
3553 | ||
f2e7c15d MK |
3554 | 2004-03-05 Mark Kettenis <[email protected]> |
3555 | ||
8b0c3633 MK |
3556 | * i386bsd-tdep.c (_initialize_i386bsd_tdep): Register |
3557 | i386bsd_core_osabi_sniffer for bfd_arch_i386 instead of | |
3558 | bfd_arch_unknown. Adjust comment. | |
3559 | ||
f2e7c15d MK |
3560 | * i386-nat.c: Fix typo in comment. Re-introduce paranoiac. |
3561 | * i386obsd-tdep.c: Correct spelling in comment. | |
3562 | * i386nbsd-tdep.c: Correct spelling in comment. | |
3563 | * sparc-tdep.c: Correct spelling in comments. | |
3564 | ||
1198ecbe DC |
3565 | 2004-03-05 David Carlton <[email protected]> |
3566 | ||
3567 | * cp-namespace.c (cp_lookup_transparent_type_loop): Fix recursion | |
3568 | bug. | |
3569 | ||
9eb42ed1 MK |
3570 | 2004-03-05 Mark Kettenis <[email protected]> |
3571 | ||
3572 | * sparc-tdep.c: Fix typo in comment. | |
3573 | ||
52b5e991 JB |
3574 | 2004-03-04 J. Brobecker <[email protected]> |
3575 | ||
3576 | * hppa-tdep.c (hppa_frame_cache): Avoid undefined return value. | |
3577 | ||
d8151005 DJ |
3578 | 2004-03-04 Daniel Jacobowitz <[email protected]> |
3579 | ||
3580 | * dwarf2read.c: Add comment describing memory lifetimes. | |
3581 | (struct dwarf2_pinfo): Update comment. | |
3582 | (dwarf2_add_field, dwarf2_add_member_fn, read_structure_scope) | |
3583 | (read_enumeration, new_symbol): Don't use obsavestring. | |
3584 | ||
cbeae229 MK |
3585 | 2004-03-04 Mark Kettenis <[email protected]> |
3586 | ||
722d18c2 MK |
3587 | * amd64-linux-nat.c (fill_fpregset): Call amd64_colletc_fxsave |
3588 | instead of amd64_fill_fxsave. | |
3589 | * amd64bsd-nat.c (store_inferior_registers): Likewise. | |
3590 | * amd64fbsd-nat.c (fill_fpregset): Likewise. | |
3591 | ||
cbeae229 MK |
3592 | * sparc-tdep.c (sparc_frame_cache): Don't bail out if %fp is zero. |
3593 | Reorganize code a bit. | |
3594 | ||
b4206d25 OF |
3595 | 2004-03-04 Orjan Friberg <[email protected]> |
3596 | ||
3597 | * cris-tdep.c (cris_scan_prologue): Save the frame pointer's offset | |
8718a420 RM |
3598 | when the frame pointer is pushed. Don't set the frame pointer's |
3599 | address on the stack unless it's actually located there. | |
b4206d25 OF |
3600 | Set the SRP's address on the stack correctly when the PC is still in |
3601 | the prologue. | |
3602 | (cris_return_value): New function. | |
3603 | (cris_gdbarch_init): Clear deprecated store_return_value, | |
3604 | extract_return_value. | |
3605 | ||
49b0b195 JB |
3606 | 2004-03-02 Jim Blandy <[email protected]> |
3607 | ||
3608 | * stabsread.c (reg_value_complaint): The maximum register number | |
3609 | is one less than the number of registers. | |
3610 | ||
e9ff708b AC |
3611 | 2004-03-02 Andrew Cagney <[email protected]> |
3612 | ||
3613 | * i386-tdep.h (enum i386_regnum): Add I386_DS_REGNUM, | |
3614 | I386_ES_REGNUM, I386_FS_REGNUM, and I386_GS_REGNUM. Remove | |
3615 | trailing comma and redundant assignment of I386_ST0_REGNUM. | |
3616 | * amd64-nat.c (amd64_collect_native_gregset): Zero-extend the | |
3617 | 32-bit segment registers. | |
3618 | ||
d4715e41 AC |
3619 | 2004-03-01 Andrew Cagney <[email protected]> |
3620 | ||
3621 | * rs6000-tdep.c (rs6000_init_frame_pc_first): Fix compiler error, | |
3622 | use frame_relative_level and get_next_frame. | |
3623 | ||
3ce2bf18 AC |
3624 | 2004-02-29 Andrew Cagney <[email protected]> |
3625 | ||
3626 | * rs6000-tdep.c (rs6000_init_frame_pc_first): New function. | |
3627 | (rs6000_gdbarch_init): Set deprecated_init_frame_pc_first. | |
3628 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): | |
3629 | Delete macro. | |
3630 | ||
2da6aac3 DJ |
3631 | 2004-02-29 Daniel Jacobowitz <[email protected]> |
3632 | ||
3633 | * inflow.c (terminal_inferior): Don't give up the terminal if we | |
3634 | previously couldn't get the inferior's terminal state. | |
3635 | ||
6ba34a8d DJ |
3636 | 2004-02-29 Daniel Jacobowitz <[email protected]> |
3637 | ||
3638 | * regcache.c (read_pc_pid): Restore inferior_ptid after reading | |
3639 | PC_REGNUM. | |
3640 | ||
faae5abe AC |
3641 | 2004-02-28 Andrew Cagney <[email protected]> |
3642 | ||
3643 | * NEWS: Refer to GDB 6.1. | |
3644 | * README: Refer to GDB 6.1. | |
3645 | * PROBLEMS: Refer to GDB 6.1. | |
3646 | ||
2227a3c5 DJ |
3647 | 2004-02-28 Daniel Jacobowitz <[email protected]> |
3648 | ||
3649 | * thread-db.c (disable_thread_signals): Remove unused function. | |
3650 | ||
80571bff MK |
3651 | 2004-02-28 Mark Kettenis <[email protected]> |
3652 | ||
041bd74b MK |
3653 | * amd64-nat.c: Include "gdb_string.h". |
3654 | (amd64_collect_native_gregset): Zero-extend the 32-bit | |
3655 | general-purpose registers and %eip. | |
3656 | ||
3c017e40 MK |
3657 | * amd64-tdep.h: (amd64_collect_fxsave): New prototype. |
3658 | * amd64-tdep.c (amd64_collect_fxsave): New function. | |
3659 | (amd64_fill_fxsave): Simply call amd64_collect_fxsave. | |
3660 | ||
80571bff MK |
3661 | * i387-tdep.h: Update copyright year. |
3662 | (i387_collect_fxsave): New prototype. | |
3663 | * i387-tdep.c: Update copyright year. | |
3664 | (i387_collect_fxsave): New function containing most of the code | |
3665 | from i387_fill_fxsave. | |
3666 | (i387_fill_fxsave): Call i387_collect_fxsave. | |
3667 | ||
50d71875 AC |
3668 | 2004-02-28 Andrew Cagney <[email protected]> |
3669 | ||
3670 | * amd64-linux-nat.c (ps_get_thread_area): When architecture is | |
3671 | i386 use PTRACE_GET_THREAD_AREA. Suggested by Roland McGrath. | |
3672 | ||
4a28816e MK |
3673 | 2004-02-28 Mark Kettenis <[email protected]> |
3674 | ||
3675 | * amd64-tdep.c (amd64_frame_cache): Fix comment. | |
3676 | ||
dbda9972 AC |
3677 | 2004-02-28 Andrew Cagney <[email protected]> |
3678 | ||
3679 | * utils.c: Use "", instead of <>, to include readline. | |
3680 | tui/tui-win.c, tui/tui.c, tui/tui-hooks.c: Ditto. | |
3681 | * tracepoint.c, top.c, symmisc.c, symfile.c: Ditto. | |
3682 | * source.c, solib.c, exec.c, event-top.c: Ditto. | |
3683 | * corelow.c, completer.c, cli/cli-setshow.c: Ditto. | |
3684 | * cli/cli-dump.c, cli/cli-cmds.c: Ditto. | |
3685 | * Makefile.in: Update all dependencies. | |
3686 | (readline_tilde_h, readline_history_h): Define. | |
3687 | (readline_headers): Delete. | |
3688 | ||
83277a99 MK |
3689 | 2004-02-28 Mark Kettenis <[email protected]> |
3690 | ||
91ae4303 MK |
3691 | * config/djgpp/fnchange.lst: Rename "config/i386/nm-linux64.h" to |
3692 | "config/i386/nm-lx64.h" and "config/i386/tm-linux64.h" to | |
3693 | "config/i386/tm-lx64.h". | |
3694 | ||
83277a99 MK |
3695 | * config/djgpp/fnchange.lst: Rename "amd64-linux-tdep.c" to |
3696 | "amd64-ltdep.c" and "amd64-linux-nat.c" to "amd64-lnat.c". Remove | |
3697 | rules for "x86-64-linux-tdep.c" and "x86-64-linux-nat.c". | |
3698 | ||
6e1d7d6c AC |
3699 | 2004-02-28 Andrew Cagney <[email protected]> |
3700 | ||
ecc9ac84 AC |
3701 | * dwarf2-frame.h (struct gdbarch): Add opaque declaration. |
3702 | ||
6e1d7d6c AC |
3703 | * breakpoint.c (_initialize_breakpoint): Use |
3704 | "add_setshow_auto_boolean_cmd. Better word-wrap help messages. | |
3705 | Add help to show command. | |
3706 | ||
9671aeef MK |
3707 | 2004-02-28 Mark Kettenis <[email protected]> |
3708 | ||
7fa2737c MK |
3709 | * i386-nat.c: Reformat to be closer to coding standards. |
3710 | (i386_handle_nonaligned_watchpoint): Rename local variable `rv' to | |
3711 | `retval'. Make variables `align' and `size' local to while-loop. | |
3712 | (i386_stopped_data_address): Rename local variable `ret' to `addr'. | |
3713 | (_initialize_i386_nat): New prototype. | |
3714 | ||
9671aeef MK |
3715 | * tui/tui.c: Include <readline/readline.h> instead of |
3716 | "readline/readline.h". Include it after <term.h> and | |
3717 | "gdb_curses.h". | |
3718 | ||
fca7aa43 AC |
3719 | 2004-02-27 Andrew Cagney <[email protected]> |
3720 | ||
412275d5 AC |
3721 | * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always use |
3722 | the new frame unwind code. | |
3723 | (hppa_frame_cache): Use PCOQ_HEAD_REGNUM instead of PC_REGNUM. | |
3724 | (hppa_frame_prev_register): Compute PCOQ_TAIL_REGNUM from | |
3725 | PCOQ_HEAD_REGNUM. | |
3726 | ||
fca7aa43 AC |
3727 | * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always |
3728 | "return_value" and "push_dummy_call". | |
3729 | (hppa32_use_struct_convention): Delete unused function. | |
3730 | (hppa32_store_return_value): Delete unused function. | |
3731 | (hppa32_extract_return_value): Delete unused function. | |
3732 | (hppa32_stack_align): Delete function. | |
3733 | ||
e6a8a7d2 EZ |
3734 | 2004-02-27 Eli Zaretskii <[email protected]> |
3735 | ||
3736 | * coffread.c (enter_linenos): Don't let rawptr reference memory | |
3737 | outside linetab[]'s limits. | |
3738 | ||
1797a8f6 AC |
3739 | 2004-02-27 Andrew Cagney <[email protected]> |
3740 | ||
3741 | * hppa-tdep.c (hppa32_push_dummy_call): Fix code reserving | |
3742 | inferior stack space - the stack needs to grow upwards. | |
3743 | (hppa32_frame_align): New function. | |
3744 | (hppa64_frame_align): Replace hppa_frame_align. | |
3745 | (hppa_gdbarch_init): Update. | |
3746 | ||
2e4b5889 OF |
3747 | 2004-02-26 Orjan Friberg <[email protected]> |
3748 | ||
3749 | * cris-tdep.c (frame_unwind.h, frame-base.h, trad-frame.h) | |
3750 | (dwarf2-frame.h): Include. | |
3751 | (enum cris_regnums): New enum CRIS_FP_REGNUM. | |
3752 | Remove static variables related to ABI setting. | |
3753 | (struct gdbarch_tdep): Remove cris_abi member. | |
3754 | (struct frame_extra_info): Remove. | |
3755 | (cris_unwind_cache, stack_item): New structs. | |
3756 | (cris_frame_unwind, cris_frame_base): New variables. | |
3757 | (push_stack_item, pop_stack_item) | |
3758 | (cris_frame_unwind_cache, cris_frame_this_id) | |
3759 | (cris_frame_prev_register, cris_unwind_dummy_id, cris_frame_align) | |
3760 | (cris_push_dummy_code, cris_push_dummy_call, cris_frame_sniffer) | |
3761 | (cris_frame_base_address, cris_scan_prologue, cris_unwind_pc) | |
3762 | (cris_unwind_sp, cris_store_return_value, cris_extract_return_value) | |
3763 | (cris_reg_struct_has_addr): New functions. | |
3764 | (cris_examine, cris_frame_init_saved_regs, cris_frame_chain) | |
8718a420 | 3765 | (cris_frame_saved_pc, cris_saved_pc_after_call, |
2e4b5889 OF |
3766 | (cris_store_struct_return, cris_frameless_function_invocation) |
3767 | (cris_pop_frame, cris_skip_prologue_main) | |
3768 | (cris_abi_original_store_return_value) | |
3769 | (cris_abi_v2_store_return_value) | |
3770 | (cris_abi_original_extract_return_value) | |
3771 | (cris_abi_v2_extract_return_value) | |
3772 | (cris_abi_original_reg_struct_has_addr) | |
3773 | (cris_abi_v2_reg_struct_has_addr) | |
3774 | (cris_abi_original_push_arguments, cris_abi_v2_push_arguments) | |
3775 | (cris_push_return_address, cris_abi_update): Remove. | |
3776 | (_initialize_cris_tdep): Remove ABI command. | |
3777 | (cris_dump_tdep): Ditto. | |
8718a420 | 3778 | (cris_gdbarch_init): Remove ABI command. |
2e4b5889 OF |
3779 | Set store_return_value, extract_return_value, push_dummy_code, |
3780 | push_dummy_call, frame_align, unwind_pc, unwind_sp, unwind_dummy_id, | |
3781 | frame_unwind_append_sniffer, frame_base_set_default. | |
3782 | Clear deprecated init_frame_pc, push_arguments, store_return_value, | |
3783 | extract_return_value, fp_regnum, pc_in_call_dummy, call_dummy_words, | |
3784 | sizeof_call_dummy_words, get_saved_register, push_return_address, | |
8718a420 | 3785 | pop_frame, store_struct_return, frame_init_saved_regs, |
2e4b5889 OF |
3786 | init_extra_frame_info, frameless_function_invocation, frame_chain, |
3787 | frame_saved_pc, saved_pc_after_call, save_dummy_frame_tos, | |
3788 | dummy_write_sp. | |
8718a420 | 3789 | |
6b9acc27 JJ |
3790 | 2004-02-26 Jeff Johnston <[email protected]> |
3791 | ||
3792 | * valprint.h (print_hex_chars, print_char_chars): New prototypes. | |
3793 | * valprint.c (print_hex_chars): Change from static to external. | |
3794 | (print_char_chars): New function. | |
3795 | * printcmd.c (print_scalar_formatted): For integer and enum types | |
3796 | that are longer than LONGEST, perform processing via appropriate | |
3797 | print_*_chars routines. | |
3798 | ||
a431654a AC |
3799 | 2004-02-26 Andrew Cagney <[email protected]> |
3800 | ||
3801 | * Makefile.in: Update dependencies. | |
3802 | Changes from Ulrich Weigand, | |
3803 | * s390-tdep.c: Include "dwarf2-frame.h". | |
3804 | (s390_dwarf2_frame_init_reg): New function. | |
3805 | (s390_gdbarch_init): Install dwarf2_frame_sniffer and | |
3806 | dwarf2_frame_base_sniffer. Call dwarf2_frame_set_init_reg. | |
3807 | ||
fa8d40ab JJ |
3808 | 2004-02-26 Jeff Johnston <[email protected]> |
3809 | ||
3810 | * breakpoint.c (pending_break_support): New setting variable. | |
3811 | (break_command_1): Account for pending_break_support setting | |
3812 | when creating pending breakpoints. | |
3813 | (set_breakpoint_cmd, show_breakpoint_cmd): New functions. | |
3814 | (_initialize_breakpoint): Add "set breakpoint pending" and | |
3815 | "show breakpoint pending" commands. | |
3816 | ||
0dcd613f AC |
3817 | 2004-02-26 Andrew Cagney <[email protected]> |
3818 | ||
3819 | Fix PR i18n/1570. | |
3820 | * charset.c (backslashable, backslashed, represented): Remove 'e' | |
3821 | from list of escaped characters, not part of ISO-C. | |
3822 | ||
479272a3 JB |
3823 | 2004-02-25 J. Brobecker <[email protected]> |
3824 | ||
3825 | From Peter Schauer <[email protected]>: | |
3826 | * tui/tui.c: Move system header includes after local includes. | |
3827 | Fixes a build failure on solaris systems. | |
3828 | ||
7613d933 JB |
3829 | 2004-02-25 J. Brobecker <[email protected]> |
3830 | ||
3831 | * configure.in: Refine the previous change. | |
3832 | * configure: Regenerate. | |
3833 | ||
9c1488cb MK |
3834 | 2004-02-25 Mark Kettenis <[email protected]> |
3835 | ||
3836 | * amd64-tdep.h: Renamed from x86-64-tdep.h. | |
3837 | * amd64-tdep.c: Renamed from x86-64-tdep.c. Include | |
3838 | "amd64-tdep.h" instead of "x86-64-tdep.h". | |
3839 | * amd64-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h". | |
3840 | * amd64-linux-tdep.h: Renamed from x86-64-linux.h. | |
3841 | * amd64-linux-tdep.c: Renamed from x86-64-linux-tdep.c. Include | |
3842 | "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h" | |
3843 | and "x86-64-tdep.c". | |
3844 | * amd64-linux-nat.c: Renamed from x86-64-linux-nat.c. Include | |
3845 | "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h" | |
3846 | and "x86-64-tdep.c". | |
3847 | * amd64bsd-nat.c: Update copyright year. | |
3848 | Include "amd64-tdep.h" instead of "x86-64-tdep.h". | |
3849 | * amd64fbsd-tdep.c: Include "amd64-tdep.h" instead of | |
3850 | "x86-64-tdep.h". | |
3851 | * amd64fbsd-nat.c: Include "amd64-tdep.h" instead of | |
3852 | "x86-64-tdep.h". | |
3853 | * amd64nbsd-tdep.c: Include "amd64-tdep.h" instead of | |
3854 | "x86-64-tdep.h". | |
3855 | * amd64nbsd-nat.c: Include "amd64-tdep.h" instead of | |
3856 | "x86-64-tdep.h". | |
3857 | * amd64obsd-tdep.c: Include "amd64-tdep.h" instead of | |
3858 | "x86-64-tdep.h". | |
3859 | * amd64obsd-nat.c: Include "amd64-tdep.h" instead of | |
3860 | "x86-64-tdep.h". | |
8718a420 | 3861 | * configure.host: (x86_64-*-linux*): Set gdb_target to linux64. |
9c1488cb MK |
3862 | * configure.tgt (x86_64-*-linux*): Set gdb_target to linux64. |
3863 | * Makefile.in (amd64_linux_tdep_h): Renamed from | |
3864 | x86_64_linux_tdep_h. | |
3865 | (amd64_tdep_h): Renamed from x86_64_tdep_h. | |
3866 | (amd64bsd-nat.o, amd64fbsd-nat.o, amd64fbsd-tdep.o, amd64-nat.o) | |
3867 | (amd64nbsd-nat.o, amd64nbsd-tdep.o, amd64obsd-nat.o) | |
3868 | (amd64obsd-tdep.o): Update dependencies. | |
3869 | (amd64-tdep.o, amd64-linux-nat.o, amd64-linux-tdep.o): New | |
3870 | dependencies. | |
3871 | (x86-64-linux-nat.o, x86-64-linux-tdep.o, x86-64-tdep.o): Remove | |
3872 | dependencies. | |
3873 | (ALLDEPFILES): Add amd64-tdep.c, amd64obsd-nat.c, amd64obsd-nat.c, | |
3874 | amd64-linux-nat.c amd64-linux-tdep.c. | |
3875 | * config/i386/tm-linux64.h: Renamed from tm-x86-64linux.h | |
3876 | * config/i386/nm-linux64.h: Renamed from nm-x86-64linux.h. | |
3877 | * config/i386/linux64.mt: Renamed from x86-64linux.mt. | |
3878 | (TDEPFILES): Replace x86-64-tdep.o and x86-64-linux-tdep.o with | |
3879 | amd64-tdep.o and amd64-linux-tdep.o. | |
3880 | (TM_FILE): Set to tm-linux64.h. | |
3881 | * config/i386/linux64.mh: Renamed from x86-64linux.mh. | |
3882 | (NAT_FILE): Set to nm-linux64.h. | |
3883 | (NATDEPFILES): Replace x86-64-linux-nat.o with amd64-linux-nat.o. | |
3884 | * config/i386/fbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with | |
3885 | amd64-tdep.o. | |
3886 | * config/i386/nbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with | |
3887 | amd64-tdep.o. | |
3888 | * config/i386/obsd64.mt (TDEPFILES): Replace x86-64-tdep.o with | |
3889 | amd64-tdep.o. | |
3890 | ||
4b8dad4a RM |
3891 | 2004-02-25 Roland McGrath <[email protected]> |
3892 | ||
3893 | * remote.c (remote_protocol_qPart_auxv): New variable. | |
3894 | (init_all_packet_configs): Initialize it. | |
3895 | (set_remote_protocol_qPart_auxv_packet_cmd): New function. | |
3896 | (show_remote_protocol_qPart_auxv_packet_cmd): New function. | |
3897 | (show_remote_cmd): Call it. | |
3898 | (_initialize_remote): Initialize commands. | |
3899 | (remote_xfer_partial): If enabled, use qPart:auxv:read:... query to | |
3900 | service TARGET_OBJECT_AUXV requests. | |
3901 | ||
66745969 JB |
3902 | 2004-02-25 J. Brobecker <[email protected]> |
3903 | ||
3904 | * configure.in: Make sure that the wborder function is available. | |
3905 | Otherwise, search for it in the cur_colr library. | |
3906 | * configure: Regenerate. | |
3907 | ||
79508e1e AC |
3908 | 2004-02-25 Andrew Cagney <[email protected]> |
3909 | ||
3910 | * hppa-tdep.c (hppa32_push_dummy_call): Rewrite. | |
3911 | ||
571ee600 MK |
3912 | 2004-02-25 Mark Kettenis <[email protected]> |
3913 | ||
3914 | * config/i386/tm-x86-64linux.h: Tweak comments. | |
3915 | ||
2b1b322f | 3916 | 2004-02-25 Richard Sandiford <[email protected]> |
ad74788f RS |
3917 | |
3918 | * MAINTAINERS: Add self to write-after-approval list. | |
3919 | ||
4d2acc65 AC |
3920 | 2004-02-25 Andrew Cagney <[email protected]> |
3921 | ||
4b8dad4a | 3922 | PR cli/1566. Problem found, and fix suggested by David Allan. |
4d2acc65 AC |
3923 | * cli/cli-script.c (execute_control_command): Unconditionally |
3924 | install a cleanup. Default "ret" to "invalid_control". Use | |
3925 | "break" instead of "return" to escape from the switch. | |
3926 | ||
4cfcaf21 JB |
3927 | 2004-02-24 J. Brobecker <[email protected]> |
3928 | ||
3929 | * tui/tui-disasm.c: %s/lines/asm_lines/g to avoid a collision | |
3930 | with the lines macro defined in term.h on AiX. | |
3931 | * tui/tui-regs.c: %s/label_width/tui_label_width/g, to avoid | |
3932 | a collision with the label_width macro defined in term.h on AiX. | |
3933 | ||
54a5c8d8 KB |
3934 | 2004-02-23 David Mosberger <[email protected]> |
3935 | ||
3936 | Committed by Kevin Buettner <[email protected]>. | |
3937 | ||
3938 | * ia64-tdep.h (ia64_write_pc, ia64_linux_write_pc): Declare. | |
3939 | * ia64-tdep.c (ia64_write_pc): Make it a global function. | |
3940 | (ia64_gdbarch_init): For Linux targets, use ia64_linux_write_pc() | |
3941 | instead of ia64_write_pc(). | |
3942 | * ia64-linux-tdep.c (regcache.h): Include. | |
3943 | (ia64_linux_write_pc): New function. | |
4b8dad4a | 3944 | |
8a1dac83 RM |
3945 | 2004-02-23 Roland McGrath <[email protected]> |
3946 | ||
3947 | * auxv.c (info_auxv_command): Fix typos in error messages. | |
3948 | ||
90f90721 MK |
3949 | 2004-02-23 Mark Kettenis <[email protected]> |
3950 | ||
8a1dac83 | 3951 | * x86-64-tdep.h: Tweak comment. |
90f90721 MK |
3952 | (enum amd64_regnum): New. |
3953 | (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM) | |
3954 | (X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM) | |
3955 | (X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM) | |
3956 | (X86_64_XMM1_REGNUM): Removed. | |
3957 | (AMD64_NUM_GREGS): Renamed from X86_64_NUM_GREGS. | |
3958 | (amd64_init_abi, amd64_supply_fxsave, amd64_fill_fxsave): Adjust | |
3959 | prototypes for renamed functions. | |
3960 | * x86-64-tdep.c: Fix typo. | |
3961 | (amd64_dwarf_regmap): Use constants from `enum amd64_regnum' for | |
3962 | register numbers. | |
3963 | (amd64_return_value, amd64_push_arguments, amd64_push_dummy_call): | |
3964 | Use constants from `enum amd64_regnum' for register numbers. | |
3965 | (AMD64_NUM_SAVED_REGS): Adjust for renamed macros. | |
3966 | (amd64_analyze_prologue, amd64_frame_cache, | |
3967 | amd64_sigtramp_frame_cache): Use constants from `enum | |
3968 | amd64_regnum' for register numbers. | |
3969 | (amd64_supply_fpregset): Adjust for renamed functions. | |
3970 | (amd64_init_abi): Rename from x86_64_init_abi. Use constants from | |
3971 | `enum amd64_regnum' for register numbers. | |
3972 | (I387_ST0_REGNUM): Use constant from `enum amd64_regnum'. | |
3973 | (amd64_supply_fxsave): Rename from x86_64_supply_fxsave. | |
3974 | (amd64_fill_fxsave): Rename fro x86_64_fill_fxsave. | |
3975 | * x86-64-linux-tdep.c (amd64_linux_supply_gregset) | |
3976 | (amd64_linux_fill_gregset): Adjust for renamed macros. | |
3977 | (fetch_core_registers): Adjust for renamed functions. | |
3978 | (amd64_linux_init_abi): Adjust for renamed functions. | |
3979 | * x86-64-linux-nat.c (supply_gregset, fill_gregset): Adjust for | |
3980 | renamed functions. | |
3981 | * amd64-nat.c: Adjust for renamed macros. | |
3982 | * amd64bsd-nat.c (fetch_inferior_registers) | |
3983 | (store_inferior_registers): Use constants from `enum amd64_regnum' | |
3984 | for register numbers. Adjust for renamed variables. | |
3985 | * amd64fbsd-nat.c (supply_gregset, fill_gregset): Adjust for | |
3986 | renamed variables. | |
3987 | (_initialize_amd64fbsd_nat): Use constants from `enum | |
3988 | amd64_regnum' for register numbers. | |
3989 | * amd64fbsd-tdep.c (amd64fbsd_sigcontext_addr): Use constants from | |
3990 | `enum amd64_regnum' for register numbers. | |
3991 | (amd64fbsd_init_abi): Adjust for renamed functions. | |
3992 | * amd64nbsd-tdep.c (amd64nbsd_sigcontext_addr): Use constants from | |
3993 | `enum amd64_regnum' for register numbers. | |
3994 | (amd64nbsd_init_abi): Adjust for renamed functions. | |
3995 | (_initialize_amd64nbsd_ndep): Adjust for renamed macros. | |
3996 | * amd64obsd-tdep.c (amd64obsd_sigcontext_addr): Use constants from | |
3997 | `enum amd64_regnum' for register numbers. | |
3998 | (amd64obsd_init_abi): Adjust for renamed functions. | |
3999 | (_initialize_amd64obsd_ndep): Adjust for renamed macros. | |
4000 | ||
d5479188 JJ |
4001 | 2004-02-23 Jeff Johnston <[email protected]> |
4002 | ||
4003 | * breakpoint.c (print_one_breakpoint): Do not output spaces | |
4004 | after printing <PENDING> for a pending breakpoint. | |
4005 | ||
81cb7cc9 JJ |
4006 | 2004-02-23 Jeff Johnston <[email protected]> |
4007 | ||
4008 | * printcmd.c (print_scalar_formatted): Initialize val_long | |
4009 | to remove compiler warning message. | |
4010 | ||
cbdeadca JJ |
4011 | 2004-02-23 Jeff Johnston <[email protected]> |
4012 | ||
4013 | * defs.h (nquery, yquery): New prototypes. | |
4014 | * breakpoint.c (break_command_1): Use new nquery interface. | |
4015 | * utils.c (defaulted_query, nquery, yquery): New functions. | |
4016 | ||
da6bab63 AC |
4017 | 2004-02-23 Andrew Cagney <[email protected]> |
4018 | ||
2f690297 AC |
4019 | * hppa-tdep.c (hppa_frame_align): New function. |
4020 | (hppa32_push_dummy_call): New function. | |
4021 | (hppa64_push_dummy_call): New function. | |
4022 | (hppa_gdbarch_init): Set frame_align and push_dummy_call; keep | |
4023 | disabled. | |
8a1dac83 | 4024 | |
da6bab63 AC |
4025 | * infcall.c (legacy_push_dummy_code): Don't call deprecated |
4026 | FIX_CALL_DUMMY when push_dummy_call is available. | |
4027 | (call_function_by_hand, push_dummy_code): Ditto. | |
4028 | ||
abf9b42d AC |
4029 | 2004-02-22 Andrew Cagney <[email protected]> |
4030 | ||
4031 | * config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Delete macro. | |
4032 | (DEPRECATED_PC_IN_CALL_DUMMY): Delete macro. | |
4033 | (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete macro. | |
4034 | * hppa-tdep.c (hppa_gdbarch_init): Clear deprecated | |
4035 | use_generic_dummy_frames, set deprecated pc_in_call_dummy, set | |
4036 | call_dummy_location to ON_STACK. | |
4037 | ||
10fc94a4 MK |
4038 | 2004-02-22 Mark Kettenis <[email protected]> |
4039 | ||
51433e4b MK |
4040 | * x86-64-linux-tdep.c: Tweak comment. |
4041 | (amd64_linux_supply_gregset): Renamed from | |
4042 | x86_64_linux_supply_gresget. | |
4043 | (amd64_linux_fill_gregset): Renamed from | |
4044 | x86_64_linux_fill_gregset. | |
4045 | (fetch_core_registers): Adjust for renamed functions. | |
4046 | (amd64_core_fns): Renamed from x86_64_core_fns. | |
4047 | (amd64_linux_sigtramp_start): Renamed from | |
4048 | x86_64_linux_sigtramp_start. | |
4049 | (amd64_linux_pc_in_sigtramp): Renamed from | |
4050 | x86_64_linux_pc_in_sigtramp. Adjust for renamed functions. | |
4051 | (AMD64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Renamed from | |
4052 | X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET. | |
4053 | (amd64_linux_sigcontext_addr): Renamed from | |
4054 | x86_64_linux_sigcontext_addr. | |
4055 | (amd64_linux_sc_reg_offset): Renamed from | |
4056 | x86_64_linux_sc_reg_offset. | |
4057 | (amd64_linux_init_abi): Renamed from x86_64_linux_init_abi. | |
4058 | Adjust for renamed functions and variables. | |
4059 | (_initialize_amd64_linux_tdep): Renamed from | |
4060 | _initialize_x86_64_linux_tdep. Adjust for renamed functions and | |
4061 | variables. | |
4062 | * x86-64-linux-tdep.h: Update copyright year. Tweak comment. | |
4063 | Adjust for renamed functions. | |
4064 | ||
430eaf2e MK |
4065 | * x86-64-linux-nat.c (amd64_linux_gregset64_reg_offset): Rename |
4066 | from x86_64_linux_gregset64_reg_offset. | |
4067 | (amd64_linux_gregset32_reg_offset): Rename from | |
4068 | x86_64_linux_gregset64_reg_offset. | |
4069 | (amd64_linux_dr_get): Renamed from x86_64_linux_dr_get. | |
4070 | (amd64_linux_dr_set): Renamed from x86_64_linux_dr_set. | |
4071 | (amd64_linux_dr_set_control): Renamed from | |
4072 | x86_64_linux_dr_set_control. Adjust for renamed functions. | |
4073 | (amd64_linux_dr_set_addr): Renamed from x86_64_linux_dr_set_addr. | |
4074 | Adjust for renamed functions. | |
4075 | (amd64_linux_dr_reset_addr): Renamed from | |
4076 | x86_64_linux_dr_reset_addr. Adjust for renamed functions. | |
4077 | (amd64_linux_dr_get_status): Renamed from | |
4078 | x86_64_linux_dr_get_status. Adjust for renamed functions. | |
4079 | (_initialize_amd64_linux_nat): Renamed from | |
4080 | _initialize_x86_64_linux_nat. Adjust for renamed variables and | |
4081 | functions. | |
4082 | * config/i386/nm-x86-64linux.h: Update copyright year. | |
4083 | Adjust for renamed functions. | |
4084 | ||
10fc94a4 MK |
4085 | * amd64fbsd-tdep.c (amd64fbsd_sigtramp_start_addr): Renamed from |
4086 | amd64fbsd_sigtramp_start. | |
4087 | (amd64fbsd_sigtramp_end_addr): Renamed from | |
4088 | amd64fbsd_sigtramp_end. | |
4089 | (amd64fbsd_init_abi): Adjust for renamed variables. | |
4090 | * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Adjust for renamed | |
4091 | variables. | |
4092 | * x86-64-tdep.h (amd64fbsd_sigtramp_start_addr): Renamed from | |
4093 | amd64fbsd_sigtramp_start. | |
4094 | (amd64fbsd_sigtramp_end_addr): Renamed from | |
4095 | amd64fbsd_sigtramp_end. | |
4096 | ||
343af405 AC |
4097 | 2004-02-22 Andrew Cagney <[email protected]> |
4098 | ||
537987fc AC |
4099 | * hppa-tdep.c (hppa32_return_value): New function. |
4100 | (hppa64_return_value): New function. | |
4101 | (hppa_gdbarch_init): Set return_value; keep disabled. | |
4102 | ||
fad850b2 AC |
4103 | * hppa-tdep.c (hppa_gdbarch_init): Re-order separating |
4104 | struct-return and inferior function call methods. | |
4105 | ||
26d08f08 AC |
4106 | * hppa-tdep.c: Include "trad-frame.h", "frame-unwind.h", and |
4107 | "frame-base.h". | |
4108 | (struct hppa_frame_cache): Define. | |
4109 | (hppa_frame_cache, hppa_frame_this_id): New functions. | |
4110 | (hppa_frame_prev_register): New function. | |
4111 | (hppa_frame_unwind, hppa_frame_base): New variables. | |
4112 | (hppa_frame_unwind_sniffer): New function. | |
4113 | (hppa_frame_base_address, hppa_unwind_pc): New function. | |
4114 | (hppa_gdbarch_init): Set unwind_dummy_id, unwind_pc, frame unwind | |
4115 | sniffer, and frame base sniffer; keep disabled. | |
4116 | (hppa_frame_base_sniffer, hppa_unwind_dummy_id): New functions. | |
4117 | * Makefile.in: Update dependencies, fix s/nbsd/obsd/ typo. | |
4118 | ||
e7d7bd65 AC |
4119 | * frame-unwind.c (frame_unwind_find_by_frame): Add legacy_frame_p |
4120 | to predicates for "seriously old code". | |
4121 | ||
e963316f AC |
4122 | * hppa-tdep.c (hppa_gdbarch_init): Convert compile time #if0s into |
4123 | runtime if(0). | |
4124 | ||
56132691 AC |
4125 | * hppa-tdep.c (hppa_breakpoint_from_pc): Make "breakpoint" |
4126 | unsigned. | |
4127 | (hppa_frame_find_saved_regs): Fix "std" instruction pattern | |
e963316f | 4128 | |
343af405 AC |
4129 | * config/pa/tm-hppa.h: Update copyright. |
4130 | (DEPRECATED_INIT_FRAME_PC): Delete macro. | |
4131 | (deprecated_init_frame_pc_default): Delete declaration. | |
4132 | (hppa_frame_init_saved_regs): Delete declaration. | |
4133 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro. | |
4134 | * hppa-tdep.c: Include "arch-utils.h". | |
4135 | (hppa_gdbarch_init): Set deprecated init_frame_pc | |
4136 | and deprecated frame_init_saved_regs. | |
4137 | (hppa_frame_init_saved_regs): Make static. | |
4138 | ||
f5859b4d MK |
4139 | 2004-02-22 Mark Kettenis <[email protected]> |
4140 | ||
86f6f8e7 | 4141 | Remove old 386BSD support. |
cf7c5c23 | 4142 | * NEWS (REMOVED configurations and files): Add i[3456]86-*-bsd*. |
86f6f8e7 MK |
4143 | * configure.host: Remove i[34567]86-*-bsd*. |
4144 | * configure.tgt: Remove i[34567]86-*-bsd*. | |
4145 | * i386b-nat.c: Removed. | |
4146 | * Makefile.in (ALLDEPFILES): Remove i386b-nat.c. | |
cf7c5c23 MK |
4147 | (i386b-nat.o): Remove dependencies. |
4148 | ||
86f6f8e7 MK |
4149 | * config/i386/i386bsd.mh: Removed. |
4150 | * config/i386/i386bsd.mt: Removed. | |
4151 | * config/i386/nm-i386bsd.h: Removed. | |
4152 | * config/i386/tm-i386bsd.h: Removed. | |
4153 | * config/i386/xm-i386bsd.h: Removed. | |
4154 | ||
971218cd MK |
4155 | * x86-64-tdep.h (amd64obsd_r_reg_offset): New extern declaration. |
4156 | ||
7e654c37 MK |
4157 | * amd64fbsd-tdep.c: Include "solib-svr4.h". |
4158 | (amd64fbsd_init_abi): Set link map offsets. | |
4159 | * amd64nbsd-tdep.c: Include "slib-svr4.h". | |
4160 | (amd64nbsd_init_abi): Set link map offsets. | |
4161 | * amd64obsd-tdep.c: Include "solib-svr4.h". | |
4162 | (amd64obsd_init_abi): Set link map offsets. | |
4163 | * i386fbsd-tdep.c: Include "solib-svr4.h". | |
4164 | (i386fbsd_init_abi): Set link map offsets. | |
4165 | * i386nbsd-tdep.c: Include "solib-svr4.h". | |
4166 | (i386nbsdelf_init_abi): Set link map offsets. | |
4167 | * Makefile.in (amd64fbsd-tdep.o, amd64nbsd-tdep.o) | |
4168 | (amd64obsd-tdep.o, i386fbsd-tdep.o): Update dependencies. | |
4169 | * config/i386/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o, | |
4170 | solib-legacy.o and core-aout.o. Reformat. | |
4171 | * config/i386/fbsd64.mh (NATDEPFILES): Remove solib.o, | |
4172 | solib-svr4.o, solib-legacy.o. Reformat. | |
4173 | * config/i386/nbsdaout.mh (NATDEPFILES): Add solib.o. Reformat. | |
4174 | * config/i386/nbsdelf.mh: Reformat. | |
4175 | * config/i386/nbsd64.mh (NATDEPFILES): Remove solib.o, | |
4176 | solib-svr4.o, solib-legacy.o and corelow.o. | |
4177 | * config/i386/obsd.mh, config/i386/obsdaout.mh: Reformat. | |
4178 | * config/i386/obsd64.mh (NATDEPFILES): Remove solib.o, | |
4179 | solib-svr4.o, solib-legacy.o and corelow.o. Reformat. | |
4180 | * config/i386/fbsd.mt (TDEPFILES): Add solib.o, solib-svr4.o. | |
4181 | * config/i386/fbsd64.mt (TDEPFILES): Add solib.o, solib-svr4.o. | |
4182 | (TM_FILE): Set to tm-fbsd.h. | |
4183 | * config/i386/nbsd.mt (TDEPFILES): Reformat. | |
4184 | * config/i386/nbsd64.mt (TDEPFILES): Add corelow.o, solib.o and | |
4185 | solib-svr4.o. | |
4186 | * config/i386/obsd.mt (TDEPFILES): Add corelow.o, solib.o and | |
4187 | solib-svr4.o. | |
4188 | (TM_FILE): Set to nm-nbsd.h. | |
4189 | * config/i386/nm-fbsd.h: Update copyright year. Tweak comments. | |
4190 | Simplify shared library support. Don't include "elf/common.h". | |
4191 | (SVR4_SHARED_LIBS): Don't define. | |
4192 | * config/i386/nm-fbsd64.h: Update copyright year. Don't include | |
4193 | "solib.h". | |
4194 | * config/i386/nm-nbsd.h, config/i386/nm-nbsdaout.h, | |
4195 | config/i386/nm-obsd.h: Update copyright year. Tweak comments. | |
4196 | * config/i386/tm-fbsd.h: Update copyright tear. Tweak comments. | |
4197 | Don't include "i386/tm-i386.h". Include "solib.h". | |
4198 | * config/i386/tm-nbsd.h: Update copyright year. Tweak comments. | |
4199 | Don't include "i386/tm-i386.h". | |
4200 | * config/i386/xm-i386.h: Update copyright year. Tweak comments. | |
4201 | * config/i386/xm-nbsd.h: Update copyright year. Tweak comments. | |
4202 | Include "i386/xm-i386.h". | |
4203 | (HOST_LONG_DOUBLE_FORMAT): Remove. | |
4204 | ||
5d93ae8c MK |
4205 | Fix OpenBSD/i386 sigtramp recognition. |
4206 | * i386-tdep.h: Update copyright year. | |
4207 | (i386bsd_pc_in_sigtramp, i386bsd_sigtramp_start) | |
4208 | (i386bsd_sigtramp_end): New prototypes. | |
4209 | (i386fbsd_sigtramp_start_addr): Renamed from | |
4210 | i386fbsd_sigtramp_start. | |
4211 | (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end. | |
4212 | (i386obsd_sigtramp_start_addr): Renamed from | |
4213 | i386obsd_sigtramp_start. | |
4214 | (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end. | |
4215 | * i386bsd-tdep.c: Update copyright year. | |
4216 | (i386bsd_pc_in_sigtramp): Make public. | |
4217 | * i386fbsd-nat.c: Update copyright year. | |
4218 | (_initialize_i386fbsd_nat): Adjust for renamed variables. | |
4219 | * i386fbsd-tdep.c: Update copyright year. | |
4220 | (i386fbsd_sigtramp_start_addr): Renamed from | |
4221 | i386fbsd_sigtramp_start. | |
4222 | (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end. | |
4223 | (i386fbsdaout_init_abi): Adjust for renamed variables. | |
4224 | * i386obsd-nat.c: Update copyright year. | |
4225 | (_initialize_i386obsd_nat): Adjust for renamed variables. | |
4226 | * i386obsd-tdep.c: Include "target.h". | |
4227 | (i386obsd_page_size): New variable. | |
4228 | (i386obsd_pc_in_sigtramp, i386obsd_sigtramp_start) | |
4229 | (i386obsd_sigtramp_end): New functions. | |
4230 | (i386obsd_sigtramp_start_addr): Renamed from | |
4231 | i386obsd_sigtramp_start. | |
4232 | (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end. | |
4233 | (i386obsd_init_abi): Adjust for renamed variables. Set | |
4234 | pc_in_sigtramp, sigtramp_start and sigtramp_end. | |
4235 | * Makefile.in (i386obsd-tdep.o): Update dependencies. | |
4236 | ||
84d04465 MK |
4237 | * amd64obsd-tdep.c (amd64obsd_pc_in_sigtramp): Adjust for signal |
4238 | trampoline change in OpenBSD kernel. | |
4239 | ||
b053aceb MK |
4240 | * amd64-nat.c: Update copyright year. |
4241 | (amd64_supply_native_gregset, amd64_collect_native_gregset): Use | |
4242 | architecture from REGCACHE. | |
4243 | ||
f5859b4d MK |
4244 | * x86-64-linux-nat.c (x86_64_linux_gregset32_reg_offset): Use |
4245 | symbolic constants from <sys/reg.h> instead of hard-coded numbers. | |
4246 | ||
e4bbbda8 MK |
4247 | 2004-02-21 Mark Kettenis <[email protected]> |
4248 | ||
ba361932 MK |
4249 | * configure.host: Add i[34567]86-*-openbsd[0-2].* and |
4250 | i[34567]86-*-openbsd3.[0-3]. | |
4251 | * config/i386/obsdaout.mh: New file. | |
4252 | ||
d3e48264 MK |
4253 | * config/i386/obsd.mh (MH_FLAGS): Remove. |
4254 | ||
60a6eeb6 MK |
4255 | Fix PR build/1549. |
4256 | * i386obsd-tdep.c: Update copyright years. Include | |
4257 | "solib-svr4.h". | |
4258 | (i386obsd_init_abi): Don't set regset_from_core_section here. | |
4259 | (i386obsd_aout_init_abi): New function. Set | |
4260 | regset_from_core_section here. | |
4261 | (i386obsd_elf_init_abi): New function. | |
4262 | (_initialize_i386obsd_tdep): Register OS/ABI for OpenBSD ELF. | |
4263 | * Makefile.in (i386obsd-tdep.o): Update dependecies. | |
4264 | * config/i386/obsd.mt (TDEPFILES): Add solib.o and solib-svr4.o. | |
4265 | (TM_FILE): Set to tm-nbsd.h. | |
4266 | ||
4267 | * config/i386/obsd.mh (NATDEPFILES): Remove solib.o and | |
4268 | solib-sunos.o. | |
4269 | ||
e4bbbda8 MK |
4270 | * solib-svr4.h: Update copyright year. |
4271 | (svr4_ilp32_fetch_link_map_offsets) | |
4272 | (svr4_lp64_fetch_link_map_offsets): New prototype. | |
4273 | * solib-svr4.c: Update copyright year. | |
4274 | (svr4_ilp32_fetch_link_map_offsets) | |
4275 | (svr4_lp64_fetch_link_map_offsets): New function. | |
4276 | ||
f6fe98ef DJ |
4277 | 2004-02-20 Daniel Jacobowitz <[email protected]> |
4278 | ||
4279 | * dwarf2read.c (add_partial_symbol): Fix typo in adding enumerators | |
4280 | to the partial symbol table. | |
4281 | ||
589ca796 JB |
4282 | 2004-02-20 J. brobecker <[email protected]> |
4283 | ||
4284 | * PROBLEMS: Add description of problem documented under gdb/1560. | |
4285 | ||
2031c21a MK |
4286 | 2004-02-20 Mark Kettenis <[email protected]> |
4287 | ||
30b344b1 MK |
4288 | * amd64obsd-tdep.c: Include "regset.h" and "i387-tdep.h". Fix |
4289 | comments. | |
4290 | (amd64obsd_supply_regset, amd64obsd_regset_from_core_section): New | |
4291 | functions. | |
4292 | (amd64obsd_init_abi): Reorder initializations. Use | |
4293 | amd64obsd_r_reg_offset to initialize the general-purpose register | |
4294 | set details. Set regset_from_core_section. | |
4295 | (_initialize_amd64obsd_tdep): Rename from | |
4296 | _initialize_amd64obsd_ndep. Add OS ABI handler for core dumps. | |
4297 | * Makefile.in (amd64obsd-tdep.o): Update dependencies. | |
4298 | * config/i386/obsd64.mt (TDEPFILES): Add i386-tdep.o. | |
4299 | ||
2031c21a MK |
4300 | * NEWS (New native configurations): Mention OpenBSD/alpha. |
4301 | * configure.tgt: Add alpha*-*-openbsd*. | |
4302 | * configure.host: Add alpha*-*-openbsd*. | |
4303 | * alphanbsd-tdep.c: Update copyright year. | |
4304 | (_initialize_alphanbsd_tdep): Register OS ABI for OpenBSD ELF. | |
4305 | ||
42471775 AC |
4306 | 2004-02-20 Andrew Cagney <[email protected]> |
4307 | ||
4308 | Fix PR tdep/1372. | |
4309 | * configure.tgt: Delete target "none-*-*". | |
4310 | * configure.host: Delete host "none-*-*". | |
4311 | * config/none/none.mh: Delete file. | |
4312 | * config/none/none.mt: Delete file. | |
4313 | * config/none/xm-none.h: Delete file. | |
4314 | * config/none/tm-none.h: Delete file. | |
4315 | * config/none/nm-none.h: Delete file. | |
4316 | ||
960ccd7d FF |
4317 | 2004-02-19 Fred Fish <[email protected]> |
4318 | ||
4319 | * sh-tdep.c (sh_analyze_prologue): Eliminate useless test of | |
4320 | cache->uses_fp prior to setting it. | |
4321 | ||
5f883edd FF |
4322 | 2004-02-19 Fred Fish <[email protected]> |
4323 | ||
4324 | Fix for PR breakpoint/1558. | |
4325 | * sh-tdep.c (IS_JSR): New macro. | |
4326 | (sh_analyze_prologue): Use IS_JSR to terminate prologue scan. | |
4327 | ||
f98c22d5 JB |
4328 | 2004-02-19 Jim Blandy <[email protected]> |
4329 | ||
4330 | * findvar.c (value_from_register): Doc fix. | |
4331 | ||
95051d27 JJ |
4332 | 2004-02-19 Jeff Johnston <[email protected]> |
4333 | ||
4334 | * printcmd.c (print_scalar_formatted): Do not check for sizeof | |
4335 | type being greater than sizeof of host's LONGEST. Always use | |
4336 | unpack_long() unless format 'f' chosen. | |
4337 | ||
ccefbec3 EZ |
4338 | 2004-02-19 Joel Brobecker <[email protected]> |
4339 | ||
4340 | Committed by Elena Zannoni <[email protected]> | |
2ede629f | 4341 | |
ccefbec3 EZ |
4342 | * symtab.c (find_pc_sect_psymtab): Return the psymtab that |
4343 | contains a symbol wich is the best, non-exact match for the given | |
4344 | pc. Update comments. | |
4345 | ||
4346 | 2004-02-19 Elena Zannoni <[email protected]> | |
8a1dac83 | 4347 | |
2ede629f EZ |
4348 | * event-top.c (async_request_quit): Remove uses of REQUEST_QUIT |
4349 | macro, which was part of the now removed Mach 3 port. | |
4350 | * utils.c (request_quit): Ditto. | |
4351 | ||
567ee972 MK |
4352 | 2004-02-18 Mark Kettenis <[email protected]> |
4353 | ||
4354 | * config/djgpp/fnchange.lst: Rename "amd64obsd-tdep.c" and | |
4355 | "amd64obsd-nat.c" to "a64ob-tdep.c" and "a64ob-nat.c". | |
4356 | ||
50cca7bb MK |
4357 | 2004-02-18 Ulrich Weigand <[email protected]> |
4358 | ||
4359 | Committed by Mark Kettenis <[email protected]>. | |
4360 | ||
4361 | * config/s390/nm-linux.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): | |
4362 | Define. | |
4363 | ||
226361c4 AC |
4364 | 2004-02-18 Andrew Cagney <[email protected]> |
4365 | ||
4366 | * configure.in: Add a TUI target to CONFIG_ALL, CONFIG_CLEAN, | |
4367 | CONFIG_INSTALL and CONFIG_UNINSTALL. | |
4368 | * configure: Re-generate. | |
4369 | * interps.h (INTERP_TUI): Define. | |
4370 | * Makefile.in: Update dependencies. | |
4371 | (TUI): New macro. | |
4372 | (tui-main.o): Specify dependencies. | |
4373 | (install-tui, uninstall-tui, clean-tui, all-tui): New rules. | |
4374 | * tui/tui-main.c: New file. | |
4375 | ||
49cfa46f MK |
4376 | 2004-02-18 Mark Kettenis <[email protected]> |
4377 | ||
e2879ccb MK |
4378 | * amd64obsd-tdep.c, amd64obsd-nat.c: New files. |
4379 | * Makefile.in (amd64obsd-nat.o, amd64obsd-tdep.o): New | |
4380 | dependencies. | |
4381 | * configure.host: Add x86_64-*-openbsd*. | |
4382 | * configure.tgt: Add x86_64-*-openbsd*. | |
4383 | * config/i386/obsd64.mt, config/i386/obsd64.mh: New files. | |
4384 | ||
c43f4bec MK |
4385 | * tui/tui.c: Don't include <malloc.h>. |
4386 | ||
09ae75b6 MK |
4387 | * Makefile.in (ALLDEPFILES): Add amd64-nat.c, amd64bsd-nat.c, |
4388 | amdfbsd-nat.c, amd64-fbsd-tdep.c, amd64nbsd-nat.c and | |
4389 | amd64nbsd-tdep.c. | |
4390 | ||
49cfa46f | 4391 | * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Make |
8a1dac83 | 4392 | static. Remove extraneous whitespace. |
49cfa46f MK |
4393 | * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Make |
4394 | static. | |
4395 | ||
05957fdb JB |
4396 | 2004-02-17 Jim Blandy <[email protected]> |
4397 | ||
4398 | * findvar.c (value_from_register): Doc fix. | |
4399 | ||
d0f54f9d JB |
4400 | 2004-02-17 Ulrich Weigand <[email protected]> |
4401 | ||
4402 | Committed by Jim Blandy <[email protected]>. | |
e1457d83 | 4403 | |
8a1dac83 | 4404 | * eval.c (evaluate_subexp_standard, case OP_OBJC_MSGCALL): Use |
c253954e JB |
4405 | CORE_ADDR as type for selectors. Correct types for GNU run time |
4406 | message lookup function to use double indirection. | |
4407 | * objc-lang.c (lookup_child_selector): Use CORE_ADDR as return type. | |
4408 | * objc-lang.h (lookup_child_selector): Adapt prototype. | |
4409 | ||
9cbd5950 JB |
4410 | * s390-nat.c (SUBOFF): New macro. |
4411 | (supply_gregset, fill_gregset): Use it to handle debugging | |
4412 | of 32-bit exectuables running under a 64-bit kernel. | |
4413 | * s390-tdep.c: Include "solib-svr4.h". | |
4414 | (s390_svr4_fetch_link_map_offset): New function. | |
4415 | (s390x_svr_fetch_link_map_offset): Likewise. | |
4416 | (s390_gdbarch_init): Call set_solib_svr4_fetch_link_map_offsets. | |
4417 | * Makefile.in (s390-tdep.o): Update dependencies. | |
4418 | ||
a8c99f38 JB |
4419 | * s390-tdep.c: Include "trad-frame.h", "frame-base.h", and |
4420 | "frame-unwind.h". | |
4421 | (s390_readinstruction): Reformat. Use read_memory_nobpt. | |
4422 | (GDB_TARGET_IS_ESAME, S390_GPR_SIZE, S390_FPR_SIZE): Remove. | |
4423 | (S390_SYSCALL_OPCODE, S390_SYSCALL_SIZE): Remove. | |
4424 | (S390_SIGCONTEXT_SREGS_OFFSET, S390X_SIGCONTEXT_SREGS_OFFSET, | |
4425 | S390_SIGREGS_FP0_OFFSET, S390X_SIGREGS_FP0_OFFSET, | |
4426 | S390_UC_MCONTEXT_OFFSET, S390X_UC_MCONTEXT_OFFSET, | |
8a1dac83 | 4427 | S390_SIGNAL_FRAMESIZE, |
a8c99f38 JB |
4428 | s390_NR_sigreturn, s390_NR_rt_sigreturn): Remove. |
4429 | (struct frame_extra_info): Remove. | |
4430 | (s390_memset_extra_info): Remove. | |
f73b1eff JB |
4431 | (op1_ag, op1_ay, op1_brasl, op1_brc, op1_brcl, op1_lay, op1_lg) |
4432 | (op1_lmy, op1_ly, op1_sg, op1_stmy, op1_sty, op1_sy, op_a) | |
4433 | (op_agr, op_bas, op_bc, op_bcr, op_sgr, op_sr): New opcodes. | |
a8c99f38 JB |
4434 | (is_rse): Renamed to ... |
4435 | (is_rsy): ... this. Support long displacements. | |
4436 | (is_rxe): Renamed to ... | |
4437 | (is_rxy): ... this. Support long displacements. | |
4438 | (compute_x_addr): Support long displacements. | |
4439 | (struct s390_prologue_data): New data type. | |
4440 | (s390_on_stack): Change API to use struct s390_prologue_data. | |
4441 | (s390_store): Reimplement. | |
4442 | (s390_load): New function. | |
4443 | (s390_get_signal_frame_info): Remove. | |
4444 | (s390_get_frame_info): Remove, replace by ... | |
4445 | (s390_analyze_prolog): ... this new function. | |
4446 | (s390_check_function_end): Remove. | |
4447 | (s390_function_start): Remove. | |
4448 | (s390_frameless_function_invokation): Remove. | |
4449 | (s390_is_sigreturn): Remove. | |
4450 | (s390_init_frame_pc_first): Remove. | |
4451 | (s390_init_frame_extra_info): Remove. | |
4452 | (s390_frame_init_saved_regs): Remove. | |
4453 | (s390_frame_saved_pc_nofix): Remove. | |
4454 | (s390_frame_saved_pc): Remove. | |
4455 | (s390_frame_chain): Remove. | |
4456 | (s390_fp_regnum, s390_read_fp): Remove. | |
4457 | (s390_pop_frame_regular, s390_pop_frame): Remove. | |
4458 | (s390_saved_pc_after_call): Remove. | |
4459 | (s390_skip_prologue): Reimplement. | |
4460 | (s390_in_function_epilogue_p): Support long displacements. | |
4461 | (struct s390_unwind_cache): New data structure. | |
4462 | (s390_frame_unwind_cache): New function. | |
4463 | (s390_prologue_frame_unwind_cache): Likewise. | |
4464 | (s390_backchain_frame_unwind_cache): Likewise. | |
4465 | (s390_frame_this_id, s390_frame_prev_register): Likewise. | |
4466 | (s390_frame_unwind): Define. | |
4467 | (s390_frame_sniffer): New function. | |
4468 | (struct s390_pltstub_unwind_cache): New data structure. | |
4469 | (s390_pltstub_frame_unwind_cache): New function. | |
4470 | (s390_pltstub_frame_this_id): Likewise. | |
4471 | (s390_pltstub_frame_prev_register): Likewise. | |
4472 | (s390_pltstub_frame_unwind): Define. | |
4473 | (s390_pltstub_frame_sniffer): New function. | |
4474 | (struct s390_sigtramp_unwind_cache): New data structure. | |
4475 | (s390_sigtramp_frame_unwind_cache): New function. | |
4476 | (s390_sigtramp_frame_this_id): Likewise. | |
4477 | (s390_sigtramp_frame_prev_register): Likewise. | |
4478 | (s390_sigtramp_frame_unwind): Define. | |
4479 | (s390_sigtramp_frame_sniffer): New function. | |
4480 | (s390_frame_base_address, s390_local_base_address): New functions. | |
4481 | (s390_frame_base): Define. | |
4482 | (s390_unwind_pc, s390_unwind_sp): New function. | |
4483 | (s390_push_dummy_call): Use new frame base location. | |
4484 | (s390_unwind_dummy_id): Likewise. | |
4485 | (s390_gdbarch_init): Remove calls to: | |
4486 | set_gdbarch_frameless_function_invocation, | |
4487 | set_gdbarch_deprecated_init_frame_pc, | |
4488 | set_gdbarch_deprecated_frame_chain, | |
4489 | set_gdbarch_deprecated_frame_init_saved_regs, | |
4490 | set_gdbarch_deprecated_pop_frame, | |
4491 | set_gdbarch_deprecated_init_extra_frame_info, | |
4492 | set_gdbarch_deprecated_init_frame_pc_first, | |
4493 | set_gdbarch_deprecated_target_read_fp, | |
4494 | set_gdbarch_deprecated_frame_saved_pc, | |
4495 | set_gdbarch_deprecated_saved_pc_after_call, | |
4496 | set_gdbarch_deprecated_fp_regnum. | |
4497 | Add calls to: | |
4498 | set_gdbarch_in_solib_call_trampoline, | |
4499 | frame_unwind_append_sniffer, | |
4500 | frame_base_set_default, | |
4501 | set_gdbarch_unwind_pc, | |
4502 | set_gdbarch_unwind_sp. | |
4503 | * Makefile.in (s390-tdep.o): Update dependencies. | |
4504 | ||
b0cf273e JB |
4505 | * s390-tdep.c (struct gdbarch_tdep): Add 'abi' member. |
4506 | (S390_STACK_FRAME_OVERHEAD): Remove. | |
4507 | (S390_STACK_PARAMETER_ALIGNMENT): Remove. | |
4508 | (S390_NUM_FP_PARAMETER_REGISTERS): Remove. | |
4509 | (s390_promote_integer_argument): Remove. | |
4510 | (s390_cannot_extract_struct_value_address): Remove. | |
4511 | (s390_use_struct_convention, s390_store_struct_return): Remove. | |
4512 | (s390_extract_return_value, s390_store_return_value): Remove. | |
4513 | (s390_return_value_convention, s390_return_value): New functions. | |
4514 | (is_float_singleton): Handle typedefs. | |
8a1dac83 | 4515 | (is_double_or_float, is_double_arg, is_simple_arg, pass_by_copy_ref): |
b0cf273e JB |
4516 | Remove, replace by ... |
4517 | (s390_function_arg_pass_by_reference, s390_function_arg_float, | |
4518 | s390_function_arg_integer): ... these new functions. | |
4519 | (s390_push_arguments, s390_push_return_address): Remove, replace by ... | |
4520 | (s390_push_dummy_call, s390_unwind_dummy_id): ... these new functions. | |
4521 | (s390_gdbarch_init): Remove s390_call_dummy_words and elf_flags. | |
4522 | Fill in tdep->abi. | |
4523 | Remove calls to: | |
4524 | set_gdbarch_deprecated_store_struct_return, | |
4525 | set_gdbarch_deprecated_extract_return_value, | |
4526 | set_gdbarch_deprecated_store_return_value, | |
4527 | set_gdbarch_use_struct_convention, | |
4528 | set_gdbarch_extract_struct_value_address, | |
4529 | set_gdbarch_deprecated_pc_in_call_dummy, | |
4530 | set_gdbarch_deprecated_push_arguments, | |
4531 | set_gdbarch_deprecated_save_dummy_frame_tos, | |
4532 | set_gdbarch_deprecated_push_return_address, | |
4533 | set_gdbarch_deprecated_sizeof_call_dummy_words, | |
4534 | set_gdbarch_deprecated_call_dummy_words, | |
4535 | set_gdbarch_deprecated_dummy_write_sp. | |
4536 | Add calls to: | |
4537 | set_gdbarch_push_dummy_call, | |
4538 | set_gdbarch_unwind_dummy_id, | |
4539 | set_gdbarch_return_value. | |
8a1dac83 | 4540 | |
e1457d83 JB |
4541 | * config/s390/nm-linux.h: Update comments. |
4542 | (target_insert_watchpoint, target_remove_watchpoint): Redefine. | |
4543 | (STOPPED_BY_WATCHPOINT): Redefine. | |
4544 | (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Redefine to 1. | |
4545 | (s390_insert_watchpoint, s390_remove_watchpoint): Update prototype. | |
4546 | (s390_stopped_by_watchpoint): Likewise. | |
4547 | (watch_area_cnt): Remove. | |
4548 | * s390-nat.c: Update comments. | |
4549 | (watch_area): Remove typedef. | |
4550 | Global replace watch_area by struct watch_area. | |
4551 | (watch_area_cnt, watch_lo_addr, watch_hi_addr): Remove. | |
8a1dac83 | 4552 | (s390_stopped_by_watchpoint): Remove pid argument, |
e1457d83 JB |
4553 | use s390_inferior_tid. Add short-cut for the no watchpoint case. |
4554 | (s390_fix_watch_points): Remove pid argument, | |
4555 | use s390_inferior_tid. Recompute area spanned by watchpoints. | |
4556 | (s390_insert_watchpoint, s390_remove_watchpoint): Remove pid | |
4557 | argument. Reimplement. | |
4558 | ||
d0f54f9d JB |
4559 | * config/s390/nm-linux.h: Update comments. Do not include "solib.h". |
4560 | (KERNEL_U_ADDR, REGISTER_U_ADDR, U_REGS_OFFSET): Remove. | |
4561 | (FETCH_INFERIOR_REGISTERS): Define. | |
8a1dac83 | 4562 | * config/s390/s390.mh (NATDEPFILES): Remove core-aout.o and |
d0f54f9d JB |
4563 | core-regset.o. |
4564 | * config/s390/s390x.mt: Remove. | |
4565 | * config/s390/tm-s390.h: Remove. | |
4566 | * config/s390/tm-linux.h: Do not include "s390/tm-s390.h". | |
4567 | (TARGET_ELF64): Remove. | |
4568 | (SKIP_TRAMPOLINE_CODE): Do not undefine. | |
4569 | * configure.tgt [s390-*-*, s390x-*-*]: Merge into single | |
4570 | s390*-*-* case; always set gdb_target to s390. | |
4571 | * regformats/reg-s390.dat: Remove control registers. | |
4572 | * regformats/reg-s390x.dat: Likewise. | |
4573 | * s390-tdep.h: New file. | |
8a1dac83 | 4574 | * s390-nat.c: Do not include <asm/processor.h> or <value.h>. |
d0f54f9d JB |
4575 | Include "inferior.h" and "s390-tdep.h". |
4576 | Remove private definition of offsetof. | |
4577 | (s390_register_u_addr): Remove. | |
4578 | (regmap_gregset, regmap_fpregset): Define. | |
4579 | (supply_gregset, fill_gregset): Reimplement. | |
4580 | (supply_fpregset, fill_fpregset): Likewise. | |
4581 | (s390_inferior_tid): New function. | |
4582 | (fetch_regs, store_regs, fetch_fpregs, store_fpregs): Likewise. | |
4583 | (fetch_inferior_registers, store_inferior_registers): Likewise. | |
4584 | * s390-tdep.c: Do not define S390_TDEP. Include "defs.h" instead | |
4585 | of <defs.h>. Include "reggroups.h", "regset.h", and "s390-tdep.h". | |
4586 | Global replace of S390_GP0_REGNUM by S390_R0_REGNUM. | |
4587 | Global replace of S390_FP0_REGNUM by S390_F0_REGNUM. | |
4588 | (struct gdbarch_tdep): Define. | |
4589 | (struct s390_register_info): Define. | |
4590 | (s390_register_info): New variable. | |
4591 | (s390_register_name): Reimplement. | |
4592 | (s390_register_type): New function. | |
4593 | (s390_register_raw_size, s390x_register_raw_size): Remove. | |
4594 | (s390_cannot_fetch_register): Remove. | |
4595 | (s390_register_byte): Remove. | |
4596 | (s390_register_virtual_type, s390x_register_virtual_type): Remove. | |
4597 | (s390_dwarf_regmap): New variable. | |
4598 | (s390_dwarf_reg_to_regnum): New function. | |
4599 | (s390_stab_reg_to_regnum): Remove. | |
4600 | (s390_pseudo_register_read, s390_pseudo_register_write): New functions. | |
4601 | (s390x_pseudo_register_read, s390x_pseudo_register_write): Likewise. | |
4602 | (s390_convert_register_p): Likewise. | |
4603 | (s390_register_to_value, s390_value_to_register): Likewise. | |
4604 | (s390_register_reggroup_p): Likewise. | |
4605 | (s390_regmap_gregset, s390x_regmap_gregset, s390_regmap_fpregset, | |
4606 | s390_gregset, s390x_gregset, s390_fpregset): New variables. | |
4607 | (s390_supply_regset, s390_regset_from_core_section): New functions. | |
4608 | (GDB_TARGET_IS_ESAME): Move here from tm-s390.h. | |
4609 | (S390_FPR_SIZE): Likewise. | |
4610 | (S390_GPR_SIZE): Likewise. Redefine in terms of GDB_TARGET_IS_ESAME. | |
4611 | Global replace of DEPRECATED_REGISTER_SIZE by S390_GPR_SIZE. | |
4612 | (S390_NUM_GPRS): Move here from tm-s390.h. | |
4613 | (S390_NUM_FPRS): Likewise. | |
4614 | (s390_in_function_epilogue_p): New function. | |
4615 | (s390_is_sigreturn): Replace S390_PSW_ADDR_SIZE by S390_GPR_SIZE. | |
4616 | Replace S390_PC_REGNUM by S390_PSWA_REGNUM. | |
4617 | (s390_gdbarch_init): Allocate and set up gdbarch_tdep structure. | |
4618 | Replace s390_stab_reg_to_regnum by s390_dwarf_reg_to_regnum. | |
4619 | Replace S390_FP_REGNUM by S390_SP_REGNUM. | |
4620 | Remove calls to: | |
4621 | set_gdbarch_deprecated_max_register_raw_size, | |
8a1dac83 RM |
4622 | set_gdbarch_deprecated_max_register_virtual_size, |
4623 | set_gdbarch_deprecated_register_byte, | |
d0f54f9d | 4624 | set_gdbarch_cannot_fetch_register, |
8a1dac83 | 4625 | set_gdbarch_cannot_store_register, |
d0f54f9d JB |
4626 | set_gdbarch_deprecated_register_size, |
4627 | set_gdbarch_deprecated_register_raw_size, | |
4628 | set_gdbarch_deprecated_register_virtual_size, | |
4629 | set_gdbarch_deprecated_register_virtual_type, | |
4630 | set_gdbarch_deprecated_register_bytes. | |
4631 | Add calls to: | |
4632 | set_gdbarch_num_pseudo_regs, | |
4633 | set_gdbarch_register_type, | |
4634 | set_gdbarch_convert_register_p, | |
4635 | set_gdbarch_register_to_value, | |
4636 | set_gdbarch_value_to_register, | |
4637 | set_gdbarch_register_reggroup_p, | |
4638 | set_gdbarch_regset_from_core_section, | |
4639 | set_gdbarch_pseudo_register_read, | |
4640 | set_gdbarch_pseudo_register_write, | |
4641 | set_gdbarch_in_function_epilogue_p. | |
4642 | * Makefile.in (s390-nat.o, s390-tdep.o): Update dependencies. | |
4643 | (s390_tdep_h): New variable. | |
4644 | ||
8cfe231d JB |
4645 | 2004-02-17 Jim Blandy <[email protected]> |
4646 | ||
4589a601 JB |
4647 | * findvar.c (value_from_register): If the type has no length, just |
4648 | return an acceptable value --- don't report an internal error. | |
4649 | ||
8cfe231d JB |
4650 | * stabsread.c (read_type): If we find any type numbers that are |
4651 | forward references, complain if the references aren't resolved by | |
4652 | the time we're finished reading. | |
4653 | (cleanup_undefined_types): Make error message more appropriate for | |
4654 | a complaint. | |
4655 | ||
5bf0017e EZ |
4656 | 2004-02-17 Elena Zannoni <[email protected]> |
4657 | ||
9d62932d EZ |
4658 | * Makefile.in (defs_h): Remove dependency on progress_h. |
4659 | * defs.h (QUIT): Remove use of PROGRESS macro. Remove include of | |
4660 | progress.h. | |
4661 | * main.c (captured_main): Delete use of START_PROGRESS and | |
4662 | END_PROGRESS. | |
4663 | ||
4664 | 2004-02-17 Elena Zannoni <[email protected]> | |
8a1dac83 | 4665 | |
5bf0017e EZ |
4666 | * objfiles.c (terminate_minimal_symbol_table): Add back |
4667 | initialization of MSYMBOL_TYPE. | |
4668 | ||
9fc9f5e2 AC |
4669 | 2004-02-17 David Mosberger <[email protected]> |
4670 | ||
4671 | Committed by Andrew Cagney. | |
4672 | * Makefile.in (ia64_tdep_h): New macro. | |
4673 | (ia64-linux-tdep.o): Mention $(ia64_tdep_h). | |
4674 | (ia64-tdep.o): Likewise. | |
4675 | * ia64-tdep.h: New file. | |
4676 | * ia64-tdep.c: Update copyright notice. Include "ia64-tdep.h". | |
4677 | (ia64_linux_sigcontext_register_address): Move decl to ia64-tdep.h. | |
4678 | (ia64_aix_sigcontext_register_address): Likewise. | |
4679 | (ia64_linux_getunwind_table): Delete declaration. | |
4680 | * ia64-linux-tdep.c: Likewise. | |
4681 | ||
76cd2bd9 CV |
4682 | 2004-02-17 Corinna Vinschen <[email protected]> |
4683 | ||
4684 | * sh-tdep.c (sh_dsp_register_sim_regno): Use DSP_Rx_BANK_REGNUM. | |
4685 | * sh-tdep.h: Rename R0_BANK_REGNUM and R7_BANK_REGNUM to | |
4686 | DSP_R0_BANK_REGNUM and DSP_R7_BANK_REGNUM. | |
4687 | ||
634aa483 AC |
4688 | 2004-02-17 Andrew Cagney <[email protected]> |
4689 | ||
4690 | * symtab.c (skip_prologue_using_sal): New function. | |
4691 | * symtab.h (skip_prologue_using_sal): Declare. | |
4692 | * frv-tdep.c: Include "symtab.h". | |
4693 | (skip_prologue_using_sal): Delete function. | |
4694 | * mips-tdep.c (skip_prologue_using_sal): Delete function. | |
4695 | * rs6000-tdep.c (refine_prologue_limit): Mention | |
4696 | skip_prologue_using_sal. | |
4697 | * ia64-tdep.c (refine_prologue_limit): Ditto. | |
4698 | * Makefile.in: Update dependencies. | |
4699 | ||
4700 | 2004-02-16 Andrew Cagney <[email protected]> | |
19772a2c | 4701 | |
39ce7b3f AC |
4702 | * config/alpha/tm-nbsd.h: Update copyright, delete #undef |
4703 | START_INFERIOR_TRAPS_EXPECTED. | |
4704 | * config/alpha/tm-fbsd.h: Update copyright, delete #undef | |
4705 | START_INFERIOR_TRAPS_EXPECTED. | |
4706 | * config/alpha/tm-alphalinux.h (START_INFERIOR_TRAPS_EXPECTED): | |
4707 | Delete macro. | |
4708 | * config/alpha/tm-alpha.h (START_INFERIOR_TRAPS_EXPECTED): Delete | |
4709 | macro, moved to "nm-osf.h". Update copyright. | |
4710 | * config/alpha/nm-osf.h (START_INFERIOR_TRAPS_EXPECTED): Define, | |
4711 | update copyright. | |
4712 | ||
19772a2c AC |
4713 | * gdbarch.sh (DEPRECATED_FRAMELESS_FUNCTION_INVOCATION): Predicate |
4714 | and function replacing FRAMELESS_FUNCTION_INVOCATION. | |
4715 | * blockframe.c (legacy_frameless_look_for_prologue): Rename | |
4716 | frameless_look_for_prologue. | |
4717 | * frame.h (legacy_frameless_look_for_prologue): Rename | |
4718 | frameless_look_for_prologue. | |
4719 | * gdbarch.h, gdbarch.c: Re-generate. | |
4720 | * sh64-tdep.c (sh64_gdbarch_init): Update. | |
4721 | * sh-tdep.c (sh_gdbarch_init): Update. | |
4722 | * s390-tdep.c (s390_gdbarch_init): Update. | |
4723 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
4724 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
4725 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
4726 | (delta68_frame_args_address): Update. | |
4727 | * m32r-tdep.c (m32r_gdbarch_init): Update. | |
4728 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
4729 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
4730 | * frv-tdep.c (frv_gdbarch_init): Update. | |
4731 | (frv_frameless_function_invocation): Update. | |
4732 | * cris-tdep.c (cris_gdbarch_init): Update. | |
4733 | (cris_frameless_function_invocation): Update. | |
4734 | * avr-tdep.c (avr_gdbarch_init): Update. | |
4735 | * arm-tdep.c (arm_gdbarch_init): Update. | |
4736 | * stack.c (frame_info): Update, call predicate. | |
4737 | * rs6000-tdep.c (rs6000_frame_chain): Update, call predicate.. | |
4738 | * frame.c (legacy_get_prev_frame): Update, call predicate.. | |
4739 | * arch-utils.c (generic_frameless_function_invocation_not): Delete. | |
4740 | * arch-utils.h (generic_frameless_function_invocation_not): Delete. | |
4741 | * alpha-tdep.c (alpha_gdbarch_init): Do not set frameless function | |
4742 | invocation. | |
4743 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
4744 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
4745 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
2be8b3c1 AC |
4746 | |
4747 | * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): Delete unused | |
4748 | function. | |
4749 | ||
7dcaac91 DJ |
4750 | 2004-02-16 Daniel Jacobowitz <[email protected]> |
4751 | ||
4752 | * objfiles.c (terminate_minimal_symbol_table): Remove unnecessary | |
4753 | initializations. | |
4754 | ||
88289b6e AC |
4755 | 2004-02-16 Andrew Cagney <[email protected]> |
4756 | ||
4757 | * tui/tui-windata.c: Include "gdb_string.h". | |
4758 | * tui/tui-source.c, tui/tui-winsource.c: Ditto. | |
4759 | * tui/tui-layout.c, tui/tui-command.c: Ditto. | |
4760 | * Makefile.in: Update dependencies. | |
4761 | ||
9f976b41 DJ |
4762 | 2004-02-16 Daniel Jacobowitz <[email protected]> |
4763 | ||
4764 | * Makefile.in (infrun.o): Add $(gdb_assert_h). | |
4765 | * infrun.c: Include "gdb_assert.h". | |
4766 | (singlestep_ptid, saved_singlestep_ptid) | |
4767 | (stepping_past_singlestep_breakpoint): New variables. | |
4768 | (resume): Set singlestep_ptid. Check for singlestep thread | |
4769 | hop. | |
4770 | (init_wait_for_inferior): Clear stepping_past_singlestep_breakpoint. | |
4771 | (handle_inferior_event): Handle singlestep thread hop. | |
4772 | ||
c324d747 AC |
4773 | 2004-02-16 Andrew Cagney <[email protected]> |
4774 | ||
f090b9b1 AC |
4775 | * dwarf2-frame.c (dwarf2_frame_ops): New function. |
4776 | (dwarf2_frame_set_init_reg): Use, instead of gdbarch_data. | |
4777 | (dwarf2_frame_init_reg): Ditto. | |
4778 | ||
fd33e6cb AC |
4779 | * printcmd.c (display_command): Check that EXP isn't NULL. Fix |
4780 | suggested by Joshua Neuheisel | |
4781 | ||
c324d747 AC |
4782 | * configure.in: Always check for curses, including pdcurses. |
4783 | Warn, instead of error, when no curses are found. Enable TUI when | |
4784 | curses is available. | |
4785 | * configure: Re-generate. | |
4786 | ||
b66ba949 CV |
4787 | 2004-02-16 Corinna Vinschen <[email protected]> |
4788 | ||
4789 | * sh-tdep.c (sh_register_convert_to_virtual): Rename from | |
4790 | sh_sh4_register_convert_to_virtual. | |
4791 | (sh_register_convert_to_raw): Rename from | |
4792 | sh_sh4_register_convert_to_raw. | |
4793 | (sh_pseudo_register_read): Accomodate above name change. | |
4794 | (sh_pseudo_register_write): Ditto. | |
4795 | ||
b58cbbf2 CV |
4796 | 2004-02-16 Corinna Vinschen <[email protected]> |
4797 | ||
4798 | * sh-tdep.c (sh_generic_register_name): Remove. | |
4799 | (sh_gdbarch_init): Use sh_sh_register_name in default case. | |
4800 | ||
5929a910 AC |
4801 | 2004-02-15 Andrew Cagney <[email protected]> |
4802 | ||
4566dfcf AC |
4803 | * configure.in (build_warnings): Add -Wunused-function. |
4804 | * configure: Re-generate. | |
4805 | ||
db11ed55 AC |
4806 | * config/tm-lynx.h (START_INFERIOR_TRAPS_EXPECTED): Delete macro. |
4807 | * config/rs6000/tm-rs6000.h (START_INFERIOR_TRAPS_EXPECTED): Ditto. | |
4808 | ||
46ac7a5d AC |
4809 | * procfs.c (procfs_init_inferior): Assume that |
4810 | START_INFERIOR_TRAPS_EXPECTED is defined. | |
4811 | * config/ns32k/nbsdaout.mt (TM_FILE): Set to tm-ns32k.h. | |
4812 | * config/ns32k/tm-nbsd.h: Delete file, | |
4813 | START_INFERIOR_TRAPS_EXPECTED already defined as 2. | |
4814 | ||
ba801595 AC |
4815 | * config/vax/tm-vaxbsd.h: Do not include "tm-vax.h". |
4816 | * config/vax/tm-vax.h: Delete file. | |
4817 | ||
5929a910 AC |
4818 | * config/mips/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro. |
4819 | * config/i386/tm-i386bsd.h (SIGCONTEXT_PC_OFFSET): Delete macro. | |
4820 | * config/arm/tm-linux.h (SIGCONTEXT_PC_OFFSET): Delete macro. | |
4821 | * config/vax/tm-vaxbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro. | |
4822 | * vax-tdep.c (vax_sigtramp_saved_pc): Inline only reference. | |
4823 | * config/ns32k/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro. | |
4824 | * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Inline only reference. | |
4825 | ||
8f22cb90 MK |
4826 | 2004-02-15 Mark Kettenis <[email protected]> |
4827 | ||
4828 | * dwarf2-frame.h (dwarf2_frame_set_init_reg): New prototype. | |
4829 | * dwarf2-frame.c (dwarf2_frame_data): New variable. | |
4830 | (struct dwarf2_frame_ops): New. | |
4831 | (dwarf2_frame_default_init_reg): New function, based on | |
4832 | dwarf2_frame_init_reg. | |
4833 | (dwarf2_frame_init, dwarf2_frame_set_init_reg): New function. | |
4834 | (dwarf2_frame_init_reg): Call architecture-specific function. | |
4835 | (dwarf2_frame_objfile_data): Renamed from dwarf2_frame_data. | |
4836 | (dwarf2_frame_find_fde, add_fde): Use dwarf2_frame_objfile_data | |
4837 | instead of dwarf2_frame_data. | |
4838 | (_initialize_dwarf2_frame): Initailize new dwarf2_frame_data. | |
4839 | Initialize dwarf2_frame_objfile instead of old dwarf2_frame_data. | |
4840 | ||
8132723e AC |
4841 | 2004-02-15 Andrew Cagney <[email protected]> |
4842 | ||
046a4708 AC |
4843 | * gdbarch.sh (deprecated_register_gdbarch_swap): Rename |
4844 | register_gdbarch_swap. | |
4845 | (DEPRECATED_REGISTER_GDBARCH_SWAP): Rename REGISTER_GDBARCH_SWAP. | |
4846 | * f-lang.c (_initialize_f_language): Update, use | |
4847 | DEPRECATED_REGISTER_GDBARCH_SWAP. | |
4848 | * remote.c (_initialize_remote): Ditto. | |
4849 | * regcache.c (_initialize_regcache): Ditto. | |
4850 | * parse.c (_initialize_parse): Ditto. | |
4851 | * infrun.c (_initialize_infrun): Ditto. | |
4852 | * mi/mi-main.c (_initialize_mi_main): Ditto. | |
4853 | * gdbtypes.c (_initialize_gdbtypes): Ditto. | |
8a1dac83 | 4854 | |
549c1eea AC |
4855 | * solib.c (solib_map_sections): Use bfd_set_cacheable instead of |
4856 | poking .cacheable directly. | |
4857 | * symfile.c (symfile_bfd_open): Ditto. | |
4858 | ||
0c0b39de AC |
4859 | * Makefile.in: Update all dependencies. |
4860 | ||
8132723e AC |
4861 | * Makefile.in: (.SUFFIXES): Add ".l" and ".y". |
4862 | (.y.c, .l.c): Specify implicit rule. Instead of .tab.c, generate | |
4863 | .c. Update references. Delete unnecessary .tab.c and -lex.c rules. | |
4864 | (ada-exp.o, c-exp.o, f-exp.o): Replace ada-exp.tab.o et.al. rule. | |
4865 | (jv-exp.o, m2-exp.o, objc-exp.o, p-exp.o): Similar. | |
0c0b39de | 4866 | |
b9d26eb9 AC |
4867 | 2004-02-14 Andrew Cagney <[email protected]> |
4868 | ||
8e1f669a AC |
4869 | * arch-utils.c (legacy_convert_register_p): Check |
4870 | DEPRECATED_REGISTER_CONVERTIBLE_P. | |
4871 | * findvar.c (value_of_register): Ditto. | |
4872 | ||
cd0bfa36 AC |
4873 | * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Add predicate. |
4874 | * gdbarch.h, gdbarch.c: Re-generate. | |
4875 | * arch-utils.c (deprecated_register_convertible_not): Delete. | |
4876 | * arch-utils.h (deprecated_register_convertible_not): Delete. | |
4877 | * mi/mi-main.c (get_register): Update. Update copyright. | |
4878 | * infcmd.c (default_print_registers_info): Update. | |
4879 | ||
b9d26eb9 AC |
4880 | * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Delete. |
4881 | (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Delete. | |
4882 | (DEPRECATED_CALL_DUMMY_ADDRESS): Delete. | |
8a1dac83 | 4883 | * gdbarch.h, gdbarch.c: Re-generate. |
b9d26eb9 AC |
4884 | * frame.c (deprecated_get_next_frame_hack): Delete function. |
4885 | * frame.h (deprecated_get_next_frame_hack): Delete declaration. | |
4886 | * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point): | |
4887 | Update. | |
4888 | * infcall.c (call_function_by_hand): Update. | |
4889 | ||
9ab9195f EZ |
4890 | 2004-02-14 Elena Zannoni <[email protected]> |
4891 | ||
4892 | * symfile.c (init_entry_point_info, entry_point_address): Move | |
8a1dac83 | 4893 | from here... |
9ab9195f EZ |
4894 | * objfiles.c (init_entry_point_info, entry_point_address):..to |
4895 | here. | |
4896 | * symfile.h (init_entry_point_info, entry_point_address): Remove | |
4897 | prototypes. | |
4898 | * objfiles.h (init_entry_point_info, entry_point_address):Add | |
8a1dac83 | 4899 | prototypes. |
9ab9195f EZ |
4900 | * cris-tdep.c: Remove include of symfile.h. Add include of |
4901 | objfiles.h. | |
4902 | * infcall.c: Ditto. | |
4903 | * mcore-tdep.c: Ditto. | |
4904 | * mn10300-tdep.c: Ditto. | |
4905 | * sh64-tdep.c: Ditto. | |
4906 | * v850-tdep.c: Ditto. | |
4907 | * arm-tdep.c: Remove include of symfile.h. | |
4908 | * blockframe.c: Ditto. | |
4909 | * coffread.c: Ditto. | |
4910 | * dbxread.c: Ditto. | |
4911 | * dwarf2read.c: Ditto. | |
4912 | * dwarfread.c: Ditto. | |
8a1dac83 | 4913 | * frv-tdep.c: Ditto. |
9ab9195f EZ |
4914 | * ia64-tdep.c: Ditto. |
4915 | * mdebugread.c: Ditto. | |
4916 | * mipsread.c: Ditto. | |
8a1dac83 | 4917 | * rs6000-tdep.c: Ditto. |
9ab9195f EZ |
4918 | * s390-tdep.c: Ditto. |
4919 | * sh-tdep.c: Ditto. | |
8a1dac83 | 4920 | * xstormy16-tdep.c: Ditto. |
9ab9195f EZ |
4921 | * gdbarch.sh: Remove include of symfile.h. |
4922 | * gdbarch.c: Regenerate. | |
4923 | * solib-irix.c (enable_break): Use entry_point_address(). | |
4924 | Add comment about include file. | |
4925 | * xcoffread.c: Add comment about include file. | |
8a1dac83 RM |
4926 | * Makefile.in (arm-tdep.o, blockframe.o, coffread.o, cris-tdep.o) |
4927 | (dbxread.o, dwarf2read.o, dwarfread.o, frv-tdep.o, gdbarch.o) | |
4928 | (ia64-tdep.o, infcall.o, mcore-tdep.o, mdebugread.o, mipsread.o) | |
4929 | (mn10300-tdep.o, rs6000-nat.o, s390-tdep.o, sh64-tdep.o) | |
9ab9195f EZ |
4930 | (sh-tdep.o, v850-tdep.o, xstormy16-tdep.o): Update dependencies. |
4931 | ||
c4c5b7ba AC |
4932 | 2004-02-13 Andrew Cagney <[email protected]> |
4933 | ||
4934 | * corelow.c (core_xfer_partial): Use "struct bfd_section". | |
4935 | * config/sparc/nm-nbsd.h (struct target_ops): Declare, update | |
4936 | copyright. | |
4937 | * mips-linux-tdep.c: Use "GNU/Linux", update copyright. | |
4938 | ||
3e7879de FF |
4939 | 2004-02-12 Fred Fish <[email protected]> |
4940 | ||
4941 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Remove duplicate call to | |
4942 | set_gdbarch_store_return_value. | |
4943 | ||
6a7760b6 AC |
4944 | 2004-02-12 Andrew Cagney <[email protected]> |
4945 | ||
4946 | * remote-rdi.c (arm_rdi_start_remote): Delete unused function. | |
4947 | (arm_rdi_interrupt, arm_rdi_interrupt_twice): Ditto. | |
4948 | (interrupt_query): Ditto. | |
4949 | (ofunc): Delete unused variable. | |
4950 | * cris-tdep.c (cris_abi): Delete unused function. | |
4951 | (reg_pop_op, move_reg_to_mem_index_inc_op): Ditto. | |
4952 | (cris_get_wide_opcode, cris_get_short_size): Ditto. | |
4953 | (cris_get_asr_quick_shift_steps): Ditto. | |
4954 | (cris_skip_prologue_frameless_p): Ditto. | |
4955 | * arm-tdep.c (arm_push_return_address): Delete unused function. | |
4956 | (arm_push_dummy_frame, arm_fix_call_dummy): Ditto. | |
4957 | * rs6000-tdep.c (rs6000_pc_in_call_dummy): Delete unused function. | |
4958 | * s390-tdep.c (s390_function_start): Delete unused function. | |
4959 | ||
31687c3c AC |
4960 | 2004-02-12 Andrew Cagney <[email protected]> |
4961 | ||
4962 | * gdbarch.sh (PROLOGUE_FRAMELESS_P): Delete. | |
4963 | gdbarch.h, gdbarch.c: Re-generate. | |
4964 | * cris-tdep.c (cris_gdbarch_init): Do not set prologue_frameless_p | |
4965 | to generic_prologue_frameless_p. | |
4966 | * arch-utils.h (generic_prologue_frameless_p): Delete declaration. | |
4967 | * arch-utils.c (generic_prologue_frameless_p): Delete function. | |
4968 | ||
6de918a6 DJ |
4969 | 2004-02-11 Daniel Jacobowitz <[email protected]> |
4970 | ||
4971 | * mips-linux-tdep.c: Include "frame.h". | |
4972 | (mips_linux_in_dynsym_stub, mips_linux_in_dynsym_resolve_code) | |
4973 | (mips_linux_skip_resolver): New functions. | |
4974 | (mips_linux_init_abi): Call set_gdbarch_skip_solib_resolver | |
4975 | and set_gdbarch_in_solib_call_trampoline. | |
4976 | * mips-tdep.c (mips_gdbarch_init): Move gdbarch_init_osabi call | |
4977 | to after set_gdbarch_in_solib_return_trampoline. Only set the | |
4978 | solib hooks to mips16 functions if the OS ABI is unknown. | |
4979 | * config/mips/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Undefine after | |
4980 | including "config/tm-linux.h". | |
4981 | (IN_SOLIB_DYNSYM_RESOLVE_CODE): Define. | |
4982 | * Makefile.in (mips-linux-tdep.o): Update. | |
4983 | ||
87b3ede8 DC |
4984 | 2004-02-11 David Carlton <[email protected]> |
4985 | ||
4986 | * linespec.c (decode_compound): Only look for a class symbol when | |
4987 | considering all but the rightmost component. | |
4988 | ||
5979bc46 AC |
4989 | 2004-02-11 Andrew Cagney <[email protected]> |
4990 | ||
4991 | * hppa-tdep.c (hppa_gdbarch_init): Re-order so that the frame and | |
4992 | abi code are are separatly grouped. | |
4993 | ||
5867a2fb AC |
4994 | 2004-02-11 Andrew Cagney <[email protected]> |
4995 | ||
4996 | * gdbarch.sh (FRAME_ARGS_SKIP): Default to 0. | |
4997 | * gdbarch.h, gdbarch.c: Re-generate. | |
4998 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
4999 | * v850-tdep.c (v850_gdbarch_init): Update. | |
5000 | * sh64-tdep.c (sh64_gdbarch_init): Update. | |
5001 | * sh-tdep.c (sh_gdbarch_init): Update. | |
5002 | * s390-tdep.c (s390_gdbarch_init): Update. | |
5003 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
5004 | * mips-tdep.c (mips_gdbarch_init): Update. | |
5005 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
5006 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
5007 | * m32r-tdep.c (m32r_gdbarch_init): Update. | |
5008 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
5009 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
5010 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
5011 | * frv-tdep.c (frv_gdbarch_init): Update. | |
5012 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
5013 | * cris-tdep.c (cris_gdbarch_init): Update. | |
5014 | * avr-tdep.c (avr_gdbarch_init): Update. | |
5015 | * arm-tdep.c (arm_gdbarch_init): Update. | |
5016 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
5017 | ||
026a72f8 CV |
5018 | 2004-02-11 Corinna Vinschen <[email protected]> |
5019 | ||
5020 | * sh-tdep.c (sh_sh3_dsp_register_name): Fix formatting. Add missing | |
5021 | comma. | |
5022 | (sh_sh4al_dsp_register_name): Ditto. | |
5023 | ||
3903d437 AC |
5024 | 2004-02-10 Andrew Cagney <[email protected]> |
5025 | ||
5026 | * mips-tdep.c (mips_gdbarch_init): Delete deprecated frame code. | |
5027 | (mips_init_frame_pc_first): Delete function. | |
5028 | (mips_frame_saved_pc): Delete function. | |
5029 | (mips_frame_chain): Delete function. | |
5030 | (mips_init_extra_frame_info): Delete function. | |
5031 | (mips_xfer_register): Delete unused variable "reg". | |
5032 | (mips_n32n64_push_dummy_call): Delete unused variable "valbuf". | |
5033 | (mips_n32n64_return_value): Delete unused variable "reg". | |
5034 | (mips_n32n64_return_value): Delete unused variable "pos". | |
5035 | (mips_o32_push_dummy_call): Delete unused variable "valbuf". | |
5036 | (mips_o32_return_value): Delete unused variable "pos". | |
5037 | (mips_o64_push_dummy_call): Delete unused variable "valbuf". | |
5038 | (mips_print_fp_register): Delete unused variable "namelen" | |
5039 | (mips_print_fp_register): Delete unused variable "flt2" | |
5040 | (get_frame_pointer): Delete function. | |
5041 | (cached_proc_desc): Delete static variable. | |
5042 | (mips_pop_frame): Delete function. | |
5043 | (mips_find_saved_regs): Delete function. | |
5044 | (mips_get_saved_register): Delete function. | |
5045 | (mips_saved_pc_after_call): Delete function. | |
5046 | (SIGFRAME_BASE): Delete macro. | |
5047 | (SIGFRAME_FPREGSAVE_OFF): Delete macro. | |
5048 | (SIGFRAME_PC_OFF): Delete macro. | |
5049 | (SIGFRAME_REGSAVE_OFF): Delete macro. | |
5050 | (mips_dump_tdep): Do not print deleted macro definitions. | |
5051 | ||
b9fb98bd AC |
5052 | 2004-02-10 Andrew Cagney <[email protected]> |
5053 | ||
5054 | * Makefile.in (SFILES): Remove explictly listed tui files. | |
5055 | (SUBDIR_GDBTK_SRCS): Fix path to gdbtk-interp.c. | |
5056 | ||
78ced177 | 5057 | 2004-02-10 Jeff Johnston <[email protected]> |
8a1dac83 | 5058 | |
78ced177 JJ |
5059 | * ia64-tdep.c (ia64_frame_this_id): Fix tracing print statement |
5060 | to use paddr functions to format ia64 addresses and long values. | |
5061 | (ia64_frame_prev_register, ia64_sigtramp_frame_this_id): Ditto. | |
5062 | (ia64_sigtramp_frame_prev_register, ia64_access_reg): Ditto. | |
5063 | (get_kernel_table, ia64_find_proc_info_x): Ditto. | |
5064 | (ia64_get_dyn_info_list, ia64_libunwind_this_frame_id): Ditto. | |
5065 | (ia64_libunwind_frame_prev_register, ia64_unwind_dummy_id): Ditto. | |
5066 | ||
6a83354a AC |
5067 | 2004-02-10 Andrew Cagney <[email protected]> |
5068 | ||
5069 | * defs.h: Do not include "tui.h". | |
5070 | * gdb_curses.h: New file. | |
5071 | * tui/tui-hooks.h: New file. | |
5072 | * tui/tui.h (tui_update_all_exec_infos): Delete declaration. | |
5073 | (tui_install_hooks, tui_remove_hooks): Delete declarations. | |
5074 | (tui_initialize_io): Delete declaration. | |
5075 | (tui_initialize_readline: Delete redundant declaration. | |
5076 | (struct tui_point): Delete definition. | |
5077 | * tui/tui-data.h (struct tui_point): Define. | |
5078 | * cli/cli-decode.c [TUI]: Include "tui/tui.h". | |
5079 | * utils.c: Include "tui/tui.h". | |
5080 | * tui/tui-data.h: Include "tui/tui.h" and "gdb_curses.h". | |
5081 | * printcmd.c [TUI]: Include "tui/tui.h". | |
5082 | * cli/cli-cmds.c [TUI]: Include "tui/tui.h". | |
5083 | * tui/tui-command.c: Include "gdb_curses.h". | |
5084 | * tui/tui.c, tui/tui-winsource.c, tui/tui-wingeneral.c: Ditto. | |
5085 | * tui/tui-windata.c, tui/tui-win.c, tui/tui-stack.c: Ditto. | |
5086 | * tui/tui-source.c, tui/tui-regs.c, tui/tui-layout.c: Ditto. | |
5087 | * tui/tui-io.c, tui/tui-disasm.c, tui/tui-data.c: : Ditto. | |
5088 | * tui/tui-hooks.c: Include "tui-hooks.h" and "gdb_curses.h". | |
5089 | * Makefile.in: Update all dependencies. | |
5090 | (tui_hooks_h, gdb_curses_h): Define. | |
5091 | (SUBDIR_TUI_CFLAGS): Remove -I${srcdir}/tui. | |
5092 | ||
997470ef EZ |
5093 | 2004-02-10 Elena Zannoni <[email protected]> |
5094 | ||
5095 | * objfiles.h (struct objfile): Remove unused fields auxf1 and | |
5096 | auxf2. Add comments about some other rarely used fields. | |
5097 | ||
4ff2cc4d AC |
5098 | 2004-02-10 Andrew Cagney <[email protected]> |
5099 | ||
5100 | * Makefile.in (init.c): Fix script removing duplicates. Problem | |
5101 | reported by Peter Schauer. | |
5102 | ||
1ab21617 EZ |
5103 | 2004-02-09 Elena Zannoni <[email protected]> |
5104 | ||
5105 | * bcache.c (bcache_xmalloc): Use obstack_init instead of | |
5106 | obstack_specify_allocation. | |
5107 | * objfiles.c (allocate_objfile): Ditto. | |
8a1dac83 | 5108 | * solib-sunos.c (solib_add_common_symbols) |
1ab21617 EZ |
5109 | (allocate_rt_common_objfile): Ditto. |
5110 | * symfile.c (reread_symbols): Ditto. | |
5111 | * gdb_obstack.h: Add comment. | |
5112 | ||
17763fd9 EZ |
5113 | 2004-02-09 Elena Zannoni <[email protected]> |
5114 | ||
5115 | * linespec.c (decode_line_1, locate_first_half) | |
5116 | (decode_compound, lookup_prefix_sym): Update comments. Delete old | |
5117 | commented out code. | |
5118 | ||
ec5cdd75 DJ |
5119 | 2004-02-09 Daniel Jacobowitz <[email protected]> |
5120 | ||
5121 | * cp-namespace.c (check_one_possible_namespace_symbol): Don't use | |
5122 | obstack_free. | |
5123 | ||
43b54b88 AC |
5124 | 2004-02-09 Andrew Cagney <[email protected]> |
5125 | ||
5126 | * blockframe.c (find_pc_partial_function): If find_pc_overlay | |
5127 | fails, try find_pc_section. Fix PR c++/1267. | |
5128 | * minsyms.c (lookup_minimal_symbol_by_pc): Use find_pc_section | |
5129 | instead of find_pc_mapped_section. | |
5130 | (lookup_minimal_symbol_by_pc_section): If the SECTION is NULL, do | |
5131 | not default to the section containing PC. Fix PR symtab/1519. | |
5132 | ||
edfae063 AC |
5133 | 2004-02-09 Andrew Cagney <[email protected]> |
5134 | ||
5135 | * Makefile.in (mips-tdep.o): Update dependencies. | |
5136 | * mips-tdep.c: Include "frame-unwind.h", "frame-base.h" and | |
5137 | "trad-frame.h". | |
5138 | (mips_unwind_pc): Return the pseudo PC register. | |
5139 | (mips_unwind_dummy_id): New function. | |
5140 | (mips16_fetch_instruction): New function. | |
5141 | (mips32_fetch_instruction): New function. | |
5142 | (struct mips_frame_cache): Define. | |
5143 | (mips_mdebug_frame_cache): New function. | |
5144 | (mips_mdebug_frame_this_id): New function. | |
5145 | (mips_mdebug_frame_prev_register): New function. | |
5146 | (mips_mdebug_frame_unwind): Define. | |
5147 | (mips_mdebug_frame_sniffer): New function. | |
5148 | (mips_mdebug_frame_base_address): New function. | |
5149 | (mips_mdebug_frame_base): Define. | |
5150 | (mips_mdebug_frame_base_sniffer): New function. | |
5151 | (mips_gdbarch_init): Append unwind and base sniffers. Set | |
5152 | unwind_dummy_id. | |
5153 | ||
defc864c AC |
5154 | 2004-02-08 Andrew Cagney <[email protected]> |
5155 | ||
6764ddad AC |
5156 | * frame.c: Print both the register number and name. |
5157 | ||
defc864c AC |
5158 | * Makefile.in (init.c): Eliminate duplicates. Combine two greps |
5159 | and a sed into a single sed. Make .c and .o patterns more robust. | |
5160 | (OBS): Delete. | |
5161 | (INIT_FILES): Replace OBS with COMMON_OBS. | |
5162 | (COMMON_OBS): Move DEPFILES and YYOBJ to start of definition. | |
5163 | ||
645d6d10 MK |
5164 | 2004-02-08 Mark Kettenis <[email protected]> |
5165 | ||
5166 | * sparc-nat.c (sparc_xfer_wcookie): Try to fetch the cookie using | |
5167 | the PT_WCOOKIE request. | |
5168 | ||
23e3c3fc AC |
5169 | 2004-02-08 Andrew Cagney <[email protected]> |
5170 | ||
58dfe9ff AC |
5171 | * mips-tdep.c (mips_unwind_pc): New function. |
5172 | (mips_gdbarch_init): Set mips_unwind_pc. | |
5173 | ||
1152e35e AC |
5174 | * frame.c (legacy_saved_regs_this_id): Return a null frame ID. |
5175 | (get_frame_id): Allow the UNKNOWN_FRAME. | |
5176 | (frame_register_unwind, get_frame_type): Ditto. | |
5177 | ||
31b75dbf AC |
5178 | * frame.c (legacy_frame_p): Check for DEPRECATED_TARGET_READ_FP_P |
5179 | and DEPRECATED_FP_REGNUM. Don't assume that the lack of | |
5180 | unwind_dummy_id indicates a legacy frame. | |
5181 | ||
3483b318 AC |
5182 | * configure.in (CONFIG_LIB_OBS): Replace with CONFIG_OBS. |
5183 | * configure: Re-generate. | |
5184 | ||
23e3c3fc AC |
5185 | * mips-tdep.c (mips_gdbarch_init): Group deprecated frame unwind |
5186 | methods. | |
5187 | ||
33f8ca73 AC |
5188 | 2004-02-08 Andrew Cagney <[email protected]> |
5189 | ||
5190 | * configure.in (CONFIG_ALL): Set to Makefile target, and not | |
5191 | makefile macro. | |
5192 | * configure: Re-generate. | |
5193 | (CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Ditto. | |
5194 | * Makefile.in (SUBDIR_CLI_CLEAN): Delete. | |
5195 | (SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): Delete. | |
5196 | (SUBDIR_CLI_ALL, SUBDIR_GDBTK_ALL): Delete. | |
5197 | (SUBDIR_GDBTK_CLEAN, SUBDIR_GDBTK_INSTALL): Delete. | |
5198 | (SUBDIR_GDBTK_UNINSTALL, SUBDIR_MI_ALL): Delete. | |
5199 | (SUBDIR_MI_CLEAN, SUBDIR_MI_INSTALL): Delete. | |
5200 | (SUBDIR_MI_UNINSTALL, SUBDIR_TUI_ALL): Delete. | |
5201 | (SUBDIR_TUI_CLEAN, SUBDIR_TUI_INSTALL): Delete. | |
5202 | (SUBDIR_TUI_UNINSTALL, SUBDIR_CLI_CLEAN): Delete. | |
5203 | ||
6ba8e26f | 5204 | 2004-02-07 Andrew Cagney <[email protected]> |
d836ee13 | 5205 | |
20d286a5 AC |
5206 | * Makefile.in: Update all dependencies. |
5207 | ||
d836ee13 AC |
5208 | * configure.in (CONFIG_INITS, CONFIG_LIB_OBS): Delete. |
5209 | * configure: Re-generate. | |
5210 | * Makefile.in (INIT_FILES): Replace CONFIG_INITS with CONFIG_SRCS. | |
5211 | (CONFIG_LIB_OBS, CONFIG_INITS): Delete. | |
5212 | (COMMON_OBS): Add "main.o" and "annotate.o". | |
5213 | (ANNOTATE_OBS): Delete. | |
5214 | (OBS): Remove ANNOTATE_OBS. | |
5215 | (DEPFILES): Replace CONFIG_LIB_OBS with CONFIG_LIB_OBS, remove | |
5216 | CONFIG_INITS. | |
5217 | (gdb$(EXEEXT), insight$(EXEEXT)): Do not depend on, or link | |
5218 | against CONFIG_OBS and "main.o". | |
5219 | (SUBDIR_CLI_INITS, SUBDIR_MI_INITS): Delete. | |
5220 | (SUBDIR_TUI_INITS, SUBDIR_GDBTK_INITS): Delete. | |
5221 | ||
d02c80cd AC |
5222 | * tui/tui-command.c: Include "gdb_string.h", delete register |
5223 | attribute, use ISO-C function signatures. | |
5224 | * tui/tui-disasm.c, tui/tui-file.c, tui/tui-io.c: Ditto. | |
5225 | * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto. | |
5226 | * tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Ditto. | |
5227 | * tui/tui.c: Ditto. | |
6ba8e26f AC |
5228 | |
5229 | * tui/tui-command.c: Change variable and function names to lower | |
5230 | case. | |
5231 | * tui/tui-data.c, tui/tui-disasm.c: Ditto. | |
5232 | * tui/tui-hooks.c, tui/tui-io.c, tui/tui-layout.c: Ditto. | |
5233 | * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto. | |
5234 | * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto. | |
5235 | * tui/tui-winsource.c, tui/tui.c: Ditto. | |
5236 | ||
4a146b47 EZ |
5237 | 2004-02-07 Elena Zannoni <[email protected]> |
5238 | ||
5239 | * buildsym.c (free_pending_blocks, finish_block) | |
5240 | (record_pending_block, make_blockvector, end_symtab): Replace | |
5241 | symbol_obstack with objfile_obstack. | |
8a1dac83 | 5242 | * coffread.c (process_coff_symbol, coff_read_struct_type) |
4a146b47 | 5243 | (coff_read_enum_type): Ditto. |
8a1dac83 | 5244 | * cp-namespace.c (initialize_namespace_symtab) |
4a146b47 | 5245 | (check_one_possible_namespace_symbol): Ditto. |
8a1dac83 | 5246 | * dwarf2read.c (new_symbol, dwarf2_const_value, macro_start_file) |
4a146b47 EZ |
5247 | (dwarf2_symbol_mark_computed): Ditto. |
5248 | * dwarfread.c (enum_type, new_symbol, synthesize_typedef): Ditto. | |
5249 | * elfread.c (elf_symtab_read): Ditto. | |
5250 | * hpread.c (hpread_symfile_init, hpread_symfile_init) | |
5251 | (hpread_read_enum_type, hpread_read_function_type) | |
5252 | (hpread_read_doc_function_type, hpread_process_one_debug_symbol): | |
5253 | Ditto. | |
8a1dac83 | 5254 | * jv-lang.c (get_java_class_symtab, add_class_symbol) |
4a146b47 | 5255 | (java_link_class_type): Ditto. |
8a1dac83 | 5256 | * mdebugread.c (parse_symbol, psymtab_to_symtab_1, new_symtab) |
4a146b47 EZ |
5257 | (new_symbol): Ditto. |
5258 | * minsyms.c (install_minimal_symbols): Ditto. | |
5259 | * objfiles.c (allocate_objfile): Remove init of symbol_obstack. | |
5260 | (terminate_minimal_symbol_table): Replace symbol_obstack with | |
5261 | objfile_obstack. | |
5262 | (free_objfile): Remove freeing of symbol_obstack. | |
5263 | * objfiles.h: Remove symbol_obstack field. | |
5264 | * pa64solib.c (add_to_solist): Replace symbol_obstack with | |
5265 | objfile_obstack. | |
5266 | * solib-sunos.c (allocate_rt_common_objfile): Remove init of | |
5267 | symbol_obstack. | |
5268 | (solib_add_common_symbols): Replace symbol_obstack with | |
5269 | objfile_obstack. | |
5270 | * somsolib.c (som_solib_add): Ditto. | |
5271 | * stabsread.c (patch_block_stabs, define_symbol, read_enum_type) | |
5272 | (common_block_start, common_block_end): Ditto. | |
5273 | * symfile.c (reread_symbols): Remove freeing and init of | |
5274 | symbol_obstack. | |
5275 | (allocate_symtab): Rename symbol_obstack to objfile_obstack. | |
5276 | * symfile.h: Update comment. | |
5277 | * symmisc.c (print_objfile_statistics): Remove symbol_obstack | |
5278 | stats printing. | |
5279 | * symtab.c (symbol_set_names): Replace symbol_obstack with | |
5280 | objfile_obstack. | |
5281 | * symtab.h (struct general_symbol_info, struct minimal_symbol): | |
5282 | Update comments. | |
5283 | * xcoffread.c (read_xcoff_symtab, SYMBOL_DUP, SYMNAME_ALLOC) | |
5284 | (init_stringtab, xcoff_initial_scan): Replace symbol_obstack with | |
5285 | objfile_obstack. | |
5286 | ||
6d012f14 AC |
5287 | 2004-02-07 Andrew Cagney <[email protected]> |
5288 | ||
5289 | * tui/tui.h: Do not include <stdarg.h>, <string.h>, and | |
5290 | "ansidecl.h". Do not undef "reg" and "chtype". Fix case of | |
5291 | fields and variables. | |
5292 | * tui/tui-wingeneral.h (m_beVisible): Delete macro. | |
5293 | (m_beInvisible): Delete macro. | |
5294 | * tui/tui-data.h: Fix case case fields and variables. | |
5295 | (m_genWinPtrIsNull): Delete macro. | |
5296 | (tui_win_list): Rename winList. | |
5297 | (TUI_SRC_WIN): Rename srcWin. | |
5298 | (TUI_DISASM_WIN): Rename disassemWin. | |
5299 | (TUI_DATA_WIN): Rename dataWin. | |
5300 | (TUI_CMD_WIN): Rename cmdWin. | |
5301 | (m_genWinPtrNotNull): Delete macro. | |
5302 | (m_winPtrIsNull): Delete macro. | |
5303 | (m_winPtrNotNull): Delete macro. | |
5304 | (tui_win_is_source_type): Replace m_winIsSourceType | |
5305 | (tui_win_is_auxillary): Replace m_winIsAuzillary. | |
5306 | (tui_win_has_locator): Replace m_hasLocator. | |
5307 | (tui_set_win_highlight): Replace m_setWinHighlightOn and | |
5308 | m_setWinHighlightOff. | |
5309 | * tui/tui-data.c: Update references. | |
5310 | (tui_win_is_source_type, tui_set_win_highlight): New functions. | |
5311 | (tui_win_has_locator, tui_win_is_auxillary): New functions. | |
5312 | * tui/tui-command.c, tui/tui-disasm.c: Update references. | |
5313 | * tui/tui-io.c, tui/tui-layout.c, tui/tui-regs.c: Ditto. | |
5314 | * tui/tui-regs.h, tui/tui-source.c, tui/tui-stack.c: Ditto. | |
5315 | * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto. | |
5316 | * tui/tui-winsource.c, tui/tui.c: Ditto. | |
5317 | ||
7d34766b MK |
5318 | 2004-02-07 Mark Kettenis <[email protected]> |
5319 | ||
1c800673 MK |
5320 | * sparc-tdep.h (sparc_fetch_wcookie): New prototype. |
5321 | * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Handle | |
5322 | StackGhost. | |
5323 | ||
7d34766b MK |
5324 | * sparc-tdep.c (sparc32_frame_prev_register): Rename local |
5325 | variable `i6' to `i7'. | |
5326 | (sparc_supply_rwindow, sparc_collect_rwindow): Likewise. | |
5327 | ||
22940a24 AC |
5328 | 2004-02-07 Andrew Cagney <[email protected]> |
5329 | ||
5330 | * tui/tui.h (Opaque, OpaquePtr OpaqueList): Delete definition. | |
5331 | (TuiPoint, TuiPointPtr): Ditto. | |
5332 | (TuiStatus, TuiStatusPtr): Ditto. | |
5333 | (TuiWinType, TuiWinTypePtr): Ditto. | |
5334 | (struct tui_point): Rename _TuiPoint. | |
5335 | (tui_get_low_disassembly_address): Rename | |
5336 | tuiGetLowDisassemblyAddress. | |
5337 | (tui_update_all_exec_infos): Rename tuiUpdateAllExecInfos. | |
5338 | (tuiFree): Delete declaration. | |
5339 | (OpaqueFuncPtr, TuiOpaqueFuncPtr): Delete definitions. | |
5340 | (TuiVoidFuncPtr, TuiIntFuncPtr): Delete definitions. | |
5341 | * tui/tui.c (tuiFree): Delete function. | |
5342 | * cli/cli-cmds.c (disassemble_command): Update references. | |
5343 | * tui/tui-data.c, tui/tui-data.h, tui/tui-disasm.c: Ditto. | |
5344 | * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto. | |
5345 | * tui/tui-stack.c, tui/tui-win.c, tui/tui-wingeneral.c: Ditto. | |
5346 | * tui/tui-winsource.c: Ditto. | |
5347 | ||
8b92e4d5 EZ |
5348 | 2004-02-07 Elena Zannoni <[email protected]> |
5349 | ||
5350 | * dbxread.c (dbx_symfile_init, start_psymtab, end_psymtab, | |
5351 | coffstab_build_psymtabs, elfstab_build_psymtabs) | |
5352 | (stabsect_build_psymtabs): Replace psymbol_obstack with | |
5353 | objfile_obstack. | |
5354 | * dwarf2-frame.c (decode_frame_entry_1): Ditto. | |
5355 | * dwarf2read.c (dwarf2_build_psymtabs_hard, dwarf2_read_section): | |
5356 | Ditto. | |
5357 | * dwarfread.c (scan_compilation_units): Ditto. | |
5358 | * elfread.c (elfstab_offset_sections): Ditto. | |
5359 | * hppa-tdep.c (read_unwind_info): Ditto. | |
5360 | * hpread.c (hpread_build_psymtabs, hpread_start_psymtab) | |
5361 | (hpread_end_psymtab): Ditto. | |
5362 | * mdebugread.c (mdebug_build_psymtabs, add_pending) | |
5363 | (parse_partial_symbols, new_psymtab, elfmdebug_build_psymtabs): | |
5364 | Ditto. | |
5365 | * mips-tdep.c (non_heuristic_proc_desc): Ditto. | |
8a1dac83 | 5366 | * objfiles.c (add_to_objfile_sections) |
8b92e4d5 EZ |
5367 | (build_objfile_section_table): Ditto. |
5368 | (allocate_objfile): Remove init of psymbol_obstack. | |
5369 | (free_objfile): Remove freeing of psymbol_obstack. | |
5370 | * objfiles.h (struct objfile): Remove field | |
5371 | psymbol_obstack. Update comments. | |
5372 | * pa64solib.c (pa64_solib_add_solib_objfile): Replace | |
5373 | psymbol_obstack with objfile_obstack. | |
5374 | * solib-sunos.c (allocate_rt_common_objfile): Remove init of | |
5375 | psymbol_obstack. | |
5376 | * somread.c (som_symfile_offsets, init_import_symbols) | |
5377 | (init_export_symbols): Replace psymbol_obstack with | |
5378 | objfile_obstack. | |
5379 | * somsolib.c (som_solib_add_solib_objfile): Ditto. | |
5380 | * symfile.c (default_symfile_offsets, syms_from_objfile) | |
5381 | (reread_symbols): Remove freeing and init of psymbol_obstack. | |
5382 | (cashier_psymtab): Update comment. | |
5383 | * symmisc.c (print_objfile_statistics): Don't report stats for | |
5384 | psymbol obstack. | |
5385 | * symtab.h (struct general_symbol_info, struct partial_symtab): | |
5386 | Update comments. | |
5387 | * xcoffread.c (xcoff_start_psymtab, xcoff_end_psymtab, swap_sym) | |
5388 | (xcoff_symfile_offsets): Replace psymbol_obstack with | |
5389 | objfile_obstack. | |
5390 | ||
b99607ea EZ |
5391 | 2004-02-07 Elena Zannoni <[email protected]> |
5392 | ||
5393 | * objfiles.h (struct objfile): Add objfile_obstack field. | |
5394 | Remove type_obstack field. | |
5395 | ||
5396 | * dwarf2read.c (dwarf2_add_field,dwarf2_add_member_fn, | |
5397 | read_structure_scope read_enumeration, new_symbol): Replace | |
5398 | type_obstack with objfile_obstack. | |
5399 | * dwarfread.c (struct_type, enum_type): Ditto. | |
8a1dac83 | 5400 | * gdbtypes.c (alloc_type, alloc_type_instance, init_type) |
b99607ea EZ |
5401 | (lookup_fundamental_type): Ditto. |
5402 | * gdbtypes.h (TYPE_ALLOC): Ditto. | |
8a1dac83 RM |
5403 | * hpread.c (hpread_read_enum_type, hpread_read_function_type) |
5404 | (hpread_read_doc_function_type, hpread_read_struct_type) | |
5405 | (fix_static_member_physnames, hpread_read_array_type) | |
b99607ea | 5406 | (hpread_read_subrange_type, hpread_type_lookup): Ditto. |
8a1dac83 | 5407 | * jv-lang.c (java_lookup_class, type_from_class, type_from_class) |
b99607ea EZ |
5408 | (java_link_class_type): Ditto. |
5409 | * mdebugread.c (parse_type): Ditto. | |
5410 | * objfiles.c (allocate_objfile, free_objfile): Ditto. | |
5411 | * solib-sunos.c (solib_add_common_symbols): Ditto. | |
5412 | * stabsread.c (define_symbol, read_type, read_member_functions, | |
5413 | read_cpp_abbrev, read_one_struct_field): Ditto. | |
5414 | * symfile.c (reread_symbols): Ditto. | |
5415 | * symmisc.c (print_objfile_statistics): Ditto. | |
8a1dac83 | 5416 | |
2a8854a7 AC |
5417 | 2004-02-07 Andrew Cagney <[email protected]> |
5418 | ||
5419 | * tui/tui-data.h (tui_win_element): Rename TuiWinElement. | |
5420 | (tui_exec_info_content): Rename TuiExecInfoContent. | |
5421 | (TuiGenWinInfo, TuiGenWinInfoPtr): Delete definitions. | |
5422 | (TuiWinInfo, TuiWinInfoPtr): Ditto. | |
5423 | (TuiScrollDirection, TuiScrollDirectionPtr): Ditto. | |
5424 | (TuiList, TuiListPtr): Ditto. | |
5425 | (TuiLayoutType, TuiLayoutTypePtr): Ditto. | |
5426 | (TuiDataType, TuiDataTypePtr): Ditto. | |
5427 | (TuiRegisterDisplayType, TuiRegisterDisplayTypePtr): Ditto. | |
5428 | (TuiLineOrAddress, TuiLineOrAddressPtr): Ditto. | |
5429 | (TuiLayoutDef, TuiLayoutDefPtr): Ditto. | |
5430 | (TuiSourceElement, TuiSourceElementPtr): Ditto. | |
5431 | (TuiDataElement, TuiDataElementPtr): Ditto. | |
5432 | (TuiWinElement, TuiWinElementPtr): Ditto. | |
5433 | (TuiDataInfo, TuiDataInfoPtr): Ditto. | |
5434 | (TuiCommandElement, TuiCommandElementPtr): Ditto. | |
5435 | (TuiLocatorElement, TuiLocatorElementPtr): Ditto. | |
5436 | (TuiWhichElement, TuiWhichElementPtr): Ditto. | |
5437 | (TuiSourceInfo, TuiSourceInfoPtr): Ditto. | |
5438 | (TuiCommandInfo, TuiCommandInfoPtr): Ditto. | |
5439 | * tui/tui-command.c, tui/tui-data.c: Update references. | |
5440 | * tui/tui-data.h, tui/tui-disasm.c, tui/tui-layout.c: Ditto. | |
5441 | * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto. | |
5442 | * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto. | |
5443 | * tui/tui-winsource.c, tui/tui.c: Ditto. | |
8a1dac83 | 5444 | |
05cbe71a MK |
5445 | 2004-02-07 Mark Kettenis <[email protected]> |
5446 | ||
5447 | * dwarf2-frame.h: Update copyright. | |
5448 | (enum dwarf2_frame_reg_rule): New. | |
5449 | (struct dwarf2_frame_state_reg): New. | |
5450 | (dwarf2_frame_sniffer, dwarf2_frame_base_sniffer): Make extern. | |
5451 | * dwarf2-frame.c: Update copyright. | |
5452 | (enum dwarf2_reg_rule): Remove. | |
5453 | (struct dwarf2_frame_state): Remove defenition of `struct | |
5454 | dwarf2_frame_state_reg'. | |
5455 | (read_reg): Call get_frame_arch to get the architecture instead of | |
5456 | using CURRENT_GDBARCH. | |
5457 | (execute_cfa_program): Prefix old `enum dwarf2_reg_rule' tags with | |
5458 | DWARF2_FRAME_. | |
5459 | (dwarf2_frame_init_reg): New function. | |
5460 | (dwarf2_frame_cache): Call get_frame_arch to get the architecture | |
5461 | instead of using CURRENT_GDBARCH. Call dwarf2_frame_init_reg to | |
5462 | initialize the register state. Prefix old `enum dwarf2_reg_rule' | |
5463 | tags with DWARF2_FRAME_. | |
5464 | (dwarf2_frame_prev_register): Call get_frame_arch to get the | |
5465 | architecture instead of using CURRENT_GDBARCH. Prefix old `enum | |
5466 | dwarf2_reg_rule' tags with DWARF2_FRAME_. | |
5467 | ||
ec7d9e56 AC |
5468 | 2004-02-06 Andrew Cagney <[email protected]> |
5469 | ||
dd1abb8c AC |
5470 | * tui/tui-data.h (struct tui_list): Rename _TuiList. |
5471 | (enum tui_data_type): Rename _TuiDataType. | |
5472 | (struct tui_layout_def): Rename _TuiLayoutDef. | |
5473 | (struct tui_source_element): Rename _TuiSourceElement. | |
5474 | (struct tui_data_element): Rename _TuiDataElement. | |
5475 | (struct tui_command_element): Rename _TuiCommandElement. | |
5476 | (struct tui_locator_element): Rename _TuiLocatorElement. | |
5477 | (union tui_which_element): Define. | |
5478 | (struct tui_win_element): Rename _TuiWinElement. | |
5479 | (struct tui_data_info): Rename _TuiDataInfo. | |
5480 | (struct tui_source_info): Rename _TuiSourceInfo. | |
5481 | (struct tui_command_info): Rename _TuiCommandInfo. | |
5482 | (tui_initialize_static_data): Rename initializeStaticData. | |
5483 | (tui_alloc_generic_win_info): Rename allocGenericWinInfo. | |
5484 | (tui_alloc_win_info): Rename allocWinInfo. | |
5485 | (tui_init_generic_part): Rename initGenericPart. | |
5486 | (tui_init_win_info): Rename initWinInfo. | |
5487 | (tui_alloc_content): Rename allocContent. | |
5488 | (tui_add_content_elements): Rename addContentElements. | |
5489 | (tui_init_content_element): Rename initContentElement. | |
5490 | (tui_free_window): Rename freeWindow. | |
5491 | (tui_free_win_content): Rename freeWinContent. | |
5492 | (tui_free_data_content): Rename freeDataContent. | |
5493 | (tui_free_all_source_wins_content): Rename | |
5494 | freeAllSourceWinsContent. | |
5495 | (tui_del_window): Rename tuiDelWindow. | |
5496 | (tui_del_data_windows): Rename tuiDelDataWindows. | |
5497 | (tui_partial_win_by_name): Rename partialWinByName. | |
5498 | (tui_win_name): Rename winName. | |
5499 | (tui_current_layout): Rename currentLayout. | |
5500 | (tui_set_current_layout_to): Rename setCurrentLayoutTo. | |
5501 | (tui_term_height): Rename termHeight. | |
5502 | (tui_set_term_height_to): Rename setTermHeightTo. | |
5503 | (tui_term_width): Rename termWidth. | |
5504 | (tui_set_term_width_to): Rename setTermWidthTo. | |
5505 | (tui_set_gen_win_origin): Rename setGenWinOrigin. | |
5506 | (tui_locator_win_info_ptr): Rename locatorWinInfoPtr. | |
5507 | (tui_source_exec_info_win_ptr): Rename tui_gen_win_info. | |
5508 | (tui_disassem_exec_info_win_ptr): Rename disassemExecInfoWinPtr. | |
5509 | (tui_source_windows): Rename sourceWindows. | |
5510 | (tui_clear_source_windows): Rename clearSourceWindows. | |
5511 | (tui_clear_source_windows_detail): Rename | |
5512 | clearSourceWindowsDetail. | |
5513 | (tui_clear_win_detail): Rename clearWinDetail. | |
5514 | (tui_add_to_source_windows): Rename tuiAddToSourceWindows. | |
5515 | (tui_default_tab_len): Rename tuiDefaultTabLen. | |
5516 | (tui_set_default_tab_len): Rename tuiSetDefaultTabLen. | |
5517 | (tui_win_with_focus): Rename tuiWinWithFocus. | |
5518 | (tui_set_win_with_focus): Rename tuiSetWinWithFocus. | |
5519 | (tui_layout_def): Rename tuiLayoutDef. | |
5520 | (tui_win_resized): Rename tuiWinResized. | |
5521 | (tui_set_win_resized_to): Rename tuiSetWinResizedTo. | |
5522 | (tui_next_win): Rename tuiNextWin. | |
5523 | (tui_prev_win): Rename tuiPrevWin. | |
5524 | (tui_add_to_source_windows): Rename addToSourceWindows. | |
5525 | * tui/tui-winsource.c, tui/tui-win.c: Update references. | |
5526 | * tui/tui-layout.c, tui/tui-source.c: Ditto. | |
5527 | * tui/tui-stack.c, tui/tui-io.c: Ditto. | |
5528 | * tui/tui.c, tui/tui-data.c: Ditto. | |
5529 | * tui/tui-interp.c, tui/tui-data.c: Ditto. | |
5530 | * tui/tui-disasm.c, tui/tui-command.c: Ditto. | |
5531 | ||
a358af15 AC |
5532 | * tui/tui-source.h: Update copyright. Include "tui-data.h". |
5533 | (struct symtab): Declare. | |
5534 | (tui_set_source_content): Rename tuiSetSourceContent. | |
5535 | (tui_show_symtab_source): Rename tuiShowSource. | |
5536 | (tui_source_is_displayed): Rename tuiSourceIsDisplayed. | |
5537 | (tui_vertical_source_scroll): Rename tuiVerticalSourceScroll. | |
5538 | * tui/tui-source.c: Update copyright. Update references. | |
5539 | * tui/tui-win.c, tui/tui-winsource.c: Update references. | |
5540 | * tui/tui-stack.c: Update references. | |
5541 | ||
a21fcd8f AC |
5542 | * tui/tui-win.h: Update copyright. Include "tui-data.h". |
5543 | (struct tui_win_info): Declare. | |
5544 | (tui_scroll_forward): Rename tuiScrollForward. | |
5545 | (tui_scroll_backward): Rename tuiScrollBackward. | |
5546 | (tui_scroll_left): Rename tuiScrollLeft. | |
5547 | (tui_scroll_right): Rename tuiScrollRight. | |
5548 | (tui_set_win_focus_to): Rename tuiSetWinFocusTo. | |
5549 | (tui_resize_all): Rename tuiResizeAll. | |
5550 | (tui_refresh_all_win): Rename tuiRefreshAll. | |
5551 | (tui_sigwinch_handler): Rename tuiSigwinchHandler. | |
5552 | * tui/tui-layout.c, * tui/tui-io.c: Update references. | |
5553 | * tui/tui-wingeneral.h, * tui/tui.c: Update references. | |
5554 | * tui/tui-disasm.c, * tui/tui-command.c: Update references. | |
5555 | ||
edae1ccf AC |
5556 | * tui/tui-windata.h: Update copyright. Include "tui-data.h". |
5557 | (tui_erase_data_content): Rename tuiEraseDataContent. | |
5558 | (tui_display_all_data): Rename tuiDisplayAllData. | |
5559 | (tui_check_data_values): Rename tuiCheckDataValues. | |
5560 | (tui_display_data_from_line): Rename tuiDisplayDataFromLine. | |
5561 | (tui_first_data_item_displayed): Rename tuiFirstDataItemDisplayed. | |
5562 | (tui_first_data_element_no_in_line): Rename | |
5563 | tuiFirstDataElementNoInLine. | |
5564 | (tui_delete_data_content_windows): Rename | |
5565 | tuiDeleteDataContentWindows. | |
5566 | (tui_refresh_data_win): Rename tuiRefreshDataWin. | |
5567 | (tui_display_data_from): Rename tuiDisplayDataFrom. | |
5568 | (tui_vertical_data_scroll): Rename tuiVerticalDataScroll. | |
5569 | * tui/tui-windata.c, tui/tui-hooks.c: Update references. | |
5570 | * tui/tui-win.c, tui/tui-regs.c: Update references. | |
5571 | * tui/tui-layout.c, tui/tui.c: Update references. | |
5572 | ||
ec7d9e56 AC |
5573 | * tui/tui-wingeneral.h: Update copyright. |
5574 | (m_allBeVisible): Delete macro. | |
8a1dac83 | 5575 | (m_allBeInvisible): Delete macro. |
ec7d9e56 AC |
5576 | (struct tui_gen_win_info): Declare. |
5577 | (struct tui_win_info): Declare. | |
5578 | (tui_unhighlight_win): Rename unhighlightWin. | |
5579 | (tui_make_visible, tui_make_invisible): Replace makeVisible. | |
5580 | (tui_make_all_visible, tui_make_all_invisible): Replace makeAllVisible. | |
5581 | (tui_make_window): Rename makeWindow. | |
5582 | (tui_copy_win): Rename copyWin. | |
5583 | (tui_box_win): Rename boxWin. | |
5584 | (tui_highlight_win): Rename highlightWin. | |
5585 | (tui_check_and_display_highlight_if_needed): Rename | |
5586 | checkAndDisplayHighlightIfNeeded. | |
5587 | (tui_refresh_all): Rename refreshAll. | |
5588 | (tui_delete_win): Rename tuiDelwin. | |
5589 | (tui_refresh_win): Rename tuiRefreshWin. | |
5590 | * tui/tui-wingeneral.c (make_visible): Rename makeVisible. | |
5591 | (tui_make_visible, tui_make_invisible): New functions. | |
5592 | (tui_make_all_visible, tui_make_all_invisible): New functions. | |
5593 | (make_all_visible): Rename makeAllVisible. | |
5594 | * tui/tui-winsource.c, tui/tui-windata.c: Update references. | |
5595 | * tui/tui-data.c, tui/tui-winsource.c: Update references. | |
5596 | * tui/tui-windata.c, tui/tui-win.c: Update references. | |
5597 | * tui/tui-regs.c, tui/tui-layout.c: Update references. | |
5598 | * tui/tui-data.h (struct tui_gen_win_info): Rename _TuiGenWinInfo. | |
5599 | ||
1e52e2eb MK |
5600 | 2004-02-06 Mark Kettenis <[email protected]> |
5601 | ||
5602 | * proc-api.c (write_with_trace): Initialize local variable to | |
5603 | silence compiler warning. | |
5604 | ||
f80bda8e AC |
5605 | 2004-02-06 Andrew Cagney <[email protected]> |
5606 | ||
5607 | * tui/tui-source.h: Do not include "defs.h". | |
5608 | (struct tui_win_info): Declare. | |
5609 | (tui_set_source_content_nil): Declare. | |
5610 | * tui/tui-data.h (struct tui_win_info): Rename _TuiWinInfo. | |
5611 | (union tui_line_or_address): Rename _TuiLineOrAddress. | |
5612 | * tui/tui-winsource.h: Update copyright. Include "tui-data.h". | |
5613 | (tui_update_source_window): Rename tuiUpdateSourceWindow. | |
5614 | (tui_update_source_window_as_is): Rename | |
5615 | tuiUpdateSourceWindowAsIs. | |
5616 | (tui_update_source_windows_with_addr): Rename | |
5617 | tuiUpdateSourceWindowsWithAddr. | |
5618 | (tui_update_source_windows_with_line): Rename | |
5619 | tuiUpdateSourceWindowsWithLine. | |
5620 | (tui_clear_source_content): Rename tuiClearSourceContent. | |
5621 | (tui_erase_source_content): Rename tuiEraseSourceContent. | |
5622 | (tui_set_source_content_nil): Rename tuiSetSourceContentNil. | |
5623 | (tui_show_source_content): Rename tuiShowSourceContent. | |
5624 | (tui_horizontal_source_scroll): Rename tuiHorizontalSourceScroll. | |
5625 | (tui_set_exec_info_content): Rename tuiSetExecInfoContent. | |
5626 | (tui_show_exec_info_content): Rename tuiShowExecInfoContent. | |
5627 | (tui_erase_exec_info_content): Rename tuiEraseExecInfoContent. | |
5628 | (tui_clear_exec_info_content): Rename tuiClearExecInfoContent. | |
5629 | (tui_update_exec_info): Rename tuiUpdateExecInfo. | |
5630 | (tui_set_is_exec_point_at): Rename tuiSetIsExecPointAt. | |
5631 | (tui_alloc_source_buffer): Rename tuiAllocSourceBuffer. | |
5632 | (tui_line_is_displayed): Rename tuiLineIsDisplayed. | |
5633 | (tui_addr_is_displayed): Rename tuiAddrIsDisplayed. | |
5634 | (struct tui_win_info): Declare. | |
5635 | * tui/tui-stack.c: Update references. | |
5636 | * tui/tui-layout.c, tui/tui-winsource.c: Ditto. | |
5637 | * tui/tui-win.c, tui/tui-source.c: Ditto. | |
5638 | * tui/tui.c, tui/tui-disasm.c: Ditto. | |
5639 | ||
9fbfb822 MK |
5640 | 2004-02-06 Mark Kettenis <[email protected]> |
5641 | ||
5642 | * i386-linux-tdep.c (i386_linux_sigcontext_addr): Fix calculation | |
5643 | of UCONTEXT_ADDR. Fixes PR backtrace/1545. | |
5644 | ||
03cebad2 MK |
5645 | 2004-02-05 Mark Kettenis <[email protected]> |
5646 | ||
5647 | * infrun.c (handle_inferior_event): Allow for breakpoint | |
5648 | instructions to generate a SIGSEGV in addition to SIGTRAP, SIGILL | |
5649 | and SIGEMT. Update comments. | |
5650 | * NEWS (Revised SPARC target): Mention support for non-executable | |
5651 | stack. | |
5652 | ||
290281b1 MK |
5653 | 2004-02-04 Mark Kettenis <[email protected]> |
5654 | ||
5655 | * target.h (target_object): Add TARGET_OBJECT_WCOOKIE. | |
5656 | * inftarg.c: Update copyright year. | |
5657 | (child_xfer_partial): Add support for TARGET_OBJECT_WCOOKIE. | |
5658 | * sparc-nat.c: Include "target.h" and "gdb_assert.h". | |
5659 | (sparc_xfer_wcookie): New function. | |
5660 | * sparc-tdep.c (sparc_fetch_wcookie): New function. | |
5661 | * Makefile.in (sparc-nat.o): Update dependencies. | |
5662 | * config/sparc/nm-nbsd.h: Include "target.h". | |
5663 | (NATIVE_XFER_WCOOKIE): New define. | |
5664 | (sparc_xfer_wcookie): New prototype. | |
5665 | ||
212161df AC |
5666 | 2004-02-04 Andrew Cagney <[email protected]> |
5667 | ||
5668 | * m68k-tdep.c (m68k_saved_pc_after_call): Delete #ifdef | |
5669 | SYSCALL_TRAP function. | |
5670 | (m68k_gdbarch_init): Delete #ifdef SYSCALL_TRAP code. | |
5671 | ||
6e4c6c91 DJ |
5672 | 2004-02-04 Andrew Cagney <[email protected]> |
5673 | Daniel Jacobowitz <[email protected]> | |
5674 | ||
5675 | * objfiles.h: Delete comments refering to inside_entry_func and | |
5676 | DEPRECATED_FRAME_CHAIN_VALID. | |
5677 | * defs.h (inside_entry_func): Update prototype.. | |
5678 | * blockframe.c (inside_entry_func): Rename to | |
5679 | legacy_inside_entry_func. Add new inside_entry_func taking a frame. | |
5680 | * frame.c (get_prev_frame): Pass the frame to inside_entry_func. | |
5681 | ||
cae688ec JJ |
5682 | 2004-02-03 Jeff Johnston <[email protected]> |
5683 | ||
5684 | * breakpoint.c (struct captured_parse_breakpoint_args): Move | |
5685 | outside of #ifdef SOLIB_ADD region. | |
5686 | (do_restore_lang_radix_cleanup): Ditto. | |
5687 | (resolve_pending_breakpoint): Ditto. | |
5688 | ||
19217676 AC |
5689 | 2004-02-03 Andrew Cagney <[email protected]> |
5690 | ||
5691 | * ia64-tdep.c (read_sigcontext_register): Delete unused function. | |
5692 | (process_note_abi_tag_sections): Delete unused function. | |
5693 | (ia64_read_fp): Delete unused function. | |
5694 | (gdbarch_extract_struct_value_address): Delete declaration. | |
5695 | ||
876753be AC |
5696 | 2004-02-02 Andrew Cagney <[email protected]> |
5697 | ||
5698 | * vax-tdep.c (vax_frame_chain): Delete call to | |
5699 | deprecated_inside_entry_file. | |
5700 | * ns32k-tdep.c (ns32k_frame_chain): Ditto. | |
5701 | ||
d4f10bf2 MK |
5702 | 2004-02-02 Mark Kettenis <[email protected]> |
5703 | ||
5704 | * dwarf2-frame.c (dwarf2_frame_cache): Deal with a return address | |
5705 | column that's "empty" or "same value" when eliminating REG_RA | |
5706 | rules. | |
5707 | ||
cae688ec JJ |
5708 | 2004-02-02 Jeff Johnston <[email protected]> |
5709 | ||
5710 | * NEWS: Add information about new pending breakpoint support. | |
5711 | ||
0101ce28 JJ |
5712 | 2004-02-02 Jeff Johnston <[email protected]> |
5713 | ||
5714 | * breakpoint.h (struct breakpoint): Add new flag, from_tty, | |
5715 | and pending fields for pending breakpoint support. | |
5716 | * breakpoint.c (breakpoint_enabled): Add check for not pending. | |
5717 | (condition_command): Only parse condition if not a pending | |
5718 | breakpoint. | |
5719 | (print_one_breakpoint): Add support for pending breakpoints. | |
5720 | (describe_other_breakpoints): Add checks to verify we are not | |
5721 | dealing with pending breakpoints. | |
5722 | (check_duplicates): Don't check pending breakpoints. | |
5723 | (set_raw_breakpoint): Initialize pending flag. | |
5724 | (do_restore_lang_radix_cleanup): New cleanup routine. | |
5725 | (resolve_pending_breakpoint): New function. | |
5726 | (re_enable_breakpoints_in_shlibs): Try and resolve any | |
5727 | pending breakpoints via resolve_pending_breakpoint. | |
5728 | (mention): Add pending breakpoint support. | |
5729 | (parse_breakpoint_sals): Add new parameter to pass to | |
5730 | decode_line_1 to indicate silent errors when files or functions | |
5731 | are not found. Change all callers. | |
5732 | (do_captured_parse_breakpoint): New function. | |
5733 | (break_command_1): Change prototype to return an rc value and to | |
5734 | take an optional pending breakpoint pointer. Support creating | |
5735 | a pending breakpoint if a "not found" form of error occurs when | |
5736 | parsing the breakpoint. Also support resolving an existing pending | |
5737 | breakpoint and be silent if the resolution fails. | |
5738 | (create_breakpoints): Change prototype to take pending breakpoint | |
5739 | pointer. When resolving a pending breakpoint, use the new pointer | |
5740 | to provide a conditional or commands added by the end-user. | |
5741 | (delete_breakpoint): Add appropriate check for pending. | |
5742 | (breakpoint_re_set_one): Ditto. | |
5743 | (do_enable_breakpoint): Ditto. | |
5744 | ||
8d577d32 DC |
5745 | 2004-02-02 David Carlton <[email protected]> |
5746 | ||
5747 | * valops.c (enum oload_classification): New. | |
5748 | (find_overload_match): Break implementation into separate | |
5749 | functions; delete #if 0'd code; look for symbols within | |
5750 | namespaces. | |
5751 | (find_oload_champ_namespace,find_oload_champ_namespace_loop) | |
5752 | (find_oload_champ,oload_method_static,classify_oload_match): New. | |
5753 | * cp-support.h: Add declaration for cp_func_name; update | |
5754 | declaration for make_symbol_overload_list. | |
5755 | * cp-support.c (cp_func_name): New. | |
5756 | (overload_list_add_symbol): Fix comment, use | |
5757 | SYMBOL_LINKAGE_NAME and SYMBOL_NATURAL_NAME. | |
5758 | (make_symbol_overload_list): Take a function name and a namespace | |
5759 | instead of a symbol; change implementation. | |
5760 | (make_symbol_overload_list_using): New. | |
5761 | (make_symbol_overload_list_qualified, read_in_psymtabs): New. | |
5762 | ||
22e8e3c7 FF |
5763 | 2004-02-02 Fred Fish <[email protected]> |
5764 | ||
5765 | * main.c (gdb_stdtarg): Move definition to group with other | |
15390fef | 5766 | gdb_stdtarg definitions and update copyright years. |
22e8e3c7 FF |
5767 | * remote-sim.c (gdb_os_write_stderr): Write output to |
5768 | gdb_stdtargerr stream instead of gdb_stdtarg stream. | |
5769 | (gdb_os_flush_stderr): Flush gdb_stdtargerr steam instead of | |
15390fef | 5770 | gdb_stderr stream and update copyright years. |
22e8e3c7 | 5771 | |
6b753f60 DJ |
5772 | 2004-02-01 Daniel Jacobowitz <[email protected]> |
5773 | ||
5774 | * Makefile.in (mips-linux-nat.o): Update dependencies. | |
5775 | * mips-linux-nat.c: Include mips-tdep.h. | |
5776 | ||
5777 | 2004-02-01 Roland McGrath <[email protected]> | |
2cb6b099 RM |
5778 | |
5779 | * sol-thread.c (sol_thread_xfer_partial): New function. | |
5780 | (init_sol_thread_ops): Use that for to_xfer_partial hook. | |
5781 | (init_sol_core_ops): Likewise. | |
5782 | ||
5783 | * procfs.c (procfs_xfer_partial): New function. | |
5784 | (init_procfs_ops): Use that for procfs_ops.to_xfer_partial. | |
5785 | * Makefile.in (procfs.o): Add $(auxv_h) dep. | |
5786 | ||
5787 | * config/nm-linux.h (NATIVE_XFER_AUXV): New macro, uses auxv.c's | |
5788 | procfs_xfer_auxv function. | |
5789 | ||
5790 | * procfs.c (procfs_make_note_section): If we can read | |
5791 | TARGET_OBJECT_AUXV data, add an NT_AUXV note containing it. | |
5792 | * linux-proc.c (linux_make_note_section): Likewise. | |
5793 | ||
5794 | * auxv.h: New file. | |
5795 | * auxv.c: New file. | |
5796 | * Makefile.in (auxv_h): New variable. | |
5797 | (COMMON_OBS): Add auxv.o here. | |
5798 | (auxv.o): New target. | |
5799 | ||
5800 | * corelow.c (core_xfer_partial): New function. | |
5801 | (init_core_ops): Use it for core_ops.to_xfer_partial. | |
5802 | ||
5803 | * target.h (enum target_object): Add TARGET_OBJECT_AUXV. | |
5804 | * inftarg.c (child_xfer_partial): Support it using NATIVE_XFER_AUXV | |
5805 | macro if that is defined. | |
5806 | ||
fa5281d0 DJ |
5807 | 2004-02-01 Daniel Jacobowitz <[email protected]> |
5808 | ||
5809 | * breakpoint.c (bpstat_stop_status): Take a ptid_t argument, | |
5810 | and check the specified thread for each breakpoint. | |
5811 | * breakpoint.h (bpstat_stop_status): Update prototype. | |
5812 | * infrun.c (handle_inferior_event): Update calls to | |
5813 | bpstat_stop_status. | |
5814 | ||
26ee262d DJ |
5815 | 2004-02-01 Daniel Jacobowitz <[email protected]> |
5816 | ||
5817 | * Makefile.in (cli-cmds.o): Add $(readline_h). | |
5818 | ||
d9b52655 DJ |
5819 | 2004-02-01 Daniel Jacobowitz <[email protected]> |
5820 | ||
5821 | * cli/cli-cmds.c: Include readline.h. | |
5822 | (complete_command): Pass the start of the last word to | |
5823 | complete_line. | |
5824 | ||
9709f61c DJ |
5825 | 2004-01-31 Daniel Jacobowitz <[email protected]> |
5826 | ||
5827 | * breakpoint.c (bpstat_stop_status): Remove not_a_sw_breakpoint | |
5828 | argument, and change first argument to a CORE_ADDR. | |
5829 | * breakpoint.h (bpstat_stop_status): Update prototype. | |
5830 | * infrun.c (adjust_pc_after_break): Add a new comment. | |
5831 | (handle_inferior_event): Update calls to bpstat_stop_status. | |
5832 | ||
4f1280bb DJ |
5833 | 2004-01-31 Daniel Jacobowitz <[email protected]> |
5834 | ||
5835 | * breakpoint.h: Update copyright years. | |
5836 | ||
4fa8626c DJ |
5837 | 2004-01-31 Daniel Jacobowitz <[email protected]> |
5838 | ||
5839 | * breakpoint.c (software_breakpoint_inserted_here_p): New function. | |
5840 | (bpstat_stop_status): Don't decrement PC. | |
5841 | * breakpoint.h (software_breakpoint_inserted_here_p): Add | |
5842 | prototype. | |
5843 | * infrun.c (adjust_pc_after_break): New function. | |
5844 | (handle_inferior_event): Call it, early. Remove later references | |
5845 | to DECR_PC_AFTER_BREAK. | |
5846 | (normal_stop): Add commentary. | |
5847 | ||
fad0733a DJ |
5848 | 2004-01-31 Daniel Jacobowitz <[email protected]> |
5849 | ||
5850 | * breakpoint.c (breakpoint_re_set_one): Add missing chunk of | |
5851 | 2004-01-27 double-free fix. | |
5852 | ||
42cdca6c MK |
5853 | 2004-01-31 Mark Kettenis <[email protected]> |
5854 | ||
5855 | * sparc-tdep.c (sparc_fetch_wcookie): New function. | |
5856 | (sparc32_frame_prev_register): Handle StackGhost. | |
5857 | (sparc_supply_rwindow, sparc_collect_rwindow): Likewise. | |
5858 | ||
932d5416 RM |
5859 | 2004-01-29 Roland McGrath <[email protected]> |
5860 | ||
5861 | * configure.in (NEW_PROC_API): Also match solaris2.9 for this test. | |
5862 | * configure: Regenerated. | |
5863 | ||
5864 | * procfs.c: Include gdb_string.h for str* decls, otherwise warnings. | |
5865 | * Makefile.in (procfs.o): Add dep. | |
5866 | ||
47d3492a AC |
5867 | 2004-01-28 Andrew Cagney <[email protected]> |
5868 | ||
5869 | * tui/tui-stack.h: Update copyright. | |
5870 | (struct frame_info): Add opaque declaration. | |
5871 | (tui_update_locator_filename): Rename tuiUpdateLocatorFilename. | |
5872 | (tui_show_locator_content): Rename tuiShowLocatorContent. | |
5873 | (tui_show_frame_info): Rename tuiShowFrameInfo. | |
5874 | * tui/tui-stack.c: Update copyright. Update references. | |
5875 | * tui/tui-winsource.c: Update references. | |
5876 | * tui/tui-win.c: Update references. | |
5877 | * tui/tui-layout.c: Update references. | |
5878 | * tui/tui-hooks.c: Update copyright, update references. | |
5879 | * tui/tui.c: Update copyright, update references. | |
5880 | * tui/tui-disasm.c: Update references. | |
5881 | ||
5d51ca54 DC |
5882 | 2004-01-28 David Carlton <[email protected]> |
5883 | ||
5884 | * dwarf2read.c (add_partial_structure): Use demangled name if | |
5885 | namespace equals "". | |
5886 | ||
086ed43d JB |
5887 | 2004-01-27 Jim Blandy <[email protected]> |
5888 | ||
5889 | Clean up misapplied patch: | |
5890 | * dwarf2read.c (determine_prefix): Change one of the two forward | |
5891 | declarations for 'determine_prefix_aux' to a declaration for this. | |
5892 | (read_func_scope): Use cu->language, not cu_language. Pass 'cu' | |
5893 | argument to 'die_specification'. | |
5894 | ||
2a35147e JB |
5895 | * dwarf2read.c (read_func_scope): Re-indent comment. |
5896 | ||
a355c7de | 5897 | 2004-01-27 Paul N. Hilfinger <[email protected]> |
932d5416 | 5898 | |
a355c7de AC |
5899 | * breakpoint.c (breakpoint_re_set_one): Set b->cond, b->val, and |
5900 | b->exp to NULL after freeing so that error during re-parsing or | |
5901 | evaluation of expressions associated with breakpoint don't | |
5902 | eventually lead to re-freeing of storage. | |
5903 | Committed by Andrew Cagney. | |
5904 | ||
63ff5125 AC |
5905 | 2004-01-27 Andrew Cagney <[email protected]> |
5906 | ||
5907 | * source.c (ambiguous_line_spec): Delete undefined declaration. | |
5908 | * m32r-rom.c (m32r_set_board_address): Delete unused function. | |
5909 | (m32r_set_server_address, m32r_set_download_path): Ditto. | |
5910 | * remote-fileio.c (remote_fileio_to_fio_int): Ditto. | |
5911 | ||
e142c38c DJ |
5912 | 2004-01-27 Daniel Jacobowitz <[email protected]> |
5913 | ||
5914 | * dwarf2read.c: Update calls to changed and renamed functions, and | |
5915 | references to moved variables. | |
5916 | ||
5917 | (struct dwarf2_cu): Add first_fn, last_fn, cached_fn, | |
5918 | language, language_defn, list_in_scope, and ftypes members. | |
5919 | (cu_first_fn, cu_last_fn, cu_cached_fn, cu_language) | |
5920 | (cu_language_defn, list_in_scope, ftypes, cu_header_offset) | |
5921 | (baseaddr): Remove globals. | |
5922 | ||
5923 | (dwarf_attr): Renamed to dwarf2_attr. Add CU argument. | |
5924 | (set_cu_language, die_is_declaration, die_specification) | |
5925 | (determine_prefix, determin_prefix_aux, class_name, namespace_name) | |
5926 | (dwarf2_linkage_name, dwarf2_name, dwarf2_extension) | |
5927 | (dwarf2_get_ref_die_offset, dwarf2_fundamental_type) | |
5928 | (initialize_cu_func_list, add_to_cu_func_list): Add CU argument. | |
5929 | ||
5930 | (dwarf2_build_psymtabs_hard): Add local baseaddr. Initialize | |
5931 | cu.list_in_scope. Don't initialize cu_header_offset. | |
5932 | (add_partial_symbol): Add local baseaddr. | |
5933 | (psymtab_to_symtab_1): Add local baseaddr. Use | |
5934 | objfile->section_offsets for consistency. Don't initialize | |
5935 | cu_header_offset; do initialize cu.header.offset and | |
5936 | cu.list_in_scope. | |
5937 | (read_file_scope, read_func_scope, read_lexical_block_scope) | |
5938 | (dwarf_decode_lines, new_symbol): Add local baseaddr. | |
5939 | ||
c6e06ede MC |
5940 | 2004-01-27 Michael Chastain <[email protected]> |
5941 | ||
fb328ecc | 5942 | * PROBLEMS: Add gdb/1516. |
c6e06ede | 5943 | |
48184fd4 AC |
5944 | 2003-12-29 Robert Millan <[email protected]> |
5945 | ||
5946 | Patch committed by Andrw Cagney. | |
5947 | * configure.host: Match knetbsd*-gnu and kfreebsd*-gnu. | |
5948 | * configure.tgt: Match knetbsd*-gnu. | |
5949 | ||
c1321b30 AC |
5950 | 2004-01-26 Andrew Cagney <[email protected]> |
5951 | ||
f3699be3 AC |
5952 | * breakpoint.c (catch_command_1): Delete #ifdef code. |
5953 | (catch_fork_command_1): Delete #ifdef wrapper. | |
5954 | (catch_exec_command_1): Ditto. | |
5955 | (catch_load_command_1): Ditto. | |
5956 | (catch_unload_command_1): Ditto. | |
5957 | ||
c1321b30 AC |
5958 | * breakpoint.c (watchpoint_check): Delete #if0ed variable. |
5959 | (catch_breakpoint): Delete #if0ed function. | |
5960 | (disable_catch_breakpoint): Ditto. | |
5961 | (delete_catch_breakpoint, enable_catch_breakpoint): Ditto. | |
5962 | (disable_catch, enable_catch, delete_catch): Ditto. | |
5963 | ||
b4501125 AC |
5964 | 2004-01-26 Andrew Cagney <[email protected]> |
5965 | ||
5966 | * remote.c (echo_check, quit_flag): Delete variables. | |
5967 | (cisco_kernel_mode): Delete variable. | |
5968 | (minitelnet_return, tty_input, escape_count): Delete variables. | |
5969 | (remote_cisco_mode): Delete variable. | |
5970 | (remote_cisco_open, remote_cisco_close): Delete function. | |
5971 | (remote_cisco_mourn, remote_cisco_wait): Delete function. | |
5972 | (init_remote_cisco_ops): Delete function. | |
5973 | (_initialize_remote): Do not install "remote cisco" code. | |
5974 | (read_frame): Delete cisco specific code. | |
5975 | (remote_info_process): Delete function. | |
5976 | (remote_wait): Delete cisco specific code. | |
5977 | (remote_cisco_section_offsets): Delete function. | |
5978 | (remote_cisco_objfile_relocate): Delete function. | |
5979 | (remote_async_wait): Delete cisco specific code. | |
5980 | (minitelnet, readtty, readsocket): Delete function. | |
5981 | ||
74055713 AC |
5982 | 2004-01-26 Andrew Cagney <[email protected]> |
5983 | ||
5984 | * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS): Deprecate. Add | |
5985 | comments mentioning extract_returned_value_address. | |
5986 | * infcmd.c (print_return_value): Update. Add comments on | |
5987 | extract_returned_value_address. | |
5988 | * stack.c (return_command): Add comments on | |
5989 | extract_returned_value_address. | |
5990 | * values.c: Update comment. | |
5991 | * m32r-tdep.c: Update comment. | |
5992 | * sparc-tdep.c: Update comment. | |
5993 | * ia64-tdep.c (ia64_use_struct_convention): Update comment. | |
5994 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
5995 | * sh64-tdep.c (sh64_gdbarch_init): Update. | |
5996 | * sh-tdep.c (sh_gdbarch_init): Update. | |
5997 | * s390-tdep.c (s390_gdbarch_init): Update. | |
5998 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
5999 | * m68klinux-tdep.c (m68k_linux_init_abi): Update. | |
6000 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
6001 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
6002 | * m32r-tdep.c (m32r_gdbarch_init): Update. | |
6003 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
6004 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
6005 | * frv-tdep.c (frv_gdbarch_init): Update. | |
6006 | * arm-tdep.c (arm_gdbarch_init): Update. | |
6007 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
6008 | ||
a67af2b9 AC |
6009 | 2004-01-26 Andrew Cagney <[email protected]> |
6010 | ||
6011 | * dwarf2loc.c (dwarf_expr_frame_base): Use SYMBOL_OPS instead of | |
6012 | SYMBOL_LOCATION_FUNCS | |
6013 | (dwarf2_loclist_funcs, dwarf2_locexpr_funcs): Change type to | |
6014 | "struct symbol_ops". | |
6015 | * dwarf2loc.h (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Change | |
6016 | type to "struct symbol_ops". | |
6017 | * symtab.h (struct symbol_ops): Rename "struct location_funcs". | |
6018 | (struct symbol): Replace ".aux_value.loc.funcs" and | |
6019 | ".aux_value.loc.baton" with ".ops" and ".aux_value.ptr". | |
6020 | (SYMBOL_OBJFILE): Delete macro. | |
6021 | (SYMBOL_LOCATION_FUNCS): Delete macro. | |
6022 | (SYMBOL_LOCATION_BATON): Update. | |
6023 | * dwarf2read.c (dwarf2_symbol_mark_computed): Set SYMBOL_OPS | |
6024 | intead of SYMBOL_LOCATION_FUNCS. | |
6025 | * ax-gdb.c (gen_var_ref): Ditto. | |
6026 | * printcmd.c (address_info): Ditto. | |
6027 | * findvar.c (read_var_value): Ditto. | |
6028 | (symbol_read_needs_frame): Ditto. | |
6029 | ||
c034e007 AC |
6030 | 2004-01-26 Andrew Cagney <[email protected]> |
6031 | ||
6032 | * dwarf2read.c (read_func_scope): Document frame-base hack. | |
6033 | ||
bb472c1e MK |
6034 | 2004-01-25 Mark Kettenis <[email protected]> |
6035 | ||
6036 | * infcmd.c (print_return_value): Plug memory leak; delete | |
6037 | ui_stream object. Rename argument `structure_return' to | |
6038 | `struct_return'. | |
6039 | ||
c8e737d5 MK |
6040 | 2004-01-25 Mark Kettenis <[email protected]> |
6041 | ||
f941662f MK |
6042 | * infcmd.c (print_return_value): Wrap long lines. |
6043 | (finish_command_continuation, finish_command): Remove unused | |
6044 | variable `funcaddr'. Fix some coding-standards problems. | |
6045 | ||
c558d81a | 6046 | * sparc-tdep.c (sparc_regset_from_core_section): Check whether |
d8d65dd3 | 6047 | SECT_SIZE is large enough, not whether it's exactly the right size. |
c558d81a MK |
6048 | (sparc32_gdbarch_init): Initialize TDEP->sizeof_gregset and |
6049 | TDEP->fpregset to zero. | |
6050 | ||
bf1e5861 | 6051 | * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Also supply the |
c8e737d5 MK |
6052 | floating-point registers for traditional NetBSD core files. |
6053 | (sparc32nbsd_init_abi): Initialize TDEP->sizeof_gregset and | |
6054 | TDEP->sizeof_fpregset here. | |
6055 | ||
4c72d57a MK |
6056 | 2004-01-25 Mark Kettenis <[email protected]> |
6057 | ||
566626fa MK |
6058 | * sparc-tdep.h (sparc32nbsd_sigcontext_saved_regs): New prototype. |
6059 | * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): New | |
6060 | function with code split out from | |
6061 | sparc32nbsd_sigcontext_frame_cache. | |
6062 | (sparc32nbsd_sigcontext_frame_cache): Use | |
6063 | sparc32nbsd_sigcontext_saved_regs. | |
6064 | (_initialize_sparc32nbsd_tdep): Don't register OS ABI handler for | |
6065 | OpenBSD. | |
6066 | * sparcobsd-tdep.c: New file. | |
6067 | * Makefile.in (ALLDEPFILES): Add sparcobsd-tdep.c. | |
6068 | (sparcobsd-tdep.o): New dependency. | |
6069 | * configure.tgt (sparc-*-openbsd*): Set gdb_target to obsd. | |
6070 | * config/sparc/obsd.mt: New file. | |
6071 | ||
4c72d57a MK |
6072 | * sparc-tdep.c (sparc32_gdbarch_init): Don't require |
6073 | TDEP->fpregset to be initialized to enable core file register | |
6074 | sets. | |
6075 | ||
7e5e9f88 MK |
6076 | 2004-01-24 Mark Kettenis <[email protected]> |
6077 | ||
f0f207fd | 6078 | * sparc64-tdep.h (struct frame_info, struct trad_frame_saved_reg): |
1e067c66 MK |
6079 | Add opaque declarations. |
6080 | (sparc64nbsd_sigcontext_saved_regs): New prototype. | |
6081 | * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): New | |
6082 | function with code split out from | |
6083 | sparc64nbsd_sigcontext_frame_cache. | |
6084 | (sparc64nbsd_sigcontext_frame_cache): Use | |
6085 | sparc64nbsd_sigcontext_saved_regs. | |
6086 | (_initialize_sparc64nbsd_tdep): Don't register OS ABI handler for | |
6087 | OpenBSD. | |
6088 | * sparc64obsd-tdep.c: New file. | |
6089 | * Makefile.in (ALLDEPFILES): Add sparc64obsd-tdep.c. | |
6090 | (sparc64obsd-tdep.o): New dependency. | |
6091 | * configure.tgt (sparc64-*-openbsd*): Set gdb_target to obsd64 and | |
6092 | gdb_osabi to GDB_OSABI_OPENBSD_ELF. | |
6093 | * config/sparc/obsd64.mt: New file. | |
6094 | ||
690668cc MK |
6095 | * sparc-tdep.c (sparc_fetch_instruction): Return zero if we can't |
6096 | read the instruction at PC. | |
6097 | ||
7e5e9f88 MK |
6098 | * sparcnbsd-tdep.c (GDB_OSABI_NETBSD_CORE): Define, based on the |
6099 | value of GDB_OSABI_DEFAULT. | |
6100 | (sparcnbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_CORE | |
6101 | instead of GDB_OSABI_NETBSD_AOUT. | |
6102 | ||
68b6dce9 NR |
6103 | 2004-01-24 Nick Roberts <[email protected]> |
6104 | ||
6105 | * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-cmds.h: Update | |
6106 | copyright. | |
6107 | ||
080ce8c0 AC |
6108 | 2004-01-23 Andrew Cagney <[email protected]> |
6109 | ||
6110 | * printcmd.c (display_command): Replace tui_set_display call with | |
6111 | tui_set_layout_for_display_command. | |
6112 | * tui/tui.h (enum tui_win_type): Define. | |
6113 | (tui_set_layout): Delete declaration. | |
6114 | (tui_set_layout_for_display_command): Rename set_tui_layout. | |
6115 | * tui/tui-data.h (enum tui_layout_type): Define. | |
6116 | * tui/tui-layout.h: Update copyright. Include "tui-data.h" and | |
6117 | "tui.h". | |
6118 | (tui_add_win_to_layout): Rename tuiAddWinToLayout. | |
6119 | (tui_default_win_height): Rename tuiDefaultWinHeight. | |
6120 | (tui_default_win_viewport_height): Rename | |
6121 | tuiDefaultWinViewportHeight. | |
6122 | (tui_set_layout): RenametuiSetLayout. | |
6123 | * tui/tui-layout.c: Update references. | |
6124 | * tui/tui.c: Update references. | |
6125 | * tui/tui-disasm.c: Update references. | |
6126 | ||
b368761e DC |
6127 | 2004-01-23 David Carlton <[email protected]> |
6128 | ||
6129 | Partial workaround for PR c++/1511: | |
6130 | * cp-namespace.c: Include frame.h. | |
6131 | (cp_lookup_transparent_type): New | |
6132 | (cp_lookup_transparent_type_loop): New. | |
6133 | * cp-support.h: Declare cp_lookup_transparent_type. | |
6134 | * symtab.c (basic_lookup_transparent_type): Renamed from | |
6135 | lookup_transparent_type. | |
6136 | (lookup_transparent_type): Replace old body by a call to | |
6137 | current_language->la_lookup_transparent_type. | |
6138 | * symtab.h: Update copyright. Declare | |
6139 | basic_lookup_transparent_type. | |
6140 | * language.h: Update copyright. | |
6141 | (struct language_defn): Add la_lookup_transparent_type. | |
6142 | * language.c: Update copyright. | |
6143 | (unknown_language_defn): Add basic_lookup_transparent_type. | |
6144 | (auto_language_defn): Add basic_lookup_transparent_type. | |
6145 | (local_language_defn): Add basic_lookup_transparent_type. | |
6146 | * ada-lang.c: Update copyright. | |
6147 | (ada_language_defn): Add basic_lookup_transparent_type. | |
6148 | * c-lang.c: Update copyright. | |
6149 | (c_language_defn): Add basic_lookup_transparent_type. | |
6150 | (cplus_language_defn): Add basic_lookup_transparent_type. | |
6151 | (asm_language_defn): Add basic_lookup_transparent_type. | |
6152 | (minimal_language_defn): Add basic_lookup_transparent_type. | |
6153 | * f-lang.c: Update copyright. | |
6154 | (f_language_defn): Add basic_lookup_transparent_type. | |
6155 | * jv-lang.c: Update copyright. | |
6156 | (java_language_defn): Add basic_lookup_transparent_type. | |
6157 | * m2-lang.c: Update copyright. | |
6158 | (m2_language_defn): Add basic_lookup_transparent_type. | |
6159 | * objc-lang.c: Update copyright. | |
6160 | (objc_language_defn): Add basic_lookup_transparent_type. | |
6161 | * p-lang.c: Update copyright. | |
6162 | (p_language_defn): Add basic_lookup_transparent_type. | |
6163 | * scm-lang.c: Update copyright. | |
6164 | (scm_language_defn): Add basic_lookup_transparent_type. | |
6165 | * Makefile.in (cp-namespace.o): Depend on frame.h. | |
6166 | ||
fdde2d81 DC |
6167 | 2004-01-23 David Carlton <[email protected]> |
6168 | ||
6169 | Patch for PR c++/1520: | |
6170 | * dwarf2read.c (read_func_scope): Set processing_current_prefix | |
6171 | properly if we have a specification die. | |
6172 | (determine_prefix_aux): Rename from determine_prefix. | |
6173 | (determine_prefix): Like the old determine_prefix, but never | |
6174 | returns NULL. | |
6175 | ||
5b828b6b TR |
6176 | 2004-01-23 Theodore A. Roth <[email protected]> |
6177 | ||
6178 | * avr-tdep.c: Update copyright. | |
6179 | (avr_iaddr_p): Delete unused function. | |
6180 | (avr_saddr_p): Delete unused function. | |
6181 | ||
a1b8c067 DC |
6182 | 2004-01-23 David Carlton <[email protected]> |
6183 | ||
6184 | * symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab. | |
6185 | Fix for PR symtab/1534. | |
6186 | ||
f2cab569 MK |
6187 | 2004-01-23 Mark Kettenis <[email protected]> |
6188 | ||
6189 | * NEWS (New native configurations): Mention OpenBSD/sparc and | |
6190 | OpenBSD/sparc64. | |
6191 | * configure.tgt: Add sparc-*-openbsd* and sparc64-*-openbsd*. | |
6192 | * configure.host: Likewise. | |
6193 | * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Register OS ABI | |
6194 | handler for OpenBSD. | |
6195 | * sparc64nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Likewise. | |
6196 | ||
642d8300 MK |
6197 | 2004-01-22 Mark Kettenis <[email protected]> |
6198 | ||
89aac506 MK |
6199 | * sparcnbsd-tdep.c (sparcnbsd_core_osabi_sniffer): New function. |
6200 | (_initialize_sparnbsd_tdep): Register sparcnbsd_core_osabi_sniffer. | |
6201 | ||
36662fde MK |
6202 | * ser-pipe.c (pipe_open): Use proper null pointer in execl call. |
6203 | * cli/cli-cmds.c (shell_escape): Likewise. | |
6204 | ||
642d8300 MK |
6205 | * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Recognize |
6206 | OpenBSD .note.openbsd.ident sections. | |
6207 | ||
fae299cd DC |
6208 | 2004-01-22 David Carlton <[email protected]> |
6209 | ||
6210 | * dwarf2read.c (psymtab_to_symtab_1): Calculate lowpc, highpc via | |
6211 | get_scope_pc_bounds. | |
6212 | (read_file_scope): Ditto. | |
6213 | (get_scope_pc_bounds): New function, produced by extracting code | |
6214 | from the above two functions, consolidating it, and adding support | |
6215 | for DW_TAG_namespace. | |
6216 | ||
a49d618c MK |
6217 | 2004-01-22 Mark Kettenis <[email protected]> |
6218 | ||
6219 | * osabi.c (MAX_NOTESZ): New define. | |
6220 | (check_note): New function. | |
6221 | (generic_elf_osabi_sniff_abi_tag_sections): Reorganize code using | |
6222 | check_note. | |
6223 | ||
fe61caab RM |
6224 | 2004-01-21 Roland McGrath <[email protected]> |
6225 | ||
6226 | * MAINTAINERS (write after approval): Add myself. | |
6227 | ||
ec145965 EZ |
6228 | 2004-01-21 Eli Zaretskii <[email protected]> |
6229 | ||
6230 | * utils.c (init_page_info): Move declarations of `rows' and | |
6231 | `cols' before the __GO32__-specific code. Move the closing brace | |
6232 | outside the #ifdef __GO32__..#endif block. | |
6233 | [__GO32__]: Use `rows' and `cols' to avoid compiler warnings. | |
6234 | ||
877522db PB |
6235 | 2004-01-21 Paul Brook <[email protected]> |
6236 | ||
6237 | * infrun.c (handle_inferior_event): Check stop_stack_dummy if handling | |
6238 | BPSTAT_WHAT_CHECK_SHLIBS. | |
6239 | ||
dbf5be1c PB |
6240 | 2004-01-21 Paul Brook <[email protected]> |
6241 | ||
6242 | * MAINTAINERS: Add myself to write-after-approval. | |
6243 | ||
81f08b92 AC |
6244 | 2004-01-20 Andrew Cagney <[email protected]> |
6245 | ||
5a1efed7 AC |
6246 | * ax-gdb.c (print_axs_value): Delete unused function. |
6247 | * jv-lang.c (java_lookup_type): Delete unused function. | |
6248 | * cli/cli-dump.c (dump_filetype): Delete unused function. | |
6249 | * remote-mips.c (remote_mips_insert_hw_breakpoint) | |
6250 | (remote_mips_remove_hw_breakpoint): Delete unused functions. | |
6251 | (mips_getstring): Delete unused function. | |
6252 | (pmon_insert_breakpoint): Delete #if0ed function. | |
6253 | (PMON_MAX_BP): Delete #if0ed MACRO. | |
6254 | (mips_pmon_bp_info): Delete #if0ed variable. | |
6255 | (pmon_remove_breakpoint): Delete #if0ed function. | |
6256 | * monitor.c (monitor_write_even_block): Delete unused function. | |
6257 | (monitor_write_memory_block): Delete #if0ed code. | |
6258 | * dink32-rom.c (dink32_load): Delete unused function. | |
6259 | (_initialize_dink32_rom): Delete #if0ed code. | |
6260 | * d10v-tdep.c (d10v_daddr_p): Delete unused function. | |
6261 | ||
b0a30fce AC |
6262 | * tui/tui-command.c: Update references. |
6263 | * tui/tui-io.c: Update references. | |
6264 | * tui/tui-command.h: Update copyright. | |
6265 | (tui_dispatch_ctrl_char): Rename tuiDispatchCtrlChar. | |
6266 | ||
81f08b92 AC |
6267 | * source.c (ambiguous_line_spec): Delete never-defined function. |
6268 | * remote-rdi.c (arm_rdi_mourn, arm_rdi_send): Ditto. | |
6269 | * gdbtypes.c (add_name, add_mangled_type): Ditto. | |
6270 | * cli/cli-cmds.c (validate_comname): Ditto. | |
6271 | ||
65f05602 AC |
6272 | * tui/tui-disasm.h: Update copyright. Include "tui.h" and |
6273 | "tui-data.h". | |
6274 | (tui_set_disassem_content): Rename tuiSetDisassemContent. | |
6275 | (tui_show_disassem): Rename tuiShowDisassem. | |
6276 | (tui_show_disassem_and_update_source): Rename | |
6277 | tuiVerticalDisassemScroll. | |
6278 | (tui_vertical_disassem_scroll): Rename tuiVerticalDisassemScroll. | |
6279 | (tui_get_begin_asm_address): Rename tuiGetBeginAsmAddress. | |
6280 | * tui/tui.h: Update copyright. | |
6281 | (enum tui_status): Define. | |
6282 | * tui/tui-data.h (enum tui_scroll_direction): Define. | |
6283 | * tui/tui-disasm.c: Update copyright. Update references. | |
6284 | * tui/tui-winsource.c: Update copyright. Update references. | |
6285 | * tui/tui-win.c: Update references. | |
6286 | * tui/tui-layout.c: Update references. | |
6287 | ||
6bb0384f AC |
6288 | 2004-01-20 Andrew Cagney <[email protected]> |
6289 | ||
6290 | * mi/mi-cmd-stack.c (list_args_or_locals): Move declaration of | |
6291 | sym2 to start of block. | |
6292 | ||
9175c9a3 MC |
6293 | 2004-01-19 Michael Chastain <[email protected]> |
6294 | ||
6295 | * MAINTAINERS: Delete mmalloc. | |
6296 | * Makefile.in: Delete MMALLOC, MMALLOC_CFLAGS, -lmmalloc, mmalloc_h. | |
6297 | * NEWS: Mention removal of --with-malloc. | |
6298 | * acconfig.h: Delete USE_MMALLOC, MMCHECK_FORCE. | |
6299 | * config.in: Regenerate. | |
6300 | * configure: Regenerate. | |
6bb0384f AC |
6301 | * configure.in: Delete MMALLOC_CFLAGS, MMALLOC, --with-mmalloc, |
6302 | USE_MMALLOC, MMCHECK_FORCE. | |
9175c9a3 MC |
6303 | * gdbinit.in: Remove mmalloc. |
6304 | * utils.c: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, malloc_botch. | |
6305 | * config/alpha/alpha-linux.mh: Delete MMALLOC, MMALLOC_CFLAGS. | |
6306 | * config/i386/go32.mh: Likewise. | |
6307 | * config/i386/interix.mh: Likewise. | |
6308 | * config/powerpc/xm-linux.h: Delete MMAP_BASE_ADDRESS, MMAP_INCREMENT. | |
6309 | ||
4fcef00a JJ |
6310 | 2004-01-19 Jeff Johnston <[email protected]> |
6311 | ||
6312 | * linespec.c (decode_variable, symtab_from_filename): Call | |
6313 | error_silent with error message instead of throwing an exception | |
6314 | directly. | |
6315 | * defs.h (error_silent, error_output_message): Add prototypes. | |
6316 | (catch_exceptions_with_msg): Ditto. | |
6317 | * utils.c (error_silent, error_output_message): New functions. | |
6318 | * top.c (catch_exceptions_with_msg): New function. | |
6319 | ||
8e94b928 NR |
6320 | 2004-01-20 Nick Roberts <[email protected]> |
6321 | ||
6322 | * mi/mi-cmds.h (enum print_values): Add definition. | |
6323 | ||
6324 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Print the name, | |
6325 | type and value for simple data types and just the name and type | |
6326 | for complex ones, if required. | |
6327 | ||
6328 | * mi/mi-cmd-var.c (mi_cmd_var_list_children): Print the values of the | |
6329 | children, if required. | |
6330 | ||
a02d6af8 KB |
6331 | 2004-01-19 Kevin Buettner <[email protected]> |
6332 | ||
6333 | * frv-tdep.c (frv_push_arguments, frv_saved_pc_after_call): Delete | |
6334 | unused declarations. | |
6335 | ||
78a4a9b9 AC |
6336 | 2004-01-19 Andrew Cagney <[email protected]> |
6337 | ||
6338 | * top.h (mapped_symbol_files): Delete declaration. | |
6339 | * main.c (captured_main): Delete option "m" and "mapped". | |
6340 | * objfiles.c (mapped_symbol_files): Delete variable. | |
6341 | * symfile.c (symbol_file_command): Delete mmap code. | |
6342 | (symbol_file_add_with_addrs_or_offsets): Ditto. | |
6343 | (add_symbol_file_command, reread_separate_symbols): Ditto. | |
6344 | * objfiles.h (OBJF_MAPPED): Delete. | |
6345 | * objfiles.c (allocate_objfile) [USE_MMALLOC]: Delete. | |
6346 | (free_objfile) [USE_MMALLOC]: Ditto. | |
6347 | (open_existing_mapped_file): Delete function. | |
6348 | (open_mapped_file): Delete function. | |
6349 | (map_to_file): Delete function. | |
6350 | ||
2dbd5e30 KB |
6351 | 2004-01-19 Kevin Buettner <[email protected]> |
6352 | ||
6353 | * infrun.c (step_into_function): Account for possible breakpoint | |
6354 | adjustment when computing ``stop_func_start''. | |
6355 | ||
437b434f KB |
6356 | 2004-01-19 Kevin Buettner <[email protected]> |
6357 | ||
6358 | * target.c (default_region_size_ok_for_hw_watchpoint): Compare | |
6359 | the region size against the size of a pointer, not the size of | |
6360 | a register as given by DEPRECATED_REGISTER_SIZE. | |
6361 | ||
55fb0713 AC |
6362 | 2004-01-19 Andrew Cagney <[email protected]> |
6363 | ||
6364 | * tui/tui-regs.h: Include "tui-data.h". | |
6365 | (tuiFirstRegElementNoInLine): Delete declaration. | |
6366 | (tui_display_registers_from): Rename tuiDisplayRegistersFrom. | |
6367 | (tui_last_regs_line_no): Rename tuiLastRegsLineNo. | |
6368 | (tui_line_from_reg_element_no): Rename tuiLineFromRegElementNo. | |
6369 | (tui_calculate_regs_column_count): Rename | |
6370 | tuiCalculateRegsColumnCount. | |
6371 | (tui_check_register_values): Rename tuiCheckRegisterValues. | |
6372 | (tui_show_registers): Rename tuiShowRegisters. | |
6373 | (tui_display_registers_from_line): Rename | |
6374 | tuiDisplayRegistersFromLine. | |
6375 | (tui_first_reg_element_inline): Rename tuiFirstRegElementInLine. | |
6376 | (tui_toggle_float_regs): Rename tuiToggleFloatRegs. | |
6377 | (tui_first_reg_element_no_inline): Rename | |
6378 | tuiFirstRegElementNoInLine. | |
6379 | * tui/tui-data.h: Update copyright. | |
6380 | (enum tui_register_display_type): Rename _TuiRegisterDisplayType. | |
6381 | * tui/tui-windata.c: Update copyright, update references. | |
6382 | * tui/tui-regs.c: Update copyright, update references. | |
6383 | * tui/tui-win.c: Update copyright, update references. | |
6384 | * tui/tui-layout.c: Update copyright, update references. | |
fe61caab | 6385 | |
cebe9500 AC |
6386 | 2004-01-18 Andrew Cagney <[email protected]> |
6387 | ||
bcdf1568 AC |
6388 | * tui/tui-io.c: Update copyright. |
6389 | (key_is_end_sequence, key_is_backspace): New functions. | |
6390 | (key_is_command_char, key_is_start_sequence): New function. | |
6391 | (tui_getc): Update references. | |
6392 | * tui/tui-io.h: Update copyright. | |
6393 | (m_tuiStartNewLine): Delete macro. | |
6394 | (m_isBackspace, m_isDeleteChar): Delete macros. | |
6395 | (m_isDeleteLine, m_isDeleteToEol): Delete macros. | |
6396 | (m_isNextPage, m_isPrevPage): Delete macros. | |
6397 | (m_isLeftArrow, m_isRightArrow): Delete macros. | |
6398 | (m_isXdbStyleCommandChar): Delete macro. | |
6399 | (key_is_start_sequence): Declare, replace m_isStartSequence. | |
6400 | (key_is_end_sequence): Declare, replace m_isEndSequence. | |
6401 | (key_is_backspace): Declare ,replace m_isBackspace. | |
6402 | (key_is_command_char): Declare, replace m_isCommandChar. | |
6403 | * tui/tui-command.c: Update copyright. | |
6404 | (tuiDispatchCtrlChar): Update references. | |
6405 | ||
130d87e6 AC |
6406 | * config/djgpp/fnchange.lst: Delete tui/tuiSourceWin.c and |
6407 | tuiSourceWin.h. | |
6408 | ||
d7b2e967 AC |
6409 | * tui/tui-command.c: Rename tui/tuiCommand.c. |
6410 | * tui/tui-command.h: Rename tui/tuiCommand.h. | |
6411 | * tui/tui-data.c: Rename tui/tuiData.c. | |
6412 | * tui/tui-data.h: Rename tui/tuiData.h. | |
6413 | * tui/tui-disasm.c: Rename tui/tuiDisassem.c. | |
6414 | * tui/tui-disasm.h: Rename tui/tuiDisassem.h. | |
6415 | * tui/tui-io.c: Rename tui/tuiIO.c. | |
6416 | * tui/tui-io.h: Rename tui/tuiIO.h. | |
6417 | * tui/tui-layout.c: Rename tui/tuiLayout.c. | |
6418 | * tui/tui-layout.h: Rename tui/tuiLayout.h. | |
6419 | * tui/tui-regs.c: Rename tui/tuiRegs.c. | |
6420 | * tui/tui-regs.h: Rename tui/tuiRegs.h. | |
6421 | * tui/tui-source.c: Rename tui/tuiSource.c. | |
6422 | * tui/tui-source.h: Rename tui/tuiSource.h. | |
6423 | * tui/tui-stack.c: Rename tui/tuiStack.c. | |
6424 | * tui/tui-stack.h: Rename tui/tuiStack.h. | |
6425 | * tui/tui-win.c: Rename tui/tuiWin.c. | |
6426 | * tui/tui-win.h: Rename tui/tuiWin.h. | |
6427 | * tui/tui-windata.c: Rename tui/tuiDataWin.c. | |
6428 | * tui/tui-windata.h: Rename tui/tuiDataWin.h. | |
6429 | * tui/tui-wingeneral.c: Rename tui/tuiGeneralWin.c. | |
6430 | * tui/tui-wingeneral.h: Rename tui/tuiGeneralWin.h. | |
6431 | * tui/tui-winsource.c: Rename tui/tuiSourceWin.c. | |
6432 | * tui/tui-winsource.h: Rename tui/tuiSourceWin.h. | |
6433 | * tui/tui-file.c: Update includes. | |
6434 | * tui/tui-hooks.c: Update includes. | |
6435 | * tui/tui-interp.c: Update includes. | |
6436 | * tui/tui.c: Update includes. | |
6437 | * Makefile.in: Update all tui/ dependencies. | |
6438 | (SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS): Update file names. | |
6439 | ||
b2100910 AC |
6440 | * Makefile.in: Update copyright. Update dependencies. |
6441 | ||
cebe9500 AC |
6442 | * tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile |
6443 | problem. | |
6444 | ||
c6f0559b AC |
6445 | 2004-01-18 Andrew Cagney <[email protected]> |
6446 | ||
43e9390b AC |
6447 | * mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register |
6448 | instead of register_gdbarch_init. | |
6449 | ||
c6f0559b AC |
6450 | * remote-sds.c (tohex): Delete unused function. Update copyright. |
6451 | * xstormy16-tdep.c (xstormy16_register_virtual_size): Ditto. | |
6452 | * v850-tdep.c (v850_register_virtual_size): Ditto. | |
6453 | * target.c (normal_target_post_startup_inferior): Ditto. | |
6454 | * source.c (ambiguous_line_spec): Ditto. | |
6455 | * remote.c (adapt_remote_get_threadinfo): Ditto. | |
6456 | * mi/mi-out.c (out_field_fmt): Ditto. | |
6457 | * mi/mi-interp.c (mi_interp_read_one_line_hook): Ditto. | |
6458 | (output_control_change_notification): Ditto. | |
6459 | * m68k-tdep.c (m68k_register_byte): Ditto. | |
6460 | (m68k_remote_breakpoint_from_pc): Ditto. | |
6461 | * ui-out.c (init_ui_out_state): Delete unused declaration. | |
6462 | * stabsread.c (search_value): Ditto. | |
6463 | * mi/mi-cmd-env.c (env_cli_command): Ditto. | |
6464 | * maint.c (print_section_table): Ditto. | |
6465 | * infrun.c (set_follow_fork_mode_command): Ditto. | |
6466 | ||
a8504492 MK |
6467 | 2004-01-18 Mark Kettenis <[email protected]> |
6468 | ||
6469 | * dwarf2-frame.c (execute_cfa_program): Move DWA_CFA_nop before | |
6470 | DW_CFA_def_cfa_exporession. Add support for | |
6471 | DW_CFA_offset_extendend_sf, DW_CFA_def_cfa_sf and | |
6472 | DW_CFA_def_cfa_offset_sf. This should fix PR backtrace/1391. | |
6473 | ||
0bd8997e AC |
6474 | 2004-01-18 Andrew Cagney <[email protected]> |
6475 | ||
6476 | * ocd.c: Update copyright. | |
6477 | (bdm_read_register_command): Delete unused function. | |
6478 | (_initialize_remote_ocd): Delete commented out reference. | |
6479 | (get_quoted_char, reset_packet): Delete #if0ed function. | |
6480 | (output_packet, put_quoted_char): Delete #if0ed function. | |
6481 | (stu_put_packet, stu_get_packet): Delete #if0ed function. | |
6482 | (ocd_start_remote): Delete #if0ed code, remove #if1 wrapper. | |
6483 | (BDM_BREAKPOINT): Delete #if0ed macro. | |
6484 | (remote_timeout): Delete #if0ed variable. | |
6485 | ||
31bb40e4 MK |
6486 | 2004-01-18 Mark Kettenis <[email protected]> |
6487 | ||
6488 | * Makefile.in (ALLDEPFILES): Remove core-sol2.c. | |
6489 | (core-sol2.o): Remove dependency. | |
6490 | * core-sol2.c: Remove file. | |
6491 | ||
887432a5 AC |
6492 | 2004-01-17 Andrew Cagney <[email protected]> |
6493 | ||
6494 | * mdebugread.c (compare_blocks): Make addr_diff a LONGEST. | |
6495 | * block.h: Make GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOOCK | |
6496 | enums. | |
6497 | ||
29182b13 DJ |
6498 | 2004-01-17 Daniel Jacobowitz <[email protected]> |
6499 | ||
6500 | * remote.c: Update copyright years. | |
6501 | ||
2963ee1d DJ |
6502 | 2004-01-17 Daniel Jacobowitz <[email protected]> |
6503 | ||
6504 | * remote.c (remote_vcont_resume): Use xstrprintf instead of sprintf. | |
6505 | ||
79d45cd4 AC |
6506 | 2004-01-17 Andrew Cagney <[email protected]> |
6507 | ||
ee300cd4 AC |
6508 | * mdebugread.c: Update copyright. |
6509 | (parse_symbol): Replace DEPRECATED_STREQ with strcmp. | |
6510 | (parse_type, parse_procedure): Ditto. | |
6511 | (parse_partial_symbols, psymtab_to_symtab_1): Ditto. | |
6512 | ||
fcacc9c2 AC |
6513 | * cris-tdep.c (cris_store_struct_return): Put back accidently |
6514 | deleted function. | |
6515 | ||
79d45cd4 AC |
6516 | * gdbarch.sh: Update copyright year. |
6517 | * gdbarch.h, gdbarch.c: Re-generate. | |
6518 | ||
b263358a DJ |
6519 | 2004-01-17 Daniel Jacobowitz <[email protected]> |
6520 | ||
6521 | Suggested by George Anzinger. | |
6522 | * dwarf2expr.c (execute_stack_op): Fetch the second item from the | |
6523 | correct stack offset. Include unknown opcode numbers in the error | |
6524 | message. | |
6525 | ||
931aecf5 AC |
6526 | 2004-01-17 Andrew Cagney <[email protected]> |
6527 | ||
6528 | * x86-64-tdep.c (x86_64_init_abi): No need to clear | |
6529 | extract_struct_value_address, i386 does not set it. | |
6530 | * sparc64-tdep.c (sparc64_init_abi): Do not set | |
6531 | extract_struct_value_address, never called. | |
6532 | (sparc64_extract_struct_value_address): Delete function. | |
6533 | * m68hc11-tdep.c: Update copyright. | |
6534 | (m68hc11_gdbarch_init): Delete redundant assignment of | |
6535 | extract_struct_value_address. | |
6536 | * i386-tdep.c: Update copyright. | |
6537 | (i386_gdbarch_init): Do not set extract_struct_value_address, | |
6538 | never called. | |
6539 | (i386_extract_struct_value_address): Delete function. | |
6540 | * sparc-tdep.c (sparc32_gdbarch_init): Do not set | |
6541 | extract_struct_value_address, never called. | |
6542 | (sparc32_extract_struct_value_address): #if 0 function. Add | |
6543 | comments explaining its future. | |
6544 | ||
756fe439 DJ |
6545 | 2004-01-17 Daniel Jacobowitz <[email protected]> |
6546 | ||
6547 | * arm-tdep.c (arm_write_pc): New function. | |
6548 | (arm_gdbarch_init): Call set_gdbarch_write_pc. | |
6549 | ||
e74f0f02 DJ |
6550 | 2004-01-17 Daniel Jacobowitz <[email protected]> |
6551 | ||
6552 | * breakpoint.c (must_shift_inst_regs): Delete. | |
6553 | (bpstat_stop_status): Delete references to DECR_PC_AFTER_HW_BREAK | |
6554 | and SHIFT_INST_REGS. | |
6555 | * infcmd.c (step_1, step_1_continuation): Delete references to | |
6556 | SHIFT_INST_REGS. | |
6557 | * infrun.c (keep_going): Likewise. | |
6558 | * target.h (DECR_PC_AFTER_HW_BREAK): Don't define. | |
6559 | * config/i386/nm-i386.h (DECR_PC_AFTER_HW_BREAK): Likewise. | |
6560 | ||
b6cb9035 AC |
6561 | 2004-01-17 Andrew Cagney <[email protected]> |
6562 | ||
444a1e2e AC |
6563 | * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Delete. |
6564 | * gdbarch.h, gdbarch.c: Re-generate. | |
6565 | * infcmd.c (print_return_value): Delete reference to | |
6566 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS. | |
6567 | ||
def7e6ed AC |
6568 | * cris-tdep.c (cris_gdbarch_init): Do not set |
6569 | deprecated_extract_struct_value_address. | |
6570 | ||
07be497a AC |
6571 | * xstormy16-tdep.c: Update copyright. |
6572 | (xstormy16_extract_struct_value_address): Update to current | |
6573 | extract struct value address interface. | |
6574 | (xstormy16_gdbarch_init): Set extract_struct_value_address. | |
6575 | * sh64-tdep.c (sh64_extract_struct_value_address): Update to | |
6576 | current extract struct value address interface. | |
6577 | (sh64_gdbarch_init): Set extract_struct_value_address. | |
6578 | ||
6b4d5c91 AC |
6579 | * cris-tdep.c: Update copyright. |
6580 | (cris_extract_struct_value_address): Delete function. | |
6581 | (struct_return_address): Delete variable. | |
6582 | (cris_store_struct_return): Do not set struct_return_address. | |
6583 | ||
464e0365 AC |
6584 | * mcore-tdep.c: Update copyright. |
6585 | (mcore_extract_struct_value_address): Delete function. Update | |
6586 | comments. | |
6587 | (mcore_gdbarch_init): Update. | |
6588 | * mn10300-tdep.c: Update copyright. | |
6589 | (mn10300_extract_struct_value_address): Delete function. | |
6590 | (mn10300_gdbarch_init): Update. | |
6591 | * v850-tdep.c: Update copyright. | |
6592 | (v850_extract_struct_value_address): Delete. | |
6593 | (v850_gdbarch_init): Update. | |
6594 | * ns32k-tdep.c: Update copyright. | |
6595 | (ns32k_extract_struct_value_address): Delete. | |
6596 | (ns32k_gdbarch_init): Update. | |
6597 | * hppa-tdep.c (hppa_extract_struct_value_address): Delete. | |
6598 | (hppa_gdbarch_init): Update. | |
6599 | * vax-tdep.c: Update copyright. | |
6600 | (vax_extract_struct_value_address): Delete. | |
6601 | (vax_gdbarch_init): Update. | |
6602 | ||
afb18d0f AC |
6603 | * gdbarch.sh (DEPRECATED_NPC_REGNUM): Delete. |
6604 | * gdbarch.h, gdbarch.c: Re-generate. | |
6605 | * procfs.c (procfs_fetch_registers): Delete reference to | |
6606 | DEPRECATED_NPC_REGNUM. | |
6607 | (procfs_store_registers): Ditto. | |
6608 | * regcache.c (generic_target_write_pc): Simplify. | |
6609 | * lynx-nat.c: Delete #ifdef SPARC code. Not used. | |
6610 | ||
a698f53e AC |
6611 | * core-sol2.c (fetch_core_registers): Replace |
6612 | DEPRECATED_NPC_REGNUM with equivalent tdep value. | |
6613 | ||
adc11376 AC |
6614 | * hppa-tdep.c: Update copyright year. |
6615 | (hppa_target_write_pc): Use PCOQ_TAIL_REGNUM instead of | |
6616 | NPC_REGNUM. | |
6617 | (hppa_gdbarch_init): Do not set deprecated_npc_regnum. | |
6618 | ||
b6cb9035 AC |
6619 | * mips-tdep.c (mips_write_pc): New function. |
6620 | (mips_gdbarch_init): Set "write_pc" to "mips_write_pc". | |
6621 | (mips_read_pc): Use mips_regnum instead of PC_REGNUM. | |
6622 | (mips_find_saved_regs, mips_software_single_step: Ditto. | |
6623 | (mips_frame_saved_pc, mips_frame_saved_pc): Ditto. | |
6624 | mips_init_extra_frame_info, mips_pop_frame): Ditto. | |
6625 | ||
6d82d43b AC |
6626 | 2004-01-17 Andrew Cagney <[email protected]> |
6627 | ||
6628 | * mips-tdep.c: Re-indent. Group functions by ABI. | |
6629 | ||
71bd6bd4 AC |
6630 | 2004-01-17 Andrew Cagney <[email protected]> |
6631 | ||
6632 | * gdbarch.sh (DECR_PC_AFTER_BREAK): Make zero the default. | |
6633 | * gdbarch.c: Re-generate. | |
6634 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
6635 | DECR_PC_AFTER_BREAK to zero. | |
6636 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
6637 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
6638 | * sparc-tdep.c (sparc32_gdbarch_init): Ditto. | |
6639 | * sh64-tdep.c (sh64_gdbarch_init): Ditto. | |
6640 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
6641 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
6642 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
6643 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
6644 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
6645 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
6646 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
6647 | * m32r-tdep.c (m32r_gdbarch_init): Ditto. | |
6648 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
6649 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
6650 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
6651 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
6652 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
6653 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
6654 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
6655 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
6656 | * i386-nto-tdep.c (i386nto_init_abi): Add comment. | |
6657 | ||
a02abb62 JB |
6658 | 2004-01-17 J. Brobecker <[email protected]> |
6659 | ||
6660 | * dwarf2read.c (dwarf2_non_const_array_bound_ignored_complaint): | |
6661 | Delete, no longer used. | |
6662 | (read_subrange_type): New function, mostly extracted from | |
6663 | read_array_type(). | |
6664 | (read_array_type): Replace extracted code by call to | |
6665 | read_subrange_type(). | |
6666 | (dwarf2_get_attr_constant_value): New function. | |
6667 | (scan_partial_symbols): Add handling for DW_TAG_subrange_type. | |
6668 | (add_partial_symbol): Likewise. | |
6669 | (process_die): Likewise. | |
6670 | (new_symbol): Likewise. | |
6671 | (read_type_die): Likewise. | |
6672 | ||
cf5b2f1b AC |
6673 | 2004-01-16 Andrew Cagney <[email protected]> |
6674 | ||
6675 | * symfile.c: Update copyright year. | |
6676 | (compare_symbols): Delete unused function. | |
6677 | * stabsread.c: Update copyright year. | |
6678 | (lrs_general_complaint): Delete unused function. | |
6679 | (ref_search_value): Ditto. | |
6680 | (get_substring): Delete declaration. | |
6681 | * sh64-tdep.c: Update copyright year. | |
6682 | (sh64_get_gdb_regnum): Delete unused function. | |
6683 | * dwarf2read.c (dwarf2_unsupported_at_frame_base_complaint): | |
6684 | Delete unused function. | |
6685 | ||
d33b9831 MK |
6686 | 2004-01-17 Mark Kettenis <[email protected]> |
6687 | ||
6688 | * defs.h (gdb_osabi): Add GDB_OSABI_OPENBSD_ELF. | |
6689 | * osabi.c (gdb_osabi_names): Add "OpenBSD ELF". | |
6690 | ||
7aea86e6 AC |
6691 | 2004-01-16 Andrew Cagney <[email protected]> |
6692 | ||
6693 | Changes from Peter Schauer. | |
6694 | * rs6000-tdep.c: Update copyright year. | |
6695 | (rs6000_push_dummy_call): Update the stack pointer before | |
6696 | accessing the corresponding stack region. | |
6697 | * rs6000-nat.c: Update copyright year. | |
6698 | (set_host_arch): Set "info.abfd" to "exec_bfd". | |
6699 | ||
26b0da32 MK |
6700 | 2004-01-15 Mark Kettenis <[email protected]> |
6701 | ||
6702 | * blockframe.c: Update copyright year. | |
6703 | (inside_entry_func): Don't treat a zero PC specially. | |
6704 | ||
86fbe6cc EZ |
6705 | 2004-01-14 Elena Zannoni <[email protected]> |
6706 | ||
6707 | * gcore.c (gcore_copy_callback): Use paddr_d to print size | |
6708 | variable. | |
6709 | (gcore_create_callback): Ditto. Skip any memory segment that has | |
6710 | no permissions set. | |
6711 | ||
63d06c5c DC |
6712 | 2004-01-14 David Carlton <[email protected]> |
6713 | ||
6714 | Change symbols for C++ nested types to contain the fully qualified | |
6715 | name, if possible. (At least in the DWARF-2 case.) Partial fix | |
6716 | for PR's c++/57, c++/488, c++/539, c++/573, c++/609, c++/832, | |
6717 | c++/895. | |
6718 | * c-exp.y (qualified_type): Handle types nested within classes. | |
6719 | * cp-namespace.c: Update comments. | |
6720 | (cp_set_block_scope): Delete #if 0. | |
6721 | (cp_lookup_nested_type): Handle types nested within classes. | |
6722 | * dwarf2read.c: (scan_partial_symbols): Call add_partial_structure | |
6723 | when appropriate. | |
6724 | (add_partial_symbol): Add the name of the enclosing namespace to | |
6725 | types. | |
6726 | (pdi_needs_namespace): New. | |
6727 | (add_partial_namespace): Tweak comment. | |
6728 | (add_partial_structure): New. | |
6729 | (psymtab_to_symtab_1): Initialize processing_current_prefix | |
6730 | here... | |
6731 | (process_die): instead of here. | |
6732 | (read_structure_scope): Try to figure out the name of the class or | |
6733 | namespace that the structure might be defined within. | |
6734 | (read_enumeration): Generate fully-qualified names, if possible. | |
6735 | (read_namespace): Don't set name to NULL. | |
6736 | (die_specification): New. | |
6737 | (new_symbol): Generate fully-qualified names for types. | |
6738 | (read_type_die): Determine appropriate prefix. | |
6739 | (determine_prefix): New. | |
6740 | (typename_concat): New. | |
6741 | (class_name): New. | |
6742 | * valops.c (value_aggregate_elt): Pass NOSIDE to | |
6743 | value_struct_elt_for_reference. | |
6744 | (value_struct_elt_for_reference): Make static, add NOSIDE | |
6745 | parameter, call value_maybe_namespace_elt as a last resort. | |
6746 | (value_namespace_elt): Break out code into | |
6747 | value_maybe_namespace_elt. | |
6748 | (value_maybe_namespace_elt): New. | |
6749 | ||
87783b8b AC |
6750 | 2004-01-12 Andrew Cagney <[email protected]> |
6751 | ||
6752 | * mips-tdep.c (mips_convert_register_p): Handle both raw and | |
6753 | cooked floating-point registers. | |
6754 | (mips_gdbarch_init): Set convert_register_p, register_to_value, | |
6755 | and value_to_register. | |
6756 | ||
6503b91e AC |
6757 | 2004-01-13 Andrew Cagney <[email protected]> |
6758 | ||
6759 | * gdbarch.sh (FUNCTION_START_OFFSET): Make zero the default. | |
6760 | * gdbarch.c: Re-generate. | |
6761 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
6762 | FUNCTION_START_OFFSET. | |
6763 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
6764 | * sparc-tdep.c (sparc32_gdbarch_init): Ditto. | |
6765 | * sh64-tdep.c (sh64_gdbarch_init): Ditto. | |
6766 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
6767 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
6768 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
6769 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
6770 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
6771 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
6772 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
6773 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
6774 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
6775 | * m32r-tdep.c (m32r_gdbarch_init): Ditto. | |
6776 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
6777 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
6778 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
6779 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
6780 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
6781 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
6782 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
6783 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
6784 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
6785 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
6786 | ||
ea1dd7bc DJ |
6787 | 2004-01-13 Daniel Jacobowitz <[email protected]> |
6788 | ||
6789 | * infrun.c (follow_fork_mode_ask): Remove. | |
6790 | (follow_fork_mode_kind_names): Remove follow_fork_mode_ask. | |
6791 | (follow_fork): Simplify and remove internal error for | |
6792 | follow_fork_mode_ask. | |
6793 | (_initialize_infrun): Update "set follow-fork-mode" help text. | |
6794 | ||
0f0cffd2 AC |
6795 | 2004-01-13 Andrew Cagney <[email protected]> |
6796 | ||
6797 | * configure.in: Update copyright year. | |
6798 | (build_warnings): Add -Wunused-label. | |
6799 | * configure: Re-generate. | |
6800 | ||
de38af99 AC |
6801 | 2004-01-12 Andrew Cagney <[email protected]> |
6802 | ||
954a7fba AC |
6803 | * exec.h (exec_ops): Make "extern". |
6804 | ||
de38af99 AC |
6805 | * mips-tdep.c (mips_pseudo_register_read): Don't return a value, |
6806 | the function is void. | |
6807 | (mips_pseudo_register_write): Ditto. | |
6808 | ||
1a111ce3 AC |
6809 | 2004-01-12 Andrew Cagney <[email protected]> |
6810 | ||
6811 | * stack.c (frame_info): Delete DEPRECATED_PRINT_EXTRA_FRAME_INFO | |
6812 | call. Never defined. | |
6813 | * sparc-tdep.h (struct frame_info): Add opaque declaration. | |
6814 | * sparc64-tdep.h (struct gdbarch): Add opaque declaration. | |
6815 | (struct sparc_gregset, struct regcache): Ditto. | |
6816 | * sparc-nat.c: Update copyright. Specify "GNU/Linux". | |
6817 | ||
48efe704 AC |
6818 | 2004-01-12 Andrew Cagney <[email protected]> |
6819 | ||
6820 | * mi/ChangeLog: Delete file. Renamed to ... | |
6821 | * mi/ChangeLog-1999-2003: New file. | |
6822 | * tui/ChangeLog: Delete file. Renamed to ... | |
6823 | * tui/ChangeLog-1998-2003: New file. | |
fe61caab | 6824 | |
a54124c5 MK |
6825 | 2004-01-11 Mark Kettenis <[email protected]> |
6826 | ||
2ca62865 MK |
6827 | * sparc64nbsd-tdep.c: Include "regset.h". |
6828 | (sparc64nbsd_sizeof_struct_reg, sparc64nbsd_sizeof_struct_fpreg): | |
6829 | Remove variables. | |
6830 | (fetch_core_registers): Remove function. | |
6831 | (sparc64nbsd_core_fns): Remove variable. | |
6832 | (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): New | |
6833 | functions. | |
6834 | (sparc64nbsd_init_abi): Initialize TDEP->gregset, | |
6835 | TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset. | |
6836 | (_initialize_sparc64nbsd_tdep): Remove call to add_core_fns. | |
6837 | ||
ca9d58e9 MK |
6838 | * sparc-tdep.c (sparc32_extract_struct_value_address): Rename from |
6839 | sparc_extract_struct_value_address. | |
6840 | (sparc32_gdbarch_init): Set extract_struct_value_address. | |
6841 | * sparc64-tdep.c (sparc64_extract_struct_value_address): New | |
6842 | function. | |
6843 | (sparc64_init_abi): Set extract_struct_value_address. Don't set | |
6844 | return_value_on_stack. | |
6845 | ||
3cc87ec0 MK |
6846 | * NEWS: Mention that %cs and %ss have been added to the AMD64 |
6847 | configurations | |
6848 | ||
5bf00f29 MK |
6849 | * frame.c: Update copyright year. |
6850 | (get_prev_frame): Improve comment. | |
6851 | ||
4f7ec84e MK |
6852 | * sparc64fbsd-tdep.c: Include "regset.h". |
6853 | (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg): | |
6854 | Remove variables. | |
6855 | (fetch_core_registers): Remove function. | |
6856 | (sparc64fbsd_core_fns): Remove variable. | |
6857 | (sparc64fbsd_supply_gregset, sparc64fbsd_supply_fpregset): New | |
6858 | functions. | |
6859 | (sparc64fbsd_init_abi): Initialize TDEP->gregset, | |
6860 | TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset. | |
46b58ce9 | 6861 | (_initialize_sparc64fbsd_tdep): Remove call to add_core_fns. |
4f7ec84e | 6862 | |
4e7b0cd3 MK |
6863 | * sparcnbsd-tdep.c: Include "regset.h". |
6864 | (fetch_core_registers): Remove function. | |
6865 | (sparcnbsd_core_fns, sparcnbsd_elfcore_fns): Remove varaibles. | |
6866 | (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): New | |
6867 | functions. | |
6868 | (sparc32nbsd_init_abi): Initialize TDEP->gregset and | |
6869 | TDEP->fpregset. | |
46b58ce9 | 6870 | (_initialize_sparcnbsd_tdep): Remove calls to add_core_fns. |
4e7b0cd3 | 6871 | |
a54124c5 MK |
6872 | * sparc-tdep.h (struct regset): Provide opaque declaration. |
6873 | (struct gdbarch_tdep): Add gregset, sizeof_gregset, | |
6874 | fpregset and sizeof_fpregset members. | |
6875 | * sparc-tdep.c (struct regset): Provide opaque declaration. | |
6876 | (sparc_regset_from_core_section): New function. | |
6877 | (sparc32_gdbarch_init): Initialize TDEP->gregset, | |
6878 | TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_fpregset. | |
6879 | Set regset_from_core_section when appropriate. | |
6880 | ||
29ff87c5 MK |
6881 | 2004-01-10 Mark Kettenis <[email protected]> |
6882 | ||
79b1ab3d MK |
6883 | * x86-64-tdep.c (amd64_non_pod_p): New function. |
6884 | (amd64_classify_aggregate): Return class memory for non-POD | |
6885 | C++ structure types. | |
6886 | ||
6470d250 MK |
6887 | * x86-64-tdep.c (amd64_push_arguments): Add struct_return |
6888 | argument. Use it to reserve a register if necessary. | |
6889 | (amd64_push_dummy_call): Pass STRUCT_RETURN in call to | |
6890 | amd64_push_arguments. | |
6891 | ||
562c50c2 MK |
6892 | * x86-64-tdep.c (amd64_classify_aggregate): Ignore static fields. |
6893 | ||
af233647 MK |
6894 | * x86-64-tdep.c (amd64_register_info): Add %cs and %ss. Adjust |
6895 | register numbers in comments. | |
6896 | * x86-64-tdep.h: Update copyright year. | |
6897 | (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM): | |
6898 | Adjust for addition of %cs and %ss. | |
6899 | * amd64fbsd-nat.c: Update copyright year. | |
6900 | (reg_offset): Add register offsets for %cs and %ss. | |
6901 | * amd64fbsd-tdep.c: Update copyright year. | |
6902 | (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss. | |
6903 | (amd64fbsd_sc_reg_offset): Likewise. | |
6904 | * x86-64-linux-nat.c: Update copyright year. | |
6905 | (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs | |
6906 | and %ss. | |
6907 | * amd64nbsd-nat.c: Update copyright year. | |
6908 | (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss. | |
6909 | * amd64nbsd-tdep.c: Update copyright year. | |
6910 | (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss. | |
6911 | * x86-64-linux-tdep.c: Update copyright year. | |
6912 | (user_to_gdb_regmap): Add mapping for %cs and %ss. | |
6913 | (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss. | |
6914 | * regformats/reg-x86-64.dat: Add %cs and %ss. | |
6915 | ||
29ff87c5 MK |
6916 | * blockframe.c (inside_entry_func): Reformat. Introduce new local |
6917 | variables to prevent long lines. Update comments to reflect | |
6918 | reality. | |
6919 | ||
38d518c9 EZ |
6920 | 2004-01-09 David Carlton <[email protected]> |
6921 | ||
6922 | Checked in by Elena Zannoni <[email protected]>. | |
6923 | * dwarf2read.c (read_namespace): Pull out name-generating code | |
6924 | into namespace_name. Rename previous_namespace to previous_prefix | |
6925 | and processing_current_namespace to processing_current_prefix.. | |
6926 | (namespace_name): New function. | |
6927 | (add_partial_symbol): Substitute uses of pdi->name with | |
6928 | actual_name. | |
6929 | * cp-support.h: Rename processing_current_namespace to | |
6930 | processing_current_prefix. | |
6931 | Update copyright year. | |
6932 | * cp-namespace.c: Rename processing_current_namespace to | |
6933 | processing_current_prefix. | |
6934 | Update copyright year. | |
fe61caab | 6935 | |
1e4728e7 AC |
6936 | 2004-01-09 Andrew Cagney <[email protected]> |
6937 | ||
6938 | * jv-valprint.c, ser-unix.c: Add missing copyright years. | |
6939 | ||
c77c642a MK |
6940 | 2004-01-09 Mark Kettenis <[email protected]> |
6941 | ||
6942 | * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of | |
6943 | complaining. | |
6944 | (process_one_symbol): Deal with N_PATCH stabs. | |
6945 | ||
b44e9041 EZ |
6946 | 2004-01-09 Elena Zannoni <[email protected]> |
6947 | ||
6948 | * dwarf2read.c (read_array_type): Discard FORTRAN_HACK macro and | |
6949 | ifdeffed code. | |
6950 | Update copyright year. | |
38d518c9 | 6951 | |
eccfb640 MC |
6952 | 2004-01-08 Michael Chastain <[email protected]> |
6953 | ||
6954 | * config/pa/tm-hppa.h: Update extern declarations for | |
6955 | hppa32_hpux_frame_saved_pc_in_sigtramp, | |
6956 | hppa32_hpux_frame_base_before_sigtramp, and | |
6957 | hppa32_hpux_frame_find_saved_regs_in_sigtramp. | |
6958 | ||
848c5feb MC |
6959 | 2004-01-08 Michael Chastain <[email protected]> |
6960 | ||
6961 | * config/pa/tm-hppah.h: Update copyright years. | |
6962 | ||
3cc5d663 AC |
6963 | 2004-01-08 Andrew Cagney <[email protected]> |
6964 | ||
6965 | * mips-tdep.c (mips_n32n64_reg_struct_has_addr): Delete function. | |
6966 | (mips_o32_reg_struct_has_addr): Delete function. | |
6967 | (mips_gdbarch_init): Update. | |
6968 | (mips_extract_struct_value_address): Delete function. | |
6969 | ||
bfec0b41 JJ |
6970 | 2004-01-08 David Mosberger <[email protected]> |
6971 | ||
6972 | * ia64-linux-tdep.c: Update GATE_AREA_END value to reflect | |
6973 | reality. | |
6974 | ||
16e109ca AC |
6975 | 2004-01-07 Andrew Cagney <[email protected]> |
6976 | ||
6214a8a1 AC |
6977 | * mips-tdep.c (mips_gdbarch_init): Set elf_flags to the previous |
6978 | architecture's elf flags (when available). | |
6979 | ||
8d5838b5 AC |
6980 | * mips-tdep.c (mips_gdbarch_init): Move code determining the MIPS |
6981 | FPU to the start, check the MIPS FPU when looking for an old | |
6982 | architecture. | |
6983 | (set_mipsfpu_single_command): Update the architecture. | |
6984 | (set_mipsfpu_double_command, set_mipsfpu_none_command): Ditto. | |
6985 | ||
480d3dd2 AC |
6986 | * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Delete macro. |
6987 | (mips_mask_address_p): Add "tdep" parameter. | |
6988 | (show_mask_address, mips_addr_bits_remove): Update. | |
6989 | (mips_dump_tdep): Update. | |
6990 | (MIPS_DEFAULT_STACK_ARGSIZE): Delete macro. | |
6991 | (MIPS_STACK_ARGSIZE): Delete macro. | |
6992 | (mips_stack_argsize, mips_eabi_push_dummy_call): Update. | |
6993 | (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call): Update. | |
6994 | (mips_o64_push_dummy_call, mips_o32_return_value): Update. | |
6995 | (mips_dump_tdep): Update. | |
6996 | (MIPS_SAVED_REGSIZE): Delete macro. | |
6997 | (MIPS_DEFAULT_SAVED_REGSIZE): Delete macro. | |
6998 | (mips_saved_regsize, mips_eabi_use_struct_convention): Update. | |
6999 | (mips_eabi_reg_struct_has_addr, mips_find_saved_regs): Update. | |
7000 | (mips_frame_saved_pc, mips16_heuristic_proc_desc): Update. | |
7001 | (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call): Update. | |
7002 | (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update. | |
7003 | (mips_pop_frame, return_value_location): Update. | |
7004 | (mips_n32n64_return_value, mips_dump_tdep): Update. | |
7005 | ||
ec03c1ac AC |
7006 | * mips-tdep.c (mips_gdbarch_init): Clean up code selecting the |
7007 | MIPS ABI. | |
7008 | ||
16e109ca AC |
7009 | * mips-tdep.c: Update copyright. |
7010 | (mips_gdbarch_init): Merge two code blocks handling the register | |
7011 | name and number layout. | |
7012 | ||
15255275 MS |
7013 | 2004-01-02 Pawel Ostrowski <[email protected]> |
7014 | ||
7015 | * tracepoint.c (validate_actionline): Fix segv at EOF | |
7016 | ||
9f9057da MC |
7017 | 2004-01-07 Michael Chastain <[email protected]> |
7018 | ||
7019 | * hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME | |
7020 | properly for static fields. | |
7021 | ||
0127c0d3 | 7022 | 2004-01-06 Jeff Johnston <[email protected]> |
91562f53 | 7023 | Jason Molenda <[email protected]> |
0127c0d3 JJ |
7024 | |
7025 | * disasm.c: Update copyright to include 2004. | |
7026 | (do_mixed_source_and_assembly): For uiout asm list | |
7027 | and tuple cleanups, initialize to null_cleanup instead of | |
fe61caab | 7028 | NULL and do so prior to loop. Only reset when we close off |
0127c0d3 | 7029 | the tuple/list. Move check for whether to close off the |
fe61caab | 7030 | asm tuple/list to after dump_insns call where it will be run |
0127c0d3 JJ |
7031 | on each loop iteration. |
7032 | ||
5269965e AC |
7033 | 2004-01-05 Andrew Cagney <[email protected]> |
7034 | ||
54f1137d AC |
7035 | * ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED" |
7036 | should be a switch case and not a label. | |
7037 | * mips-tdep.c (mips32_next_pc): Delete unused labels | |
7038 | "greater_equal_branch" and "less_zero_branch". | |
7039 | * jv-valprint.c (java_print_value_fields): Delete unused label | |
7040 | "flush_it". | |
7041 | ||
5269965e AC |
7042 | * target.c (unpush_target): Only close a target that is in the |
7043 | target stack. | |
7044 | ||
dbc22fa1 MK |
7045 | 2004-01-05 Mark Kettenis <[email protected]> |
7046 | ||
9515395e MK |
7047 | * sparc-tdep.c (sparc_extract_struct_value_address): Get the |
7048 | address from [sp + 64] instead of %o2. | |
7049 | ||
dbc22fa1 MK |
7050 | * frame.c (get_prev_frame): Don't try to unwind the PC. This |
7051 | fixes PR backtrace/1476. | |
7052 | ||
5439edaa AC |
7053 | 2004-01-05 Andrew Cagney <[email protected]> |
7054 | ||
7055 | * libunwind-frame.h (struct frame_id): Add opaque declaration, | |
7056 | move to start of file. | |
7057 | * i386-tdep.h (struct regcache): Add opaque declaration. | |
7058 | * config/ia64/nm-linux.h (struct target_ops): Add opaque | |
7059 | declaration. | |
7060 | * ia64-tdep.c (ia64_find_proc_info_x): Do not use __FUNCTION__. | |
7061 | (ia64_gdbarch_init): Use "GNU/Linux" in comment. | |
7062 | * win32-nat.c (fake_create_process): Use ISO C style definition. | |
7063 | * stabsread.c (define_symbol): Delete #ifndef | |
7064 | DEPRECATED_USE_REGISTER_NOT_ARG wrapper around | |
7065 | stabs_argument_has_addr call, macro never defined. | |
7066 | ||
19061abe MC |
7067 | 2004-01-04 Michael Chastain <[email protected]> |
7068 | ||
7069 | * op50-rom.c: Delete. | |
7070 | * w89k-rom.c: Delete. | |
7071 | * Makefile.in: Remove references. | |
7072 | ||
e53bef9f MK |
7073 | 2004-01-04 Mark Kettenis <[email protected]> |
7074 | ||
7075 | * x86-64-tdep.c: Update copyright year. | |
7076 | (struct amd64_register_info): Rename from x86_64_register_info. | |
7077 | (amd64_register_info): Rename from x86_64_register_info. | |
7078 | (AMD64_NUM_REGS): Rename from X86_64_NUM_REGS. | |
7079 | (amd64_register_name): Rename from x86_64_register_name. | |
7080 | (amd64_register_type): Rename from x86_64_register_type. | |
7081 | (amd64_dwarf_regmap): Rename from x86_64_dwarf_regmap. | |
7082 | (amd64_dwarf_regmap_len): Rename from x86_64_dwarf_regmap_len. | |
7083 | (amd64_dwarf_reg_to_regnum): Rename from | |
7084 | x86_64_dwarf_reg_to_regnum. | |
7085 | (amd64_convert_register_p): Rename from x86_64_convert_register_p. | |
7086 | (amd64_push_dummy_call): Rename from x86_64_push_dummy_call. | |
7087 | (AMD64_NUM_SAVED_REGS): Rename from X86_64_NUM_SAVED_REGS. | |
7088 | (struct amd64_frame_cache): Renamed from x86_64_frame_cache. | |
7089 | (amd64_alloc_frame_cache): Renamed from x86_64_alloc_frame_cache. | |
7090 | (amd64_analyze_prologue): Rename from x86_64_analyze_prologue. | |
7091 | (amd64_skip_prologue): Rename from x86_64_skip_prologue. | |
7092 | (amd64_frame_cache): Rename from x86_64_frame_cache. | |
7093 | (amd64_frame_this_id): Rename from x86_64_frame_this_id. | |
7094 | (amd64_frame_prev_register): Rename from | |
7095 | x86_64_frame_prev_register. | |
7096 | (amd64_frame_unwind): Rename from x86_64_frame_unwind. | |
7097 | (amd64_frame_sniffer): Rename from x86_64_frame_sniffer. | |
7098 | (amd64_sigtramp_frame_cache): Rename from | |
7099 | x86_64_sigtramp_frame_cache. | |
7100 | (amd64_sigtramp_frame_prev_register): Rename from | |
7101 | x86_64_sigtramp_frame_prev_register. | |
7102 | (amd64_sigtramp_frame_unwind): Rename from | |
7103 | x86_64_sigtramp_frame_unwind. | |
7104 | (amd64_sigtramp_frame_sniffer): Rename from | |
7105 | x86_64_sigtramp_frame_sniffer. | |
7106 | (amd64_frame_base_address): Rename from x86_64_frame_base_address. | |
7107 | (amd64_frame_base): Rename from x86_64_frame_base. | |
7108 | (amd64_unwind_dummy_id): Rename from x86_64_unwind_dummy_id. | |
7109 | (amd64_frame_align): Rename from x86_64_frame_align. | |
7110 | (amd64_supply_fpregset): Rename from x86_64_supply_fpregset. | |
7111 | (amd64_regset_from_core_section): Rename from | |
7112 | x86_64_regset_from_core_section. | |
7113 | (x86_64_init_abi): Update comments. | |
7114 | ||
fca6aa58 NR |
7115 | 2004-01-04 Nick Roberts <[email protected]> |
7116 | ||
7117 | * MAINTAINERS (write after approval): Add myself. | |
7118 | ||
8ada74e3 MK |
7119 | 2004-01-04 Mark Kettenis <[email protected]> |
7120 | ||
7121 | * sparc64-tdep.c (sparc64_store_arguments): Fix handling of | |
7122 | `float' arguments. | |
7123 | ||
5154b0cd MK |
7124 | 2004-01-04 Mark Kettenis <[email protected]> |
7125 | ||
7126 | * sparc64-tdep.c (sparc64_store_floating_fields): Update comment | |
7127 | such that it mentions a specific version of GCC that exhibits this | |
7128 | bug. | |
7129 | ||
fb316966 MK |
7130 | 2004-01-03 Mark Kettenis <[email protected]> |
7131 | ||
200cc553 MK |
7132 | * sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a |
7133 | structure that has a single `float' member, store it in %f1 in | |
7134 | addition to %f0. | |
7135 | ||
e226a4a0 MK |
7136 | * sparc-sol2-nat.c: Add missing '\'. |
7137 | ||
b9d4c5ed MK |
7138 | * sparc-tdep.c (sparc32_return_value): New function. |
7139 | (sparc32_use_struct_convention, sparc32_return_value_on_stack): | |
7140 | Remove functions. | |
7141 | (sparc32_gdbarch_init): Set return_value, don't set | |
7142 | extract_return_value, store_return_value, use_struct_convention | |
7143 | and return_value_on_stack. | |
7144 | ||
fb316966 MK |
7145 | * sparc-sol2-nat.c: Add missing ')'. |
7146 | ||
1af510a8 JB |
7147 | 2004-01-03 J. Brobecker <[email protected]> |
7148 | ||
7149 | * infrun.c (handle_step_into_function): New function. | |
7150 | (handle_inferior_event): Extract out some code into the new | |
7151 | function above. | |
7152 | ||
5cf4d23a JB |
7153 | 2004-01-03 J. Brobecker <[email protected]> |
7154 | ||
7155 | * infrun.c (handle_inferior_event): Move the declaration of | |
7156 | real_stop_pc inside the if blocks where it is used. | |
7157 | ||
60af1db2 MK |
7158 | 2004-01-03 Mark Kettenis <[email protected]> |
7159 | ||
7160 | * sparc64-tdep.c (sparc64_16_byte_align_p) | |
7161 | (sparc64_store_floating_fields, sparc64_store_floating_fields): | |
7162 | Use check_typedef to get subtypes of structures and unions. | |
7163 | (sparc64_store_return_value): Fix calculation of the appropriate | |
7164 | offset into VALBUF when storing a structure or union. | |
7165 | (sparc64_return_value): New function. | |
7166 | (sparc64_use_struct_convention): Remove function. | |
7167 | (sparc64_init_abi): Set return_value, don't set | |
7168 | extract_return_value, store_return_value and | |
7169 | use_struct_convention. | |
7170 | ||
1a901d3f EZ |
7171 | 2004-01-03 Eli Zaretskii <[email protected]> |
7172 | ||
7173 | * config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS, | |
7174 | bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c, | |
7175 | gdb/config/alpha/xm-alphaosf.h, | |
7176 | gdb/config/powerpc/tm-ppcle-eabi.h, | |
7177 | gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001, | |
7178 | gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003, | |
7179 | gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in, | |
7180 | gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c, | |
7181 | gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c, | |
7182 | gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c, | |
7183 | gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c, | |
7184 | gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c, | |
7185 | gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c, | |
7186 | gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c, | |
7187 | gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp, | |
7188 | nclude/ChangeLog-9103, include/coff/ChangeLog-9103, | |
7189 | include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103, | |
7190 | opcodes/ChangeLog-0001, opcodes/ChangeLog-0203, | |
7191 | opcodes/openrisc-dis.c, opcodes/openrisc-desc.h, | |
7192 | sim/frv/profile-fr550.c, sim/frv/profile-fr550.h, | |
7193 | sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c, | |
7194 | sim/testsuite/sim/sh64/compact/ldsl-mach.cgs, | |
7195 | sim/testsuite/sim/sh64/compact/ldsl-macl.cgs, | |
7196 | sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and | |
7197 | sim/testsuite/sim/sh64/compact/stsl-macl.cgs. | |
7198 | Remove lines for .cvsignore files. | |
7199 | ||
ef52e463 JB |
7200 | 2004-01-03 J. Brobecker <[email protected]> |
7201 | ||
7202 | * infrun.c: Back out the previous change. | |
7203 | ||
cb1bf9dc MK |
7204 | 2004-01-03 Mark Kettenis <[email protected]> |
7205 | ||
f0424ef6 MK |
7206 | * NEWS: Mention revised SPARC target. Add sparc-*-lynxos* and |
7207 | sparc-*-sunos4* to the list of REMOVED configurations. | |
7208 | ||
cb1bf9dc MK |
7209 | * configure.tgt: Add back sparc-*-vxworks*. |
7210 | * remote-vxsparc.c: Remove all includes except for "defs.h", | |
7211 | "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h". | |
7212 | Include "sparc-tdep.h". | |
7213 | (SPARC_R_G1): New define. | |
7214 | (vxsparc_gregset): New variable. | |
7215 | (ext_format_sparc): Remove extern declaration. | |
7216 | (vx_read_register): Rewrite to use sparc32_supply_gregset and | |
7217 | sparc32_supply_fpregset. | |
7218 | (vx_write_register): Rewrite to use sparc32_collect_gregset, | |
7219 | sparc_collect_rwindow and sparc32_collect_fpregset. | |
7220 | * config/sparc/tm-vxworks.h: New file, based on recently removed | |
7221 | tm-vxsparc.h. | |
7222 | * config/sparc/vxworks.mt: New file, based on recently removed | |
7223 | vxworks.mt. | |
fe61caab | 7224 | |
5e938f9f JB |
7225 | 2004-01-03 J. Brobecker <[email protected]> |
7226 | ||
7227 | * infrun.c (handle_step_into_function): New function. | |
7228 | (handle_inferior_event): Extract out some code into the new | |
7229 | function above. | |
7230 | ||
386c036b MK |
7231 | 2004-01-02 Mark Kettenis <[email protected]> |
7232 | ||
7233 | * Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and | |
7234 | sparcl-tdep.c. Add sparc-linux-tdep.c, sparc-sol2-nat.c, | |
7235 | sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c, | |
7236 | sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c, | |
7237 | sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c, | |
7238 | sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c. | |
7239 | (sparc_nat_h): New variable. | |
7240 | (sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables. | |
7241 | (tm-sun4os4.h): Remove dependency. | |
7242 | (sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies. | |
7243 | (sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o, | |
7244 | sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o, | |
7245 | sparc-tdep.o): Update dependencies. | |
7246 | (sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o, | |
7247 | sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o, | |
7248 | sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New | |
7249 | dependencies. | |
7250 | * configure.host: Remove existing sparc-*-lynxos*, | |
7251 | sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*, | |
7252 | ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*, | |
7253 | sparcv9-*-* and sparc64-*-* triplets. Add new sparc64-*-linux*, | |
7254 | sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2* | |
7255 | triplets. | |
7256 | * configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*, | |
7257 | sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*, | |
7258 | sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*, | |
7259 | sparcv9-*-* and commented out sparc64-*-solars2* triplets. Add | |
7260 | new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*, | |
7261 | sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*, | |
7262 | sparc64-*-solaris2* and sparc64-*-* triplets. | |
7263 | * sparc64-tdep.c: Update copyright year. Include "inferior.h", | |
7264 | "symtab.h" and "objfiles.h". | |
7265 | (BIAS): Remove define. | |
7266 | (X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22) | |
7267 | (X_DISP19): Remove macros. | |
7268 | (sparc_fetch_instruction): Remove function. | |
7269 | (struct gdbarch_tdep): Remove definition. | |
7270 | (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE. | |
7271 | (sparc_breakpoint_from_pc): Remove function. | |
7272 | (struct sparc64_frame_cache): Remove definition. | |
7273 | (sparc64_alloc_frame_cache, sparc64_analyze_prologue, | |
7274 | sparc64_unwind_pc): Remove functions. | |
7275 | (sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of | |
7276 | `struct sparc64_frame_cache. Call sparc_analyze_prologue instead | |
7277 | of sparc64_analyze_prologue. Mark constant as ULL instead of UL. | |
7278 | (sparc64_frame_cache): Change return type to `struct | |
7279 | sparc_frame_cache *'. Simply call sparc_frame_cache. | |
7280 | (sparc64_frame_this_id, sparc64_frame_prev_register, | |
7281 | sparc64_frame_base_address): Use `struct sparc_frame_cache' | |
7282 | instead of `struct sparc64_frame_cache. | |
7283 | (sparc_unwind_dummy_id, sparc_extract_struct_value_address, | |
7284 | sparc_analyze_control_transfer, sparc_software_single_step, | |
7285 | sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow, | |
7286 | _initialize_sparc64_tdep): Remove functions. | |
7287 | (TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros. | |
7288 | (PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New | |
7289 | macros. | |
7290 | (sparc64_supply_gregset, sparc64_collect_gregset, | |
7291 | sparc64_supply_fpregset, sparc64_collect_fpregset): New functions. | |
7292 | (sparc64_init_abi): New function. | |
7293 | * sparc64-tdep.h: Update copyright year. Fix typo in multiple | |
7294 | inclusion guard. Include "sparc-tdep.h". | |
7295 | (BIAS): Define. | |
7296 | (r_tstate_offset, r_fprs_offset): New defines. | |
7297 | (enum sparc_regnum): Remove defenition. | |
7298 | (enum sparc64_regnum): Reformat. | |
7299 | (sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes. | |
7300 | (sparc64_init_abi, sparc64_supply_gregset, | |
7301 | sparc64_collect_gregset, sparc64_supply_fpregset, | |
7302 | sparc64_collect_fpregset): New prototypes. | |
7303 | (sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset): | |
7304 | Add extern declarations. | |
7305 | (sparc64_sol2_init_abi): New prototype. | |
7306 | (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg) | |
7307 | (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove | |
7308 | prototypes. | |
7309 | * sparc64fbsd-nat.c: Include "sparc-nat.h", don't include | |
7310 | "sparnbsd-nat.h". | |
7311 | (sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove | |
7312 | functions. | |
7313 | (_initialize_sparc64fbsd_nat): Remove initialization of | |
7314 | sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg, | |
7315 | sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p, | |
fe61caab | 7316 | sparcbsd_fpreg_supplies_p. Initialize sparc_gregset. |
386c036b MK |
7317 | * sparc64fbsd-tdep.c: Update copyright year. Include "frame.h", |
7318 | "frame-unwind.h", "trad-frame.h" and "gdb_assert.h". | |
7319 | (sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset) | |
7320 | (sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset) | |
7321 | (sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset) | |
7322 | (sparc64fbsd_r_y_offset): Remove variables. | |
7323 | (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg): | |
7324 | Make static and const. | |
7325 | (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg) | |
7326 | (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove | |
7327 | functions. | |
7328 | (sparc64fbsd_gregset): New variable. | |
7329 | (fetch_core_registers): Replace calls to sparc64fbsd_supply_reg | |
7330 | and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset | |
7331 | and sparc64_supply_fpregset. | |
7332 | (sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache) | |
7333 | (sparc64fbsd_sigtramp_frame_this_id) | |
7334 | (sparc64fbsd_sigtramp_frame_prev_register): New functions. | |
7335 | (sparc64fbsd_sigtramp_frame_unwind): New variable. | |
7336 | (sparc64fbsd_sigtramp_frame_sniffer): New function. | |
7337 | (sparc64fbsd_init_abi): Set pc_in_sigtramp, append | |
7338 | sparc64fbsd_sigtramp_frame_sniffer. Call sparc64_init_abi. | |
7339 | * sparcnbsd-tdep.c: Update copyright year. Include | |
7340 | "floatformat.h", "frame.h", "frame-unwind.h", "symtab.h", | |
7341 | "trad-frame.h" and "gdb_assert.h", don't include "target.h", | |
7342 | "value.h" and "sparcnbsd-tdep.h". | |
7343 | (REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC) | |
7344 | (REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT) | |
7345 | (REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC) | |
7346 | (REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove | |
7347 | defines. | |
7348 | (sparcnbsd_gregset): New variable. | |
7349 | (sparcnbsd_supply_reg32, sparcnbsd_supply_reg64) | |
7350 | (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64) | |
7351 | (sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64) | |
7352 | (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions. | |
7353 | (sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New | |
7354 | variables. | |
7355 | (sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache) | |
7356 | (sparc32nbsd_sigcontext_frame_this_id) | |
7357 | (sparc32nbsd_sigcontext_frame_prev_register): New functions. | |
7358 | (sparc32nbsd_sigcontext_frame_unwind): New variable. | |
7359 | (sparc32nbsd_sigtramp_frame_sniffer): New function. | |
7360 | (sparcnbsd_get_longjmp_target_32, | |
7361 | sparcnbsd_get_longjmp_target_64): Remove functions. | |
7362 | (sparcnbsd_aout_in_solib_call_trampoline): Rewrite. | |
7363 | (sparcnbsd_init_abi_common, sparcnbsd_init_aout, | |
7364 | sparcnbsd_init_elf): Remove. | |
7365 | (sparcnbsd_init_abi, sparcnbsd_aout_init_abi) | |
7366 | (sparcnbsd_elf_init_abi): New functions. | |
7367 | (_initialize_sparcnbsd_tdep): New prototype. | |
7368 | (_initialize_sparnbsd_tdep): Update. | |
7369 | * config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and | |
7370 | corelow.o. Add sparc64-nat.o and sparc-nat.o. | |
7371 | * config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o. | |
7372 | * config/sparc/linux.mh: Update comment. | |
7373 | (XM_FILE, HOST_IPC): Remove variables. | |
7374 | (NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o. Remove | |
7375 | sparc-linux-nat.o. | |
7376 | * config/sparc/linux.mt: Update comment. | |
7377 | (TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o. | |
7378 | * config/sparc/nbsd.mt: Reformat. | |
7379 | * config/sparc/nbsd64.mh: Update comment. | |
7380 | (NATDEPFILES): Add sparc-nat.o. | |
7381 | * config/sparc/nbsd64.mt: Update comment. | |
7382 | (TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o. | |
7383 | (TM_FILE): Set to tm-nbsd.h. | |
7384 | * config/sparc/nbsdelf.mh: Update comment. | |
7385 | (NATDEPFILES): Add sparc-nat.o. | |
7386 | (XM_FILE): Delete. | |
7387 | * config/sparc/nbsdaout.mh: Update comment. | |
7388 | (NATDEPFILES): Add sparc-nat.o | |
7389 | (XM_FILE): Delete. | |
7390 | * config/sparc/nm-linux.h: Update copyright year. Don't include | |
7391 | "config/nm-svr4.h" and "solib.h". Add protection against multiple | |
7392 | inclusion. | |
7393 | (KERNEL_U_SIZE): Remove define. | |
7394 | (kernel_u_size): Remove prototype. | |
7395 | (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define. | |
7396 | * config/sparc/nm-nbsd.h: Update copyright. Don't include | |
7397 | "regcache.h". | |
7398 | (CHILD_PREPARE_TO_STORE): Remove define. | |
7399 | * config/sparc/nm-nbsdaout.h: Tweak some comments. | |
7400 | * sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c, | |
7401 | sparcnbsd-nat.c: Rewrite files. | |
7402 | * config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files. | |
7403 | * sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h, | |
7404 | sparcnbsd-tdep.h: Remove files. | |
7405 | * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h, | |
7406 | config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt, | |
7407 | config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt, | |
7408 | config/sparc/sparc-em.mt, config/sparc/sparclynx.mh, | |
7409 | config/sparc/sparclynx.mt, config/sparc/sun4os4.mh, | |
7410 | config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh, | |
7411 | config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h, | |
7412 | config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h, | |
7413 | config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h, | |
7414 | config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h, | |
7415 | config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt, | |
7416 | config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files. | |
7417 | * sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c, | |
7418 | sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c, | |
7419 | sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files. | |
7420 | * config/sparc/linux64.mh, config/sparc/linux64.mt, | |
7421 | config/sparc/nm-sol2.h, config/sparc/sol2-64.mt, | |
7422 | config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt, | |
7423 | config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files. | |
7424 | ||
ee84457a AC |
7425 | 2004-01-02 Andrew Cagney <[email protected]> |
7426 | ||
7427 | From 2003-12-18 Kazuhiro Inaoka: | |
7428 | * configure.host: Add m32r-linux target. | |
7429 | ||
0bc2134e MC |
7430 | 2004-01-02 Michael Chastain <[email protected]> |
7431 | ||
7432 | * top.c (print_gdb_version): Update year to 2004. | |
7433 | ||
89a72f9c MM |
7434 | 2004-01-02 Mark Mitchell <[email protected]> |
7435 | ||
7436 | * MAINTAINERS: Add myself to the write-after-approval category. | |
7437 | ||
86b013ed DJ |
7438 | 2004-01-02 Daniel Jacobowitz <[email protected]> |
7439 | ||
7440 | From Bernardo Innocenti <[email protected]>: | |
7441 | * configure.tgt: Add uClinux target. | |
7442 | ||
e42c9534 AC |
7443 | 2004-01-02 Andrew Cagney <[email protected]> |
7444 | ||
7445 | * utils.c (do_my_cleanups): Make static, add forward declaration. | |
7446 | * defs.h (do_my_cleanups): Delete declaration. | |
7447 | ||
162467d3 EZ |
7448 | 2004-01-02 Eli Zaretskii <[email protected]> |
7449 | ||
7450 | * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and | |
7451 | bfd/ChangeLog-0203. | |
7452 | ||
78434e59 MK |
7453 | 2004-01-02 Mark Kettenis <[email protected]> |
7454 | ||
7455 | * configure.in: Check for <machine/reg.h>. Check for `struct reg' | |
7456 | in <machine/reg.h>. | |
7457 | * configure, config.in: Regenerate. | |
7458 | ||
48efe704 AC |
7459 | For older changes see ChangeLog-2003, mi/ChangeLog-1999-2003, and |
7460 | tui/ChangeLog-1998-2003. | |
c906108c SS |
7461 | \f |
7462 | Local Variables: | |
7463 | mode: change-log | |
7464 | left-margin: 8 | |
7465 | fill-column: 74 | |
7466 | version-control: never | |
7467 | End: |