]>
Commit | Line | Data |
---|---|---|
b9fbf434 AC |
1 | 2003-09-19 Andrew Cagney <[email protected]> |
2 | ||
3 | * config/pa/nm-hppah.h (NEED_TEXT_START_END): Delete. | |
4 | (DEPRECATED_HPUX_TEXT_END): Define. | |
5 | (deprecated_hpux_text_end): Declare. | |
6 | (struct target_ops): Declare opaque. | |
7 | * hppah-nat.c (text_end): Make static. | |
8 | (deprecated_hpux_text_end): New function. | |
9 | * exec.c (text_end): Delete global variable. | |
10 | (NEED_TEXT_START_END): Do not define. | |
11 | (exec_file_attach): Replace code computing "text_end" code with | |
12 | call to DEPRECATED_HPUX_TEXT_END. | |
13 | ||
5b03f266 AC |
14 | 2003-09-19 Andrew Cagney <[email protected]> |
15 | ||
16 | * utils.c (align_up, align_down): New functions. | |
17 | * defs.h (align_up, align_down): Declare. | |
18 | * ppc-sysv-tdep.c (align_up, align_down): Delete functions. | |
19 | * s390-tdep.c: Replace "round_up" and "round_down" with "align_up" | |
20 | and "align_down". | |
21 | (round_up, round_down): Delete functions. | |
22 | * mips-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and | |
23 | "align_down". | |
24 | (ROUND_DOWN, ROUND_UP): Delete macros. | |
25 | (mips_dump_tdep): Do not print "ROUND_UP" or "ROUND_DOWN". | |
26 | * h8300-tdep.c: Replace "round_up" and "round_down" with | |
27 | "align_up" and "align_down". | |
28 | (round_up, round_down): Delete macros. | |
29 | * frv-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and | |
30 | "align_down". | |
31 | (ROUND_UP, ROUND_DOWN): Delete macros. | |
32 | ||
51db5742 JB |
33 | 2003-09-18 J. Brobecker <[email protected]> |
34 | ||
35 | * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Remove a | |
36 | hard-coded constant. Use the proper machine name instead. | |
37 | ||
77949794 AC |
38 | 2003-09-17 Andrew Cagney <[email protected]> |
39 | ||
40 | * sparc-tdep.c (legacy_register_name): Delete function. | |
41 | * mips-tdep.c (mips_dump_tdep): Do not print REGISTER_NAME. | |
42 | (mips_gdbarch_init): Refer to MIPS_REGISTER_NAME in comments. | |
43 | * infcmd.c (gdb_register_name): Delete variable. | |
44 | * gdbarch.sh (SDB_REG_TO_REGNUM): Delete reference to | |
45 | REGISTER_NAME and "tm.h". | |
46 | * gdbarch.h, gdbarch.c: Regenerate. | |
47 | * dpx2-nat.c (regmap): Refer to REGISTER_NAME and not | |
48 | REGISTER_NAMES in comments. | |
49 | * remote-st.c (get_reg_name), i386b-nat.c (tregmap): Ditto. | |
50 | * m68klinux-nat.c (regmap): Ditto. | |
51 | ||
b55c33cc JB |
52 | 2003-09-17 Jim Blandy <[email protected]> |
53 | ||
54 | * Makefile.in (dis_asm_h): Note that this #includes "bfd.h". | |
55 | ||
957e27ac AC |
56 | 2003-09-17 Andrew Cagney <[email protected]> |
57 | ||
58 | * ppcnbsd-tdep.c (ppcnbsd_use_struct_convention): New function. | |
59 | (ppcnbsd_init_abi): Set "use_struct_convention" to | |
60 | "ppcnbsd_use_struct_convention". | |
61 | ||
192cb3d4 MK |
62 | 2003-09-17 Mark Kettenis <[email protected]> |
63 | ||
64 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment. | |
65 | * gdbarch.h, gdbarch.c: Regenerate. | |
66 | (stabs_argument_has_addr): New architecture method. | |
67 | * arch-utils.h (default_stabs_argument_has_addr): New prototype. | |
68 | * arch-utils.c: Include "buildsym.h". | |
69 | (default_stabs_argument_has_addr): New function. | |
70 | * stabsread.c (define_symbol): Use stabs_argument_has_addr | |
71 | instead of DEPRECATED_REG_STRUCT_HAS_ADDR. | |
72 | ||
efe59759 AC |
73 | 2003-09-17 Andrew Cagney <[email protected]> |
74 | ||
75 | * gdbarch.sh (DEPRECATED_NPC_REGNUM): Deprecate NPC_REGNUM. | |
76 | * gdbarch.h, gdbarch.c: Regenerate. | |
77 | * core-sol2.c, hppa-tdep.c, lynx-nat.c, procfs.c: Update. | |
78 | * regcache.c, remote-vxsparc.c, sparc-linux-nat.c: Update. | |
79 | * sparc-nat.c, sparc-tdep.c, sparc64-tdep.c: Update. | |
80 | * sparcnbsd-tdep.c: Update. | |
81 | ||
62700349 AC |
82 | 2003-09-17 Andrew Cagney <[email protected]> |
83 | ||
84 | * gdbarch.sh (DEPRECATED_REGISTER_BYTE): Rename REGISTER_BYTE. | |
85 | * gdbarch.h, gdbarch.c: Regenerate. | |
86 | * arm-linux-tdep.c, core-sol2.c, cris-tdep.c: Update. | |
87 | * d10v-tdep.c, frame.c: Update. | |
88 | * hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update. | |
89 | * hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update. | |
90 | * ia64-linux-nat.c, irix5-nat.c, lynx-nat.c, m68knbsd-nat.c: Update. | |
91 | * mcore-tdep.c, mips-linux-tdep.c, mips-tdep.c: Update. | |
92 | * mipsv4-nat.c, mn10300-tdep.c, ns32k-tdep.c: Update. | |
93 | * ns32knbsd-nat.c, ppc-bdm.c, regcache.c, remote-sds.c: Update. | |
94 | * remote-vx68.c, remote-vxmips.c, remote-vxsparc.c: Update. | |
95 | * remote.c, rs6000-tdep.c, s390-tdep.c, sh64-tdep.c: Update. | |
96 | * sparc-nat.c, sparc-tdep.c, sun3-nat.c, v850-tdep.c: Update. | |
97 | * v850ice.c, vax-tdep.c, xstormy16-tdep.c: Update. | |
98 | * config/m68k/tm-cisco.h, config/m68k/tm-delta68.h: Update. | |
99 | * config/pa/nm-hppah.h: Update. | |
100 | ||
b9ff3018 AC |
101 | 2003-09-16 Andrew Cagney <[email protected]> |
102 | ||
103 | * ppc-linux-tdep.c (ppc_linux_init_abi): Set the 32 bit | |
104 | "use_struct_convention" to "ppc_linux_use_struct_convention". | |
105 | (ppc_linux_use_struct_convention): New function. | |
106 | * rs6000-tdep.c (rs6000_use_struct_convention): New function. | |
107 | (rs6000_gdbarch_init): For AIX, set "use_struct_convention" to | |
108 | "rs6000_use_struct_convention". | |
109 | * ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Delete | |
110 | declaration. | |
111 | * ppc-sysv-tdep.c (ppc_sysv_abi_broken_use_struct_convention): | |
112 | Delete function. | |
113 | ||
aa1ee363 AC |
114 | 2003-09-16 Andrew Cagney <[email protected]> |
115 | ||
116 | * buildsym.c: Remove more occurances of "register". | |
117 | * coffread.c, dbxread.c, dcache.c, dwarf2read.c: Ditto. | |
118 | * environ.c, eval.c, f-valprint.c, findvar.c: Ditto. | |
119 | * gdbtypes.c, gnu-v2-abi.c, h8300-tdep.c, hppa-tdep.c: Ditto. | |
120 | * infcmd.c, mdebugread.c, minsyms.c, mips-tdep.c: Ditto. | |
121 | * printcmd.c, remote-vx.c, sh-stub.c, sh-tdep.c: Ditto. | |
122 | * sh64-tdep.c, source.c, stabsread.c, stack.c: Ditto. | |
123 | * standalone.c, symfile.c, symmisc.c, symtab.c: Ditto. | |
124 | * utils.c, valops.c, values.c, xcoffread.c: Ditto. | |
125 | ||
f2ea0907 CV |
126 | 2003-09-16 Corinna Vinschen <[email protected]> |
127 | ||
128 | * sh-tdep.h (struct gdbarch_tdep): Remove. Change all register | |
129 | numbers to enumeration values. | |
130 | * sh-tdep.c: Accomodate above change. | |
131 | (SH_NUM_REGS): Rename from SH_DEFAULT_NUM_REGS. | |
132 | (NUM_PSEUDO_REGS_SH_MEDIA): Remove (sh5 only). | |
133 | (NUM_PSEUDO_REGS_SH_COMPACT): Remove (sh5 only). | |
134 | (IS_ADD_IMM_SP): Rename from IS_ADD_SP. | |
135 | (IS_FPUSH): Rename from IS_FMOV. | |
136 | (sh_extract_struct_value_address): Remove useless comment. | |
137 | (sh_dsp_register_sim_regno): Use register values from sh-tdep.h | |
138 | instead of own local values. | |
139 | (sh_dump_tdep): Remove. | |
140 | (_initialize_sh_tdep): Accomodate removing sh_dump_tdep. | |
141 | * sh3-rom.c (sh3_supply_register): Accomodate sh-tdep.h changes. | |
142 | ||
1c704f11 AC |
143 | 2003-09-15 Andrew Cagney <[email protected]> |
144 | ||
145 | * doublest.c (convert_floatformat_to_doublest): No longer need to | |
146 | cast "exp_bias" to an int. Reverts 2002-12-04 change. | |
147 | ||
ac79b88b DJ |
148 | 2003-09-15 Daniel Jacobowitz <[email protected]> |
149 | ||
150 | * values.c (unpack_double): Call floatformat_is_valid. | |
151 | ||
1c671366 MK |
152 | 2003-09-15 Mark Kettenis <[email protected]> |
153 | ||
de5227fb MK |
154 | * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Change type of |
155 | ps_strings into a long. | |
156 | ||
1c671366 MK |
157 | * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Rename from |
158 | _initialize_am64fbsd_nat. | |
159 | ||
a604369a KB |
160 | 2003-09-15 Kevin Buettner <[email protected]> |
161 | ||
162 | * dwarf2read.c (dwarf2_get_pc_bounds): Complain if offset | |
163 | associated with DW_AT_ranges attribute is out of bounds. | |
164 | ||
b3cacbee DL |
165 | 2003-09-15 David Lecomber <[email protected]> |
166 | ||
167 | * f-valprint.c: Apply array element printing limits to multi-dimensional arrays | |
168 | ||
d0f37bb2 MC |
169 | 2003-09-14 Michael Chastain <[email protected]> |
170 | ||
171 | * config/m68k/nm-apollo68v.h: Delete. | |
172 | * config/m68k/xm-apollo68v.h: Delete. | |
173 | ||
69517000 AC |
174 | 2003-09-14 Andrew Cagney <[email protected]> |
175 | ||
176 | * rs6000-tdep.c (rs6000_push_dummy_call): Fix typos. | |
177 | * dcache.c: Update copyrights and descriptions. | |
178 | * scm-exp.c, ia64-aix-nat.c, hppam3-nat.c: environ.c: Ditto. | |
179 | ||
ef8b349d AC |
180 | 2003-09-14 Andrew Cagney <[email protected]> |
181 | ||
182 | * config/djgpp/fnchange.lst: Rename "amd64fbsd-tdep.c" and | |
183 | "amd64fbsd-nat.c" to "a64fb-tdep.c" and "a64fb-nat.c". | |
184 | ||
52f0bd74 AC |
185 | 2003-09-14 Andrew Cagney <[email protected]> |
186 | ||
187 | * alpha-nat.c: Remove some occurances of "register". | |
188 | * alpha-tdep.c, arm-tdep.c, blockframe.c, breakpoint.c: Ditto. | |
189 | * buildsym.c, c-typeprint.c, c-valprint.c, coffread.c: Ditto. | |
190 | * corefile.c, cp-support.c, cp-valprint.c, cris-tdep.c: Ditto. | |
191 | * dbxread.c, dcache.c, dwarf2read.c, elfread.c: Ditto. | |
192 | * environ.c, eval.c, event-top.c, f-typeprint.c: Ditto. | |
193 | * f-valprint.c, findvar.c, frame.c, gdbtypes.c: Ditto. | |
194 | * h8300-tdep.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c: Ditto. | |
195 | * hppam3-nat.c, hpread.c, ia64-aix-nat.c, ia64-linux-nat.c: Ditto. | |
196 | * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Ditto. | |
197 | * infttrace.c, irix5-nat.c, jv-typeprint.c: Ditto. | |
198 | * jv-valprint.c, m68k-tdep.c, m68klinux-nat.c, main.c: Ditto. | |
199 | * mdebugread.c, minsyms.c, mips-linux-tdep.c: Ditto. | |
200 | * mips-nat.c, mips-tdep.c, mipsread.c, mipsv4-nat.c: Ditto. | |
201 | * ns32k-tdep.c, objfiles.c, p-typeprint.c: Ditto. | |
202 | * p-valprint.c, ppc-linux-nat.c, printcmd.c: Ditto. | |
203 | * remote-mips.c, remote-vx.c, rs6000-nat.c: Ditto. | |
204 | * rs6000-tdep.c, scm-exp.c, sh-tdep.c, sh64-tdep.c: Ditto. | |
205 | * solib.c, somread.c, source.c, sparc-tdep.c: Ditto. | |
206 | * stabsread.c, stack.c, standalone.c, symfile.c: Ditto. | |
207 | * symmisc.c, symtab.c, top.c, tracepoint.c: Ditto. | |
208 | * typeprint.c, utils.c, valarith.c, valops.c: Ditto. | |
209 | * values.c, vax-tdep.c, xcoffread.c: Ditto. | |
210 | ||
4a4b3fed AC |
211 | 2003-09-13 Andrew Cagney <[email protected]> |
212 | ||
213 | * config/pa/tm-hppa64.h (struct frame_info): Declare opaque. | |
214 | * ppc-tdep.h (struct regcache): Declare opaque. | |
215 | * objfiles.h (struct objfile_data): Declare opaque. | |
216 | * cp-support.h (struct objfile): Declare opaque. | |
217 | * linux-nat.h (target_waitstatus): Declare opaque. | |
218 | ||
2110b94f MK |
219 | 2003-09-14 Mark Kettenis <[email protected]> |
220 | ||
1c671366 MK |
221 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment. |
222 | (stabs_argument_has_addr): New architecture method. | |
223 | * arch-utils.h (default_stabs_argument_has_addr): New prototype. | |
224 | * arch-utils.c: Include "buildsym.h". | |
225 | (default_stabs_argument_has_addr): New function. | |
226 | * stabsread.c (define_symbol): Use stabs_argument_has_addr | |
227 | instead of DEPRECATED_REG_STRUCT_HAS_ADDR. | |
228 | ||
2110b94f MK |
229 | * cris-tdep.c (cris_gdbarch_init): Set |
230 | deprecated_reg_struct_has_addr instead of reg_struct_has_addr. | |
231 | * hppa-tdep.c (hppa_gdbarch_init): Likewise. | |
232 | * mcore-tdep.c (mcore_gdbarch_init): Likewise. | |
233 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
234 | * mn10300-tdep.c (mn10300_gdbarch_init): Likewise. | |
235 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
236 | ||
48436ce6 AC |
237 | 2003-09-13 Andrew Cagney <[email protected]> |
238 | ||
239 | * values.c (using_struct_return): Delete "function" and "funcaddr" | |
240 | parameters. | |
241 | * value.h (using_struct_return): Update declaration. | |
242 | * infcmd.c (finish_command_continuation): Update. | |
243 | (finish_command): Update. | |
244 | * infcall.c (call_function_by_hand): Update. | |
245 | * eval.c (evaluate_subexp_standard): Update. | |
246 | ||
403d9909 CF |
247 | 2003-09-13 Christopher Faylor <[email protected]> |
248 | ||
249 | * win32-nat.c: Just rely on CONTEXT_EXTENDED_REGISTER being defined for | |
250 | SSE registers since gdb will not operate correctly without this. | |
251 | Restore include file ordering munged in previous change. | |
252 | * config/i386/tm-cygwin.h: Remove HAVE_SSE_REGS define. | |
253 | ||
ebf7d56b MK |
254 | 2003-09-13 Mark Kettenis <[email protected]> |
255 | ||
8e823e25 MK |
256 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Renamed from |
257 | REG_STRUCT_HAS_ADDR. | |
258 | * gdbarch.c, gdbarch.h: Updated. | |
259 | * infcall.c (call_function_by_hand): Update. | |
260 | * stabsread.c (define_symbol): Updated. | |
261 | ||
ebf7d56b MK |
262 | * Makefile.in (xm-i386-sv32.h, tm-i386gas.h): Remove. |
263 | ||
d3f13f72 CF |
264 | 2003-09-12 Christopher Faylor <[email protected]> |
265 | ||
266 | * win32-nat.c: Reorganize so that defines used by target headers are | |
267 | actually defined by the system headers. | |
268 | * config/i386/tm-cygwin.h: Check for CONTEXT_EXTENDED_REGISTERS rather | |
269 | than HAVE_CONTEXT_EXTENDED_REGISTERS, since the latter actually exists. | |
270 | ||
14f75137 JB |
271 | 2003-09-12 Jim Blandy <[email protected]> |
272 | ||
d646061f JB |
273 | * dbxread.c (read_dbx_symtab): Don't report an internal error if |
274 | the file has no .data, .bss, or .rodata sections. Instead wait | |
275 | until we see a variable alleged to live in one of those sections. | |
276 | ||
2a13f9bc JB |
277 | * dbxread.c (read_dbx_symtab): If we have no .data section and no |
278 | .bss section, presume that any variables we find live in the | |
279 | .rodata section. | |
280 | ||
4f49b26b JB |
281 | * dbxread.c (read_dbx_symtab): Add FIXME about finding section |
282 | offsets for global and static variables. | |
283 | ||
14f75137 JB |
284 | * dbxread.c (read_dbx_symtab): The N_DATA and N_DATA | N_EXT |
285 | symbol types are, by definition, in the .data section, so it is | |
286 | correct to use SECT_OFF_DATA (objfile) here, not data_sect_index. | |
287 | If there is no .data section, there should be no N_DATA or N_DATA | |
288 | | N_EXT symbols. | |
289 | ||
212c460c MK |
290 | 2003-09-12 Mark Kettenis <[email protected]> |
291 | ||
292 | * amd64fbsd-tdep.c: Fix sigtramp recognition. | |
293 | (amd64fbsd_sigcontext_addr): Rewrite. | |
294 | (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end): Initialize | |
295 | with correct values. | |
296 | (amd64fbsd_sc_reg_offset): Initialize with correct values. | |
297 | (amd64fbsd_init_abi): Fix typo. | |
298 | ||
68856ea3 AC |
299 | 2003-09-12 Andrew Cagney <[email protected]> |
300 | ||
301 | * ppc-sysv-tdep.c (align_up, align_down): Replace "round2" macro. | |
302 | (ppc_sysv_abi_push_dummy_call): Rewrite, use a two pass loop. | |
303 | ||
627b3ba2 AC |
304 | 2003-09-12 Andrew Cagney <[email protected]> |
305 | ||
306 | * objfiles.h (struct entry_info): Deprecate "entry_file_lowpc" and | |
307 | "entry_file_highpc". Update comments. | |
308 | * defs.h (deprecated_inside_entry_file): Rename | |
309 | "inside_entry_file". | |
310 | * blockframe.c (deprecated_inside_entry_file): Rename | |
311 | "inside_entry_file". | |
312 | * frame.c (get_prev_frame): Update. Use if 0 instead of #if 0. | |
313 | * vax-tdep.c (vax_frame_chain): Update. | |
314 | * sh64-tdep.c (sh64_frame_chain): Update. | |
315 | * sh-tdep.c (sh_frame_chain): Update. | |
316 | * rs6000-tdep.c (rs6000_frame_chain): Update. | |
317 | * ns32k-tdep.c (ns32k_frame_chain): Update. | |
318 | * mips-tdep.c (mips_frame_chain): Update. | |
319 | * m68hc11-tdep.c (m68hc11_frame_this_id): Update. | |
320 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
321 | * i386-interix-tdep.c (i386_interix_frame_chain_valid): Update. | |
322 | * frv-tdep.c (frv_frame_this_id): Update. | |
323 | * d10v-tdep.c (d10v_frame_this_id): Update. | |
324 | * cris-tdep.c (cris_frame_chain): Update. | |
325 | * blockframe.c (legacy_frame_chain_valid): Update. | |
326 | * avr-tdep.c (avr_frame_this_id): Update. | |
327 | * arm-tdep.c (arm_prologue_this_id): Update. | |
328 | * alpha-tdep.c (alpha_heuristic_frame_this_id): Update. | |
329 | * objfiles.c (objfile_relocate): Update. | |
330 | * mipsread.c (mipscoff_symfile_read): Update. | |
331 | (mipscoff_symfile_read): Update. | |
332 | * mdebugread.c (parse_partial_symbols): Update. | |
333 | * dwarfread.c (read_file_scope): Update. | |
334 | * dwarf2read.c (read_file_scope): Update. | |
335 | * dbxread.c (read_dbx_symtab): Update. | |
336 | (read_dbx_symtab): Update. | |
337 | * coffread.c (complete_symtab): Update. | |
338 | ||
b0abbc58 JJ |
339 | 2003-09-12 Jeff Johnston <[email protected]> |
340 | ||
341 | * top.c (quit_target): New static helper function. | |
342 | (quit_force): Moved code to quit_target(). Call quit_target() | |
343 | via catch_errors() to catch errors during quit. | |
344 | ||
a1632d59 DC |
345 | 2003-09-11 David Carlton <[email protected]> |
346 | ||
347 | * buildsym.c (finish_block): Use allocate_block to allocate the | |
348 | block. | |
349 | * mdebugread.c (new_block): Add FIXME. | |
350 | ||
5c4e30ca DC |
351 | 2003-09-11 David Carlton <[email protected]> |
352 | ||
353 | * gdbtypes.h: Add TYPE_CODE_NAMESPACE. | |
354 | * gdbtypes.c (init_type): Handle TYPE_CODE_NAMESPACE. | |
355 | (recursive_dump_type): Ditto. | |
356 | * printcmd.c (print_formatted): Ditto. | |
357 | * typeprint.c (print_type_scalar): Ditto. | |
358 | * c-typeprint.c (c_type_print_varspec_prefix): Ditto. | |
359 | (c_type_print_varspec_suffix, c_type_print_base): Ditto. | |
360 | * cp-support.h: Declare cp_check_possible_namespace_symbols, | |
361 | maint_cplus_cmd_list. | |
362 | * cp-support.c: Make maint_cplus_cmd_list extern. | |
363 | * cp-namespace.c: Include objfiles.h, gdbtypes.h, dictionary.h, | |
364 | command.h. | |
365 | (lookup_symbol_file): Look in possible namespace blocks when | |
366 | appropriate. | |
367 | (initialize_namespace_symtab): New. | |
368 | (get_possible_namespace_block, free_namespace_block) | |
369 | (check_possible_namespace_symbols) | |
370 | (check_possible_namespace_symbols_loop) | |
371 | (check_one_possible_namespace_symbol) | |
372 | (lookup_possible_namespace_symbol, maintenance_cplus_namespace) | |
373 | (_initialize_cp_namespace): Ditto. | |
374 | * block.h: Declare allocate_block. | |
375 | * block.c (allocate_block): New. | |
376 | * jv-lang.c (get_java_class_symtab): Allocate blocks via | |
377 | allocate_block. | |
378 | * symfile.h: Update declaration of add_psymbol_to_list. | |
379 | * symfile.c (add_psymbol_to_list): Return the partial symbol in | |
380 | question. | |
381 | * dwarf2read.c (dwarf2_build_psymtabs_hard): Add argument to | |
382 | scan_partial_symbols_call. | |
383 | (scan_partial_symbols): Add NAMESPACE argument; update calls to | |
384 | helper functions. | |
385 | (add_partial_symbol): If necessary, scan mangled names for names | |
386 | of namespaces. | |
387 | (add_partial_namespace): Add NAMESPACE argument; generate partial | |
388 | symbols associated to namespaces. | |
389 | (add_partial_enumeration): Add NAMESPACE argument. | |
390 | (new_symbol): Allow namespace syms. | |
391 | (read_namespace): Generate namespace syms. | |
392 | * objfiles.h: Add opaque declaration of struct symtab. | |
393 | (struct objfile): Add cp_namespace_symtab member. | |
394 | * objfiles.c (allocate_objfile): Set | |
395 | objfile->cp_namespace_symtab. | |
396 | * Makefile.in (cp-namespace.o): Depend on objfiles_h, gdbtypes_h, | |
397 | dictionary_h, command_h. | |
398 | ||
33a7c2fc AC |
399 | 2003-09-11 Andrew Cagney <[email protected]> |
400 | ||
401 | * rs6000-tdep.c (rs6000_push_dummy_call): Use | |
402 | regcache_raw_write_signed to set SP_REGNUM, move the operation to | |
403 | near the function's end. | |
404 | (rs6000_gdbarch_init): Do not set "deprecated_dummy_write_sp". | |
405 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use | |
406 | regcache_raw_write_signed to set SP_REGNUM. | |
407 | ||
63cd24fe EZ |
408 | 2003-09-11 Elena Zannoni <[email protected]> |
409 | ||
410 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure | |
411 | orig_addrs is set up properly. | |
412 | ||
f27dd7fd AC |
413 | 2003-09-11 Andrew Cagney <[email protected]> |
414 | ||
415 | * gdbarch.sh (DEPRECATED_STACK_ALIGN): Rename STACK_ALIGN. | |
416 | * gdbarch.h, gdbarch.c: Re-generate. | |
417 | * infcall.c (call_function_by_hand): Update. | |
418 | * hppa-tdep.c (hppa_push_arguments): Update. | |
419 | * ada-lang.c (place_on_stack): Update. | |
420 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
421 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
422 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
423 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
424 | * h8300-tdep.c (h8300_gdbarch_init): Delete comment refering to | |
425 | stack_align. | |
426 | ||
f630a401 DJ |
427 | 2003-09-11 Daniel Jacobowitz <[email protected]> |
428 | ||
429 | * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Variables in a | |
430 | register do need a frame. | |
431 | ||
0ddabb4c AC |
432 | 2003-09-11 Andrew Cagney <[email protected]> |
433 | ||
434 | Since the IRIX 4 configuration was forcing K&R mode it hasn't been | |
435 | buildable since GDB 5.0. | |
436 | * NEWS: Mention that IRIX 3 and IRIX 4 support were removed. | |
437 | * configure.host: Delete "mips-sgi-irix3*" and "mips-sgi-irix4*". | |
438 | * configure.tgt: Delete "mips*-sgi-*" a.k.a. irix3. | |
439 | * irix4-nat.c: Delete file. | |
440 | * config/mips/irix4.mh: Delete file. | |
441 | * config/mips/irix3.mh: Delete file. | |
442 | * config/mips/irix3.mt: Delete file. | |
443 | * config/mips/tm-irix3.h: Delete file. | |
444 | * config/mips/nm-irix3.h: Delete file. | |
445 | * config/mips/xm-irix3.h: Delete file. | |
446 | * config/mips/nm-irix4.h: Delete file. | |
447 | * config/mips/xm-irix4.h: Delete file. | |
448 | * config/mips/tm-irix5.h: Inline contents of "tm-irix3.h". | |
449 | ||
fde2cceb JB |
450 | 2003-09-10 J. Brobecker <[email protected]> |
451 | ||
452 | * hppa-tdep.c: Include "dis-asm.h". Fixes a build failure. | |
453 | * Makefile.in (hppa-tdep.o): Update dependencies. | |
454 | ||
66f667f5 JW |
455 | 2003-09-10 James E Wilson <[email protected]> |
456 | ||
ef5fd69f JW |
457 | * MAINTAINERS: Change my e-mail address. Move to paper trail |
458 | section. | |
66f667f5 | 459 | |
53e8aaea KB |
460 | 2003-09-10 Kevin Buettner <[email protected]> |
461 | ||
462 | * MAINTAINERS (frv): New ISA entry. | |
463 | ||
dcc6aaff KB |
464 | 2003-09-10 Kevin Buettner <[email protected]> |
465 | ||
466 | * frv-tdep.c (dis-asm.h): Include. | |
467 | * Makefile.in (frv-tdep.o): Update dependencies. | |
468 | ||
932644f0 JJ |
469 | 2003-09-09 Jeff Johnston <[email protected]> |
470 | ||
471 | * ia64-tdep.c (ia64_sigtramp_frame_init_saved_regs): | |
472 | Fix typo for high range of floating registers. | |
473 | ||
91c24f0a DC |
474 | 2003-09-09 David Carlton <[email protected]> |
475 | ||
476 | * dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and | |
477 | highpc initialization here out of scan_partial_symbols. | |
478 | (scan_partial_symbols): Restructure into a recursive version, | |
479 | calling add_partial_namespace and add_partial_enumeration when | |
480 | appropriate. | |
481 | (add_partial_namespace): New. | |
482 | (add_partial_enumeration, locate_pdi_sibling): Ditto. | |
483 | ||
c9263853 AC |
484 | 2003-09-09 Andrew Cagney <[email protected]> |
485 | ||
e56a0ecc AC |
486 | * rs6000-tdep.c (ppc_push_return_address): Delete function. |
487 | (rs6000_push_dummy_call): Set LR to BP_ADDR. | |
488 | (rs6000_gdbarch_init): Do not set deprecated_push_return_address. | |
489 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto. | |
490 | ||
794a477a AC |
491 | * rs6000-tdep.c (rs6000_fix_call_dummy): Delete function. |
492 | (rs6000_push_dummy_call): Set the "TOC" register. | |
493 | ||
c9263853 AC |
494 | * rs6000-tdep.c (rs6000_gdbarch_init): Do not set the deprecated |
495 | methods "max_register_raw_size", "max_register_virtual_size" or | |
496 | "register_virtual_size". | |
497 | ||
afa7d0b2 ILT |
498 | 2003-09-09 Ian Lance Taylor <[email protected]> |
499 | ||
500 | * MAINTAINERS: Update my e-mail address. | |
501 | ||
7a41266b AC |
502 | 2003-09-09 Andrew Cagney <[email protected]> |
503 | ||
504 | * rs6000-tdep.c (rs6000_store_struct_return): Delete function. | |
505 | (rs6000_push_dummy_call): Store the struct return address. | |
506 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto. | |
507 | ||
77b2b6d4 AC |
508 | 2003-09-09 Andrew Cagney <[email protected]> |
509 | ||
510 | * ppc-tdep.h (ppc_sysv_abi_push_dummy_call): Replace | |
511 | "ppc_sysv_abi_push_arguments". | |
512 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Replace | |
513 | "ppc_sysv_abi_push_arguments". | |
514 | * rs6000-tdep.c (rs6000_gdbarch_init): Set "push_dummy_call" | |
515 | instead of "push_arguments". | |
516 | (rs6000_push_dummy_call): Replace "rs6000_push_arguments". | |
517 | ||
e8a7b686 AC |
518 | 2003-09-09 Andrew Cagney <[email protected]> |
519 | ||
520 | * sh64-tdep.c (sh64_push_return_address): Use ENTRY_POINT_ADDRESS | |
521 | instead of CALL_DUMMY_ADDRESS. | |
522 | ||
f86f5ca3 PH |
523 | 2003-09-09 Paul N. Hilfinger <[email protected]> |
524 | ||
525 | * p-lang.c: Eliminate "register". | |
526 | * c-lang.c: Ditto. | |
527 | * expprint.c: Ditto. | |
528 | * f-lang.c: Ditto. | |
529 | * jv-lang.c: Ditto. | |
530 | * language.c: Ditto. | |
531 | * m2-lang.c: Ditto. | |
532 | * parse.c: Ditto. | |
533 | * scm-lang.c: Ditto. | |
534 | * objc-lang.c: Ditto. | |
535 | ||
83ee270e NC |
536 | 2003-09-09 Nick Clifton <[email protected]> |
537 | ||
538 | * v850-tdep.c (v850_processor_type_table): Add bfd_mach_v850e1. | |
539 | ||
a89aa300 AC |
540 | 2003-09-04 Andrew Cagney <[email protected]> |
541 | ||
542 | * avr-tdep.c: Include "dis-asm.h". | |
543 | * cris-tdep.c: Include "dis-asm.h". | |
544 | (cris_delayed_get_disassembler): Use "struct disassemble_info" | |
545 | instead of corresponding typedef. | |
546 | * h8300-tdep.c: Include "dis-asm.h". | |
547 | * ia64-tdep.c: Include "dis-asm.h". | |
548 | * i386-tdep.c: Include "dis-asm.h". | |
549 | (i386_print_insn): Use "struct disassemble_info" instead of | |
550 | corresponding typedef. | |
551 | * m68k-tdep.c: Include "dis-asm.h". | |
552 | * mcore-tdep.c: Include "dis-asm.h". | |
553 | * mips-tdep.c: Include "dis-asm.h". | |
554 | (gdb_print_insn_mips): Make static, use "struct disassemble_info" | |
555 | instead of corresponding typedef. | |
556 | * ns32k-tdep.c: Include "dis-asm.h". | |
557 | * s390-tdep.c: Include "dis-asm.h". | |
558 | * sparc-tdep.c: Include "dis-asm.h". | |
559 | * vax-tdep.c: Include "dis-asm.h". | |
560 | * v850-tdep.c: Include "dis-asm.h". | |
561 | * mn10300-tdep.c: Include "dis-asm.h". | |
562 | * rs6000-tdep.c: Include "dis-asm.h". | |
563 | * xstormy16-tdep.c: Include "dis-asm.h". | |
564 | (_initialize_xstormy16_tdep): Delete "extern" declaration of | |
565 | print_insn_xstormy16. | |
566 | * Makefile.in (v850-tdep.o): Update dependencies. | |
567 | (vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto. | |
568 | (ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto. | |
569 | (m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto. | |
570 | (h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto. | |
571 | (mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto. | |
572 | (gdbarch_h): Remove $(dis_asm_h). | |
573 | * disasm.c: Include "dis-asm.h". | |
574 | (dis_asm_read_memory): Use "struct disassemble_info" instead of | |
575 | corresponding typedef. | |
576 | (dis_asm_memory_error, dump_insns, do_assembly_only): Ditto. | |
577 | (gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto. | |
578 | * gdbarch.sh: Do not include "dis-asm.h". | |
579 | (struct disassemble_info): Declare opaque. | |
580 | (TARGET_PRINT_INSN): Update declaration. | |
581 | * gdbarch.h, gdbarch.c: Re-generate. | |
582 | ||
88a82a65 AC |
583 | 2003-09-08 Andrew Cagney <[email protected]> |
584 | ||
585 | * gdbarch.sh (DEPRECATED_CALL_DUMMY_ADDRESS): Rename | |
586 | CALL_DUMMY_ADDRESS, change to a predicate. | |
587 | * gdbarch.h, gdbarch.c: Re-generate. | |
588 | * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point): | |
589 | Use either DEPRECATED_CALL_DUMMY_ADDRESS or entry_point_address. | |
590 | * infcall.c (call_function_by_hand): Ditto. | |
591 | * sparc-tdep.c (sparc_push_return_address): Ditto. | |
592 | (sparc_gdbarch_init): Set deprecated_call_dummy_address. | |
593 | * xstormy16-tdep.c (xstormy16_push_return_address): Replace | |
594 | CALL_DUMMY_ADDRESS with entry_point_address. | |
595 | * v850-tdep.c (v850_push_return_address): Ditto. | |
596 | * s390-tdep.c (s390_push_return_address): Ditto. | |
597 | * rs6000-tdep.c (ppc_push_return_address): Ditto. | |
598 | * mn10300-tdep.c (mn10300_push_return_address): Ditto. | |
599 | * mcore-tdep.c (mcore_push_return_address): Ditto. | |
600 | * cris-tdep.c (cris_push_return_address): Ditto. | |
601 | * arm-tdep.c (arm_push_return_address): Ditto. | |
602 | ||
3e2c4033 AC |
603 | 2003-09-08 Andrew Cagney <[email protected]> |
604 | ||
605 | * dwarf2-frame.c (enum dwarf2_reg_rule): New, replace anonymous | |
606 | enum. Add REG_UNSPECIFIED, rename REG_UNSAVED to REG_UNDEFINED | |
607 | and REG_UNMODIFIED to REG_SAME_VALUE. | |
608 | (execute_cfa_program): Update. | |
609 | (dwarf2_frame_cache): Update. Initialize table to | |
610 | REG_UNSPECIFIED, complain if CFI fails to specify a register's | |
611 | location. | |
612 | (dwarf2_frame_prev_register): Update. Handle REG_UNSPECIFIED. | |
613 | ||
39efb398 AC |
614 | 2003-09-08 Andrew Cagney <[email protected]> |
615 | ||
616 | * gnu-nat.c: Remove "inline" function attribute. | |
617 | * alpha-tdep.c, ppc-linux-tdep.c, macroexp.c: Ditto. | |
618 | ||
f5cb5aca KB |
619 | 2003-09-08 Kevin Buettner <[email protected]> |
620 | ||
621 | * config/frv/frv.mt (SIM_OBS, SIM): Enable simulator for FR-V | |
622 | target. | |
623 | ||
1cb761c7 KB |
624 | 2003-09-08 Kevin Buettner <[email protected]> |
625 | ||
626 | * frv-tdep.c (frame-unwind.h, frame-base.h): Include. | |
627 | (frame_extra_info): Rename this struct to frv_unwind_cache. | |
628 | Delete fields ``fp_to_callers_sp_offset'' and ``lr_saved_on_stack''. | |
629 | Add fields ``prev_sp'' and ``base''. | |
630 | (frv_frame_chain, frv_frame_saved_pc, frv_frame_init_saved_regs) | |
631 | (frv_saved_pc_after_call, frv_init_extra_frame_info) | |
632 | (frv_push_return_address, frv_pop_frame, frv_pop_frame_regular): | |
633 | Delete. | |
634 | (frv_analyze_prologue): Add ``struct frv_unwind_cache *'' argument. | |
635 | Revise all callers. Fill in the unwind cache argument and make | |
636 | other adjustments to account for new frame mechanisms. | |
637 | (frv_frame_unwind_cache, frv_frame_align, frv_unwind_pc) | |
638 | (frv_frame_this_id, frv_frame_prev_register, frv_frame_sniffer) | |
639 | (frv_frame_base_address, frv_unwind_dummy_id): New functions. | |
640 | (frv_frame_unwind, frv_frame_base): New structs. | |
641 | (frv_push_arguments): Change name to frv_push_dummy_call(). Add | |
642 | additional arguments expected by this method and adjust function | |
643 | body accordingly. | |
644 | (frv_gdbarch_init): Remove calls to the following functions: | |
645 | set_gdbarch_deprecated_init_frame_pc(), | |
646 | set_gdbarch_deprecated_saved_pc_after_call(), | |
647 | set_gdbarch_deprecated_frame_chain(), | |
648 | set_gdbarch_deprecated_frame_saved_pc(), | |
649 | set_gdbarch_deprecated_frame_init_saved_regs(), | |
650 | set_gdbarch_deprecated_push_arguments(), | |
651 | set_gdbarch_deprecated_push_return_address(), | |
652 | set_gdbarch_deprecated_pop_frame(), | |
653 | set_gdbarch_deprecated_call_dummy_words(), | |
654 | set_gdbarch_deprecated_sizeof_call_dummy_words(), | |
655 | set_gdbarch_deprecated_init_extra_frame_info(), | |
656 | set_gdbarch_deprecated_dummy_write_sp(), and | |
657 | set_gdbarch_deprecated_pc_in_call_dummy(). | |
658 | Add calls to the following functions: | |
659 | set_gdbarch_unwind_pc(), set_gdbarch_unwind_sp(), | |
660 | set_gdbarch_frame_align(), frame_unwind_append_sniffer(), and | |
661 | frame_base_set_default(). | |
662 | * Makefile.in (frv-tdep.o): Update dependencies. | |
663 | ||
68f6cf99 MK |
664 | 2003-09-09 Mark Kettenis <[email protected]> |
665 | ||
666 | * dwarf2-frame.c (read_encoded_value): Add support for | |
667 | DW_EH_PE_aligned encoding. | |
668 | ||
73b65bb0 DJ |
669 | 2003-09-08 Daniel Jacobowitz <[email protected]> |
670 | ||
671 | * infrun.c (normal_stop): Don't print a message if the inferior | |
672 | has exited. | |
673 | ||
7c8a5605 JB |
674 | 2003-09-08 Jim Blandy <[email protected]> |
675 | ||
676 | * Makefile.in (dbxread.o): Note new dependency on $(gdb_assert_h). | |
677 | * dbxread.c: #include "gdb_assert.h". | |
678 | (read_dbx_symtab): If the objfile has no .data section, use the | |
679 | section index for the .bss section instead. | |
680 | ||
7dd88986 DJ |
681 | 2003-09-08 Daniel Jacobowitz <[email protected]> |
682 | ||
683 | * frame.c (deprecated_safe_get_selected_frame): New function. | |
684 | * frame.h (deprecated_safe_get_selected_frame): Add prototype. | |
685 | * findvar.c (read_var_value): Call it. | |
686 | ||
55ff77ac CV |
687 | 2003-09-08 Corinna Vinschen <[email protected]> |
688 | ||
689 | * Makefile.in (ALLDEPFILES): Add sh64-tdep.c. | |
690 | (sh64-tdep.o): Add dependencies. | |
691 | * configure.tgt: Add FIXME to sh-*-linux*. | |
692 | * sh-tdep.c: Move sh64 support to sh64-tdep.c. | |
693 | (sh_gdbarch_init): Always set correct sh_show_regs function | |
694 | pointer. Call sh64_gdbarch_init() if machine type is sh5. | |
695 | * sh-tdep.h: Move sh64 support to sh64-tdep.c. | |
696 | * sh64-tdep.c: New file, containing all sh64 related code from | |
697 | sh-tdep.c. | |
698 | * config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o. | |
699 | * config/sh/linux.mt (TDEPFILES): Ditto. | |
700 | * config/sh/nbsd.mt (TDEPFILES): Ditto. | |
701 | * config/sh/tm-sh.h: Drop REGISTER_TYPE definition. | |
702 | * config/sh/wince.mt (TDEPFILES): Ditto. | |
703 | ||
bfb39158 DJ |
704 | 2003-09-07 Daniel Jacobowitz <[email protected]> |
705 | ||
706 | * lin-lwp.c (detach_callback): Don't call stop_wait_callback. | |
707 | (stop_wait_callback): Handle !lp->signalled also. | |
708 | (lin_lwp_has_pending, flush_callback): New functions. | |
709 | (lin_lwp_wait): Call flush_callback. | |
710 | * linux-proc.c (linux_proc_add_line_to_sigset): New function. | |
711 | (linux_proc_pending_signals): New function. | |
712 | * linux-nat.h (linux_proc_pending_signals): Add prototype. | |
713 | ||
9407de8e DJ |
714 | 2003-09-07 Daniel Jacobowitz <[email protected]> |
715 | ||
716 | From Nick Kelsey <[email protected]>: | |
717 | * infrun.c (handle_inferior_event): Check IN_SOLIB_RETURN_TRAMPOLINE | |
718 | when the stop PC is at the beginning of a function also. | |
719 | ||
2ef47cd0 DJ |
720 | 2003-09-06 Daniel Jacobowitz <[email protected]> |
721 | ||
722 | * arm-linux-tdep.c (arm_linux_arm_be_breakpoint): New. | |
723 | (arm_linux_init_abi): Use arm_linux_arm_be_breakpoint. | |
724 | ||
6f4492c8 MK |
725 | 2003-09-06 Mark Kettenis <[email protected]> |
726 | ||
727 | * sol-thread.c: Include "gdb_string.h". | |
728 | ||
d3420b2f MK |
729 | 2003-09-03 Mark Kettenis <[email protected]> |
730 | ||
731 | * gcore.c: Reorder include files in alphabetical order. Include | |
732 | "gdb_assert.h". Various coding style fixes. | |
733 | (derive_stack_segment, derive_heap_segment): Replace check for | |
734 | non-null BOTTOM and TOP with gdb_assert. | |
735 | (derive_heap_segment): Replace check for successful creation of | |
736 | ZERO with gdb_assert. | |
737 | (make_mem_sec): Use bfd_section_lma to set OSEC->lma. | |
738 | ||
5220ea4c AC |
739 | 2003-09-04 Andrew Cagney <[email protected]> |
740 | ||
741 | * thread-db.c (verbose_dlsym): New function. | |
742 | (thread_db_load): Use verbose_dlsym | |
743 | (thread_db_new_objfile): Print that libthread_db was loaded, and | |
744 | that thread debugging was enabled. | |
745 | ||
6e8c2c06 AC |
746 | 2003-09-04 Andrew Cagney <[email protected]> |
747 | ||
748 | * configure.tgt: Add "mips64*-*-*" target. Delete | |
749 | mips64*el-*-ecoff*, mips64*el-*-elf*, mips*el-*-ecoff*, | |
750 | mips*el-*-elf*, mips*-*-lnews*, mips*-*-sysv*, mips*-*-riscos*, | |
751 | mips*-*-ecoff*, mips*-*-elf*, mips*-little-*, mips*-big-*, | |
752 | mips*-dec-*, mips64*-big-*, mips64*vr*-*-elf*, mips64*-*-ecoff*, | |
753 | mips*-sony-*, and mips64*-*-elf* targets. | |
754 | * config/mips/embedl.mt: Delete file. | |
755 | * config/mips/embedl64.mt: Delete file. | |
756 | * config/mips/mips.mt: Delete file. | |
757 | * config/mips/mips64.mt: Delete file. | |
758 | * config/mips/tm-embed.h: Delete file. | |
759 | * config/mips/embed.mt (TM_FILE): Set to "tm-mips.h". | |
760 | * config/mips/embed64.mt: Delete out-of-date comment. | |
761 | ||
3a3bc038 AC |
762 | 2003-09-04 Andrew Cagney <[email protected]> |
763 | ||
764 | * hppa-tdep.c (hppa_gdbarch_init): Set | |
765 | "have_nonsteppable_watchpoint". | |
766 | * config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
767 | * mips-tdep.c (mips_dump_tdep): Do not print | |
768 | HAVE_NONSTEPPABLE_WATCHPOINT. | |
769 | (mips_gdbarch_init): Set "have_nonsteppable_watchpoint". | |
770 | * config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
771 | * config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
772 | * config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
773 | ||
a957e642 CV |
774 | 2003-09-04 Corinna Vinschen <[email protected]> |
775 | ||
776 | * breakpoint.c (watchpoint_check): Remove accidentally checked in | |
777 | unused code. Add comment. | |
778 | ||
a6fbcf2f CV |
779 | 2003-09-04 Corinna Vinschen <[email protected]> |
780 | ||
781 | * breakpoint.c (watchpoint_check): Check for pc being in an | |
782 | epilogue if watchpoint frame couldn't be found. | |
783 | ||
c14a44d5 AC |
784 | 2003-09-04 Andrew Cagney <[email protected]> |
785 | ||
786 | * Makefile.in: Re-generate all dependencies. | |
787 | ||
f6c40618 AC |
788 | 2003-09-03 Andrew Cagney <[email protected]> |
789 | ||
790 | * arch-utils.h (legacy_print_insn): Delete declaration. | |
791 | * arch-utils.c (legacy_print_insn): Delete function. | |
792 | * disasm.c (deprecated_tm_print_insn_info): Delete. | |
793 | (_initialize_disasm): Delete function, contained code initializing | |
794 | deprecated_tm_print_insn_info. | |
795 | * gdbarch.sh (deprecated_tm_print_insn): Delete. | |
796 | (deprecated_tm_print_insn_info): Delete. | |
797 | (TARGET_PRINT_INSN): Do not provide a default. | |
798 | * gdbarch.h, gdbarch.c: Re-generate. | |
799 | ||
242e8be5 AC |
800 | 2003-09-03 Andrew Cagney <[email protected]> |
801 | ||
802 | * disasm.c (fprintf_disasm): New function. | |
803 | (gdb_disassemble_info): Call "init_disassemble_info", instead of | |
804 | INIT_DISASSEMBLE_INFO_NO_ARCH. Do not initialize "insn_sets", | |
805 | reverts 2003-08-14 change. | |
806 | (_initialize_disasm): Call "init_disassemble_info", instead of | |
807 | INIT_DISASSEMBLE_INFO_NO_ARCH. | |
808 | ||
3ffc3dda MS |
809 | 2003-09-03 Michael Snyder <[email protected]> |
810 | ||
811 | * config/djgpp/fnchange.lst: Fix up sim/frv/profile-fr*.[ch]. | |
812 | ||
52d16ba8 AC |
813 | 2003-09-03 Andrew Cagney <[email protected]> |
814 | ||
815 | * config/rs6000/tm-rs6000.h (IBM6000_TARGET): Delete definition. | |
816 | * config/rs6000/nm-rs6000.h (DEPRECATED_IBM6000_TARGET): Define. | |
817 | * symfile.c (syms_from_objfile): Update. | |
818 | (reread_symbols): `Update | |
819 | * exec.c (exec_file_attach): Update. | |
820 | (exec_file_attach): Update. | |
821 | * config/powerpc/tm-nbsd.h: Delete #undef IBM6000_TARGET, revert | |
822 | 2003-08-29 change. | |
823 | * config/powerpc/tm-linux.h: Delete #undef IBM6000_TARGET. | |
824 | ||
eb5492fa DJ |
825 | 2003-09-03 Daniel Jacobowitz <[email protected]> |
826 | ||
827 | * arm-tdep.c: Include frame-unwind.h, frame-base.h, and | |
828 | trad-frame.h. | |
829 | (arm_get_cache): Delete macro. | |
830 | (struct arm_prologue_cache): Update comments. Make saved_regs into | |
831 | a trad_frame_saved_reg pointer. Remove unwound_pc; rename unwound_sp | |
832 | to prev_sp. | |
833 | (thumb_scan_prologue): Update for cache changes. Don't call | |
834 | DEPRECATED_PC_IN_CALL_DUMMY. | |
835 | (arm_scan_prologue): Update for cache changes. Take NEXT_FRAME | |
836 | argument and use it in desperation search for our prologue. Do not | |
837 | search past the specified PC. | |
838 | (arm_make_prologue_cache): Simplify. | |
839 | ||
840 | (arm_prologue_this_id, arm_prologue_prev_register) | |
841 | (arm_prologue_unwind, arm_prologue_unwind_sniffer) | |
842 | (arm_normal_frame_base, arm_normal_base, arm_make_sigtramp_cache) | |
843 | (arm_sigtramp_this_id, arm_sigtramp_prev_register) | |
844 | (arm_sigtramp_unwind, arm_sigtramp_unwind_sniffer) | |
845 | (arm_unwind_dummy_id, arm_unwind_pc, arm_unwind_sp): New. | |
846 | ||
847 | (arm_frame_chain_valid, arm_find_callers_reg) | |
848 | (arm_frame_saved_pc, arm_read_fp, arm_frame_init_saved_regs) | |
849 | (arm_pop_frame): Delete obsolete methods. | |
850 | (arm_minimal_frame_chain, arm_minimal_frame_info): Delete. | |
851 | ||
852 | (arm_gdbarch_init): Update for new frame methods. Register prologue | |
853 | and sigtramp unwinders. Set the default frame base method. | |
854 | ||
855 | * Makefile.in (arm-tdep.o): Update dependencies. | |
856 | * varobj.c (find_frame_addr_in_frame_chain): Call | |
857 | get_frame_base_address. | |
858 | * std-regs.c (value_of_builtin_frame_fp_reg): Likewise. | |
859 | ||
24de872b DJ |
860 | 2003-09-03 Daniel Jacobowitz <[email protected]> |
861 | ||
862 | * arm-tdep.c (arm_minimal_frame_chain): Renamed from | |
863 | arm_frame_chain. Take NEXT_FRAME and CACHE arguments. | |
864 | Use the cache instead of DEPRECATED_FRAME_SAVED_PC. | |
865 | (arm_minimal_frame_info): Renamed from arm_init_extra_frame_info. | |
866 | Take NEXT_FRAME and CACHE arguments. Call | |
867 | FRAMELESS_FUNCTION_INVOCATION instead of checking FROMLEAF argument. | |
868 | Set unwound_pc in CACHE instead of modifying the frame argument. | |
869 | Don't bother checking the frame type when looking for sigtramp | |
870 | frames. | |
871 | (arm_make_prologue_cache, arm_frame_chain) | |
872 | (arm_init_extra_frame_info): New functions. | |
873 | ||
9b8d791a DJ |
874 | 2003-09-03 Daniel Jacobowitz <[email protected]> |
875 | ||
876 | * arm-tdep.c (arm_get_cache): Define. | |
877 | (struct arm_prologue_cache): Renamed from frame_extra_info. Add | |
878 | unwound_sp, unwound_pc, and saved_regs. | |
879 | (thumb_scan_prologue): Take a cache instead of the frame. | |
880 | (arm_scan_prologue): Likewise. | |
881 | (arm_frame_chain): Create a temporary cache for arm_scan_prologue | |
882 | instead of a temporary frame. | |
883 | (arm_init_extra_frame_info): Allocate and use a cache. | |
884 | (arm_frame_saved_pc, arm_pop_frame): Use the cache. | |
885 | ||
7ee3275f AC |
886 | 2003-09-03 Andrew Cagney <[email protected]> |
887 | ||
888 | * config/arm/wince.mt (TM_CLIBS): Replace WIN32LIBS. | |
889 | * config/mips/wince.mt (TM_CLIBS): Ditto. | |
890 | * config/sh/wince.mt (TM_CLIBS): Ditto. | |
891 | * config/pa/hppa64.mt (TM_CLIBS): Delete. | |
892 | * config/sparc/sp64.mt (CC): Delete. | |
893 | ||
57b29be7 AC |
894 | 2003-09-03 Andrew Cagney <[email protected]> |
895 | ||
896 | * defs.h: Do not include "arch-utils.h". | |
897 | (GDB_MULTI_ARCH): If not defined, set to GDB_MULTI_ARCH_PARTIAL or | |
898 | GDB_MULTI_ARCH_PURE. | |
899 | * configure.in (GDB_MULTI_ARCH): Do not define. | |
900 | * configure, config.in: Regenerate. | |
901 | * configure.tgt: Do not set variable "gdb_multi_arch". | |
902 | * config/s390/s390x.mt (GDB_MULTI_ARCH): Delete. | |
903 | * config/s390/s390.mt (GDB_MULTI_ARCH): Delete. | |
904 | * config/i386/x86-64linux.mt (GDB_MULTI_ARCH): Delete. | |
905 | * config/v850/v850.mt (TM_FILE): Delete disabled definition. | |
906 | * config/m68hc11/m68hc11.mt (TM_FILE): Delete definition. | |
907 | * config/vax/tm-vax.h (GDB_MULTI_ARCH): Delete definition. | |
908 | * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Delete definition. | |
909 | * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Delete definition. | |
910 | * config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete definition. | |
911 | * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete definition. | |
912 | * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Delete definition. | |
913 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Delete definition. | |
914 | * config/ns32k/tm-ns32k.h (GDB_MULTI_ARCH): Delete definition. | |
915 | * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Delete definition. | |
916 | * config/i386/tm-i386.h (GDB_MULTI_ARCH): Delete definition. | |
917 | * config/h8300/tm-h8300.h (GDB_MULTI_ARCH): Delete definition. | |
918 | * config/frv/tm-frv.h (GDB_MULTI_ARCH): Delete definition. | |
919 | * config/alpha/tm-alpha.h (GDB_MULTI_ARCH): Delete definition. | |
920 | ||
12e035e2 MC |
921 | 2003-08-30 Michael Chastain <[email protected]> |
922 | ||
923 | * Makefile.in: Remove tm-hp300bsd.h, tm-hp300hpux.h. | |
924 | * config/m68k/nm-hp300hpux.h: Delete. | |
925 | * config/m68k/tm-hp300hpux.h: Delete. | |
926 | * config/m68k/xm-hp300hpux.h: Delete. | |
927 | * config/m68k/xm-hp300bsd.h: Delete. | |
928 | * config/djgpp/fnchange.lst: Remove nm-hp300hpux.h, | |
929 | tm-hp300hpux.h, xm-hp300hpux.h. | |
930 | * somsolib.c: Remove comment about hp300 shared libraries. | |
931 | ||
bda34dc2 MK |
932 | 2003-08-31 Mark Kettenis <[email protected]> |
933 | ||
5bca7895 MK |
934 | * i386-linux-nat.c (ps_get_thread_area): Don't define as extern. |
935 | Only define PTRACE_GET_THREAD_AREA is not already defined. | |
936 | Various style fixes in code and comments and some additional | |
937 | spelling fixes in comments. Move after functions dealing with | |
938 | debug registers. | |
939 | * x86-64-linux-nat.c (ps_get_thread_area): Don't define as extern. | |
940 | Fix coding-style. | |
941 | ||
bda34dc2 MK |
942 | * alphafbsd-tdep.c (alphafbsd_sigcontext_addr): Use |
943 | frame_unwind_register_unsigned instead of | |
944 | frame_unwind_unsigned_register. | |
945 | ||
c890192f MK |
946 | 2003-08-30 Mark Kettenis <[email protected]> |
947 | ||
948 | * configure.in: Search for gethostbyname in libnsl. | |
949 | * configure: Regenerated. | |
950 | ||
60fac5b8 MK |
951 | 2003-08-29 Mark Kettenis <[email protected]> |
952 | ||
e294916c MK |
953 | * configure.in: Remove redundant AC_MSG_RESULT in check for |
954 | uintptr_t in stdint.h. | |
955 | * configure: Regenerated. | |
956 | ||
c40d267a MK |
957 | * amd64-nat.h (struct regcache): Add opaque declaration. |
958 | ||
60fac5b8 MK |
959 | * i386-linux-tdep.h (I386_LINUX_NUM_REGS): New define. |
960 | * x86-64-linux-nat.c: Include "i386-linux-tdep.h" and "amd64.h". | |
961 | Change "register array" to "register cache" in comments. | |
962 | (x86_64_linux_gregset64_reg_offset): New variable. | |
963 | (GETREGS_SUPPLIES): Remove macro. | |
964 | (supply_gregset): Call amd64_supply_native_gregset instead of | |
965 | x86_64_linux_supply_gregset. | |
966 | (fill_gregset): Rename `regno' to `regnum'. Call | |
967 | amd64_collect_native_gregset instead of x86_64_linux_fill_gregset. | |
968 | (store_regs): Rename `regno' to `regnum'. | |
969 | (store_fpregs): Rename `regno' to `regnum'. | |
970 | (fetch_inferior_registers): Rename `regno' to `regnum'. Use | |
971 | amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. | |
972 | Reorganize function a bit. | |
973 | (store_inferior_registers): Rename `regno' to `regnum'. Use | |
974 | amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. | |
975 | Reorganize function a bit. | |
976 | (_initialize_x86_64_linux_nat): New function. | |
977 | * config/i386/x86-64linux.mh. | |
978 | ||
546143b6 AC |
979 | 2003-08-29 Andrew Cagney <[email protected]> |
980 | ||
981 | * config/mips/tm-embed.h (STOPPED_BY_WATCHPOINT): Delete macro. | |
982 | (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Delete macro. | |
983 | (target_remove_watchpoint): Delete macro. | |
984 | (target_insert_watchpoint): Delete macro. | |
985 | (remote_mips_can_use_hardware_watchpoint): Delete declaration. | |
986 | (remote_mips_stopped_by_watchpoint): Delete declaration. | |
987 | (remote_mips_remove_watchpoint): Delete declaration. | |
988 | (remote_mips_set_watchpoint): Delete declaration. | |
989 | (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete macro. | |
990 | * remote-mips.c (_initialize_remote_mips): Set | |
991 | "to_insert_watchpoint", "to_stopped_by_watchpoint", | |
992 | "to_can_use_hardware_watchpoint", and "to_remove_watchpoint". | |
993 | (mips_insert_watchpoint): Rename remote_mips_set_watchpoint. | |
994 | (mips_remove_watchpoint): Rename remote_mips_remove_watchpoint. | |
995 | (mips_stopped_by_watchpoint): Rename | |
996 | remote_mips_stopped_by_watchpoint. | |
997 | (mips_can_hardware_watchpoint): Rename | |
998 | remote_mips_can_use_hardware_watchpoint, update function | |
999 | signature. | |
1000 | ||
7bace51b MK |
1001 | 2003-08-29 Mark Kettenis <[email protected]> |
1002 | ||
b0f5c6f2 MK |
1003 | * x86-64-linux-tdep.c (user_to_gdb_regmap): Remove USER_CS and |
1004 | USER_DS. We haven't given them a register number yet. | |
1005 | ||
2a6d284d MK |
1006 | * amd64-nat.h: New file. |
1007 | * amd64-nat.c: New file. | |
1008 | * amd64fbsd-nat.c: Include "amd64-nat.h". | |
1009 | (REG_ADDR, GETREGS_SUPPLIES): Remove macros. | |
1010 | (amd64fbsd32_r_reg_offset): New variable. | |
1011 | (supply_gregset): Simply call amd64_supply_native_gregset. | |
1012 | (fill_gregset): Rename `regno' to `regnum'. Simply call | |
1013 | amd64_collect_native_gregset. | |
1014 | (fill_fpregset): Rename `regno' to `regnum'. | |
1015 | (fetch_inferior_registers): Rename `regno' to `regnum'. Replace | |
1016 | usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. | |
1017 | Use `struct reg' and `struct fpreg' instead of `gregset_t' and | |
1018 | `fpregset_t'. Call amd64_supply_native_gregset instead of | |
1019 | supply_gregset. Call x86_64_supply_fxsave instead of | |
1020 | supply_fpregset. | |
1021 | (store_inferior_registers): Rename `regno' to `regnum'. Replace | |
1022 | usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. | |
1023 | Use `struct reg' and `struct fpreg' instead of `gregset_t' and | |
1024 | `fpregset_t'. Call amd64_collect_native_gregset instead of | |
1025 | fill_gregset. Call x86_64_collect_fxsave instead of | |
1026 | fill_fpregset. | |
1027 | (_initialize_am64fbsd_nat): Initialize | |
1028 | amd64_native_gregset32_reg_offset and | |
1029 | amd64_native_gregset64_reg_offset. | |
1030 | * config/i386/fbsd64.mh (NATDEPFILES): Add amd64-nat.o. | |
1031 | ||
a16d75cc MK |
1032 | * regcache.c (regcache_raw_supply): Don't assert that BUF isn't a |
1033 | null pointer. Fix typo in comment. | |
1034 | ||
7bace51b MK |
1035 | * regcache.c (supply_register): Reimplement to call |
1036 | regcache_raw_supply. | |
1037 | (regcache_collect): Reimplement by calling regcache_raw_collect. | |
1038 | ||
9a661b68 MK |
1039 | 2003-08-28 Mark Kettenis <[email protected]> |
1040 | ||
1041 | * regcache.c (register_buffer): Consitify first argument. | |
1042 | (regcache_raw_supply, regcache_raw_collect): New | |
1043 | functions. | |
1044 | ||
e94cc8fa DJ |
1045 | 2003-08-28 Daniel Jacobowitz <[email protected]> |
1046 | ||
1047 | * config/powerpc/tm-nbsd.h: Undefine IBM6000_TARGET. Suggested | |
1048 | by Nathan J. Williams. | |
1049 | ||
c64bd0ce DJ |
1050 | 2003-08-28 Daniel Jacobowitz <[email protected]> |
1051 | ||
1052 | * lin-lwp.c (wait_lwp): New function, copied from | |
1053 | stop_wait_callback. Clean up. | |
1054 | (stop_wait_callback): Use wait_lwp. | |
1055 | ||
e5ab0dce AC |
1056 | 2003-08-28 Andrew Cagney <[email protected]> |
1057 | ||
1058 | * mips-tdep.c (gdb_print_insn_mips): Set the disassembler's | |
1059 | flavour and disassembler options. | |
1060 | (_initialize_mips_tdep): Do not set deprecated_tm_print_insn. | |
1061 | (mips_gdbarch_init): Set "print_insn". Delete initialization of | |
1062 | deprecated_tm_print_insn_info. | |
1063 | ||
a788de9b AC |
1064 | 2003-08-27 Andrew Cagney <[email protected]> |
1065 | ||
1066 | * s390-tdep.c (s390_readinstruction): Delete "info" parameter. | |
1067 | Use target_read_memory. | |
1068 | (s390_get_frame_info): Update. Do not reference | |
1069 | deprecated_tm_print_insn_info. | |
1070 | (s390_check_function_end, s390_is_sigreturn): Ditto. | |
1071 | ||
36482093 AC |
1072 | 2003-08-27 Andrew Cagney <[email protected]> |
1073 | ||
1074 | * Makefile.in (cris-tdep.o): Update dependencies. | |
1075 | * cris-tdep.c: Include "gdb_assert.h". | |
1076 | (cris_gdbarch_init): Set print_insn. | |
1077 | (_initialize_cris_tdep): Do not set deprecated_tm_print_insn. | |
1078 | (cris_delayed_get_disassembler): Simplify, directly call the | |
1079 | disassembler returned by cris_get_disassembler. | |
1080 | * hppa-tdep.c (hppa_gdbarch_init): Set print_insn. | |
1081 | (_initialize_hppa_tdep): Do not set deprecated_tm_print_insn. | |
1082 | * ns32k-tdep.c (ns32k_gdbarch_init): Set print_insn. | |
1083 | (_initialize_ns32k_tdep): Do not set deprecated_tm_print_insn. | |
1084 | * mn10300-tdep.c (mn10300_gdbarch_init): Set print_insn. | |
1085 | (_initialize_mn10300_tdep): Do not set deprecated_tm_print_insn. | |
1086 | * mcore-tdep.c (mcore_gdbarch_init): Set print_insn. | |
1087 | (_initialize_mcore_tdep): Do not set deprecated_tm_print_insn. | |
1088 | * frv-tdep.c (frv_gdbarch_init): Set print_insn. | |
1089 | (_initialize_frv_tdep): Do not set deprecated_tm_print_insn. | |
1090 | * sparc-tdep.c (sparc_gdbarch_init): Set print_insn. | |
1091 | (gdb_print_insn_sparc): Delete function. | |
1092 | (_initialize_sparc_tdep): Do not set deprecated_tm_print_insn or | |
1093 | deprecated_tm_print_insn_info. | |
1094 | * v850-tdep.c (v850_gdbarch_init): Set print_insn. | |
1095 | (_initialize_v850_tdep): Do not set deprecated_tm_print_insn. | |
1096 | (v850_gdbarch_init): Do not set deprecated_tm_print_insn_info. | |
1097 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Set print_insn. | |
1098 | (_initialize_xstormy16_tdep): Do not set deprecated_tm_print_insn. | |
1099 | * s390-tdep.c (gdb_print_insn_s390): Delete function. | |
1100 | (_initialize_s390_tdep): Do not set deprecated_tm_print_insn. | |
1101 | (s390_gdbarch_init): Set print_insn. | |
1102 | ||
0285512f AC |
1103 | 2003-08-27 Andrew Cagney <[email protected]> |
1104 | ||
1105 | * ppc-linux-tdep.c (ppc64_call_dummy_address): Delete function. | |
1106 | (ppc_linux_init_abi): For PPC64, do not set call_dummy_address. | |
1107 | * infcall.c (call_function_by_hand): Convert the entry point | |
1108 | address into a code address. | |
1109 | ||
cdcd5552 AC |
1110 | 2003-08-27 Andrew Cagney <[email protected]> |
1111 | ||
1112 | * dsrec.c: Include "gdb_string.h". | |
1113 | * Makefile.in (dsrec.o): Update dependencies. | |
1114 | ||
e85cddad MC |
1115 | 2003-08-27 Michael Chastain <[email protected]> |
1116 | ||
1117 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.mi/mi2-var-*. | |
1118 | ||
8bbfbb23 AC |
1119 | 2003-08-27 Andrew Cagney <[email protected]> |
1120 | ||
1121 | * alpha-osf1-tdep.c (alpha_call_dummy_address): Delete function. | |
1122 | (alpha_osf1_init_abi): Do not set call_dummy_address. | |
1123 | ||
ba058b66 DC |
1124 | 2003-08-27 David Carlton <[email protected]> |
1125 | ||
1126 | From Randolph Chung <[email protected]>: | |
1127 | * linux-proc.c (linux_info_proc_cmd): rework the code so that it | |
1128 | compiles with -Wformat-nonliteral -Werror. | |
1129 | ||
87f84c9d JB |
1130 | 2003-08-26 Jim Blandy <[email protected]> |
1131 | ||
1132 | * solib-svr4.c (bfd_lookup_symbol): New SECT_FLAGS argument. | |
1133 | (enable_break): Pass SEC_CODE as the SECT_FLAGS argument to | |
1134 | bfd_lookup_symbol, since we only want symbols in code sections. | |
1135 | (look_for_base): Pass zero as the SECT_FLAGS argument to | |
1136 | bfd_lookup_symbol, since we're not concerned about which section | |
1137 | the symbol is in. | |
1138 | ||
102d615a JJ |
1139 | 2003-08-26 Jeff Johnston <[email protected]> |
1140 | ||
1141 | * ia64-tdep.c (examine_prologue): Only stop at predicated insns if | |
1142 | we are frameless or the return address register is already known. | |
1143 | ||
cc7ad3ea AC |
1144 | 2003-08-26 Andrew Cagney <[email protected]> |
1145 | ||
1146 | * i386-linux-nat.c (ps_get_thread_area): Make "desc" four "int"s | |
1147 | in size. Add comments. | |
1148 | ||
af8b88dd JJ |
1149 | 2003-08-26 Jeff Johnston <[email protected]> |
1150 | ||
1151 | * ia64-tdep.c (ia64_convert_from_func_addr): New function. | |
1152 | (ia64_gdbarch_init): Call set_gdbarch_convert_from_func_addr(). | |
1153 | ||
e0a4f5a1 JM |
1154 | 2003-08-26 Jason Merrill <[email protected]> |
1155 | ||
1156 | * dwarf2read.c (dwarf_attr_name): Move DW_AT_MIPS_linkage_name | |
1157 | case out of #ifdef MIPS block. | |
1158 | ||
4ae9ee8e DJ |
1159 | 2003-08-25 Daniel Jacobowitz <[email protected]> |
1160 | ||
1161 | PR java/1322 | |
1162 | * dwarf2-frame.c (dwarf2_frame_find_fde): Check whether any FDEs are | |
1163 | available before calling SECT_OFF_TEXT. | |
3c164570 | 1164 | * PROBLEMS: Remove description of java/1322. |
4ae9ee8e | 1165 | |
004d836a JJ |
1166 | 2003-08-25 Jeff Johnston <[email protected]> |
1167 | ||
1168 | * ia64-tdep.c (pseudo_regs): New enum that lists gr32-gr127, p0-p63, | |
1169 | bof, and nat0-nat127 as pseudo-registers. | |
1170 | (ia64_frame_cache): New struct used to cache frame info. | |
1171 | (ia64_register_reggroup_p): New routine used to override default | |
1172 | register grouping so registers without names are still saved and | |
1173 | restored. | |
1174 | (ia64_dwarf_reg_to_regnum): New routine to map gr32-gr127 to their | |
1175 | pseudo values. | |
1176 | (ia64_pseudo_register_read): New routine to read pseudo-registers. | |
1177 | (ia64_pseudo_register_write): New routine to write pseudo-registers. | |
1178 | (ia64_alloc_frame_cache): New routine to create a new | |
1179 | ia64_frame_cache. | |
1180 | (examine_prologue): Change prototype to add next_frame pointer. | |
1181 | Assume frameless until otherwise proven. Verify that the cfm for | |
1182 | current frame matches the cfm that should occur for the prologues | |
1183 | alloc insn and if equal, mark as not frameless. At end of routine, | |
1184 | if not frameless, calculate registers for the previous frame and store | |
1185 | in the cache, if a cache is provided. | |
1186 | (ia64_skip_prologue): Use new prototype when calling examine_prologue | |
1187 | and pass 0 for next_frame. | |
1188 | (ia64_store_return_value): Change to use convert_typed_floating() | |
1189 | instead of calling ia64_convert_to_raw(). | |
1190 | (ia64_extract_return_value): Change to use convert_typed_floating() | |
1191 | instead of calling ia64_convert_to_virtual(). | |
1192 | (ia64_frame_cache): New routine to support new frame model. | |
1193 | (ia64_frame_this_id, ia64_frame_prev_register): Ditto. | |
1194 | (ia64_frame_sniffer): Ditto. | |
1195 | (ia64_sigtramp_frame_init_saved_regs): Ditto. | |
1196 | (ia64_sigtramp_frame_cache, ia64_sigtramp_frame_this_id): Ditto. | |
1197 | (ia64_sigtramp_frame_prev_register): Ditto. | |
1198 | (ia64_sigtramp_frame_sniffer): Ditto. | |
1199 | (ia64_frame_base_address): Ditto. | |
1200 | (ia64_extract_struct_value_address): Change to issue error message. | |
1201 | (ia64_frame_align): New routine to align sp. | |
1202 | (ia64_push_dummy_call): New routine based on ia64_push_arguments(). | |
1203 | (ia64_push_arguments): Removed. Logic moved to | |
1204 | ia64_push_dummy_call(). | |
1205 | (ia64_push_return_address): Ditto. | |
1206 | (ia64_unwind_dummy_id): New function. | |
1207 | (ia64_unwind_pc): Ditto. | |
1208 | (ia64_convert_register_p): Ditto. | |
1209 | (ia64_register_to_value): Ditto. | |
1210 | (ia64_value_to_register): Ditto. | |
1211 | (ia64_pop_frame, ia64_pop_frame_regular): Removed. | |
1212 | (ia64_register_byte, ia64_register_raw_size): Ditto. | |
1213 | (ia64_register_virtual_size, ia64_register_virtual_byte): Ditto. | |
1214 | (ia64_saved_pc_after_call): Ditto. | |
1215 | (ia64_frame_chain, ia64_frame_saved_pc): Ditto. | |
1216 | (ia64_frame_init_saved_regs, ia64_get_saved_register): Ditto. | |
1217 | (ia64_register_convertible, ia64_register_convert_to_virtual): Ditto. | |
1218 | (ia64_register_convert_to_raw): Ditto. | |
1219 | (ia64_store_struct_return, ia64_call_dummy_words): Ditto. | |
1220 | (ia64_init_extra_frame_info): Ditto. | |
1221 | (ia64_frame_args_address, ia64_frame_locals_address): Ditto. | |
1222 | (ia64_gdbarch_init): Remove registering of deprecated functions that | |
1223 | are no longer used. Add registration of new gdbarch functions. | |
1224 | Remove registering deprecated_write_sp. Replace | |
1225 | set_gdbarch_register_virtual_type() with set_gdbarch_register_type(). | |
1226 | Delete set_gdbarch_deprecated_register_convertible(), | |
1227 | set_gdbarch_deprecated_register_convert_to_virtual(), and | |
1228 | set_gdbarch_deprecated_register_convert_to_raw() calls. Remove | |
1229 | set_gdbarch_deprecated_register_size(), | |
1230 | set_gdbarch_deprecated_register_bytes(), | |
1231 | set_gdbarch_pcregnum(), | |
1232 | set_gdbarch_deprecated_register_byte(), | |
1233 | set_gdbarch_deprecated_register_raw_size(), | |
1234 | set_gdbarch_deprecated_max_register_raw_size(), | |
1235 | set_gdbarch_deprecated_register_virtual_size(), | |
1236 | and set_gdbarch_deprecated_max_register_virtual_size() calls. | |
1237 | Replace set_gdbarch_deprecated_extract_return_value() with | |
1238 | set_gdbarch_extract_return_value(). Remove calls to: | |
1239 | set_gdbarch_deprecated_saved_pc_after_call(); | |
1240 | set_gdbarch_deprecated_frame_chain(), | |
1241 | set_gdbarch_deprecated_frame_saved_pc(), | |
1242 | set_gdbarch_deprecated_frame_init_saved_regs(), | |
1243 | set_gdbarch_deprecated_get_saved_register(), | |
1244 | set_gdbarch_deprecated_call_dummy_words(), | |
1245 | set_gdbarch_deprecated_sizeof_call_dummy_words(), | |
1246 | set_gdbarch_deprecated_init_extra_frame_info(), | |
1247 | set_gdbarch_deprecated_frame_args_address(), | |
1248 | set_gdbarch_deprecated_frame_locals_address(), | |
1249 | and set_gdbarch_deprecated_dummy_write_sp(). | |
1250 | Add set_gdbarch_convert_register_p(), | |
1251 | set_gdbarch_register_to_value(), | |
1252 | set_gdbarch_value_to_register(), | |
1253 | set_gdbarch_push_dummy_call(), | |
1254 | set_gdbarch_frame_align(), | |
1255 | set_gdbarch_unwind_dummy_id(), | |
1256 | set_gdbarch_unwind_pc(), | |
1257 | frame_unwind_append_sniffer(), | |
1258 | frame_unwind_append_sniffer(), | |
1259 | and frame_base_set_default(). | |
1260 | ||
aede7613 CD |
1261 | 2003-08-25 Chris Demetriou <[email protected]> |
1262 | ||
1263 | * configure.tgt: Document need for special "mipsisa64" handling. | |
1264 | (mipsisa64*-*-linux64): Handle as target linux64. | |
1265 | (mipsisa64*-*-*): Handle as target embed64. | |
1266 | ||
43c3a82e MC |
1267 | 2003-08-18 Michael Chastain <[email protected]> |
1268 | ||
1269 | * PROBLEMS: Document pr gdb/1322, the Java anonymous | |
1270 | objfile bug. | |
1271 | ||
6564f77d MK |
1272 | 2003-08-24 Mark Kettenis <[email protected]> |
1273 | ||
2de139ba MK |
1274 | * i387-tdep.h: Update copyright date. |
1275 | (I387_SIZEOF_FSAVE, I387_SIZEOF_FXSAVE): New defines. | |
1276 | ||
6564f77d MK |
1277 | * linux-proc.c (linux_proc_xfer_memory): Remove comment about |
1278 | CFLAGS games to reflect reality. | |
1279 | ||
42cf1509 AC |
1280 | 2003-08-24 Andrew Cagney <[email protected]> |
1281 | ||
1282 | * arm-tdep.c (_initialize_arm_tdep): Simplify by assuming | |
1283 | GDB_MULTI_ARCH is always non-zero. | |
1284 | * osabi.c (_initialize_gdb_osabi): Ditto. | |
1285 | (gdbarch_init_osabi): Ditto. | |
1286 | * sparc-tdep.c: Ditto for #if code. | |
1287 | ||
0485f6ad MK |
1288 | 2003-08-23 Mark Kettenis <[email protected]> |
1289 | ||
1290 | * x86-64-tdep.c (x86_64_supply_fxsave): Add `regnum' argument. | |
1291 | Update comments. | |
1292 | * x86-64-tdep.h (x86_64_supply_fxsave): Adjust prototype. Update | |
1293 | comments. | |
1294 | * x86-64-linux-tdep.c (fetch_core_registers): Adjust call to | |
1295 | x86_64_supply_fxsave. | |
1296 | * x86-64-linux-nat.c (supply_fpregset): Adjust call to | |
1297 | x86_64_supply_fxsave. | |
1298 | * amd64fbsd-nat.c (supply_fpregset): Adjust call to | |
1299 | x86_64_supply_fxsave. | |
1300 | ||
c7716133 AJ |
1301 | 2003-08-23 Andreas Jaeger <[email protected]> |
1302 | ||
1303 | * x86-64-tdep.c (x86_64_supply_fxsave): Adjust call to | |
1304 | i387_supply_fxsave. | |
1305 | ||
ed504bdf MK |
1306 | 2003-08-23 Mark Kettenis <[email protected]> |
1307 | ||
1308 | * go32-nat.c (fetch_register): Call i387_supply_fsave instead of | |
1309 | i387_supply_register. | |
1310 | (go32_fetch_registers): Adjust call to i387_supply_fsave. | |
1311 | * i386nbsd-tdep.c (fetch_core_registers): Adjust call to | |
1312 | i387_supply_fsave. | |
1313 | (fetch_elfcore_registers): Adjust call to i387_supply_fsave and | |
1314 | i387_supply_fxsave. | |
1315 | * i386obsd-tdep.c (fetch_core_registers): Adjust call to | |
1316 | i387_supply_fsave. | |
1317 | * i386bsd-nat.c (supply_fpregset): Adjust call to | |
1318 | i387_supply_fsave. | |
1319 | (fetch_inferior_registers): Remove extraneous whitespace. Adjust | |
1320 | call to i387_supply_fxsave. Call i387_supply_fsave instead of | |
1321 | supply_fpregset. | |
1322 | (store_inferior_registers): Remove extraneous whitespace. Call | |
1323 | i387_fill_fsave instead of fill_fpregset. | |
1324 | * i386gnu-nat.c (fetch_fpregs): Adjust call to i387_supply_fsave. | |
1325 | (supply_fpregset): Likewise. | |
1326 | * i386v4-nat.c (supply_fpregset): Adjust call to | |
1327 | i387_supply_fsave. | |
1328 | * i386-interix-nat.c (supply_fpregset): Adjust call to | |
1329 | i387_supply_fsave. | |
1330 | * i386-linux-nat.c (supply_fpregset): Adjust call to | |
1331 | i387_supply_fsave. | |
1332 | (supply_fpxregset): Adjust call to i387_adjust_fxsave. | |
1333 | * i386-nto-tdep.c (i386nto_supply_fpregset): Adjust calls to | |
1334 | i387supply_fsave and i387_supply_fxsave. | |
1335 | * i387-tdep.c (i387_supply_fsave): Add `regnum' argument. | |
1336 | Incorporate code from `i387_supply_register. | |
1337 | (i387_supply_register): Remove. | |
1338 | (i387_supply_fxsave): Add `regnum' argument. | |
1339 | Update comments. | |
1340 | * i387-tdep.h (i387_supply_fsave, i387_supply_fsxave): Adjust | |
1341 | prototype. | |
1342 | (i387_supply_register): remove prototype. | |
1343 | Update comments. | |
1344 | ||
4be5d520 MC |
1345 | 2003-08-22 Michael Chastain <[email protected]> |
1346 | ||
1347 | * config/djgpp/fnchange.lst: Remove gdb/testsuite/gdb.c++/*. | |
1348 | Add lines for files in gdb/testsuite/gdb.cp/* that are | |
1349 | still not 8.3 unique. | |
1350 | ||
7ed85d26 DJ |
1351 | 2003-08-22 Daniel Jacobowitz <[email protected]> |
1352 | ||
1353 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Check whether | |
1354 | TYPE_VPTR_FIELDNO is valid. | |
1355 | ||
eb0d3137 MK |
1356 | 2003-08-19 Mark Kettenis <[email protected]> |
1357 | ||
1358 | * utils.c (set_width_command): Remove prototypes. | |
1359 | (set_screen_size): New prototype. | |
1360 | (init_page_info): Simplify by fetching the screen size from | |
1361 | Readline. Call set_screen_size. | |
1362 | (set_screen_size): New function. | |
1363 | (set_width): Add missing whitespace in comment. | |
1364 | (set_width_command): Call set_screen_size. | |
1365 | (set_height_command): New function. | |
1366 | (initialize_utils): Fix formatting. Make "set height" command | |
1367 | call set_height_command. Remove redundant code that turns off | |
1368 | pagination if output isn't a terminal. Remove redundant call to | |
1369 | set_width_command. | |
1370 | ||
7e6d0ac8 MK |
1371 | 2003-08-22 Mark Kettenis <[email protected]> |
1372 | ||
3567a8ea MK |
1373 | * sparc64-tdep.h (sparc64_regnum): Fix comment. |
1374 | (sparc64_supply_rwindow, sparc64_fill_rwindow): Remove prototypes. | |
1375 | (sparc_supply_rwindow, sparc_fill_rwindow): New prototypes. | |
1376 | * sparc64-tdep.c (sparc64_pseudo_register_read): Add missing | |
1377 | `case' keyword. | |
1378 | (sparc64_register_info): Give the reister with number | |
1379 | SPARC64_STATE_REGNUM a name. | |
1380 | (sparc64_pseudo_register_write): Add support for %cwp, %pstate, | |
1381 | %asi and %ccr. | |
1382 | (sparc64_push_dummy_call): Take BIAS into account when checking | |
1383 | stcak alignment. | |
1384 | (sparc_software_single_step): Remove assertions that check whether | |
1385 | NPC and NNPC were zero. | |
1386 | (sparc_supply_rwindow): Make public. Merge functionality with | |
1387 | sparc64_supply_rwindow. | |
1388 | (sparc_fill_rwindow): Make public. Merge functionality with | |
1389 | sparc64_fill_rwindow. | |
1390 | (sparc64_supply_rwindow, sparc64_fill_rwindow): Remove. | |
1391 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Set | |
1392 | SPARCBSD_FPREG_SUPPLIES_P to sparc64fbsd_fpreg_supplies_p. | |
1393 | * sparc64fbsd-tdep.c (sparc64fbsd_supply_reg): Call | |
1394 | sparc_supply_rwindow instead of sparc64_supply_rwindow. | |
1395 | ||
7e6d0ac8 MK |
1396 | * reggroups.c: Add whitespace after declarations of local |
1397 | variables in functions. | |
1398 | ||
72e5f484 MC |
1399 | 2003-08-21 Michael Chastain <[email protected]> |
1400 | ||
1401 | * gdbtypes.h: Change array bound type from an int to enum. | |
1402 | ||
435ac228 AC |
1403 | 2003-08-21 Andrew Cagney <[email protected]> |
1404 | ||
1405 | * config/sparc/tm-sp64.h: Delete #if !GDB_MULTI_ARCH and #if 0 code. | |
1406 | * config/sparc/tm-sparc.h: Ditto. | |
1407 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Define GDB_MULTI_ARCH | |
1408 | unconditionally. | |
1409 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Ditto. | |
1410 | ||
0d0e1a63 MK |
1411 | 2003-07-13 Mark Kettenis <[email protected]> |
1412 | ||
1413 | * objfiles.h (struct objfile): Add memebers `data' and `num_data'. | |
1414 | (register_objfile_data, set_objfile_data, objfile_data): New | |
1415 | prototypes. | |
1416 | * objfiles.c (objfile_alloc_data, objfile_free_data): New | |
1417 | prototypes. | |
1418 | (allocate_objfile): Call objfile_alloc_data. | |
1419 | (free_objfile): Call objfile_free_data. | |
1420 | (struct objfile_data): New. | |
1421 | (struct objfile_data_registration): New. | |
1422 | (struct objfile_data_registry): New. | |
1423 | (objfile_data_registry): New variable. | |
1424 | (register_objfile_data): New function. | |
1425 | (objfile_alloc_data, objfile_free_data): New functions. | |
1426 | (set_objfile_data, objfile_data): New functions. | |
1427 | * dwarf2-frame.c (dwarf2_frame_data): New variable. | |
1428 | (dwarf2_frame_find_fde, add_fde): Use new per-objfile data mechanism. | |
1429 | (_initialize_dwarf2_frame): New function and prototype. | |
1430 | ||
d90cf509 AC |
1431 | 2003-08-21 Andrew Cagney <[email protected]> |
1432 | ||
1433 | * sh3-rom.c (sh3_open, sh3e_open): Use gdbarch_update_p to select | |
1434 | a specific architecture. | |
1435 | * arch-utils.h (set_architecture_from_arch_mach): Delete | |
1436 | declaration. | |
1437 | (target_architecture_hook): Delete declaration. | |
1438 | * arch-utils.c: Delete non GDB_MULTI_ARCH includes. | |
1439 | (default_float_format): Assume GDB_MULTI_ARCH. | |
1440 | (default_double_format): Assume GDB_MULTI_ARCH. | |
1441 | (set_endian_from_file): Delete function. | |
1442 | (arch_ok): Delete function. | |
1443 | (set_arch): Delete function. | |
1444 | (set_architecture_from_arch_mach): Delete function. | |
1445 | (set_architecture_from_file): Delete function. | |
1446 | (set_architecture): Assume GDB_MULTI_ARCH. | |
1447 | (set_gdbarch_from_file): Assume GDB_MULTI_ARCH. | |
1448 | ||
8b39fe56 MK |
1449 | 2003-08-21 Mark Kettenis <[email protected]> |
1450 | ||
1451 | Rewrite FreeBSD/sparc64 native configuration. | |
1452 | * sparcbsd-nat.c, sparcbsd-nat.h: New files. | |
1453 | * sparc64fbsd-nat.c: New file. | |
1454 | * sparc64fbsd-tdep.c: New file. | |
1455 | * sparc64-tdep.c sparc64-tdep.h: New files. | |
1456 | * Makefile.in (sparcbsd-nat.o, sparc64fbsd-nat.o, sparc64-tdep.o, | |
1457 | sparc64fbsd-tdep.o): New dependencies. | |
1458 | (SFILES): Add sparcbsd-nat.c, sparc64fbsd-nat.c, sparc64-tdep.c | |
1459 | and sparc64fbsd-tdep.c. | |
1460 | (sparc64_tdep_h, sparcbsd_nat_h): New variables. | |
1461 | * config/sparc/fbsd.mh: Remove copyright notice. | |
1462 | (NATDEPFILES): Remove sparc-nat.o, add sparc64fbsd-nat.o and | |
1463 | sparcbsd-nat.o. | |
1464 | * config/sparc/fbsd.mt: Remove copyright notice. | |
1465 | (TDEPFILES): Remove sparc-tdep.o, solib.o solib-svr4.o, | |
1466 | solib-legacy.o. Add sparc64-tdep.o and sparc64fbsd-tdep.o. | |
1467 | * config/sparc/nm-fbsd.h: Don't include "elf/common.h". | |
1468 | (SVR4_SHARED_LIBS, PTRACE_GETREGS, PTRACE_SETREGS, | |
1469 | PTRACE_GETFPREGS, PTRACE_SETFPREGS, GDB_GREGSET_T, GDB_FPREGSET_T, | |
1470 | regs, r_g1, r_ps, r_pc, r_npc, r_y, FPU_FSR_TYPE, fp_status, fpu, | |
1471 | fpu_regs, fp_fr, fpu_fsr, Fpu_fsr): Remove defines. | |
1472 | * config/sparc/tm-fbsd.h: Don't include "solib.h" and | |
1473 | "sparc/tm-sp64.h". | |
1474 | (SVR4_SHARED_LIBS, START_INFERIOR_TRAPS_EXPECTED): Remove defines. | |
1475 | (GDB_MULTI_ARCH): Define to GDB_MULTI_ARCH_TM. | |
1476 | ||
a7f19c79 MC |
1477 | 2003-08-21 Michael Chastain <[email protected]> |
1478 | ||
1479 | * symtab.h: Add doco on the space critical structures and | |
1480 | some measurements of space usage. | |
1481 | ||
da08ea5b MS |
1482 | 2003-08-21 Michael Snyder <[email protected]> |
1483 | ||
1484 | * tracepoint.c (trace_dump_command): Trace break address | |
1485 | is subject to DECR_PC_AFTER_BREAK. | |
1486 | (set_traceframe_context): Make "trace_line" an int. | |
1487 | Fixes suggested by Mark Newman <[email protected]> | |
1488 | ||
6df2bf50 MS |
1489 | 2003-08-20 Michael Snyder <[email protected]> |
1490 | ||
1491 | * sh-tdep.h (struct gdbarch_tdep): New member FLOAT_ARGLAST_REG. | |
1492 | * sh-tdep.c (sh_gdbarch_init): For sh2e, sh3e, and sh4, set | |
1493 | FLOAT_ARG0_REGNUM and FLOAT_ARGLAST_REGNUM, to be used for | |
1494 | argument passing. | |
1495 | (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu): New | |
1496 | functions, replace sh_push_dummy_call. | |
1497 | (sh_gdbarch_init): Set push_dummy_call to one of new methods. | |
1498 | ||
0955bbf0 MC |
1499 | 2003-08-20 Michael Chastain <[email protected]> |
1500 | ||
1501 | * gdbtypes.h (struct main_type): Rearrange to save space. | |
1502 | ||
260a4188 MS |
1503 | 2003-08-20 Michael Snyder <[email protected]> |
1504 | ||
1505 | * trad-frame.c: Comment typo fix. | |
1506 | ||
8baa6f92 KB |
1507 | 2003-08-20 Michael Snyder <[email protected]> |
1508 | Kevin Buettner <[email protected]> | |
1509 | ||
1510 | * frv-tdep.c (gdb_string.h, frame.h, trad-frame.h): Include. | |
1511 | (frv_frame_init_saved_regs): Add declaration. | |
1512 | (frame_extra_info): Add new field ``saved_regs''. | |
1513 | (frv_frame_chain, frv_frame_saved_pc, frv_analyze_prologue) | |
1514 | (frv_skip_prologue, frv_init_extra_frame_info, frv_pop_frame_regular): | |
1515 | Update frame related code. | |
1516 | (frv_extract_struct_value_address): Adjust formatting. | |
1517 | * Makefile.in (frv-tdep.o): Update dependencies. | |
1518 | * config/frv/tm-frv.h (target_insert_watchpoint) | |
1519 | (target_remove_watchpoint, target_insert_hw_breakpoint) | |
1520 | (target_remove_hw_breakpoint): Delete these macros. | |
1521 | (remote_insert_watchpoint, remote_remove_watchpoint) | |
1522 | (remote_insert_hw_watchpoint, remote_remove_hw_watchpoint): Remove | |
1523 | these declarations. | |
1524 | ||
87193939 MC |
1525 | 2003-08-20 Michael Chastain <[email protected]> |
1526 | ||
1527 | * defs.h (ENUM_BITFIELD): New macro. | |
1528 | * symtab.h (ENUM_BITFIELD): Use it. | |
1529 | (BYTE_BITFIELD): Remove old macro, which was already disabled. | |
1530 | ||
062103ba SA |
1531 | 2003-08-19 Shrinivas Atre <[email protected]> |
1532 | ||
1533 | * MAINTAINERS (write after approval): Add myself. | |
1534 | ||
8b148df9 AC |
1535 | 2003-08-18 Andrew Cagney <[email protected]> |
1536 | ||
1537 | * gdbarch.sh (FRAME_RED_ZONE_SIZE): New architecture method. | |
1538 | * gdbarch.h, gdbarch.c: Re-generate. | |
1539 | * infcall.c (call_function_by_hand): Adjust the SP by | |
1540 | frame_red_zone_size before allocating any stack space. | |
1541 | * rs6000-tdep.c (rs6000_gdbarch_init): Set "frame_red_zone_size". | |
1542 | * x86-64-tdep.c (x86_64_frame_align): New function. | |
1543 | (x86_64_init_abi): Set "frame_red_zone_size" and "frame_align". | |
1544 | ||
1545 | * x86-64-tdep.c (x86_64_push_arguments): Revert 2003-08-07 change. | |
1546 | Remove code adjusting SP so that it skips over the Red Zone. | |
1547 | ||
954a4db8 MK |
1548 | 2003-08-18 Mark Kettenis <[email protected]> |
1549 | ||
1550 | * NEWS (New native configurations): Mention FreeBSD/amd64. | |
1551 | ||
1a241548 AC |
1552 | 2003-08-18 Andrew Cagney <[email protected]> |
1553 | ||
1554 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set | |
1555 | "dwarf2_build_frame_info". Append "m68k_frame_sniffer" instead of | |
1556 | "m68k_frame_p". | |
1557 | (m68hc11_frame_sniffer): Replace "m68hc11_frame_p". | |
1558 | ||
f82b2acd MK |
1559 | 2003-08-18 Mark Kettenis <[email protected]> |
1560 | ||
1561 | * x86-64-tdep.c (x86_64_dwarf_regmap): Remove trailing whitespace. | |
1562 | ||
4056d258 ML |
1563 | 2003-08-18 Michal Ludvig <[email protected]> |
1564 | ||
1565 | * config/i386/nm-x86-64linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): | |
1566 | Define. | |
1567 | * i386-linux-nat.c: Include "linux-nat.h". | |
1568 | (child_post_startup_inferior): New function. | |
1569 | ||
99ab4326 MK |
1570 | 2003-08-18 Mark Kettenis <[email protected]> |
1571 | ||
1572 | * i386-tdep.c (i386_analyze_register_saves): Handle register saves | |
1573 | at the start of a frameless function. This probably fixes PR | |
1574 | backtrace/1338. | |
1575 | ||
c8d5f0d6 MC |
1576 | 2003-08-17 Michael Chastain <[email protected]> |
1577 | ||
1578 | * symfile.c (find_sym_fns): Remove special case for apollo target. | |
1579 | ||
9016a515 DJ |
1580 | 2003-08-17 Daniel Jacobowitz <[email protected]> |
1581 | ||
1582 | * linux-nat.c (PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT): Define. | |
1583 | (PTRACE_EVENT_VFORKDONE, PTRACE_EVENT_EXIT): Define. | |
1584 | (linux_parent_pid, linux_supports_tracevforkdone_flag): New variable. | |
1585 | (linux_test_for_tracefork): Set linux_supports_tracevforkdone_flag. | |
1586 | (linux_supports_tracevforkdone): New function. | |
1587 | (linux_enable_event_reporting): Enable TRACEVFORK, TRACEEXEC, and | |
1588 | TRACEVFORKDONE. | |
1589 | (child_follow_fork): Handle vfork. | |
1590 | (linux_handle_extended_wait): Likewise. Also handle exec. | |
1591 | (child_insert_vfork_catchpoint, child_insert_exec_catchpoint): Enable. | |
1592 | * NEWS: Mention fork tracing. | |
1593 | ||
c538c11c DJ |
1594 | 2003-08-17 Daniel Jacobowitz <[email protected]> |
1595 | ||
1596 | * lin-lwp.c (child_wait): Call linux_record_stopped_pid. | |
1597 | ||
4de4c07c DJ |
1598 | 2003-08-17 Daniel Jacobowitz <[email protected]> |
1599 | ||
1600 | * Makefile.in (i386-linux-nat.o): Update dependencies. | |
1601 | * config/i386/nm-linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): Define. | |
1602 | * config/nm-linux.h (CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH) | |
1603 | (CHILD_FOLLOW_FORK, KILL_INFERIOR): Define. | |
1604 | * i386-linux-nat.c: Include "linux-nat.h". | |
1605 | (child_post_startup_inferior): New function. | |
1606 | * i386-nat.c (child_post_startup_inferior): Wrap in #ifdef. | |
1607 | * infptrace.c (kill_inferior): Wrap in #ifdef. | |
1608 | * lin-lwp.c (lin_lwp_attach_lwp): Call child_post_attach after | |
1609 | attaching to each LWP. | |
1610 | (child_wait, lin_lwp_wait): Call linux_handle_extended_wait. | |
1611 | (init_lin_lwp_ops): Fill in some more operations. | |
1612 | * linux-nat.h (linux_enable_event_reporting) | |
1613 | (linux_handle_extended_wait, linux_child_post_startup_inferior): New | |
1614 | prototypes. | |
1615 | * linux-nat.c (linux_enable_event_reporting): New function. | |
1616 | (child_post_attach, linux_child_post_startup_inferior) | |
1617 | (child_post_startup_inferior, child_follow_fork) | |
1618 | (linux_handle_extended_wait, kill_inferior): New functions. | |
1619 | ||
7996bcec AC |
1620 | 2003-08-16 Andrew Cagney <[email protected]> |
1621 | ||
1622 | * gdbarch.sh: Delete all #if not GDB_MULTI_ARCH code. | |
1623 | * gdbarch.h, gdbarch.c: Re-generate. | |
1624 | ||
3d48a7a0 MK |
1625 | 2003-08-16 Mark Kettenis <[email protected]> |
1626 | ||
1627 | * config/alpha/nm-fbsd.h (SVR4_SHARED_LIBS): Remove define. | |
1628 | ||
7989c619 AC |
1629 | 2003-08-16 Andrew Cagney <[email protected]> |
1630 | ||
1631 | * NEWS: Mention that "set prompt-escape-char" was deleted. | |
1632 | * top.c (get_prompt_1): Delete function. | |
1633 | (gdb_prompt_escape): | |
1634 | (init_main): Do not clear "gdb_prompt_escape". Delete "set | |
1635 | prompt-escape-char" command. | |
1636 | (MAX_PROMPT_SIZE): Delete macro. | |
1637 | (get_prompt): Simplify, do not call get_prompt_1. | |
1638 | ||
07978cd8 AC |
1639 | 2003-08-16 Andrew Cagney <[email protected]> |
1640 | ||
1641 | * Makefile.in (printcmd.o, valprint.o): Do not try to build with | |
1642 | -Werror. -Wformat-nonliteral problems. | |
1643 | ||
3ff7cf9e JB |
1644 | 2003-08-15 J. Brobecker <[email protected]> |
1645 | ||
1646 | Further multiarching work mostly for hppa64-*-hpux11: | |
1647 | * hppa-tdep.h: New file. | |
1648 | * hppa-tdep.c: #include hppa-tdep.c. | |
1649 | (hppa32_num_regs): Renamed from hppa_num_regs. | |
1650 | (hppa64_num_regs): New constant. | |
1651 | (hppa64_call_dummy_breakpoint_offset): New constant. | |
1652 | (hppa32_call_dummy_length): New constant. | |
1653 | (hppa64_call_dummy_length): New constant. | |
1654 | (hppa32_stack_align): Make name 32bit explicit. | |
1655 | (hppa32_register_virtual_type): Likewise. | |
1656 | (hppa32_extract_return_value): Likewise. | |
1657 | (hppa32_use_struct_convention): Likewise. | |
1658 | (hppa32_store_return_value): Likewise. | |
1659 | (hppa64_register_virtual_type): New function. | |
1660 | (hppa64_extract_return_value): New function. | |
1661 | (hppa64_use_struct_convention): New function. | |
1662 | (hppa64_store_return_value): New function. | |
1663 | (hppa_frame_locals_address): Remove declaration, function does | |
1664 | not exist anymore. | |
1665 | (hppa_register_byte): Add support for PA64 ABI. | |
1666 | (hppa_gdbarch_init): Add support for PA64 ABI. | |
1667 | * hppa-hpux-tdep.c (hppa32_hpux_frame_saved_pc_in_sigtramp): | |
1668 | Make name 32bit explicit. | |
1669 | (hppa32_hpux_frame_base_before_sigtramp): Likewise. | |
1670 | (hppa32_hpux_frame_find_saved_regs_in_sigtramp): Likewise. | |
1671 | (hppa64_hpux_frame_saved_pc_in_sigtramp): New function. | |
1672 | (hppa64_hpux_frame_base_before_sigtramp): New function. | |
1673 | (hppa64_hpux_frame_find_saved_regs_in_sigtramp): New function. | |
1674 | * config/pa/tm-hppa64.h: Remove macros that are no longer | |
1675 | necessary now that the gdbarch vector is properly setup. | |
1676 | Transform some macros into function calls. Some minor cleanup. | |
1677 | * config/pa/tm-hppah.h: Update function calls in macros | |
1678 | following the function renaming in hppa-hpux-tdep.c. | |
1679 | * Makefile.in (hppa_tdep_h): New variable. | |
1680 | (hppa-tdep.o): Add dependency over hppa_tdep_h. | |
1681 | ||
5d05ca6d MS |
1682 | 2003-08-14 Michael Snyder <[email protected]> |
1683 | ||
1684 | * disasm.c (gdb_disassemble_info): Set info->insn_sets to zero. | |
1685 | ||
37ba2569 JB |
1686 | 2003-08-13 J. Brobecker <[email protected]> |
1687 | ||
1688 | * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Use the correct | |
1689 | bfd arch_info when registering the GDB_OSABI_HPUX_ELF initialization | |
1690 | routine. | |
1691 | ||
aed7f26a MS |
1692 | 2003-08-13 Michael Snyder <[email protected]> |
1693 | ||
1694 | * frv-tdep.c (frv_push_arguments): Use deprecated ftype. | |
1695 | (frv_saved_pc_after_call): Use deprecated ftype. | |
1696 | (stupid_useless_init_extra_frame_info): Remove orphan prototype. | |
1697 | (frv_remote_translate_xfer_address): Remove. | |
1698 | (frv_gdbarch_init): Use generic_remote_translate_xfer_address. | |
1699 | ||
752d4ac1 JB |
1700 | 2003-08-13 J. Brobecker <[email protected]> |
1701 | ||
1702 | * hppa-tdep.c (hppa_gdbarch_init): Perform the ABI-specific gdbarch | |
1703 | initialization after the common gdbarch initialization, not before. | |
1704 | ||
1426ac1d JB |
1705 | 2003-08-13 J. Brobecker <[email protected]> |
1706 | ||
1707 | * config/pa/tm-hppa64.h (HPUX_1100): Remove, not used. | |
1708 | (ADDR_BITS_REMOVE): Remove, redundant. | |
1709 | ||
b6fbdd1d JB |
1710 | 2003-08-13 J. Brobecker <[email protected]> |
1711 | ||
1712 | * hppa-tdep.c (hppa_gdbarch_init): Set the addr_bits_remove | |
1713 | gdbarch method to clear the 2 low bits of text addresses. | |
1714 | ||
44160db3 AC |
1715 | 2003-08-12 Andrew Cagney <[email protected]> |
1716 | ||
1717 | * Makefile.in (dsrec.o): Update dependencies. | |
1718 | * dsrec.c: Include "gdb_assert.h". | |
1719 | (make_srec): Use snprintf instead of sprintf, use a literal format | |
1720 | string. | |
1721 | ||
bcf7d3ca AC |
1722 | 2003-08-12 Andrew Cagney <[email protected]> |
1723 | ||
1724 | * frame.c (deprecated_frame_xmalloc): Use XMALLOC, instead of | |
1725 | FRAME_OBSTACK_ZALLOC. | |
1726 | ||
49ed40de KB |
1727 | 2003-08-12 Kevin Buettner <[email protected]> |
1728 | ||
1729 | * i386-tdep.c (i386_gdbarch_init): Enable default support for | |
1730 | SSE registers. | |
1731 | ||
b246147c MK |
1732 | 2003-08-10 Mark Kettenis <[email protected]> |
1733 | ||
1734 | * x86-64-tdep.h (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end, | |
1735 | amd64fbsd_sc_reg_offset): Add extern declarations. | |
1736 | * amd64fbsd-nat.c (_initialize_am64fbsd_nat): Remove extern | |
1737 | declarations. | |
1738 | ||
d95fdc0d BE |
1739 | 2003-08-11 Ben Elliston <[email protected]> |
1740 | ||
1741 | * MAINTAINERS (write after approval): Update my mail address. | |
1742 | ||
cf6a0e73 AC |
1743 | 2003-08-10 Andrew Cagney <[email protected]> |
1744 | ||
1745 | * Makefile.in (monitor.o): Do not build monitor.c with -Werror. | |
1746 | ||
f837910f MK |
1747 | 2003-08-10 Mark Kettenis <[email protected]> |
1748 | ||
e2dbbd2d MK |
1749 | * i386-tdep.h (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, |
1750 | i386obsd_sigtramp_start, i386obsd_sigtramp_end, | |
1751 | i386fbsd4_sc_reg_offset, i386fbsd_sc_reg_offset, | |
1752 | i386nbsd_sc_reg_offset, i386obsd_sc_reg_offset, | |
1753 | i386bsd_sc_reg_offset): Add extern declarations. | |
1754 | * i386obsd-nat.c: Include "i386-tdep.h" | |
1755 | (_initialize_i386obsd_nat): Remove extern declarations. | |
1756 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Remove extern | |
1757 | declarations. | |
1758 | * i386bsd-nat.c (_initialize_i386bsd_nat): Remove extern | |
1759 | declarations. | |
1760 | ||
f837910f MK |
1761 | * i386-tdep.c (i386_register_to_value): Use get_frame_register |
1762 | instead of frame_read_register. | |
1763 | (i386_fetch_pointer_argument): Use get_frame_register_unsigned | |
1764 | instead of frame_read_register. Use I386_ESP_REGNUM instead of | |
1765 | SP_REGNUM. | |
1766 | (i386_frame_prev_register): Use frame_unwind_register_unsigned | |
1767 | instead of frame_unwind_unsigned_register. Use | |
1768 | I386_EFLAGS_REGISTER instead of PS_REGNUM. | |
1769 | (i386_get_longjmp_target): Use regcache_read_unsigned_register | |
1770 | instead of read_register. Use builtin_type_void_data_ptr instead | |
1771 | of builtin_type_void_func_ptr when extracting the address of the | |
1772 | jmp_buf. | |
1773 | (i386_extract_return_value, i386_store_return_value, | |
1774 | i386_pseudo_register_read, i386_pseudo_register_write): Use | |
1775 | register_size instead REGISTER_RAW_SIZE. | |
1776 | ||
edcf254d AC |
1777 | 2003-08-10 Andrew Cagney <[email protected]> |
1778 | ||
1779 | * infcall.c (call_function_by_hand): Use xstrprintf instead of | |
1780 | sprintf. Make "name" constant. | |
1781 | ||
26604a34 MK |
1782 | 2003-08-10 Mark Kettenis <[email protected]> |
1783 | ||
192285c6 MK |
1784 | * i387-tdep.c (i387_register_to_value): Use get_frame_register |
1785 | instead of frame_read_register. | |
f837910f MK |
1786 | (i387_print_float_info): Use get_frame_register and |
1787 | get_frame_register_unsigned instead of frame_register_read. | |
192285c6 | 1788 | |
f0925262 MK |
1789 | * i386fbsd-nat.c: Include "i386-tdep.h". |
1790 | (child_resume): Make `eflags' an ULONGEST. Use | |
1791 | regcache_cooked_read_unsigned and regcache_cooked_write_unsigned | |
1792 | instead of register_read and register_write. | |
1793 | ||
a144416f MK |
1794 | * i386bsd-nat.c (fetch_inferior_registers, |
1795 | store_inferior_registers): Don't use && at the end of a line. | |
1796 | (_initialize_i386bsd_nat): Fix typo. | |
1797 | ||
fec74868 MK |
1798 | * frame.c (_initialize_frame): Add missing backslash. |
1799 | ||
87232496 MK |
1800 | From Peter Schauer ([email protected]): |
1801 | * sol-thread.c (sol_thread_store_registers): Use regcache_collect | |
1802 | and supply_register instead of manipulating the register buffer | |
1803 | directly. | |
1804 | ||
c9b9de0b MK |
1805 | From Peter Schauer ([email protected]): |
1806 | * config/i386/nm-i386sol2.h | |
1807 | (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Define to one. | |
1808 | ||
26604a34 MK |
1809 | Based on a patch from Michael Elizabeth Chastain ([email protected]): |
1810 | * i386-tdep.c (i386_analyze_frame_setup): Recognize more | |
1811 | instructions that GCC likes to mingle into the prologue. Fixes | |
1812 | gdb/1253 and gdb/1255. | |
1813 | ||
25d29d70 AC |
1814 | 2003-08-09 Andrew Cagney <[email protected]> |
1815 | ||
1816 | Fix GDB PR cli/926. | |
1817 | * cli/cli-decode.c (add_setshow_uinteger_cmd): New function. | |
1818 | * command.h (add_setshow_uinteger_cmd): Declare. | |
1819 | * frame.c (set_backtrace_cmd): New function. | |
1820 | (show_backtrace_cmd): New function. | |
1821 | * frame.c (_initialize_frame): Replace "set/show | |
1822 | backtrace-below-main" with "set/show backtrace past-main". Add | |
1823 | command "set/show backtrace limit". | |
1824 | (backtrace_past_main): Rename "backtrace_below_main". | |
1825 | (backtrace_limit): New variable. | |
1826 | (get_prev_frame): Update. Check the backtrace_limit. | |
1827 | ||
9ebf4acf AC |
1828 | 2003-08-09 Andrew Cagney <[email protected]> |
1829 | ||
1830 | * defs.h (xstrprintf): Declare. | |
1831 | * utils.c (xstrprintf): New function. | |
1832 | * breakpoint.c (insert_breakpoints): Replace sprintf and | |
1833 | non-literal format strings, with xstrprintf and cleanups. | |
1834 | (delete_breakpoint,breakpoint_re_set): Ditto. | |
1835 | (commands_command, insert_breakpoints): Ditto. | |
1836 | (bpstat_stop_status, break_at_finish_at_depth_command_1): Ditto. | |
1837 | (break_at_finish_command_1): Ditto. | |
1838 | ||
3771659b AC |
1839 | 2003-08-09 Andrew Cagney <[email protected]> |
1840 | ||
1841 | * MAINTAINERS (language support): List Adam Fedor as Objective C | |
1842 | maintainer. | |
1843 | ||
b4263afa JB |
1844 | 2003-08-08 J. Brobecker <[email protected]> |
1845 | ||
1846 | * NEWS (Multi-arched targets): Document that all hppa-hpux targets | |
1847 | are now multiarched. | |
1848 | ||
d84defb1 JB |
1849 | 2003-08-08 J. Brobecker <[email protected]> |
1850 | ||
1851 | * config/pa/tm-hppa64.h: Remove lots of macros that are no | |
1852 | longer necessary now that hppa64 is partially multiarch'ed. | |
1853 | ||
f786f615 AC |
1854 | 2003-08-08 Andrew Cagney <[email protected]> |
1855 | ||
1856 | * interps.c (interp_set): Check for a NULL "old_interp". | |
1857 | ||
c938e9b0 L |
1858 | 2003-08-08 H.J. Lu <[email protected]> |
1859 | ||
1860 | * Makefile.in (FLAGS_TO_PASS): Add DESTDIR. | |
1861 | (install-only): Support DESTDIR. | |
1862 | (uninstall): Likewise. | |
1863 | (install-gdbtk): Likewise. | |
1864 | ||
9a146a11 EZ |
1865 | 2003-08-08 Elena Zannoni <[email protected]> |
1866 | ||
1867 | * symtab.c (lookup_symbol_aux): Make sure that is_a_field_of_this | |
1868 | contains something meaningful at all times. | |
1869 | ||
1870 | Fri Aug 8 00:28:46 UTC 2003 Brendan Conoboy <[email protected]> | |
7a76ced5 | 1871 | |
62599e99 | 1872 | * configure.host: Set gdb_host_cpu=arm when host_cpu=xscale. |
7a76ced5 | 1873 | |
56296155 BC |
1874 | Fri Aug 8 00:28:38 UTC 2003 Brendan Conoboy <[email protected]> |
1875 | ||
62599e99 | 1876 | * MAINTAINERS (write after approval): Added self. |
56296155 | 1877 | |
9710e734 AC |
1878 | 2003-08-07 Andrew Cagney <[email protected]> |
1879 | ||
1880 | * inferior.h (AT_SYMBOL): Define. | |
1881 | * blockframe.c (inside_entry_file): Check for AT_SYMBOL. | |
1882 | * infcall.c (call_function_by_hand): Add code to handle AT_SYMBOL. | |
1883 | * mips-tdep.c (mips_call_dummy_address): Delete function. | |
1884 | (mips_gdbarch_init): Set call_dummy_location to AT_SYMBOL, do not | |
1885 | set call_dummy_address. | |
1886 | ||
98b3ab73 AC |
1887 | 2003-08-07 Andrew Cagney <[email protected]> |
1888 | ||
1889 | * language.c (op_error): Delete function. | |
1890 | (binop_type_check): Delete function. | |
1891 | * language.h (type_op_error, range_op_error): Delete macros. | |
1892 | (op_error): Delete declaration. | |
1893 | ||
2fcf52f0 AC |
1894 | 2003-08-07 Andrew Cagney <[email protected]> |
1895 | ||
1896 | * interps.h (INTERP_MI2, INTERP_MI3): Define. | |
1897 | ||
abd4220e | 1898 | 2003-08-07 Michal Ludvig <[email protected]> |
fd83bada | 1899 | |
abd4220e | 1900 | * x86-64-tdep.c (x86_64_dwarf_regmap): Correct register numbers. |
fd83bada | 1901 | (x86_64_push_arguments): Skip the red zone. |
abd4220e | 1902 | |
9dd5f34f AC |
1903 | 2003-08-05 Andrew Cagney <[email protected]> |
1904 | ||
1905 | * reggroups.c (reggroup_next): Check for the final entry. | |
1906 | ||
e5e78edc AC |
1907 | 2003-08-04 Andrew Cagney <[email protected]> |
1908 | ||
ab4e3d93 AC |
1909 | * monitor.h (monitor_dump_reg_block): Remove ATTR_FORMAT. |
1910 | * cli/cli-script.c (define_command): Call query directly, instead | |
1911 | of passing it a buffer. | |
1912 | * ocd.c (ocd_error): Pass error a constant format string. | |
1913 | * remote-mips.c (mips_error): Use fputs_filtered. | |
1914 | ||
1062ca82 AC |
1915 | * solib-svr4.c (_initialize_svr4_solib): Update |
1916 | register_gdbarch_data call. | |
1917 | * mips-linux-tdep.c (_initialize_mips_linux_tdep): Ditto. | |
1918 | ||
fcc1c85c AC |
1919 | * gdbarch.sh (gdbarch_data_free_ftype): Delete declaration. |
1920 | (register_gdbarch_data): Delete "free" parameter. Update | |
1921 | comments. | |
1922 | * gdbarch.h, gdbarch.c: Re-generate. | |
1923 | * reggroups.c (_initialize_reggroup): Update. | |
1924 | * gnu-v3-abi.c (init_gnuv3_ops): Update. | |
1925 | * frame-base.c (_initialize_frame_base): Update. | |
1926 | * frame-unwind.c (_initialize_frame_unwind): Update. | |
1927 | * user-regs.c (_initialize_user_regs): Update. | |
1928 | * remote.c (_initialize_remote): Update. | |
1929 | * regcache.c (_initialize_regcache): Update. | |
1930 | ||
116f06ea AC |
1931 | * regcache.c (xfree_regcache_descr): Delete function. |
1932 | (_initialize_regcache): Update call to register_gdbarch_data. | |
1933 | (init_regcache_descr, init_legacy_regcache_descr): Use | |
1934 | GDBARCH_OBSTACK_XALLOC and GDBARCH_OBSTACK_CALLOC. | |
1935 | ||
e5e78edc AC |
1936 | * remote.c (free_remote_state): Delete function. |
1937 | (_initialize_remote): Update register_gdbarch_data. | |
1938 | (init_remote_state): Use GDBARCH_OBSTACK_XALLOC and | |
1939 | GDBARCH_OBSTACK_CALLOC instead of xmalloc / xcalloc. | |
1940 | ||
6c7d17ba AC |
1941 | 2003-08-04 Andrew Cagney <[email protected]> |
1942 | ||
1943 | * reggroups.c (struct reggroup_el): Define. | |
1944 | (struct reggroups): Delete field "nr_group". Replace array | |
1945 | "group" with a "first" to "last" linked list. | |
1946 | (reggroups_init): Update. Allocate using gdbarch's obstack. | |
1947 | (reggroups_free): Delete function. | |
1948 | (add_group): Update. Add "el" parameter. | |
1949 | (reggroup_add): Pass gdbarch obstack allocated space to add_group. | |
1950 | (default_groups): Update. | |
1951 | (reggroup_next): Replace reggroups. | |
1952 | (reggroups_dump): Update. | |
1953 | (_initialize_reggroup): Pass XMALLOC allocated space to add_group. | |
1954 | * regcache.c (regcache_dump): Use reggroup_next instead of reggroups. | |
1955 | * infcmd.c (registers_info): Use reggroup_next instead of reggroups. | |
1956 | ||
89b7795b DJ |
1957 | 2003-08-04 Daniel Jacobowitz <[email protected]> |
1958 | ||
1959 | * Makefile.in (tui-interp.o): Update dependencies. | |
1960 | ||
306d9ac5 DC |
1961 | 2003-08-04 David Carlton <[email protected]> |
1962 | ||
1963 | * charset.c (cached_iconv_convert): Add __FILE__ and __LINE__ args | |
1964 | to internal_error call. | |
1965 | * source.c (forward_search_command): Add "%s" format argument. | |
1966 | (reverse_search_command): Ditto. | |
1967 | * top.c (quit_confirm): Ditto. | |
1968 | * cli/cli-setshow.c (do_setshow_command): Ditto. | |
1969 | * cp-valprint.c (cp_print_class_method): Replace | |
1970 | {f,}printf_{un,}filtered by {f,}puts_{un,}filtered. | |
1971 | (cp_print_class_member): Ditto. | |
1972 | * event-top.c (command_line_handler): Ditto. | |
1973 | * linux-proc.c (linux_info_proc_cmd): Ditto. | |
1974 | * p-typeprint.c (pascal_type_print_base): Ditto. | |
1975 | * p-valprint.c (pascal_object_print_class_method): Ditto. | |
1976 | (pascal_object_print_class_member): Ditto. | |
1977 | * printcmd.c (print_scalar_formatted,printf_command): Ditto. | |
1978 | * remote.c (remote_cisco_section_offsets): Ditto. | |
1979 | * top.c (command_line_input): Ditto. | |
1980 | * utils.c (vwarning,error_stream,quit): Ditto. | |
1981 | * valprint.c (print_floating,print_binary_chars) | |
1982 | (print_octal_chars,print_decimal_chars,print_hex_chars): Ditto. | |
1983 | ||
57bfe177 AC |
1984 | 2003-08-04 Andrew Cagney <[email protected]> |
1985 | ||
1986 | * frame.c (frame_func_unwind): Use frame_unwind_address_in_block. | |
1987 | ||
e546b999 AC |
1988 | 2003-08-02 Andrew Cagney <[email protected]> |
1989 | ||
1990 | * config/djgpp/fnchange.lst: Fix up testsuite/gdb.c++/annota3.cc, | |
1991 | gdb/testsuite/gdb.c++/annota3.exp, amd64fbsd-tdep.c and | |
1992 | amd64fbsd-nat.c. | |
1993 | ||
91092ee5 AC |
1994 | 2003-08-02 Andrew Cagney <[email protected]> |
1995 | ||
1996 | * Makefile.in: Update all dependencies and definitions. | |
1997 | ||
889f28e2 AF |
1998 | 2003-08-02 Adam Fedor <[email protected]> |
1999 | ||
2000 | * linespec.c (is_objc_method_format): New function | |
2001 | (decode_line_1, locate_first_half): Use it. | |
2002 | Fixes PR objc/1298 | |
2003 | ||
880bc914 AC |
2004 | 2003-08-01 Andrew Cagney <[email protected]> |
2005 | ||
2006 | * NEWS: Mention that m32r is multi-arch. | |
2007 | From 2003-07-28 Kei Sakamoto <[email protected]>: | |
2008 | * configure.tgt: Recognize m32r-*-*. | |
2009 | * config/m32r/tm-m32r.h: Delete file. | |
2010 | * config/m32r/m32r.mt: New file. | |
2011 | * m32r-rom.c (m32r_upload_command): Use hostent only when | |
2012 | gethostname succeeds, in order to avoid a compilation | |
2013 | warning. | |
2014 | * m32r-tdep.c (m32r_store_return_value): Add a cast to remove a | |
2015 | compiler warning. | |
2016 | ||
19f59343 MS |
2017 | 2003-08-01 Michael Snyder <[email protected]> |
2018 | ||
2019 | * sh-tdep.c (sh_frame_align): New gdbarch method. | |
2020 | (sh_gdbarch_init): Set up frame_align method. | |
2021 | ||
4e7d7511 MS |
2022 | 2003-07-31 Michael Snyder <[email protected]> |
2023 | ||
2024 | * value.h, values.c, infcall.c, infcmd.c: Revert 07-30 change, | |
2025 | which is already covered by the new frames infrastructure. | |
2026 | ||
63022984 AC |
2027 | 2003-07-31 Andrew Cagney <[email protected]> |
2028 | ||
2029 | * user-regs.c (struct user_reg): Add "next" link. | |
2030 | (struct user_regs): Replace "user" with "first" and "last" links. | |
2031 | (append_user_reg): Add pre-allocated "reg" parameter. | |
2032 | (builtin_user_regs): Provide initial value for "last". | |
2033 | (user_reg_add_builtin): XMALLOC memory for append_user_reg. | |
2034 | (user_regs_init): Allocate memory from the gdbarch obstack. | |
2035 | (user_reg_add): GDBARCH_OBSTACK_ZALLOC memory for append_user_reg. | |
2036 | (user_reg_map_name_to_regnum): Rewrite to search the user_reg | |
2037 | linked list. | |
2038 | (usernum_to_user_reg): New function. | |
2039 | (user_reg_map_regnum_to_name): Use usernum_to_user_reg. | |
2040 | (value_of_user_reg): Use usernum_to_user_reg. | |
2041 | (user_regs_free): Delete function. | |
2042 | (_initialize_user_regs): Update register_gdbarch_data call. | |
2043 | ||
7cf6e574 DJ |
2044 | 2003-07-31 Daniel Jacobowitz <[email protected]> |
2045 | ||
2046 | * dwarf2read.c (new_symbol): Use var_decode_location for parameters. | |
2047 | ||
c48a845b MS |
2048 | 2003-07-30 Michael Snyder <[email protected]> |
2049 | ||
4e7d7511 | 2050 | * value.h (value_being_returned): Add a struct_addr argument. |
c48a845b MS |
2051 | * infcall.c (call_function_by_hand): Pass struct_addr to |
2052 | value_being_returned. | |
2053 | * infcmd.c (print_return_value): Pass zero as struct_addr. | |
2054 | * values.c (value_being_returned): If struct_addr is passed, | |
2055 | use it instead of trying to recover it from the inferior. | |
2056 | ||
f0d8db19 KB |
2057 | 2003-07-30 Kevin Buettner <[email protected]> |
2058 | ||
2059 | * mn10300-tdep.c (analyze_dummy_frame): Pass ``pc'' so that | |
2060 | the prologue analyzer won't need to attempt to extract the pc | |
2061 | value from the woefully incomplete dummy frame. | |
2062 | (mn10300_analyze_prologue): Avoid calls to get_frame_pc() when | |
2063 | possible. Disable code which modifies the frame. | |
2064 | ||
e5c113a1 AC |
2065 | 2003-07-28 Andrew Cagney <[email protected]> |
2066 | ||
2067 | * annotate.c (annotate_breakpoints_headers): Restrict annotation | |
2068 | to level 2. | |
2069 | (annotate_breakpoints_table, annotate_record): Ditto. | |
2070 | (annotate_breakpoints_table_end, annotate_field_begin): Ditto. | |
2071 | (annotate_field_name_end, annotate_field_value): Ditto. | |
2072 | (annotate_field_end, annotate_frame_source_begin): Ditto. | |
2073 | (annotate_frame_source_file, annotate_frame_source_file_end): Ditto. | |
2074 | (annotate_frame_source_line, annotate_frame_source_end): Ditto. | |
2075 | (annotate_frame_begin, annotate_frame_function_name): Ditto. | |
2076 | (annotate_frame_address_end, annotate_frame_address): Ditto. | |
2077 | (annotate_frame_args, annotate_frame_end): Ditto. | |
2078 | (annotate_frame_where, annotate_arg_begin): Ditto. | |
2079 | (annotate_arg_name_end, annotate_arg_value): Ditto. | |
2080 | (annotate_arg_end, annotate_signal_handler_caller): Ditto. | |
2081 | (annotate_function_call, annotate_signal_name): Ditto. | |
2082 | (annotate_signal_string, annotate_signal_name_end): Ditto. | |
2083 | (annotate_signal_string_end, annotate_value_history_begin): Ditto. | |
2084 | (annotate_value_begin, annotate_value_history_value): Ditto. | |
2085 | (annotate_value_history_end, annotate_value_end): Ditto. | |
2086 | (annotate_display_begin, annotate_display_number_end): Ditto. | |
2087 | (annotate_display_format, annotate_display_expression): Ditto. | |
2088 | (annotate_display_expression_end, annotate_display_value): Ditto. | |
2089 | (annotate_display_end, annotate_array_section_begin): Ditto. | |
2090 | (annotate_elt_rep, annotate_elt_rep_end): Ditto. | |
2091 | (annotate_elt, annotate_array_section_end): Ditto. | |
2092 | ||
bb1db049 AC |
2093 | 2003-07-28 Andrew Cagney <[email protected]> |
2094 | ||
2095 | * regcache.c (struct regcache_descr): Update comments on | |
2096 | nr_raw_registers. | |
2097 | (init_legacy_regcache_descr): Don't set nr_raw_registers or | |
2098 | sizeof_raw_register_valid_p. | |
2099 | (init_regcache_descr): Set nr_raw_registers and | |
2100 | sizeof_raw_register_valid_p before calling | |
2101 | init_legacy_regcache_descr. | |
2102 | ||
20e6603c AC |
2103 | 2003-07-28 Andrew Cagney <[email protected]> |
2104 | ||
2105 | * mips-tdep.c (print_gp_register_row): Print the GPR's register | |
2106 | MOD NUM_REGS. | |
2107 | ||
db742940 DJ |
2108 | 2003-07-28 Daniel Jacobowitz <[email protected]> |
2109 | ||
2110 | * thread.c (info_threads_command): Use get_selected_frame (). | |
2111 | Check that there is at least one non-sentinel frame. | |
2112 | ||
ce7f4371 SC |
2113 | 2003-07-27 Stephane Carrez <[email protected]> |
2114 | ||
2115 | * m68hc11-tdep.c (struct frame_extra_info): Remove. | |
2116 | (m68hc11_pop_frame): Remove. | |
2117 | (m68hc11_frame_saved_pc): Remove. | |
2118 | (m68hc11_frame_chain): Remove. | |
2119 | (m68hc11_frame_init_saved_regs): Remove. | |
2120 | (m68hc11_init_extra_frame_info): Remove. | |
2121 | (m68hc11_store_struct_return): Remove. | |
2122 | (m68hc11_saved_pc_after_call): Remove. | |
2123 | ||
1ea653ae SC |
2124 | 2003-07-27 Stephane Carrez <[email protected]> |
2125 | ||
2126 | * m68hc11-tdep.c (struct m68hc11_unwind_cache): New struct to hold | |
2127 | frame unwind information. | |
2128 | (m68hc11_scan_prologue): New function from m68hc11_guess_from_prologue | |
2129 | and adapted for frame unwinding. | |
2130 | (m68hc11_skip_prologue): Update to scan prologue in temporary object. | |
2131 | (m68hc11_unwind_pc): New function. | |
2132 | (m68hc11_frame_unwind_cache): New function to analyze frames. | |
2133 | (m68hc11_frame_this_id): New function to create new frame struct. | |
2134 | (m68hc11_frame_prev_register): New function to unwind a register from | |
2135 | the frame. | |
2136 | (m68hc11_frame_unwind): Default 68hc11/68hc12 unwinder. | |
2137 | (m68hc11_frame_p): New function for the above. | |
2138 | (m68hc11_frame_base_address): New function to return fp of frame. | |
2139 | (m68hc11_frame_args_address): Update for frame. | |
2140 | (m68hc11_frame_base): Default 68hc11/68hc12 frame. | |
2141 | (m68hc11_unwind_sp): New function. | |
2142 | (m68hc11_unwind_dummy_id): New function. | |
2143 | (m68hc11_gdbarch_init): Install the above frames; remove deprecated | |
2144 | calls. | |
2145 | ||
c8a7f6ac SC |
2146 | 2003-07-27 Stephane Carrez <[email protected]> |
2147 | ||
2148 | * m68hc11-tdep.c (m68hc11_analyze_instruction): Don't advance the pc. | |
2149 | (m68hc11_guess_from_prologue): Advance the pc and frame size only | |
2150 | when we are beyond the current pc. | |
2151 | ||
3dc990bf SC |
2152 | 2003-07-27 Stephane Carrez <[email protected]> |
2153 | ||
2154 | * m68hc11-tdep.c (m68hc11_push_dummy_call): New function adapted | |
2155 | from m68hc11_push_arguments. | |
2156 | (m68hc11_push_arguments): Remove. | |
2157 | (m68hc11_push_return_address): Remove. | |
2158 | (m68hc11_gdbarch_init): Install the above; remove above deprecated | |
2159 | handlers; remove deprecated_extra_stack_alignment_needed. | |
2160 | ||
222e5d1d AC |
2161 | 2003-07-27 Andrew Cagney <[email protected]> |
2162 | ||
2163 | * config/pa/tm-hppa.h (init_frame_pc_default): Declare. | |
2164 | * infcall.c (legacy_push_dummy_code) [GDB_TARGET_IS_HPPA]: Update | |
2165 | REAL_PC and not the pointer. | |
2166 | * hppa-hpux-tdep.c: Include frame.h | |
2167 | ||
a7e9a47e AC |
2168 | 2003-07-27 Andrew Cagney <[email protected]> |
2169 | ||
2170 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Set to | |
2171 | GDB_MULTI_ACH_PARTIAL. | |
2172 | ||
7e3dd49e AC |
2173 | 2003-07-27 Andrew Cagney <[email protected]> |
2174 | ||
2175 | Patch from 2003-07-22 Kei Sakamoto <[email protected]>: | |
2176 | * m32r-tdep.c (m32r_memory_insert_breakpoint): Fix code style - | |
2177 | operator at start and not end of line. | |
2178 | (decode_prologue): Ditto. | |
2179 | (m32r_frame_unwind_cache, m32r_unwind_sp, m32r_unwind_pc): Use | |
2180 | frame_unwind_register_unsigned instead of | |
2181 | frame_unwind_unsigned_register. | |
2182 | (m32r_read_pc): Use regcache_cooked_read_unsigned instead of | |
2183 | read_register. | |
2184 | (m32r_push_dummy_call): Use register_size instead of | |
2185 | REGISTER_RAW_SIZE. | |
2186 | (m32r_frame_sniffer): Replace m32r_frame_p. | |
2187 | (m32r_gdbarch_init): Call frame_unwind_append_sniffer. | |
2188 | * m32r-rom.c (report_transfer_performance): Delete extern | |
2189 | declaration. | |
2190 | (m32r_load, m32r_upload_command): Use print_transfer_performance | |
2191 | instead of report_transfer_performance. | |
2192 | (_initialize_m32r_rom): Use add_setshow_cmd instead of add_set_cmd | |
2193 | / add_show_from_set. | |
2194 | ||
0880807f AC |
2195 | 2003-07-26 Andrew Cagney <[email protected]> |
2196 | ||
2197 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Set non-deprecated | |
2198 | store_return_value and extract_struct_value_address. | |
2199 | ||
64ae9269 DJ |
2200 | 2003-07-26 Daniel Jacobowitz <[email protected]> |
2201 | ||
2202 | PR c++/1267 | |
2203 | * minsyms.c (lookup_minimal_symbol_by_pc_section): If SECTION is | |
2204 | NULL, default to the section containing PC. | |
2205 | ||
e286caf2 SC |
2206 | 2003-07-24 Stephane Carrez <[email protected]> |
2207 | ||
2208 | * NEWS: Mention "regs" deprecated for m68hc11 too. | |
2209 | ||
2210 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Deprecate "regs" command. | |
2211 | (m68hc11_print_register): New function to print out one register. | |
2212 | (m68hc11_print_registers_info): New function to print registers. | |
2213 | (show_regs): Deprecate and use the above. | |
2214 | (m68hc11_gdbarch_init): Install the print_registers_info. | |
2215 | ||
705b278b JJ |
2216 | 2003-07-24 Jeff Johnston <[email protected]> |
2217 | ||
2218 | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Verify | |
2219 | that we have a SIGTRAP before returning non-zero. | |
2220 | ||
63cd4198 EZ |
2221 | 2003-07-23 Michal Ludvig <[email protected]> |
2222 | Elena Zannoni <[email protected]> | |
2223 | ||
2224 | * linespec.c (decode_line_2): Avoid crash if | |
2225 | find_function_start_sal() returns empty record. | |
2226 | ||
6926787d AS |
2227 | 2003-07-23 Andreas Schwab <[email protected]> |
2228 | ||
2229 | * ia64-tdep.c (ia64_print_insn): New function. | |
2230 | (ia64_gdbarch_init): Set print_insn to it. | |
2231 | (_initialize_ia64_tdep): Don't set deprecated_tm_print_insn and | |
2232 | deprecated_tm_print_insn_info. | |
2233 | ||
708cc1b6 MS |
2234 | 2003-07-22 Michael Snyder <[email protected]> |
2235 | ||
2236 | * h8300-tdep.c (h8300_extract_return_value): Teach it how to | |
2237 | handle 8-bit returns (long long). | |
2238 | (h8300h_extract_return_value): Ditto. | |
2239 | (h8300_gdbarch_init): Long long is 8 bytes, char is unsigned. | |
2240 | ||
aebd7893 AC |
2241 | 2003-07-22 Andrew Cagney <[email protected]> |
2242 | ||
2243 | * gdbarch.c Include "gdb_obstack.h". | |
2244 | (struct gdbarch): Add an "obstack". | |
2245 | (alloc_gdbarch_data): Allocate the gdbarch data using | |
2246 | GDBARCH_OBSTACK_CALLOC. | |
2247 | (free_gdbarch_data): Delete function. | |
2248 | (gdbarch_obstack_zalloc): New function. | |
2249 | (gdbarch_free): Free the obstack, do not call free_gdbarch_data. | |
2250 | Assert that the architecture is not initialized. | |
2251 | (gdbarch_alloc): Allocate an obstack, allocate the architecture | |
2252 | vector from the obstack. | |
2253 | (alloc_gdbarch_data, init_gdbarch_swap): Allocate memory using the | |
2254 | architecture obstack. | |
2255 | (GDBARCH_OBSTACK_CALLOC, GDBARCH_OBSTACK_ZALLOC): Define. | |
2256 | (set_gdbarch_data): Assert that the data is not initialized. | |
2257 | (struct gdbarch_data): Delete member "free". | |
2258 | (register_gdbarch_data): Do not initialize "free". | |
2259 | * gdbarch.h, gdbarch.c: Re-generate. | |
2260 | ||
153721e6 AC |
2261 | 2003-07-22 Andrew Cagney <[email protected]> |
2262 | ||
2263 | * configure.in (build_warnings): Add -Wformat-nonliteral. | |
2264 | * configure: Re-generate. | |
2265 | ||
c193f044 | 2266 | 2003-07-22 Elena Zannoni <[email protected]> |
32ffcbed EZ |
2267 | |
2268 | * dwarf2loc.c (locexpr_describe_location): Fix typos. | |
c193f044 | 2269 | |
c3228f12 EZ |
2270 | 2003-07-22 Elena Zannoni <[email protected]> |
2271 | ||
2272 | * findvar.c (read_var_value): Remove case for thread local storage | |
2273 | variables. It is now entirely handled by the dwarf2 location | |
2274 | expression code. | |
2275 | * printcmd.c (address_info): Ditto. | |
2276 | * symtab.h (address_class): Remove LOC_THREAD_LOCAL_STATIC | |
2277 | enumeration value. | |
2278 | (struct symbol): Remove objfile field, which was used by | |
2279 | LOC_THREAD_LOCAL_STATIC only. | |
2280 | * dwarf2read.c (decode_locdesc): Remove is_thread_local variable. | |
2281 | * dwarf2loc.h (struct dwarf2_loclist_baton): Add comment about | |
2282 | usage of objfile pointer. | |
2283 | * dwarf2loc.c (locexpr_describe_location): Add case to handle | |
2284 | thread local variables. | |
2285 | Add include of objfiles.h. | |
2286 | * dwarf2expr.c (execute_stack_op): Add comments about thread local | |
2287 | storage variables. | |
2288 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
2289 | ||
aef9bcd2 AC |
2290 | 2003-07-22 Andrew Cagney <[email protected]> |
2291 | ||
2292 | * config/pa/tm-hppa64.h (FRAME_SAVED_PC_IN_SIGTRAMP): Use | |
2293 | get_frame_base. | |
2294 | (FRAME_BASE_BEFORE_SIGTRAMP): Ditto. | |
2295 | (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Ditto. | |
2296 | (struct value): Add opaque declaration. | |
2297 | (DEPRECATED_FRAME_ARGS_ADDRESS): Delete. | |
2298 | ||
d95a8903 AC |
2299 | 2003-07-21 Andrew Cagney <[email protected]> |
2300 | ||
2301 | From 2003-07-04 Kei Sakamoto <[email protected]>: | |
2302 | * m32r-tdep.c, m32r-stub.c, m32r-tdep.c: Rewrite. | |
2303 | ||
4db73d49 SC |
2304 | 2003-07-20 Stephane Carrez <[email protected]> |
2305 | ||
2306 | * m68hc11-tdep.c (m68hc11_pseudo_register_read): Use | |
2307 | regcache_cooked_read_unsigned instead of read_register. | |
2308 | (m68hc11_saved_pc_after_call): Likewise. | |
2309 | (m68hc11_pseudo_register_write): Use regcache_cooked_write_unsigned | |
2310 | instead of write_register. | |
2311 | (m68hc11_register_type): New function. | |
2312 | (m68hc11_register_virtual_type): Remove. | |
2313 | (m68hc11_store_return_value): Convert to use the regcache. | |
2314 | (m68hc11_extract_struct_value_address): Likewise. | |
2315 | (m68hc11_gdbarch_init): Remove deprecated ops for register to use | |
2316 | m68hc11_register_type; undeprecate store_return_value and | |
2317 | extract_struct_value_address. | |
2318 | ||
ef2b8fcd SC |
2319 | 2003-07-20 Stephane Carrez <[email protected]> |
2320 | ||
2321 | * m68hc11-tdep.c (m68hc11_extract_return_value): Use regcache_raw_read | |
2322 | and translate to use regcache. | |
2323 | (m68hc11_gdbarch_init): Undeprecate extract_return_value. | |
2324 | ||
625b0b97 AC |
2325 | 2003-07-18 Andrew Cagney <[email protected]> |
2326 | ||
2327 | * gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Delete method. | |
2328 | * gdbarch.h, gdbarch.c: Re-generate. | |
2329 | * i386-tdep.c (i386_gdbarch_init): Do not set | |
2330 | DWARF2_BUILD_FRAME_INFO. | |
2331 | * elfread.c (elf_symfile_read): Call dwarf2_build_frame_info | |
2332 | unconditionally. | |
2333 | * alpha-tdep.c (alpha_dwarf2_init_abi): Do not set | |
2334 | DWARF2_BUILD_FRAME_INFO. | |
2335 | ||
22b0d388 AC |
2336 | 2003-07-18 Andrew Cagney <[email protected]> |
2337 | ||
2338 | From 2003-07-04 Kei Sakamoto <[email protected]>: | |
2339 | * disasm.c (gdb_disassemble_info): Initilize di.arch. | |
2340 | ||
1ce5d6dd AC |
2341 | 2003-07-18 Andrew Cagney <[email protected]> |
2342 | ||
2343 | * dwarf2-frame.c (dwarf2_frame_sniffer): Use | |
2344 | frame_unwind_address_in_block, instead of frame_pc_unwind. | |
2345 | (dwarf2_frame_cache): Ditto. | |
2346 | ||
e6e5e94c AC |
2347 | 2003-07-18 Andrew Cagney <[email protected]> |
2348 | ||
2349 | * user-regs.h (struct gdbarch): Declare opaque. | |
2350 | * ui-out.h (struct ui_file): Declare opaque. | |
2351 | * dwarf2-frame.h (struct frame_info): Declare opaque. | |
2352 | ||
5483d879 KW |
2353 | 2003-07-18 Kris Warkentin <[email protected]> |
2354 | ||
2355 | * nto-procfs.c: Clean ARI hits. Change #include <..> to | |
2356 | #include "...". | |
2357 | (procfs_meminfo): Change strerror to safe_strerror. | |
2358 | (procfs_can_run): Remove K&R badness. | |
2359 | ||
278a7cf7 MS |
2360 | 2003-07-17 Michael Snyder <[email protected]> |
2361 | ||
2362 | * remote-sim.c: Comment typo fix. | |
2363 | ||
606e3b82 AC |
2364 | 2003-07-17 Andrew Cagney <[email protected]> |
2365 | ||
2366 | * defs.h (GDB_MULTI_ARCH): Delete conditional define. Handled by | |
2367 | configure. | |
2368 | * sparc-tdep.c (sparc_intreg_size): Make non-static. | |
2369 | * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Define to | |
2370 | GDB_MULTI_ARCH_PARTIAL. | |
2371 | ||
c43af07c EZ |
2372 | 2003-07-17 Elena Zannoni <[email protected]> |
2373 | ||
2374 | * Makefile.in (x86-64-linux-nat.o): Update dependencies. | |
2375 | * x86-64-linux-nat.c (ps_get_thread_area): New function. Add | |
2376 | include of asm/prctl.h, asm/ptrace.h, and gdb_proc_service.h. | |
2377 | ||
3b85b0f1 TR |
2378 | 2003-07-16 Theodore A. Roth <[email protected]> |
2379 | ||
2380 | * avr-tdep.c (avr_skip_prologue): Return PC unchanged if no prologue | |
2381 | found. | |
2382 | (avr_frame_unwind_cache): Don't unwind FP for main. | |
2383 | Update a comment. | |
2384 | Save the computed prev_sp. | |
2385 | (avr_saved_regs_unwinder): Remove function. | |
2386 | (avr_frame_prev_register): Use PC unwind logic from | |
2387 | avr_saved_regs_unwinder(), otherwise use trad_frame_prev_register(). | |
2388 | ||
336d1bba AC |
2389 | 2003-07-16 Andrew Cagney <[email protected]> |
2390 | ||
2391 | * frame-base.h (frame_base_p_ftype): Delete definition. | |
2392 | (frame_base_append_predicate): Delete declaration. | |
2393 | * frame-unwind.h (frame_unwind_p_ftype): Delete definition. | |
2394 | (frame_unwind_append_predicate): Delete declaration. | |
2395 | * frame-unwind.c (struct frame_unwind_table): Delete field "p". | |
2396 | (append_predicate): Delete parameter "p". | |
2397 | (frame_unwind_append_predicate): Delete function. | |
2398 | (frame_unwind_append_sniffer): Update call to append_predicate. | |
2399 | (frame_unwind_free): Delete function. | |
2400 | (_initialize_frame_unwind): Pass NULL as "free" to | |
2401 | register_gdbarch_data. | |
2402 | (frame_unwind_init): Append the dummy_frame_sniffer. | |
2403 | (frame_unwind_find_by_frame): Simplify. | |
2404 | * frame-base.c (struct frame_base_table): Delete field "p". | |
2405 | (append_predicate): Delete parameter "p". | |
2406 | (frame_base_append_predicate): Delete function. | |
2407 | (frame_base_append_sniffer): Update call to append_predicate. | |
2408 | (frame_base_free): Delete function. | |
2409 | (frame_base_find_by_frame): Simplify. | |
2410 | (_initialize_frame_base): Pass NULL as "free" to | |
2411 | register_gdbarch_data. | |
2412 | * x86-64-tdep.c (x86_64_frame_sniffer): Replace "x86_64_frame_p". | |
2413 | (x86_64_sigtramp_frame_sniffer): Replace | |
2414 | "x86_64_sigtramp_frame_p". | |
2415 | (x86_64_init_abi): Set the frame unwind sniffers. | |
2416 | * m68k-tdep.c (m68k_frame_sniffer): Replace "m68k_frame_p". | |
2417 | (m68k_sigtramp_frame_sniffer): Replace "m68k_sigtramp_frame_p" | |
2418 | (m68k_gdbarch_init): Set the frame unwind sniffers. | |
2419 | * i386-tdep.c (i386_sigtramp_frame_sniffer): Replace | |
2420 | "i386_sigtramp_frame_p". | |
2421 | (i386_frame_sniffer): Replace "i386_frame_p". | |
2422 | (i386_gdbarch_init): Set the frame unwind sniffers. | |
2423 | * avr-tdep.c (avr_frame_sniffer): Replace "avr_frame_sniffer". | |
2424 | (avr_gdbarch_init): Set the frame unwind sniffers. | |
2425 | * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Replace | |
2426 | "alpha_sigtramp_frame_p" | |
2427 | (alpha_heuristic_frame_sniffer): Replace | |
2428 | "alpha_heuristic_frame_p". | |
2429 | (alpha_gdbarch_init): Set the frame unwind sniffers. | |
2430 | (alpha_dwarf2_init_abi): Ditto. | |
2431 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_sniffer): Replace | |
2432 | "alpha_debug_frame_p". | |
2433 | (alpha_mdebug_frame_base_sniffer): Replace | |
2434 | "alpha_mdebug_frame_base_p". | |
2435 | (alpha_mdebug_init_abi): Set the frame unwind sniffers. | |
2436 | * d10v-tdep.c (d10v_frame_sniffer): Replace "d10v_frame_p". | |
2437 | (d10v_gdbarch_init): Set the frame unwind sniffer. | |
2438 | * dwarf2-frame.c (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". | |
2439 | (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". | |
2440 | * dwarf2-frame.h (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". | |
2441 | (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". | |
2442 | * dummy-frame.c (dummy_frame_sniffer): Replace "dummy_frame_p". | |
2443 | * dummy-frame.h (dummy_frame_sniffer): Replace "dummy_frame_p". | |
2444 | ||
48db5a3c CV |
2445 | 2003-07-16 Michael Snyder <[email protected]> |
2446 | ||
2447 | * sh-tdep.c (sh_gdbarch_init): Fetch_registers for the sh3-dsp | |
2448 | should go thru sh_dsp_register_sim_regno, else the dsp regs | |
2449 | will not get the right values. | |
2450 | ||
2451 | 2003-07-16 Corinna Vinschen <[email protected]> | |
2452 | ||
2453 | * sh-tdep.c (sh_sh4_register_convert_to_virtual): Substitute call to | |
2454 | deprecated_store_floating by call to store_typed_floating. | |
2455 | (sh_sh4_register_convert_to_raw): Substitute call to | |
2456 | deprecated_extract_floating by call to extract_typed_floating. | |
2457 | ||
2458 | 2003-07-16 Corinna Vinschen <[email protected]> | |
2459 | ||
2460 | * sh-tdep.c (sh_gdbarch_init): Set double to 4 byte on sh2e and sh3e. | |
2461 | ||
2462 | 2003-07-16 Corinna Vinschen <[email protected]> | |
2463 | ||
2464 | * sh-tdep.c: Substitute calls to REGISTER_RAW_SIZE by calls to | |
2465 | register_size and calls to REGISTER_VIRTUAL_TYPE by calls to | |
2466 | gdbarch_register_type in 32 bit code throughout. Avoid current_gdbarch | |
2467 | as possible. | |
2468 | (do_pseudo_register): Remove. | |
2469 | (sh_push_dummy_code): New function. | |
2470 | (sh64_store_struct_return): Rename from sh_store_struct_return. | |
2471 | Only called for sh64 now. | |
2472 | (sh_extract_struct_value_address): Regcache'ify. | |
2473 | (sh_push_dummy_call): Rename from sh_push_arguments. Regcache'ify | |
2474 | and accomodate new tasks. | |
2475 | (sh64_push_return_address): Rename from sh_push_return_address. | |
2476 | Only called for sh64 now. | |
2477 | (sh_default_extract_return_value): Rename from sh_extract_return_value. | |
2478 | Regcache'ify. | |
2479 | (sh3e_sh4_extract_return_value): Regcache'ify. | |
2480 | (sh_default_store_return_value): Ditto. | |
2481 | (sh3e_sh4_store_return_value): Ditto. | |
2482 | (sh_default_register_byte): Remove. | |
2483 | (sh_sh4_register_byte): Remove. | |
2484 | (sh_default_register_raw_size): Remove. | |
2485 | (sh_sh4_register_raw_size): Remove. | |
2486 | (sh_register_virtual_size): Remove. | |
2487 | (sh_sh3e_register_virtual_type): Remove. | |
2488 | (sh_sh3e_register_type): New function. | |
2489 | (sh_sh4_register_virtual_type): Remove. | |
2490 | (sh_sh4_register_type): New function. | |
2491 | (sh_default_register_virtual_type): Remove. | |
2492 | (sh_default_register_type): New function. | |
2493 | (do_fv_register_info): Add parameters to accomodate call from | |
2494 | sh_print_registers_info. | |
2495 | (do_dr_register_info): Ditto. | |
2496 | (sh_print_pseudo_register): Rename from sh_do_pseudo_register. | |
2497 | Add parameters to accomodate call from sh_print_registers_info. | |
2498 | (sh_do_fp_register): Ditto. | |
2499 | (sh64_do_pseudo_register): Call do_dr_register_info, | |
2500 | do_fv_register_info and sh_do_fp_register with default parameters. | |
2501 | (sh_do_register): Add parameters to accomodate call from | |
2502 | sh_print_registers_info. | |
2503 | (sh_print_register): Ditto. | |
2504 | (sh_print_registers_info): Rename from sh_do_registers_info. | |
2505 | Add parameters to be used as gdbarch_print_registers_info | |
2506 | implementation. Accomodate removed do_pseudo_register function | |
2507 | pointer. | |
2508 | (sh_compact_do_registers_info): Accomodate removed do_pseudo_register | |
2509 | function pointer. Call sh_print_register with default parameters. | |
2510 | (sh64_do_registers_info): Call sh_print_registers_info instead of | |
2511 | sh_do_registers_info. | |
2512 | (sh_gdbarch_init): Rearrange to cleanup and to allow easier | |
2513 | detection of deprecated vs. non-deprecated functionality. | |
2514 | Rename sh_call_dummy_words to sh64_call_dummy_words. Remove | |
2515 | function pointer assignments by direct function calls. | |
2516 | ||
e8a89fe2 AC |
2517 | 2003-07-15 Andrew Cagney <[email protected]> |
2518 | ||
2519 | * frame.c (get_frame_id): Use frame_unwind_find_by_frame. | |
2520 | (frame_register_unwind, create_new_frame): Ditto. | |
2521 | (legacy_get_prev_frame, get_frame_type): Ditto. | |
2522 | (get_frame_base_address): Use frame_base_find_by_frame. | |
2523 | (get_frame_locals_address): Use frame_base_find_by_frame. | |
2524 | (get_frame_args_address): Use frame_base_find_by_frame. | |
2525 | * frame-base.h (frame_base_sniffer_ftype): Declare. | |
2526 | (frame_base_append_sniffer): Declare. | |
2527 | (frame_base_find_by_frame): Replace frame_base_find_by_pc. | |
2528 | * frame-base.c (append_predicate): Add a "sniffer" parameter. | |
2529 | (frame_base_append_sniffer): New function. | |
2530 | (frame_base_append_predicate): Add a NULL sniffer. | |
2531 | (frame_base_find_by_frame): Replace "frame_base_find_by_pc". | |
2532 | (struct frame_base_table): Add "sniffer". | |
2533 | (frame_base_free): Free the "sniffer" table. | |
2534 | * frame-unwind.h (frame_unwind_sniffer_ftype): Define. | |
2535 | (frame_unwind_append_sniffer): Declare. | |
2536 | (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc. | |
2537 | * frame-unwind.c (frame_unwind_free): Free the "sniffer" table. | |
2538 | (struct frame_unwind_table): Add "sniffer", delete "middle". | |
2539 | (append_predicate): Add "sniffer" parameter, append the sniffer. | |
2540 | (frame_unwind_init): Update append_predicate call. | |
2541 | (frame_unwind_append_sniffer): New function. | |
2542 | (frame_unwind_append_predicate): Update append_predicate call. | |
2543 | (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc. | |
2544 | ||
0714963c AC |
2545 | 2003-07-15 Andrew Cagney <[email protected]> |
2546 | ||
2547 | * frame.c (get_prev_frame): Move disabled inside_entry_func to | |
2548 | before code inhibiting repeated unwind attempts. Add to | |
2549 | commentary on that test's problems. | |
2550 | * blockframe.c (inside_main_func): Look for "main" in the minimal | |
2551 | symbol table. | |
2552 | * d10v-tdep.c (d10v_frame_this_id): Delete check that frames are | |
2553 | identical. | |
2554 | ||
d9170e22 AC |
2555 | 2003-07-15 Andrew Cagney <[email protected]> |
2556 | ||
2557 | * complaints.c (struct explanation): Define. | |
2558 | (struct complaints): Change type of "explanation" to "struct | |
2559 | explanation". | |
2560 | (symfile_explanations): Convert to a "struct explanation" table. | |
2561 | (vcomplaint): Update. | |
2562 | ||
eba29c8c ML |
2563 | 2003-07-15 Michal Ludvig <[email protected]> |
2564 | ||
2565 | * x86-64-linux-nat.c (regmap): Removed. | |
2566 | (supply_gregset, fill_gregset): Call | |
2567 | x86_64_linux_(fill,supply)_gregset functions. | |
2568 | * x86-64-linux-tdep.c (USER_*): New defines. | |
2569 | (user_to_gdb_regmap, x86_64_core_fns): New structure. | |
2570 | (x86_64_linux_supply_gregset, x86_64_linux_fill_gregset): | |
2571 | New functions. | |
2572 | (fetch_core_registers): Ditto. | |
2573 | (_initialize_x86_64_linux_tdep): Call add_core_fns(). | |
2574 | * x86-64-linux-tdep.h: New file. | |
2575 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove corelow.o | |
2576 | and core-regset.o. | |
2577 | * config/i386/x86-64linux.mt (TDEPFILES): Add corelow.o. | |
2578 | ||
68cc0bfb MK |
2579 | 2003-07-13 Mark Kettenis <[email protected]> |
2580 | ||
88a115f7 MK |
2581 | * x86-64-tdep.c (x86_64_store_return_value): Use |
2582 | regcache_cooked_write_part instead of regcache_cooked_write. | |
01e4b823 | 2583 | |
68cc0bfb MK |
2584 | * configure.host: Add x86_64-*-freebsd*. |
2585 | * configure.tgt: Add x86_64-*-freebsd*. | |
2586 | * Makefile.in (amd64fbsd-nat.o, amd64fbsd-tdep.o): New targets. | |
2587 | * amd64fbsd-nat.c: New file. | |
2588 | * amd64fbsd-tdep.c: New file. | |
2589 | * config/i386/nm-fbsd64.h: New file. | |
2590 | * config/i386/fbsd64.mh: New file. | |
2591 | * config/i386/fbsd64.mt: New file. | |
2592 | ||
138e7be5 MK |
2593 | 2003-07-11 Mark Kettenis <[email protected]> |
2594 | ||
2595 | * alpha-tdep.h (struct gdbarch_tdep): Add members `sc_pc_offset', | |
2596 | `sc_regs_offset' and `sc_fpregs_offset'. | |
2597 | * alpha-tdep.c (SIGFRAME_PC_OFF, SIGFRAME_REGSAVE_OFF, | |
2598 | SIGFRAME_FPREGSAVE_OFF): Remove defines. | |
2599 | (alpha_sigtramp_register_address): Rewrite to use new members of | |
2600 | `struct gdbarch_tdep'. | |
2601 | (alpha_gdbarch_init): Initialize new members of struct | |
2602 | gdbarch_tdep'. | |
2603 | * alphafbsd-tdep.c (alphafbsd_use_struct_convention): Use | |
2604 | ALPHA_REGISTER_SIZE instead of DEPRECATED_REGISTER_SIZE. | |
2605 | (alphafbsd_sigtramp_start, alphafbsd_sigtramp_end): Nre variables. | |
2606 | (alphafbsd_pc_in_sigtramp): Implement. | |
2607 | (alphafbsd_sigtramp_offset): New function. | |
2608 | (alphafbsd_sigcontext_addr): New function. | |
2609 | (alphafbsd_init_abi): Initialize signal trampoline related members | |
2610 | of `struct gdbarch_tdep'. | |
2611 | (_initialize_alphafbsd_tdep): Add prototype. | |
2612 | ||
95303a68 TR |
2613 | 2003-07-11 Theodore A. Roth <[email protected]> |
2614 | ||
ba292e4c TR |
2615 | * Makefile.in (install-only): Quote sed expression when generating |
2616 | transformed_name. | |
95303a68 | 2617 | |
6896c0c7 RH |
2618 | 2003-07-11 Richard Henderson <[email protected]> |
2619 | ||
2620 | * Makefile.in (dwarf2-frame.o): Add complaints_h. | |
2621 | * dwarf2-frame.c: Include complaints.h. | |
2622 | (decode_frame_entry_1): Rename from decode_frame_entry; tidy | |
2623 | variable initialization; return NULL on error. | |
2624 | (decode_frame_entry): New. | |
2625 | ||
8edd5d01 AC |
2626 | 2003-07-11 Andrew Cagney <[email protected]> |
2627 | ||
c4a09524 AC |
2628 | * frame.h (frame_address_in_block): Delete declaration. |
2629 | * blockframe.c (frame_address_in_block): Delete function. | |
2630 | (get_frame_block): Use get_frame_address_in_block. | |
2631 | (block_innermost_frame): Ditto. | |
2632 | * stack.c (print_frame, backtrace_command_1): Ditto. | |
2633 | ||
8edd5d01 AC |
2634 | * frame.h (get_frame_address_in_block): Declare. |
2635 | (frame_unwind_address_in_block): Declare. | |
2636 | * frame.c (frame_unwind_address_in_block): New function. | |
2637 | (get_frame_address_in_block): New function. | |
2638 | ||
f7968451 AC |
2639 | 2003-07-10 Andrew Cagney <[email protected]> |
2640 | ||
2641 | * gdbarch.sh: Simplify predicate methods. Remove need to provide | |
2642 | pre-default. Note: re-generate has no effect. | |
2643 | ||
ae99b398 AC |
2644 | 2003-07-10 Andrew Cagney <[email protected]> |
2645 | ||
2646 | * gdbarch.sh: When a variable, but not a function, compare against | |
2647 | 0. Fix problem in previous patch. | |
2648 | * gdbarch.c: Re-generate. | |
2649 | ||
956ac328 AC |
2650 | 2003-07-10 Andrew Cagney <[email protected]> |
2651 | ||
2652 | * gdbarch.sh: Use gdb_assert instead of internal_error. Compare | |
2653 | functions against NULL, not 0. | |
2654 | * gdbarch.c: Re-generate. | |
2655 | ||
287c3240 FF |
2656 | 2003-07-10 Fred Fish <[email protected]> |
2657 | ||
2658 | * coff-solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Default to a | |
2659 | null string instead of a null pointer. | |
2660 | * solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Ditto. | |
2661 | ||
32f63c4b MS |
2662 | 2003-07-09 Michael Snyder <[email protected]> |
2663 | ||
2664 | * sh-tdep.c (sh_dsp_register_sim_regno): Off-by-one error. | |
2665 | ||
402ecd56 MK |
2666 | 2003-07-09 Mark Kettenis <[email protected]> |
2667 | ||
2668 | * x86-64-tdep.h (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, | |
2669 | X86_64_RDI_REGNUM, X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, | |
2670 | X86_64_RIP_REGNUM, X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, | |
2671 | X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM): Moved here ... | |
2672 | * x86-64-tdep.c: ... from here. | |
2673 | ||
c481dac7 AS |
2674 | 2003-07-09 Andreas Schwab <[email protected]> |
2675 | ||
2676 | * m68k-tdep.h (enum struct_return): Define. | |
2677 | (struct gdbarch_tdep): Add struct_return. | |
2678 | * m68k-tdep.c (m68k_push_dummy_call): Non-scalars bigger than 4 | |
2679 | bytes are padded to the right, not to the left. Pass struct value | |
2680 | address in register %a1, not on stack. | |
2681 | (m68k_use_struct_convention): New function. | |
2682 | (m68k_gdbarch_init): Set use_struct_convention. Initialize | |
2683 | struct_return in tdep to pcc_struct_return. | |
2684 | * m68klinux-tdep.c (m68k_linux_init_abi): Set struct_return to | |
2685 | reg_struct_return. | |
2686 | ||
64176fa3 JB |
2687 | 2003-07-09 Joel Brobecker <[email protected]> |
2688 | ||
2689 | * somread.c (som_symfile_offsets): Fix compilation error. | |
2690 | ||
96a4ee76 AC |
2691 | 2003-07-09 Andrew Cagney <[email protected]> |
2692 | ||
2693 | * regcache.c (register_size): Only check REGISTER_RAW_SIZE once. | |
2694 | Add comments about the checks. | |
2695 | ||
1517c6d1 AC |
2696 | 2003-07-08 Andrew Cagney <[email protected]> |
2697 | ||
2698 | * Makefile.in: Make dependency section headers consistent. | |
2699 | (config_h): Move to $BUILD headers section. | |
2700 | (exc_request_U_h, exc_request_S_h, msg_reply_S_h): Ditto. | |
2701 | (msg_U_h, notify_S_h, process_reply_S_h): Ditto. | |
2702 | (ada-exp.tab.c): Move to YACC/LEX section. | |
2703 | (ada-lex.c, c-exp.tab.c, f-exp.tab.c): Ditto. | |
2704 | (jv-exp.tab.c, m2-exp.tab.c, objc-exp.tab.c, p-exp.tab.c): Ditto. | |
2705 | ||
dc5dd1eb KW |
2706 | 2003-07-08 Kris Warkentin <[email protected]> |
2707 | ||
2708 | * nto-procfs.c: Cleaned up a bunch of ARI hits. | |
fda848e0 KW |
2709 | Include "gdb_dirent.h" instead of <dirent.h>, replace all instances |
2710 | of strerror with safe_strerror, use ISO C function definitions, | |
2711 | and replace instances of sprintf with snprintf. | |
dc5dd1eb | 2712 | |
612dde91 AC |
2713 | 2003-07-07 Andrew Cagney <[email protected]> |
2714 | ||
2715 | * frame.c (get_prev_frame): Enable check for identical frames. | |
2716 | Update comments. Update error messages. | |
2717 | ||
492c11d3 JB |
2718 | 2003-07-07 Joel Brobecker <[email protected]> |
2719 | ||
2720 | * hpread.c (hpread_psymtab_to_symtab_1): Fix compilation failure. | |
2721 | ||
376a5a49 JB |
2722 | 2003-07-07 Joel Brobecker <[email protected]> |
2723 | ||
2724 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Remove call to | |
2725 | sort_symtab_syms, no longer necessary. | |
2726 | ||
22b4a9ad JB |
2727 | 2003-07-07 Joel Brobecker <[email protected]> |
2728 | ||
2729 | * config/mips/tm-irix6.h (MIPS_REGISTER_TYPE): Add comment. | |
2730 | ||
5bbcb741 JB |
2731 | 2003-07-07 Joel Brobecker <[email protected]> |
2732 | ||
2733 | * mips-tdep.c (mips_register_raw_size): Fix compilation failure. | |
2734 | (mips_register_byte): Likewise. | |
2735 | ||
c139e7d9 DJ |
2736 | 2003-07-07 Daniel Jacobowitz <[email protected]> |
2737 | ||
2738 | * Makefile.in (sparc_tdep_h): New. | |
2739 | (sparc-linux-nat.o, sparc-nat.o, sparc-tdep.o, sparc64nbsd-nat.o) | |
2740 | (sparcnbsd-nat.o, sparcnbsd-tdep.o): Depend on $(sparc_tdep_h). | |
2741 | * sparc-linux-nat.c: Include "sparc-tdep.h". | |
2742 | * sparc-nat.c: Likewise. | |
2743 | * sparc-tdep.c: Likewise. | |
2744 | * sparc64nbsd-nat.c: Likewise. | |
2745 | * sparcnbsd-nat.c: Likewise. | |
2746 | * sparcnbsd-tdep.c: Likewise. | |
2747 | * sparc-tdep.h: New file. | |
2748 | * config/sparc/tm-sparc.h: Remove prototypes for sparc_y_regnum | |
2749 | and sparc_npc_regnum. | |
2750 | ||
fd8f87c5 DJ |
2751 | 2003-07-07 Daniel Jacobowitz <[email protected]> |
2752 | ||
2753 | * mips-linux-nat.c (mips_linux_cannot_fetch_register) | |
2754 | (mips_linux_cannot_store_register): List supported instead of | |
2755 | unsupported registers. | |
2756 | ||
13adf674 DJ |
2757 | 2003-07-07 Daniel Jacobowitz <[email protected]> |
2758 | ||
2759 | * disasm.c (dump_insns): Separate instructions from addresses. | |
2760 | ||
8de307e0 AS |
2761 | 2003-07-07 Andreas Schwab <[email protected]> |
2762 | ||
2763 | * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update | |
2764 | dependencies. | |
2765 | * m68k-tdep.c (NUM_FREGS): Delete. | |
2766 | (SIG_PC_FP_OFFSET): Delete. | |
2767 | (TARGET_M68K): Delete. | |
2768 | (P_MOVEAL_SP_FP, P_ADDAW_SP, P_ADDAL_SP, P_SUBQW_SP, | |
2769 | P_SUBQL_SP, P_LEA_SP_SP, P_LEA_PC_A5, P_FMOVEMX_SP, | |
2770 | P_MOVEL_SP, P_MOVEML_SP): Define. | |
2771 | (P_MOVL_SP_FP, P_MOVL, P_JSR, P_BSR, P_LEAL, P_MOVML, P_FMOVM, | |
2772 | P_TRAP): Delete. | |
2773 | (m68k_register_raw_size): Delete. | |
2774 | (m68k_register_virtual_size): Delete. | |
2775 | (m68k_register_type): Renamed from m68k_register_virtual_type and | |
2776 | add gdbarch argument. | |
2777 | (m68k_store_struct_return): Delete. | |
2778 | (m68k_deprecated_extract_return_value): Delete. | |
2779 | (m68k_deprecated_extract_struct_value_address): Delete. | |
2780 | (m68k_frame_chain): Delete. | |
2781 | (m68k_frame_saved_pc): Delete. | |
2782 | (m68k_fix_call_dummy): Delete. | |
2783 | (m68k_push_dummy_frame): Delete. | |
2784 | (m68k_pop_frame): Delete. | |
2785 | (m68k_extract_return_value): New function. | |
2786 | (m68k_store_return_value): Rewrite using regcache. | |
2787 | (m68k_extract_struct_value_address): Rewrite using regcache. | |
2788 | (m68k_push_dummy_call): New function. | |
2789 | (struct m68k_frame_cache): Define. | |
2790 | (m68k_alloc_frame_cache): New function. | |
2791 | (m68k_analyze_frame_setup): New function. | |
2792 | (m68k_analyze_register_saves): New function. | |
2793 | (m68k_analyze_prologue): New function. | |
2794 | (m68k_skip_prologue): Rewrite using above functions. | |
2795 | (m68k_unwind_pc): New function. | |
2796 | (m68k_frame_cache): New function. | |
2797 | (m68k_frame_this_id): New function. | |
2798 | (m68k_frame_prev_register): New function. | |
2799 | (m68k_frame_unwind): New variable. | |
2800 | (m68k_frame_p): New function. | |
2801 | (m68k_sigtramp_frame_cache): New function. | |
2802 | (m68k_sigtramp_frame_this_id): New function. | |
2803 | (m68k_sigtramp_frame_prev_register): New function. | |
2804 | (m68k_sigtramp_frame_unwind): New variable. | |
2805 | (m68k_sigtramp_frame_p): New function. | |
2806 | (m68k_frame_base_address): New function. | |
2807 | (m68k_frame_base): New function. | |
2808 | (m68k_unwind_dummy_id): New function. | |
2809 | (fill_gregset): Use regcache_collect. | |
2810 | (fill_fpregset): Likewise. | |
2811 | (m68k_saved_pc_after_call): Only define if SYSCALL_TRAP is | |
2812 | defined. | |
2813 | (m68k_gdbarch_init): Don't define call_dummy_words. Don't set | |
2814 | deprecated_init_frame_pc, deprecated_store_struct_return, | |
2815 | deprecated_extract_return_value, deprecated_store_return_value, | |
2816 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
2817 | deprecated_frame_init_saved_regs, deprecated_register_raw_size, | |
2818 | deprecated_register_virtual_size, | |
2819 | deprecated_max_register_raw_size, | |
2820 | deprecated_max_register_virtual_size, | |
2821 | deprecated_register_virtual_type, deprecated_register_size, | |
2822 | deprecated_register_byte, deprecated_register_bytes, | |
2823 | deprecated_fp_regnum, deprecated_use_generic_dummy_frames, | |
2824 | call_dummy_location, deprecated_call_dummy_breakpoint_offset, | |
2825 | deprecated_pc_in_call_dummy, deprecated_call_dummy_length, | |
2826 | deprecated_call_dummy_start_offset, deprecated_call_dummy_words, | |
2827 | deprecated_sizeof_call_dummy_words, deprecated_fix_call_dummy, | |
2828 | deprecated_push_dummy_frame, deprecated_pop_frame, | |
2829 | deprecated_dummy_write_sp. Set deprecated_saved_pc_after_call | |
2830 | only if SYSCALL_TRAP is defined. Set extract_return_value, | |
2831 | store_return_value, extract_struct_value_address, register_type, | |
2832 | push_dummy_call, unwind_dummy_id, unwind_pc. Add two frame unwind | |
2833 | predicates. | |
2834 | * m68k-tdep.h (M68K_D1_REGNUM, M68K_NUM_REGS, | |
2835 | M68K_MAX_REGISTER_SIZE): Define. | |
2836 | (struct m68k_sigtramp_info): Define. | |
2837 | (struct gdbarch_tdep): Add get_sigtramp_info. | |
2838 | * m68klinux-nat.c (fetch_register): Use register_size instead of | |
2839 | REGISTER_RAW_SIZE. Don't put assignment in if. | |
2840 | (store_register): Likewise. | |
2841 | (fetch_inferior_registers): Likewise. | |
2842 | (store_inferior_registers): Likewise. | |
2843 | * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Delete. | |
2844 | (m68k_linux_frame_saved_pc): Delete. | |
2845 | (m68k_linux_sigcontext_reg_offset, | |
2846 | m68k_linux_ucontext_reg_offset): Define. | |
2847 | (m68k_linux_get_sigtramp_info): New function. | |
2848 | (m68k_linux_extract_return_value): Rewrite using regcache. | |
2849 | (m68k_linux_store_return_value): Likewise. | |
2850 | (m68k_linux_extract_struct_value_address): Likewise. | |
2851 | (m68k_linux_init_abi): Set get_sigtramp_info in tdep structure. | |
2852 | Don't set deprecated_frame_saved_pc, | |
2853 | deprecated_extract_return_value, deprecated_store_return_value, | |
2854 | deprecated_extract_struct_value_address. Set | |
2855 | extract_return_value, store_return_value, | |
2856 | extract_struct_value_address. | |
2857 | ||
eb8bc282 AC |
2858 | 2003-07-07 Andrew Cagney <[email protected]> |
2859 | ||
2860 | * expprint.c: Include "user-regs.h" instead of "frame.h". | |
2861 | (print_subexp): Use user_reg_map_regnum_to_name, instead of | |
2862 | frame_map_regnum_to_name. | |
2863 | * frame.c: Include "user-regs.h" instead of "builtin-regs.h". | |
2864 | (frame_map_name_to_regnum): Simplify, call | |
2865 | user_reg_map_name_to_regnum. | |
2866 | (frame_map_regnum_to_name): Simplify, call | |
2867 | user_reg_map_regnum_to_name. | |
2868 | (frame_register_unwind): Update. | |
2869 | * std-regs.c: Include "user-regs.h" instead of "builtin-regs.h". | |
2870 | (_initialize_frame_reg): Call user_reg_add_builtin. | |
2871 | * findvar.c: Include "user-regs.h" instead of "builtin-regs.h". | |
2872 | (value_of_register): Use value_of_user_reg. | |
2873 | * eval.c (evaluate_subexp_standard): Update. | |
2874 | * parse.c (write_dollar_variable): Update. | |
2875 | * d10v-tdep.c (d10v_print_registers_info): Update. | |
2876 | * infcmd.c (registers_info): Update. | |
2877 | * Makefile.in (SFILES): Delete "builtin-regs.c", add "user-regs.c". | |
2878 | (builtin_regs_h): Delete macro. | |
2879 | (user_regs_h): Define. | |
2880 | (COMMON_OBS): Delete "builtin-regs.o", add "user-regs.o". | |
2881 | (builtin-regs.o): Delete target. | |
2882 | (user-regs.o): Specify dependencies. | |
2883 | (expprint.o): Update dependencies. | |
2884 | (findvar.o): Update dependencies. | |
2885 | (frame.o): Update dependencies. | |
2886 | (std-regs.o): Update dependencies. | |
2887 | ||
9f476a01 CF |
2888 | 2003-07-06 Christopher Faylor <[email protected]> |
2889 | ||
2890 | * win32-nat.c (solib_symbols_add): Use one variable for all section | |
2891 | address stuff. Pass variable rather than address of variable to | |
2892 | safe_symbol_file_add. | |
2893 | ||
a731b831 AS |
2894 | 2003-07-06 Andreas Schwab <[email protected]> |
2895 | ||
2896 | * m68klinux-nat.c (fill_fpregset): Fix use of loop index. | |
2897 | ||
9f83329d JB |
2898 | 2003-07-04 Joel Brobecker <[email protected]> |
2899 | ||
2900 | * rs6000-nat.c (vmap_symtab): Fix compilation error. | |
2901 | ||
27e28cc5 KW |
2902 | 2003-07-04 Kris Warkentin <[email protected]> |
2903 | ||
2904 | * config/i386/nto.mh: Set XM_FILE to xm-i386.h | |
2905 | ||
2906 | 2003-07-04 Kris Warkentin <[email protected]> | |
2907 | ||
2908 | * nto-procfs.c: New file. Native procfs support for QNX Neutrino. | |
2909 | * config/i386/nto.mh: New file. | |
2910 | * config/i386/nm-nto.h: New file. | |
2911 | * configure.host: Add i[3456]86-*-nto*. | |
2912 | ||
100f2e98 JB |
2913 | 2003-07-03 Joel Brobecker <[email protected]> |
2914 | ||
2915 | * remote-vx.c (vx_add_symbols): Fix compilation error. | |
2916 | ||
e23457df AC |
2917 | 2003-07-03 Andrew Cagney <[email protected]> |
2918 | ||
2919 | * gdbarch.sh (REGISTER_NAME): Do not supply a default. | |
2920 | * gdbarch.h, gdbarch.c: Re-generate. | |
2921 | * config/sparc/tm-sparc.h (REGISTER_NAME): Define. | |
2922 | (legacy_register_name): Declare. | |
2923 | * config/sparc/tm-sp64.h (legacy_register_name): Declare. | |
2924 | (REGISTER_NAME): Define. | |
2925 | * sparc-tdep.c (legacy_register_name): New function. | |
2926 | * config/pa/tm-hppa64.h (REGISTER_NAMES): Delete macro. | |
2927 | (REGISTER_NAME): Define. | |
2928 | (hppa64_register_name): Declare. | |
2929 | * config/pa/tm-hppa.h (REGISTER_NAMES): Delete macro. | |
2930 | * hppa-tdep.c (hppa_gdbarch_init): Set hppa_register_name. | |
2931 | (hppa64_register_name): New function. | |
2932 | (hppa_register_name): New function. | |
2933 | * arch-utils.c (legacy_register_name): Delete. | |
2934 | * arch-utils.h (legacy_register_name): Delete. | |
2935 | ||
38caaeec DJ |
2936 | 2003-07-03 Daniel Jacobowitz <[email protected]> |
2937 | ||
2938 | * cli/cli-interp.c (cli_interpreter_resume): Update the | |
2939 | cli_uiout's stream to gdb_stdout. | |
2940 | ||
dadd712e AC |
2941 | 2003-07-03 Andrew Cagney <[email protected]> |
2942 | ||
2943 | * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Add | |
2944 | predicate. | |
2945 | * gdbarch.h, gdbarch.c: Re-generate. | |
2946 | * regcache.c (init_regcache_descr): Use legacy code when either | |
2947 | REGISTER_BYTE or REGISTER_RAW_SIZE is set. | |
2948 | ||
c7f1390e DJ |
2949 | 2003-07-02 Daniel Jacobowitz <[email protected]> |
2950 | ||
2951 | * NEWS: Move "set logging" entry into GDB 6.0 section. | |
2952 | ||
4bc8c588 JB |
2953 | 2003-07-02 Jim Blandy <[email protected]> |
2954 | ||
a9dd42f1 JB |
2955 | * s390-tdep.c (struct frame_extra_info): new member: |
2956 | 'stack_bought_valid'. | |
2957 | (s390_get_frame_info): Set fextra_info->stack_bought_valid if we | |
2958 | initialize fextra_info->stack_bought. | |
2959 | (s390_frameless_function_invocation): Don't trust the value of | |
2960 | fextra_info_ptr->stack_bought unless | |
2961 | fextra_info->stack_bought_valid is set. | |
2962 | ||
4bc8c588 JB |
2963 | New S390 prologue analyzer. |
2964 | * s390-tdep.c (struct prologue_value, enum pv_boolean): New types. | |
2965 | (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register, | |
2966 | pv_constant_last, pv_add, pv_add_constant, pv_subtract, | |
2967 | pv_logical_and, pv_is_identical, pv_is_register, pv_is_array_ref, | |
2968 | compute_x_addr, s390_on_stack, s390_store, | |
2969 | s390_get_signal_frame_info): New functions. | |
2970 | (S390_NUM_SPILL_SLOTS): New macro. | |
2971 | (s390_get_frame_info): Rewritten. | |
2972 | (is_arg_reg): Deleted. | |
2973 | ||
2974 | Break out the decoding of S/390 instructions into separate | |
2975 | functions, to make it more legible, and easier to check | |
2976 | against the spec. | |
2977 | * s390-tdep.c (is_ri, is_ril, is_rr, is_rre, is_rs, is_rse, | |
2978 | is_rx, is_rxe): New functions. | |
2979 | (op1_aghi, op2_aghi, op1_ahi, op2_ahi, op_ar, op_basr, op1_bras, | |
2980 | op2_bras, op_l, op_la, op1_larl, op2_larl, op_lgr, op1_lghi, | |
2981 | op2_lghi, op1_lhi, op2_lhi, op_lr, op_nr, op_ngr, op_s, op_st, | |
2982 | op_std, op1_stg, op2_stg, op_stm, op1_stmg, op2_stmg, op_svc): New | |
2983 | enums for opcode values. (Is this an improvement?) | |
2984 | ||
fd13a04a AC |
2985 | 2003-07-02 Andrew Cagney <[email protected]> |
2986 | ||
2987 | * i386-tdep.c: Revert change committed as part of trad-frame code | |
2988 | below. | |
2989 | ||
3f8091c1 DJ |
2990 | 2003-07-02 Daniel Jacobowitz <[email protected]> |
2991 | ||
2992 | * breakpoint.c (insert_catchpoint): Make static. | |
2993 | ||
8dd5115e AS |
2994 | 2003-07-02 Andreas Schwab <[email protected]> |
2995 | ||
2996 | * ia64-tdep.c (ia64_push_dummy_call): Define as combination of | |
2997 | former ia64_push_arguments and ia64_push_return_address, and use | |
2998 | regcache functions instead of read/write_register. | |
2999 | (ia64_gdbarch_init): Set push_dummy_call instead of | |
3000 | deprecated_push_arguments and deprecated_push_return_address. | |
3001 | ||
a2229c23 AJ |
3002 | 2003-07-01 Andreas Jaeger <[email protected]> |
3003 | ||
3004 | * x86-64-tdep.c (x86_64_push_arguments): Align stack to 16-byte | |
3005 | before the call. | |
3006 | Set %rax only to number of SSE registers used. | |
3007 | ||
3b3850e8 AC |
3008 | 2003-07-01 Andrew Cagney <[email protected]> |
3009 | ||
3010 | * trad-frame.h: Update comments, a -1 .addr is reserved. | |
3011 | (trad_frame_value_p, trad_frame_addr_p): Declare. | |
3012 | (trad_frame_reg_p): Declare. | |
3013 | (trad_frame_set_value): Rename trad_frame_register_value. | |
3014 | (trad_frame_set_unknown): Declare. | |
3015 | * trad-frame.c (trad_frame_realreg_p): New function. | |
3016 | (trad_frame_addr_p, trad_frame_value_p): New function. | |
3017 | (trad_frame_set_unknown): New function. | |
3018 | (trad_frame_alloc_saved_regs): Initialize .addr to -1, not zero. | |
3019 | (trad_frame_prev_register): Use trad_frame_realreg_p, | |
3020 | trad_frame_addr_p and trad_frame_value_p. | |
3021 | (trad_frame_set_value): Rename trad_frame_register_value. | |
3022 | * d10v-tdep.c (d10v_frame_unwind_cache): Use trad_frame_addr_p | |
3023 | and trad_frame_set_value. | |
a2229c23 | 3024 | |
4d819d0e JB |
3025 | 2003-06-30 Jim Blandy <[email protected]> |
3026 | ||
3027 | Patch from IBM (authors unspecified, probably Ulrich Weigand and | |
3028 | Gerhard Tonn) for argument passing on the S/390 and S/390x: | |
3029 | * s390-tdep.c (S390_STACK_FRAME_OVERHEAD): This is always space | |
3030 | for 16 registers, and then 32 more bytes. | |
3031 | (S390_STACK_PARAMETER_ALIGNMENT, S390_NUM_FP_PARAMETER_REGISTERS): | |
3032 | New macros. | |
3033 | (is_double_arg): The s390x doesn't handle DOUBLE_ARGS specially. | |
3034 | Move up in the file, since it's now used by is_simple_arg. | |
3035 | (is_simple_arg): Don't assume registers are four bytes long. | |
3036 | Exclude all double arguments. Extended floats are not simple | |
3037 | args. | |
3038 | (is_power_of_two): New function. | |
3039 | (pass_by_copy_ref): Call is_power_of_two, and check that the | |
3040 | length fits in a register, rather than listing all the acceptable | |
3041 | sizes. Extended floats are not passed by reference. | |
3042 | (s390_push_arguments): Don't assume registers are four bytes long. | |
3043 | Reserve an argument register to point to the buffer for structures | |
3044 | returned by value. Use S390_NUM_FP_PARAMETER_REGISTERS and | |
3045 | S390_STACK_FRAME_OVERHEAD. | |
3046 | ||
1ad828f1 AS |
3047 | 2003-06-30 Andreas Schwab <[email protected]> |
3048 | ||
3049 | * utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to | |
3050 | format error message. | |
3051 | ||
39b00981 JB |
3052 | 2003-06-30 Joel Brobecker <[email protected]> |
3053 | ||
3054 | * sparc-tdep.c (stop_after_trap): Remove declaration, not used. | |
3055 | ||
b2a7f303 DC |
3056 | 2003-06-30 David Carlton <[email protected]> |
3057 | ||
3058 | Band-aid for PR c++/1245. | |
3059 | * Makefile.in (cp-support.o): Depend on complaints_h. | |
3060 | * cp-support.c: Include complaints.h. Add declaration for | |
3061 | find_last_component. | |
3062 | (cp_find_first_component): Separate code into | |
3063 | cp_find_first_component_aux. | |
3064 | (cp_find_first_component_aux): Call demangled_name_complaint. | |
3065 | (demangled_name_complaint): New. | |
3066 | ||
a257b5bb AC |
3067 | 2003-06-30 Andrew Cagney <[email protected]> |
3068 | ||
3069 | * remote.c (remote_write_bytes): Explicitly compute and then use | |
3070 | the payload size. Update comments to reflect. Fixes problem of | |
3071 | GDB not sending small packets as found by Fred Fish. | |
3072 | ||
0a2cfde4 AC |
3073 | 2003-06-30 Andrew Cagney <[email protected]> |
3074 | ||
3075 | * remote.c (remote_async_wait): Fix -Wformat problem. | |
3076 | ||
3fcb8548 AC |
3077 | 2003-06-29 Andrew Cagney <[email protected]> |
3078 | ||
3079 | * remote.c (remote_wait): Call error, and not warning, when the | |
3080 | packet is corrupt. | |
3081 | (remote_async_wait): Ditto. | |
3082 | ||
9f9970a3 DJ |
3083 | 2003-06-29 Daniel Jacobowitz <[email protected]> |
3084 | ||
3085 | * sparc-tdep.c (sparc_y_regnum): Make external again. | |
3086 | ||
83a8ccca DJ |
3087 | 2003-06-29 Daniel Jacobowitz <[email protected]> |
3088 | ||
3089 | * cli/cli-logging.c (pop_output_files): Add void to function | |
3090 | definition. | |
3091 | ||
d2cf594a AC |
3092 | 2003-06-29 Andrew Cagney <[email protected]> |
3093 | ||
3094 | * frame.c (frame_register_unwind): Use unsigned char when dumping | |
3095 | the buffer contents. | |
3096 | ||
0fac0b41 DJ |
3097 | 2003-06-28 Daniel Jacobowitz <[email protected]> |
3098 | ||
3099 | * cli/cli-logging.c: New file. | |
3100 | * cli-out.c (struct ui_out_data): Add original_stream. | |
3101 | (cli_redirect): New function. | |
3102 | (cli_ui_out_impl): Add cli_redirect. | |
3103 | (cli_out_new): Initialize original_stream. | |
3104 | * ui-out.c (default_ui_out_impl): Add NULL for redirect member. | |
3105 | (uo_redirect, ui_out_redirect): New. | |
3106 | * ui-out.h (struct ui_out_impl): Add redirect member. | |
3107 | (redirect_ftype): New. | |
3108 | (ui_out_redirect): Add prototype. | |
3109 | * Makefile.in: Add rules for cli-logging.c. | |
3110 | * NEWS: Mention "set logging". | |
3111 | ||
88a07d7c EZ |
3112 | 2003-06-27 Elena Zannoni <[email protected]> |
3113 | ||
3114 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add linux-nat.o. | |
3115 | ||
4eb58876 AC |
3116 | 2003-06-27 Andrew Cagney <[email protected]> |
3117 | ||
3118 | * m68hc11-tdep.c (m68hc11_call_dummy_address): Delete function. | |
3119 | (m68hc11_gdbarch_init): Do not set call_dummy_address. | |
3120 | * avr-tdep.c (avr_call_dummy_address): Delete function. | |
3121 | (avr_gdbarch_init): Do not set call_dummy_address. | |
3122 | ||
1549f619 EZ |
3123 | 2003-06-27 Elena Zannoni <[email protected]> |
3124 | ||
3125 | * symfile.c (syms_from_objfile): Move variables to inner block. | |
3126 | Move the checks for the non-mainline case a bit earlier to avoid | |
3127 | doing some useless computations. | |
3128 | ||
3cb3398d EZ |
3129 | 2003-06-27 Elena Zannoni <[email protected]> |
3130 | ||
3131 | * dwarfread.c (decode_modified_type): Gag new compiler warning. | |
3132 | ||
3799ccc6 EZ |
3133 | 2003-06-26 Elena Zannoni <[email protected]> |
3134 | ||
3135 | * dwarf2read.c (dwarf2_locate_sections): Ignore empty .eh_frame | |
3136 | sections. | |
3137 | ||
ce1f6491 MC |
3138 | 2003-06-26 Michael Chastain <[email protected]> |
3139 | ||
3140 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1210.cc, | |
3141 | gdb/testsuite/gdb.c++/pr-1210.exp. | |
3142 | ||
d958dfd0 AC |
3143 | 2003-06-26 Andrew Cagney <[email protected]> |
3144 | ||
3145 | * config/djgpp/fnchange.lst: Fix 8.3 problem with sim/ppc's | |
3146 | altivec_expression.h and altivec_registers.h. | |
3147 | ||
d31431ed AC |
3148 | 2003-06-26 Andrew Cagney <[email protected]> |
3149 | ||
3150 | * mips-tdep.c (gdb_print_insn_mips): Only explicitly set | |
3151 | info->mach when MIPS16. Patch suggested by Fred Fish. | |
3152 | ||
714b1282 AC |
3153 | 2003-06-26 Andrew Cagney <[email protected]> |
3154 | ||
3155 | * utils.c (internal_vproblem): Print the problem to a reason | |
3156 | buffer and then pass to query. Make the msg variable more local. | |
3157 | ||
42efa47a AC |
3158 | 2003-06-26 Andrew Cagney <[email protected]> |
3159 | ||
3160 | * gdbarch.sh (FRAME_ARGS_ADDRESS): Add predicate. Deprecate. | |
3161 | (FRAME_LOCALS_ADDRESS): Add predicate. Deprecate. | |
3162 | * gdbarch.h, gdbarch.c: Re-generate. | |
3163 | * frame-base.c (default_frame_args_address): Update. Use | |
3164 | default_frame_base_address when DEPRECATED_FRAME_ARGS_ADDRESS is | |
3165 | not available. | |
3166 | (default_frame_locals_address): Ditto for | |
3167 | DEPRECATED_FRAME_LOCALS_ADDRESS. | |
3168 | * vax-tdep.c (vax_sigtramp_saved_pc): Update. | |
3169 | (vax_frame_num_args): Update. | |
3170 | (vax_gdbarch_init): Update. | |
3171 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
3172 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
3173 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
3174 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
3175 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
3176 | * symtab.h (address_class): Update comments. | |
3177 | * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Update. | |
3178 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
3179 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
3180 | * config/pa/tm-hppa64.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
3181 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
3182 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
3183 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
3184 | * alpha-mdebug-tdep.c: Update. | |
3185 | * ada-lang.c (add_symbols_from_enclosing_procs): Update. | |
3186 | ||
8ffd9b1b AJ |
3187 | 2003-06-26 Andreas Jaeger <[email protected]> |
3188 | ||
3189 | * x86-64-tdep.c (x86_64_push_arguments): Always set %rax to number | |
3190 | of SSE registers so that varargs functions work. Rework handling | |
3191 | of passing arguments on the stack. | |
3192 | (x86_64_store_return_value): Return double and float values in SSE | |
3193 | register. | |
3194 | ||
e8ac10a6 MC |
3195 | 2003-06-24 Michael Chastain <[email protected]> |
3196 | ||
3197 | * PROBLEMS: Document pr gdb/1091 and pr gdb/1193, | |
3198 | the "constructor breakpoints ignored" bug. | |
3199 | ||
986af8e6 DC |
3200 | 2003-06-25 David Carlton <[email protected]> |
3201 | ||
3202 | * MAINTAINERS: Update e-mail address. | |
3203 | ||
d64558a5 JB |
3204 | 2003-06-24 Jim Blandy <[email protected]> |
3205 | ||
e538d2d7 JB |
3206 | * ppc-linux-tdep.c: More "Linux" -> "GNU/Linux". |
3207 | ||
02631ec0 JB |
3208 | * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): New |
3209 | function. | |
3210 | (ppc_linux_init_abi): Register it as the | |
3211 | CONVERT_FROM_FUNC_PTR_ADDR method under the PPC64 Linux ABI. | |
3212 | ||
e716d87a JB |
3213 | * ppc-linux-tdep.c (ppc64_call_dummy_address): New function. |
3214 | (ppc_linux_init_abi): Set it as the gdbarch's call_dummy_address | |
3215 | method. | |
3216 | ||
d64558a5 JB |
3217 | * ppc-linux-tdep.c (ppc64_desc_entry_point): New function. |
3218 | (ppc64_standard_linkage_target): Use it. | |
3219 | ||
449a5da4 AC |
3220 | 2003-06-23 Andrew Cagney <[email protected]> |
3221 | ||
3222 | * rs6000-tdep.c (rs6000_register_virtual_type): Add explict cases | |
3223 | for 0 "int0" and 4 "int32" sized registers. | |
3224 | * gdbtypes.c (builtin_type_int0): Define. | |
3225 | (build_gdbtypes): Initialize builtin_type_int0. | |
3226 | * gdbtypes.h (builtin_type_int0): Declare. | |
3227 | ||
b2a02dda SC |
3228 | 2003-06-23 Stephane Carrez <[email protected]> |
3229 | ||
3230 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Clear gdb_arch_char_signed | |
3231 | as characters are unsigned. | |
3232 | ||
fba3138e DJ |
3233 | 2003-06-22 Daniel Jacobowitz <[email protected]> |
3234 | ||
3235 | PR gdb/1179 | |
3236 | * dwarfread.c (struct_type): Skip static fields without crashing. | |
3237 | ||
f6c8180b AC |
3238 | 2003-06-22 Andrew Cagney <[email protected]> |
3239 | ||
3240 | GDB 6.0 branch created. | |
f2c06f52 AC |
3241 | * README: Update. |
3242 | * PROBLEMS: Update. Empty. | |
3243 | * NEWS: Update. | |
f6c8180b | 3244 | |
ae822768 DJ |
3245 | 2003-06-22 Daniel Jacobowitz <[email protected]> |
3246 | ||
3247 | * symfile.c (add_symbol_file_command): Use parse_and_eval_address. | |
3248 | Suggested by Nick Hibma <[email protected]>. | |
3249 | ||
261de166 AC |
3250 | 2003-06-22 Andrew Cagney <[email protected]> |
3251 | ||
3252 | * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Handle | |
3253 | GNU_ABI_TAG_FREEBSD and GNU_ABI_TAG_NETBSD. Suggested by Momchil | |
3254 | Velikov. | |
3255 | ||
30e94205 DJ |
3256 | 2003-06-22 Daniel Jacobowitz <[email protected]> |
3257 | ||
3258 | * cli/cli-cmds.c (shell_escape): Silence warnings from old | |
3259 | compilers. | |
3260 | ||
9e14d721 DJ |
3261 | 2003-06-21 Daniel Jacobowitz <[email protected]> |
3262 | ||
3263 | * c-valprint.c (c_value_print): Add VALUE_OFFSET to the address | |
3264 | argument of val_print. | |
3265 | * cp-valprint.c (cp_print_value): Don't add the offset parameter | |
3266 | to the address argument of baseclass_offset or target_read_memory. | |
3267 | Do add it to the argument of cp_print_value_fields. | |
3268 | ||
a4b8ebc8 AC |
3269 | 2003-06-21 Andrew Cagney <[email protected]> |
3270 | ||
3271 | * mips-tdep.c: Include "reggroups.h" and "sim-regno.h". | |
3272 | (mips_register_name): Return names for NUM_REGS..2*NUM_REGS | |
3273 | instead of 0..NUM_REGS. | |
3274 | (mips_register_reggroup_p): New function. | |
3275 | (mips_pseudo_register_write): New function. | |
3276 | (mips_pseudo_register_read): New function. | |
3277 | (mips_register_raw_size): For NUM_REGS..2*NUM_REGS return the size | |
3278 | based on the register's type. | |
3279 | (read_next_frame_reg): Simplify. Assert that REGNO is a pseudo / | |
3280 | cooked. | |
3281 | (mips_get_saved_register): Simplify. Assert that REGNO is a | |
3282 | pseudo / cooked. | |
3283 | (mips_register_byte): New function. Use MIPS_REGISTER_BYTE. | |
3284 | (mips_register_type): Replace mips_register_virtual_type. Map | |
3285 | NUM_REGS..2*NUM_REGS onto 0..NUM_REGS. Use MIPS_REGISTER_TYPE | |
3286 | when available. | |
3287 | (read_next_frame_reg): Simplify, but handle SP_REGNUM. Assert | |
3288 | that the register is cooked / virtual. | |
3289 | (mips_frame_saved_pc): Fetch the cooked PC, and not the raw PC. | |
3290 | Only get the extra info when needed. | |
3291 | (set_reg_offset): Save the offset in NUM_REGS..2*NUM_REGS as well. | |
3292 | (mips32_heuristic_proc_desc): Fetch the cooked register. | |
3293 | (heuristic_proc_desc, mips_pop_frame, get_frame_pointer): Ditto. | |
3294 | (mips_init_extra_frame_info, get_frame_pointer): Ditto. | |
3295 | (mips_print_register): Use gdbarch_register_type, instead of | |
3296 | REGISTER_VIRTUAL_TYPE. | |
3297 | (print_gp_register_row): Use gdbarch_register_type, instead of | |
3298 | REGISTER_VIRTUAL_TYPE. Allow for a pseudo / cooked REGNUM. | |
3299 | (mips_print_registers_info): Assert REGNO is pseodo / cooked. | |
3300 | Print the pseudo / cooked registers. | |
3301 | (mips_print_registers_info): Assert REGNO is pseodo / cooked. | |
3302 | Print the pseudo / cooked registers. | |
3303 | (mips_xfer_register): Use regcache_cooked_read_part. Assert that | |
3304 | REG_NUM is pseudo / cooked. | |
3305 | (mips_o32_xfer_return_value): Xfer the pseudo / cooked register. | |
3306 | (mips_n32n64_xfer_return_value): Ditto. | |
3307 | (mips_stab_reg_to_regnum): Map onto NUM_REGS..2*NUM_REGS. | |
3308 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Ditto. | |
3309 | (mips_register_sim_regno): New function. | |
3310 | (mips_gdbarch_init): Set deprecated_register_byte, | |
3311 | register_group_p, pseudo_register_write, pseudo_register_read, | |
3312 | register_sim_regno, and num_pseudo_regs. Set register_type, | |
3313 | instead of register_virtual_type. | |
3314 | * Makefile.in (mips-tdep.o): Update dependencies. | |
3315 | * config/mips/tm-mips64.h (MIPS_REGISTER_TYPE): Rename | |
3316 | REGISTER_VIRTUAL_TYPE. | |
3317 | * config/mips/tm-mips.h (MIPS_REGISTER_TYPE): Ditto. | |
3318 | * config/mips/tm-irix5.h (MIPS_REGISTER_TYPE): Ditto. | |
3319 | * config/mips/tm-mips.h (MIPS_REGISTER_BYTE): Rename REGISTER_BYTE. | |
3320 | * config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Ditto. | |
3321 | * config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Ditto. | |
3322 | ||
325ed089 DJ |
3323 | 2003-06-21 Daniel Jacobowitz <[email protected]> |
3324 | ||
3325 | * Makefile.in (cli-cmds.o): Depend on $(gdb_vfork_h) | |
3326 | * cli/cli-cmds.c: Include "gdb_vfork.h". | |
3327 | (shell_escape): Use vfork. | |
3328 | ||
f0e7d0e8 AC |
3329 | 2003-06-21 Andrew Cagney <[email protected]> |
3330 | ||
c57bb9fa AC |
3331 | * mips-tdep.c (mips_find_saved_regs): Rewrite mdebug code handling |
3332 | 32 bit floating-point register saves. | |
3333 | ||
6e51443a AC |
3334 | * frame.h (deprecated_unwind_get_saved_register): Delete. |
3335 | * frame.c (deprecated_unwind_get_saved_register): Delete function. | |
3336 | * mips-tdep.c (mips_get_saved_register): Use frame_register_unwind | |
3337 | and deprecated_get_next_frame_hack instead of | |
3338 | deprecated_unwind_get_saved_register. | |
3339 | ||
ed183c7c AC |
3340 | * mips-tdep.c (mips_dump_tdep): Do not print |
3341 | REGISTER_CONVERT_FROM_TYPE or REGISTER_CONVERT_TO_TYPE. | |
3342 | ||
f0e7d0e8 AC |
3343 | * frame.c (get_frame_register): New function. |
3344 | (frame_unwind_register_signed): New function. | |
3345 | (get_frame_register_signed): New function. | |
3346 | (frame_unwind_register_unsigned): New function. | |
3347 | (get_frame_register_unsigned): New function. | |
3348 | * frame.h: Add comments on naming schema. | |
3349 | (get_frame_register, frame_unwind_register_signed): Declare. | |
3350 | (get_frame_register_signed, get_frame_register_signed): Declare. | |
3351 | (frame_unwind_register_unsigned): Declare. | |
3352 | (get_frame_register_unsigned): Declare. | |
3353 | ||
2224d941 TR |
3354 | 2003-06-20 Theodore A. Roth <[email protected]> |
3355 | ||
3356 | * avr-tdep.c (avr_gdbarch_init): Don't call set_gdbarch_bfd_vma_bit. | |
3357 | ||
8619218d TR |
3358 | 2003-06-20 Theodore A. Roth <[email protected]> |
3359 | ||
3360 | * avr-tdep.c (avr_read_pc): Use regcache instead of read_register. | |
3361 | (avr_read_sp): Ditto. | |
3362 | ||
0b1b50c0 DJ |
3363 | 2003-06-20 Daniel Jacobowitz <[email protected]> |
3364 | ||
3365 | * config/arm/linux.mt: Remove code protected by GDBSERVER define. | |
3366 | * config/arm/nm-linux.h: Likewise. | |
3367 | * config/arm/tm-linux.h: Likewise. | |
3368 | * config/ia64/nm-linux.h: Likewise. | |
3369 | * config/ia64/tm-ia64.h: Likewise. | |
3370 | * config/s390/tm-linux.h: Likewise. | |
3371 | * config/s390/tm-s390.h: Likewise. | |
3372 | * s390-nat.c: Likewise. | |
3373 | * s390-tdep.c: Likewise. | |
3374 | ||
3375 | * config/i386/linux.mt: Don't set GDBSERVER_DEPFILES. | |
3376 | * config/ia64/linux.mt: Likewise. | |
3377 | * config/m68k/linux.mh: Likewise. | |
3378 | * config/mips/linux.mt: Likewise. | |
3379 | * config/powerpc/linux.mh: Likewise. | |
3380 | * config/sh/linux.mt: Likewise. | |
3381 | ||
c8c18e65 KW |
3382 | 2003-06-19 Kris Warkentin <[email protected]> |
3383 | ||
3384 | * solib.c (solib_open): Change tests for whether to search | |
3385 | LD_LIBRARY_PATH and PATH to better deal with remotes. Update | |
3386 | comments. | |
3387 | ||
dcccef2e TR |
3388 | 2003-06-19 Theodore A. Roth <[email protected]> |
3389 | ||
3390 | * avr-tdep.c (avr_frame_address): Delete function. | |
3391 | (avr_gdbarch_init): Don't call set_gdbarch_frame_args_address, | |
3392 | set_gdbarch_frame_args_address. | |
3393 | ||
5861a190 AC |
3394 | 2003-06-19 Andrew Cagney <[email protected]> |
3395 | ||
3396 | * config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): Delete. | |
3397 | (REGISTER_CONVERT_FROM_TYPE): Delete. | |
3398 | (mips_register_convert_to_type): Delete declaration. | |
3399 | (mips_register_convert_from_type): Delete declaration. | |
3400 | * linux-nat.h (struct target_ops): Declare opaque. s/Linux/Linux | |
3401 | kernel/. | |
3402 | ||
0274a8ce MS |
3403 | 2003-06-19 Michael Snyder <[email protected]> |
3404 | ||
3405 | * linux-nat.h: New file. | |
3406 | * linux-nat.c: Include linux-nat.h. | |
8ffd9b1b | 3407 | * lin-lwp.c: Include linux-nat.h. |
0274a8ce | 3408 | Move struct lwp_info def to linux-nat.h. |
8ffd9b1b | 3409 | * linux-proc.c: Include linux-nat.h. |
0274a8ce MS |
3410 | (linux_make_note_section): Iterate over lwps instead of threads. |
3411 | (linux_do_thread_registers): Use lwp instead of merged pid. | |
3412 | * config/nm-linux.h: Move miscelaneous def'ns to linux-nat.h. | |
8ffd9b1b | 3413 | * Makefile.in (lin-lwp.o, linux-proc.o, linux-nat.o): |
0274a8ce MS |
3414 | Add dependency on linux_nat_h. |
3415 | ||
adf5f719 TR |
3416 | 2003-06-19 Theodore A. Roth <[email protected]> |
3417 | ||
3418 | * avr-tdep.c (avr_extract_return_value): Delete debugging fprintf. | |
3419 | ||
6766a268 DJ |
3420 | 2003-06-19 Daniel Jacobowitz <[email protected]> |
3421 | ||
3422 | * varobj.c (get_type, get_target_type): Use check_typedef. | |
3423 | ||
1171114a DJ |
3424 | 2003-06-19 Daniel Jacobowitz <[email protected]> |
3425 | ||
3426 | * breakpoint.c (insert_catchpoint): Call internal_error. | |
3427 | ||
adcf68a2 TR |
3428 | 2003-06-19 Theodore A. Roth <[email protected]> |
3429 | ||
3430 | * avr-tdep.c (avr_push_dummy_code): Delete function. | |
3431 | (avr_gdbarch_init): Don't call set_gdbarch_push_dummy_code. | |
3432 | ||
ea67f13b DJ |
3433 | 2003-06-19 Daniel Jacobowitz <[email protected]> |
3434 | ||
3435 | * arch-utils.c (default_prepare_to_proceed): Remove. | |
3436 | (generic_prepare_to_proceed): Remove. | |
3437 | * arch-utils.h (default_prepare_to_proceed): Remove prototype. | |
3438 | (generic_prepare_to_proceed): Remove prototype. | |
3439 | * gdbarch.sh (PREPARE_TO_PROCEED): Remove. | |
3440 | * gdbarch.c: Regenerate. | |
3441 | * gdbarch.h: Regenerate. | |
3442 | * hppa-tdep.c (hppa_prepare_to_proceed): Remove dangling prototype. | |
3443 | * hppah-nat.c (hppa_switched_threads): Remove. | |
3444 | * infrun.c (prepare_to_proceed): New static function, copied from | |
3445 | generic_prepare_to_proceed. Remove select_it argument. | |
3446 | (proceed): Call prepare_to_proceed. | |
3447 | * infttrace.c (old_gdb_pid, reported_pid, reported_bpt): Remove | |
3448 | variables. | |
3449 | (ptrace_wait): Don't set the removed variables. | |
3450 | (hppa_switched_threads): Remove. | |
3451 | * lin-lwp.c (lin_lwp_prepare_to_proceed): Remove. | |
3452 | * config/nm-linux.h (PREPARE_TO_PROCEED): Don't define. | |
3453 | (lin_lwp_prepare_to_proceed): Remove prototype. | |
3454 | * config/i386/nm-x86-64linux.h (PREPARE_TO_PROCEED): Don't undefine. | |
3455 | * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Don't define. | |
3456 | ||
4add8633 TR |
3457 | 2003-06-18 Theodore A. Roth <[email protected]> |
3458 | ||
3459 | * avr-tdep.c: Include frame.h, frame-unwind.h, frame-base.h, and | |
3460 | trad-frame.h. | |
3461 | (AVR_MAX_PROLOGUE_SIZE): Increase from 56 to 64. | |
3462 | (AVR_ARG1_REGNUM, AVR_ARGN_REGNUM): Define. | |
3463 | (AVR_RET1_REGNUM, AVR_RETN_REGNUM): Define. | |
3464 | (AVR_PROLOGUE_*): Enumerate prologue types. | |
3465 | (struct frame_extra_info): Remove. | |
3466 | (struct avr_unwind_cache): Define. | |
3467 | (avr_write_sp): Delete function. | |
3468 | (avr_read_fp): Ditto. | |
3469 | (avr_init_extra_frame_info): Ditto. | |
3470 | (avr_pop_frame): Ditto. | |
3471 | (avr_frame_saved_pc): Ditto. | |
3472 | (avr_saved_pc_after_call): Ditto. | |
3473 | (avr_push_return_address): Ditto. | |
3474 | (avr_frame_chain): Ditto. | |
3475 | (avr_store_struct_return): Ditto. | |
3476 | (avr_push_arguments): Ditto. | |
3477 | (avr_scan_prologue): Update comments. Changed to set up the info for | |
3478 | cache unwinding. Now returns end of prologue PC. | |
3479 | (avr_skip_prologue): Better handling of functions lacking a prologue | |
3480 | by using avr_scan_prologue. | |
3481 | (avr_scan_arg_moves): New function. | |
3482 | (avr_saved_regs_unwinder): Ditto. | |
3483 | (avr_frame_unwind_cache): Ditto. | |
3484 | (avr_unwind_pc): Ditto. | |
3485 | (avr_frame_this_id): Ditto. | |
3486 | (avr_frame_prev_register): Ditto. | |
3487 | (avr_frame_p): Ditto. | |
3488 | (avr_frame_base_address ): Ditto. | |
3489 | (avr_unwind_dummy_id): Ditto. | |
3490 | (avr_push_dummy_code): Ditto. | |
3491 | (push_stack_item): Ditto. | |
3492 | (pop_stack_item): Ditto. | |
3493 | (avr_push_dummy_call): Ditto. | |
3494 | (struct stack_item): Define. | |
3495 | (avr_frame_unwind): Declare structure. | |
3496 | (avr_frame_base): Ditto. | |
3497 | (avr_gdbarch_init): Remove calls to | |
3498 | set_gdbarch_deprecated_init_frame_pc, | |
3499 | set_gdbarch_deprecated_target_read_fp, | |
3500 | set_gdbarch_deprecated_dummy_write_sp, | |
3501 | set_gdbarch_deprecated_fp_regnum, | |
3502 | set_gdbarch_deprecated_push_arguments, | |
3503 | set_gdbarch_deprecated_push_return_address, | |
3504 | set_gdbarch_deprecated_pop_frame, | |
3505 | set_gdbarch_deprecated_store_struct_return, | |
3506 | set_gdbarch_deprecated_frame_init_saved_regs, | |
3507 | set_gdbarch_deprecated_init_extra_frame_info, | |
3508 | set_gdbarch_deprecated_frame_chain, | |
3509 | set_gdbarch_deprecated_frame_saved_pc, | |
3510 | set_gdbarch_deprecated_saved_pc_after_call. | |
3511 | Add calls to set_gdbarch_push_dummy_call, | |
3512 | set_gdbarch_push_dummy_code, | |
3513 | frame_unwind_append_predicate, | |
3514 | frame_base_set_default, | |
3515 | set_gdbarch_unwind_dummy_id, | |
3516 | set_gdbarch_unwind_pc. | |
3517 | Wrap a long line. | |
3518 | ||
7be04a68 MS |
3519 | 2003-06-18 Corinna Vinschen <[email protected]> |
3520 | ||
3521 | * h8300-tdep.c (h8300s_register_name): Enable MACH and MACL | |
3522 | registers for H8/300S. | |
3523 | (h8300_print_registers_info): Ditto. | |
8ffd9b1b | 3524 | (h8300_gdbarch_init): Accommodate register count for H8/300S. |
7be04a68 | 3525 | |
ae087d01 DJ |
3526 | 2003-06-18 Daniel Jacobowitz <[email protected]> |
3527 | ||
3528 | * config/nm-linux.h (linux_record_stopped_pid): New prototype. | |
3529 | * lin-lwp.c (child_wait): Call linux_record_stopped_pid. | |
3530 | (lin_lwp_wait): Likewise. Update comments. | |
3531 | * linux-nat.c (struct simple_pid_list, add_to_pid_list) | |
3532 | (pull_pid_from_list, linux_record_stopped_pid): New. | |
3533 | ||
07d8f827 SC |
3534 | 2003-06-17 Stephane Carrez <[email protected]> |
3535 | ||
3536 | * ada-lang.c (scan_discrim_bound): Name first argument. | |
3537 | (ada_add_block_symbols): Remove BLOCK_SYM to use local variable | |
3538 | declared by ALL_BLOCK_SYMBOLS. | |
3539 | ||
7cb47b14 SC |
3540 | 2003-06-17 Stephane Carrez <[email protected]> |
3541 | ||
3542 | * ada-tasks.c (find_function_in_inferior): Don't declare it. | |
3543 | ("regcache.h"): Include it. | |
3544 | * ada-lex.l (block_lookup): Replace VAR_NAMESPACE with VAR_DOMAIN. | |
3545 | ||
6ad8ae5c DJ |
3546 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
3547 | ||
3548 | * NEWS: Mention gdbserver detach change and "disconnect" command. | |
3549 | * infcmd.c (disconnect_command): New function. | |
3550 | (_initialize_infcmd): Add ``disconnect'' command. | |
3551 | * remote.c (remote_async_detach): Delete. | |
3552 | (remote_detach): Merge remote_async_detach. | |
3553 | (remote_disconnect): New. | |
3554 | (init_remote_ops): Set to_disconnect. | |
3555 | (init_remote_cisco_ops): Likewise. | |
3556 | (init_remote_async_ops): Likewise. Use remote_detach. | |
3557 | * target.c (cleanup_target): Default to_disconnect. | |
3558 | (update_current_target): Inherit to_disconnect. | |
3559 | (target_disconnect, debug_to_disconnect): New functions. | |
3560 | (setup_target_debug): Set to_disconnect. | |
3561 | * target.h (struct target_ops): Add to_disconnect. | |
3562 | (target_disconnect): Add prototype. | |
3563 | ||
687595f9 DJ |
3564 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
3565 | ||
3566 | * breakpoint.c (insert_catchpoint): New function. | |
3567 | (insert_breakpoints): Use catch_exceptions to call | |
3568 | insert_catchpoint. Disable catchpoints if they fail to insert. | |
3569 | ||
29239a8f DJ |
3570 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
3571 | ||
3572 | * symfile.c (reread_symbols): Clear sym_private. | |
3573 | ||
2cdf3c63 AC |
3574 | 2003-06-17 Andrew Cagney <[email protected]> |
3575 | ||
3576 | * trad-frame.h (struct frame_info): Add opaque declaration. | |
3577 | * remote-fileio.h (struct cmd_list_element): Add opaque | |
3578 | declaration. | |
3579 | * h8300-tdep.c (h8300s_register_name): Avoid C++ // style | |
3580 | comments. | |
3581 | ||
cf0e1e0d DJ |
3582 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
3583 | ||
3584 | * remote.c (remote_prepare_to_store): Replace call to | |
3585 | deprecated_read_register_bytes with multiple regcache_raw_read | |
3586 | calls. | |
3587 | ||
192cdb19 KW |
3588 | 2003-06-17 Kris Warkentin <[email protected]> |
3589 | ||
3590 | * nto-tdep.c (nto_map_arch_to_cputype): Recognize "powerpc". | |
3591 | (nto_find_and_open_solib): Likewise. | |
3592 | (nto_init_solib_absolute_prefix): Likewise. | |
3593 | (_initialize_nto_tdep): Fix indentation. | |
3594 | ||
89929b45 KW |
3595 | 2003-06-17 Kris Warkentin <[email protected]> |
3596 | ||
3597 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Make sp a CORE_ADDR. | |
3598 | ||
46019f27 KW |
3599 | 2003-06-17 Kris Warkentin <[email protected]> |
3600 | ||
3601 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Declare sp before using. | |
3602 | ||
1a38736e JB |
3603 | 2003-06-17 Jim Blandy <[email protected]> |
3604 | ||
3605 | * ppc-linux-tdep.c: "Linux" -> "GNU/Linux" | |
3606 | ||
3605c34a TR |
3607 | 2003-06-16 Theodore A. Roth <[email protected]> |
3608 | ||
3609 | * avr-tdep.c (avr_extract_return_value): New function. | |
3610 | (avr_gdbarch_init): Set extract_return_value method. | |
3611 | ||
870b3035 AC |
3612 | 2003-06-16 Andrew Cagney <[email protected]> |
3613 | ||
3614 | * frame.h (deprecated_get_next_frame_hack): Declare. | |
3615 | * frame.c (legacy_saved_regs_prev_register): Only require | |
3616 | DEPRECATED_FRAME_INIT_SAVED_REGS when it is needed. Assert that | |
3617 | there are always saved regs. | |
3618 | (deprecated_generic_get_saved_register): Do not require | |
3619 | DEPRECATED_FRAME_INIT_SAVED_REGS. | |
3620 | (legacy_get_prev_frame): Do not require DEPRECATED_FRAME_CHAIN, | |
3621 | use frame ID unwind instead. | |
3622 | (deprecated_get_next_frame_hack): New function. | |
3623 | ||
63d47a7d CV |
3624 | 2003-06-16 Corinna Vinschen <[email protected]> |
3625 | ||
3626 | * h8300-tdep.c (h8300_push_arguments): Remove. Substitute by... | |
3627 | (h8300_push_dummy_call): ...this function. Some minor optimization. | |
3628 | (h8300_push_return_address): Remove. | |
3629 | (h8300_gdbarch_init): Remove calls to | |
3630 | set_gdbarch_deprecated_dummy_write_sp, | |
3631 | set_gdbarch_deprecated_push_arguments and | |
3632 | set_gdbarch_deprecated_push_return_address. | |
3633 | Add call to set_gdbarch_push_dummy_call. | |
3634 | ||
4bb1dc5e CV |
3635 | 2003-06-16 Corinna Vinschen <[email protected]> |
3636 | ||
3637 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM): New define. | |
3638 | (E_PSEUDO_EXR_REGNUM): Ditto. | |
3639 | (h8300_is_argument_spill): Check for instructions moving argument | |
8ffd9b1b | 3640 | registers into safe registers. |
4bb1dc5e CV |
3641 | (h8300_skip_prologue): Check for stm instruction to push registers |
3642 | used for register variables onto stack. | |
3643 | (gdb_print_insn_h8300): Remove. | |
3644 | (h8300_examine_prologue): Add a comment. | |
3645 | (h8300_register_name): Take pseudo registers into account. | |
3646 | (h8300s_register_name): Ditto. | |
3647 | (h8300sx_register_name): Ditto. | |
3648 | (h8300_print_register): Ditto. | |
3649 | (h8300_print_registers_info): Define "nice" printing order. | |
3650 | (h8300_saved_pc_after_call): Take pseudo registers into account. | |
3651 | (h8300_register_type): Ditto. Return type used for remote connection | |
3652 | when requesting real CCR or EXR register, return actual type when | |
3653 | requesting pseudo CCR or EXR. | |
3654 | (h8300_pseudo_register_read): New function. | |
3655 | (h8300_pseudo_register_write): Ditto. | |
3656 | (h8300_dbg_reg_to_regnum): Ditto. | |
3657 | (h8300s_dbg_reg_to_regnum): Ditto. | |
3658 | (h8300_gdbarch_init): Call set_gdbarch_num_pseudo_regs, | |
3659 | set_gdbarch_ecoff_reg_to_regnum, set_gdbarch_dwarf_reg_to_regnum, | |
3660 | set_gdbarch_dwarf2_reg_to_regnum, set_gdbarch_stab_reg_to_regnum and | |
3661 | set_gdbarch_print_insn architecture dependent. | |
3662 | Call set_gdbarch_pseudo_register_read and | |
3663 | set_gdbarch_pseudo_register_write. | |
3664 | (_initialize_h8300_tdep): Remove assignment to deprecated_tm_print_insn. | |
3665 | ||
a59fe496 AC |
3666 | 2003-06-16 Andrew Cagney <[email protected]> |
3667 | ||
3668 | * gdbarch.sh (SAVE_DUMMY_FRAME_TOS): Deprecate. | |
3669 | * gdbarch.h, gdbarch.c: Re-generate. | |
3670 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
3671 | * s390-tdep.c (s390_gdbarch_init): Update. | |
3672 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
3673 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
3674 | * mips-tdep.c (mips_gdbarch_init): Update. | |
3675 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
3676 | * cris-tdep.c (cris_gdbarch_init): Update. | |
3677 | * infcall.c (call_function_by_hand): Update. | |
3678 | * ia64-tdep.c (ia64_push_arguments): Update comment. | |
3679 | * frame.c (legacy_get_prev_frame): Do not assume | |
3680 | SAVE_DUMMY_FRAME_TOS_P. | |
3681 | * dummy-frame.c (find_dummy_frame): Update comment. | |
3682 | ||
6f4e5a41 AC |
3683 | 2003-06-16 Andrew Cagney <[email protected]> |
3684 | ||
3685 | * regcache.c (do_cooked_read): Do not use register_valid_p. | |
3686 | ||
72fab697 TR |
3687 | 2003-06-15 Theodore A. Roth <[email protected]> |
3688 | ||
3689 | * avr-tdep.c (avr_register_type): Remove a blank line. | |
3690 | (avr_scan_prologue): Correct some comments. | |
3691 | ||
e3d8b004 TR |
3692 | 2003-06-15 Theodore A. Roth <[email protected]> |
3693 | ||
3694 | * avr-tdep.c (avr_scan_prologue): Update comment describing the various | |
3695 | prologue types. | |
8ffd9b1b | 3696 | Properly scan prologues generated by gcc with the -mcall-prologues |
e3d8b004 TR |
3697 | option. |
3698 | Add code to scan -mcall-prologues for mega devices. | |
3699 | ||
866b76ea TR |
3700 | 2003-06-15 Theodore A. Roth <[email protected]> |
3701 | ||
3702 | * avr-tdep.c (avr_register_byte): Delete function. | |
3703 | (avr_register_raw_size): Delete function. | |
3704 | (avr_register_virtual_size): Delete function. | |
3705 | (avr_register_virtual_type): Delete function. | |
3706 | (avr_register_type): New function. | |
3707 | (avr_address_to_pointer): Remove unused code. | |
3708 | (avr_read_fp): Need to read FP as two separate bytes due to change to | |
3709 | avr_register_type() usage. | |
3710 | (avr_gdbarch_init): Don't set deprecated_register_size. | |
3711 | Don't set deprecated_register_bytes. | |
3712 | Don't set deprecated_register_byte. | |
3713 | Don't set deprecated_register_raw_size. | |
3714 | Don't set deprecated_max_register_raw_size. | |
3715 | Don't set deprecated_register_virtual_size. | |
3716 | Don't set deprecated_max_register_virtual_size. | |
3717 | Don't set deprecated_register_virtual_type. | |
3718 | Set register_type method. | |
3719 | ||
3993f6b1 DJ |
3720 | 2003-06-15 Daniel Jacobowitz <[email protected]> |
3721 | ||
3722 | * Makefile.in (linux-nat.o): Add rule. | |
3723 | * linux-nat.c: New file. | |
3724 | * config/nm-linux.h (CHILD_INSERT_FORK_CATCHPOINT): Define. | |
3725 | (CHILD_INSERT_VFORK_CATCHPOINT): Define. | |
3726 | (CHILD_INSERT_EXEC_CATCHPOINT): Define. | |
3727 | * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-nat.o. | |
3728 | * config/arm/linux.mh (NATDEPFILES): Likewise. | |
3729 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
3730 | * config/i386/x86-64linux.mh (NATDEPFILES): Likewise. | |
3731 | * config/ia64/linux.mh (NATDEPFILES): Likewise. | |
3732 | * config/m68k/linux.mh (NATDEPFILES): Likewise. | |
3733 | * config/mips/linux.mh (NATDEPFILES): Likewise. | |
3734 | * config/powerpc/linux.mh (NATDEPFILES): Likewise. | |
3735 | * config/s390/s390.mh (NATDEPFILES): Likewise. | |
3736 | * config/sparc/linux.mh (NATDEPFILES): Likewise. | |
3737 | ||
786a90bb MK |
3738 | 2003-06-15 Mark Kettenis <[email protected]> |
3739 | ||
3740 | * i387-tdep.c: Reorder includes, fix some whitespace issues and | |
3741 | replace out-of-date comment. | |
3742 | ||
3bd3f01e AC |
3743 | 2003-06-15 Andrew Cagney <[email protected]> |
3744 | ||
3745 | * rdi-share/host.h (Fail): Change to a varargs function. | |
3746 | * remote-rdi.c (Fail): Update. | |
8ffd9b1b | 3747 | |
de5b9bb9 MK |
3748 | 2003-06-15 Mark Kettenis <[email protected]> |
3749 | ||
3750 | * i386-tdep.c (i386_next_regnum): Fix bounds checking. | |
3751 | (i386_convert_register_p, i386_register_to_value, | |
3752 | i386_register_from_value): Handle types longer than 8 bytes. | |
3753 | ||
d532c08f MK |
3754 | 2003-06-15 Mark Kettenis <[email protected]> |
3755 | ||
3756 | * i386-tdep.c (i386_register_to_value, i386_value_to_register): | |
3757 | Move floating-point code to new function in i387-tdep.c. | |
3758 | * i387-tdep.c (i387_register_to_value, i387_value_to_register): | |
3759 | New functions containing code moved here from i386-tdep.c. | |
3760 | * i387-tdep.h: Add opaque declaration for `struct type'. | |
3761 | (i387_register_to_value, i387_value_to_register): New prototypes. | |
3762 | * x86-64-tdep.c (x86_64_convert_register_p): New function. | |
3763 | (x86_64_init_abi): Set convert_register_p, register_to_value and | |
3764 | value_to_register here. | |
8ffd9b1b | 3765 | |
42c466d7 AC |
3766 | 2003-06-14 Andrew Cagney <[email protected]> |
3767 | ||
3768 | * mips-tdep.c (mips_register_to_value): Make static. | |
3769 | (mips_value_to_register): Make static. | |
3770 | * i386-tdep.c (i386_fetch_pointer_argument): Make static. | |
3771 | * ia64-tdep.c (ia64_register_raw_size): Make static. | |
3772 | (ia64_register_virtual_size): Make static. | |
3773 | (ia64_register_byte): Make static. | |
3774 | * i387-tdep.c: Include "i387-tdep.h". | |
3775 | (print_387_control_word): Delete function. | |
3776 | (print_387_status_word): Delete function. | |
3777 | (print_387_status_bits): Delete function. | |
3778 | (print_387_control_bits): Delete function. | |
3779 | * Makefile.in (i387-tdep.o): Update dependencies. | |
3780 | * rdi-share/host.h (Fail): Declare. | |
3781 | * remote-rdi.c (Fail): Update to match declaration. | |
3782 | ||
2a9cda49 AC |
3783 | 2003-06-14 Andrew Cagney <[email protected]> |
3784 | ||
3785 | * config/mips/embedl64.mt (TDEPFILES): Delete "remote-array.o". | |
3786 | * config/mips/embedl.mt (TDEPFILES): Delete "remote-array.o". | |
3787 | * config/mips/embed64.mt (TDEPFILES): Delete "remote-array.o". | |
3788 | * config/djgpp/fnchange.lst: Delete "remote-array.c". | |
3789 | * README: Delete reference to remote-array. | |
3790 | * Makefile.in (ALLDEPFILES): Remove "remote-array.c". | |
3791 | (remote-array.o): Delete target. | |
3792 | * config/mips/embed.mt (TDEPFILES): Delete "remote-array.o". | |
3793 | * remote-array.c: Delete file. | |
3794 | ||
ff2e87ac AC |
3795 | 2003-06-14 Andrew Cagney <[email protected]> |
3796 | Mark Kettenis <[email protected]> | |
3797 | ||
3798 | * gdbarch.sh (CONVERT_REGISTER_P): Add "type" parameter. | |
3799 | (REGISTER_TO_VALUE, VALUE_TO_REGISTER): Replace raw buffer | |
3800 | parameter with "frame". | |
3801 | * gdbarch.h, gdbarch.c: Re-generate. | |
3802 | * frame.h (put_frame_register): Declare. | |
3803 | * frame.c (put_frame_register): New function. | |
3804 | * arch-utils.c (legacy_convert_register_p): Add "type" parameter. | |
3805 | (legacy_register_to_value): Rewrite, use "frame" to get the | |
3806 | register value. | |
3807 | (legacy_value_to_register): Rewrite, use "frame" to find the | |
3808 | register's location before storing. | |
3809 | * arch-utils.h (legacy_convert_register_p): Update. | |
3810 | (legacy_register_to_value, legacy_value_to_register): Update. | |
3811 | * findvar.c (value_from_register): Rewrite, eliminate use of | |
3812 | REGISTER_CONVERT_TO_TYPE, pass "type" to CONVERT_REGISTER_P, pass | |
3813 | "frame" to REGISTER_TO_VALUE. | |
3814 | * valops.c (value_assign): Move the CONVERT_REGISTER code to the | |
3815 | lval_reg_frame_relative + lval_register branch of the switch. Do | |
3816 | not use REGISTER_CONVERT_FROM_TYPE. Use put_frame_register. | |
3817 | * i386-tdep.c (I386_EBX_REGNUM, I386_ECX_REGNUM, I386_ESI_REGNUM, | |
3818 | I386_EDI_REGNUM): New defines. | |
3819 | (i386_next_regnum, i386_convert_register_p, | |
3820 | i386_register_to_value, i386_value_to_register): New functions. | |
3821 | (i386_register_convertible, i386_register_convert_to_virtual, | |
3822 | i386_convert_to_raw): Remove functions. | |
3823 | (i386_gdbarch_init): Set convert_register_p, register_to_value and | |
3824 | value_to_register instead of register_convertible, | |
3825 | register_convert_to_virtual and register_convert_to_raw. | |
3826 | * mips-tdep.c (mips_convert_register_p): New function. | |
3827 | (mips_value_to_register): Replace mips_register_convert_from_type. | |
3828 | (mips_register_to_value): Replace mips_register_convert_to_type. | |
3829 | (mips_gdbarch_init): Set conver_register_p, value_to_register and | |
3830 | register_to_value. | |
3831 | * alpha-tdep.c (alpha_convert_register_p): Update. | |
3832 | (alpha_value_to_register): Update, store the register. | |
3833 | (alpha_register_to_value): Update, fetch the register. | |
3834 | ||
98be1e77 TR |
3835 | 2003-06-14 Theodore A. Roth <[email protected]> |
3836 | ||
3837 | * avr-tdep.c (avr_remote_translate_xfer_address): Delete function. | |
3838 | (avr_gdbarch_init): Remove avr_call_dummy_words variable. | |
3839 | Don't set deprecated_call_dummy_words. | |
3840 | Remove commented out set_gdbarch_believe_pcc_promotion() call. | |
3841 | Don't set remote_translate_xfer_address. | |
3842 | (avr_io_reg_read_command): Remove commented out debug printf. | |
3843 | Wrap a long line. | |
3844 | ||
57bc6122 TR |
3845 | 2003-06-14 Theodore A. Roth <[email protected]> |
3846 | ||
3847 | * avr-tdep.c (avr_scan_prologue): Fix to avoid a buffer over run which | |
3848 | causes gdb to seg fault. | |
3849 | ||
eb01fc62 DJ |
3850 | 2003-06-14 Daniel Jacobowitz <[email protected]> |
3851 | ||
3852 | * sparc-nat.c (fetch_inferior_registers): Correct | |
3853 | a reference to "registers". | |
3854 | ||
3b3e6bee DJ |
3855 | 2003-06-14 Jeroen Dekkers <[email protected]> |
3856 | ||
3857 | * Makefile.in (exc_request_U_h): Define | |
3858 | (exc_request_S_h): Likewise. | |
3859 | (msg_reply_S_h): Likewise. | |
3860 | (msg_U_h): Likewise. | |
3861 | (notify_S_h): Likewise. | |
3862 | (process_reply_S_h): Likewise. | |
3863 | (gnu-nat.o): Depend on gdb_obstack_h | |
3864 | * gnu-nat.c: Include "gdb_obstack.h". | |
3865 | ||
b8de8283 AC |
3866 | 2003-06-13 Andrew Cagney <[email protected]> |
3867 | ||
3868 | * gdbarch.sh: Document what PUSH_DUMMY_CALL replaces. | |
3869 | * gdbarch.h, gdbarch.c: Re-generate. | |
8ffd9b1b | 3870 | |
f3be58bc AC |
3871 | 2003-06-13 Andrew Cagney <[email protected]> |
3872 | ||
3873 | * gdbarch.sh: Document what UNWIND_DUMMY_ID replaces. Clarify | |
3874 | when deprecated REGISTER macros can be deleted. | |
3875 | * gdbarch.h, gdbarch.c: Re-generate. | |
3876 | ||
4c0122c8 JB |
3877 | 2003-06-13 Jim Blandy <[email protected]> |
3878 | ||
3879 | * solib-svr4.c (solib_break_names): Recognize the 64-bit PowerPC | |
3880 | Linux entry point symbols for _dl_debug_state, too. | |
3881 | ||
3e210248 AC |
3882 | 2003-06-13 Andrew Cagney <[email protected]> |
3883 | ||
3884 | * infcall.c (call_function_by_hand): When UNWIND_DUMMY_ID is | |
3885 | available, do not use the FP register, and always save the TOS. | |
3886 | * dummy-frame.c (dummy_frame_this_id): Do not assert | |
3887 | SAVE_DUMMY_FRAME_TOS. | |
3888 | * i386-tdep.c (i386_save_dummy_frame_tos): Delete function. | |
3889 | (i386_gdbarch_init): Do not set save_dummy_frame_tos. | |
3890 | (i386_push_dummy_call): Add 8 to the returned SP. | |
3891 | * frame.c (legacy_frame_p): Do not require SAVE_DUMMY_FRAME_TOS. | |
3892 | * d10v-tdep.c (d10v_unwind_dummy_id): Use d10v_unwind_sp. | |
3893 | (d10v_gdbarch_init): Do not set save_dummy_frame_tos. | |
3894 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos): Delete function. | |
3895 | (x86_64_push_dummy_call): Return "sp + 16". | |
3896 | (x86_64_init_abi): Do not set save_dummy_frame_tos. | |
3897 | * alpha-tdep.c (alpha_gdbarch_init): Do not set | |
3898 | save_dummy_frame_tos. | |
3899 | ||
0b65af49 JB |
3900 | 2003-06-13 Jim Blandy <[email protected]> |
3901 | ||
3902 | * frv-tdep.c (frv_use_struct_convention): Delete static | |
3903 | declaration for function deleted in my change of 2003-06-12. | |
3904 | ||
4ea2465e TR |
3905 | 2003-06-13 Theodore A. Roth <[email protected]> |
3906 | ||
3907 | * avr-tdep.c (avr_address_to_pointer): Shift code addrs right 1 bit. | |
3908 | (avr_pointer_to_address): Shift code addrs left 1 bit. | |
3909 | (avr_convert_from_func_ptr_addr): Delete function since operation is | |
3910 | better handled by avr_address_to_pointer and avr_pointer_to_address. | |
3911 | (avr_gdbarch_init): Don't set convert_from_func_ptr_add method. | |
3912 | ||
1581182a MK |
3913 | 2003-06-13 Mark Kettenis <[email protected]> |
3914 | ||
3915 | From Kelley Cook <[email protected]>: | |
3916 | * configure.host: Accept i[34567]86 variants. | |
3917 | * configure.tgt: Likewise. | |
3918 | * nlm/configure.in: Likewise. | |
3919 | * nlm/configure: Regenerated. | |
3920 | ||
7aa1783e RE |
3921 | 2003-06-13 Richard Earnshaw <[email protected]> |
3922 | ||
3923 | * arm-tdep.c (solib-svr4.h): Dont' include it. | |
3924 | (arm_linux_svr4_fetch_link_map_offsets): Move to ... | |
3925 | * arm-linux-tdep.c: ... here. Make static. | |
3926 | (arm_linux_init_abi): Register it. | |
3927 | (solib-svr4.h): Include it. | |
3928 | * Makefile.in: Update dependencies. | |
3929 | * config/arm/tm-linux.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete. | |
3930 | (arm_linux_svr4_fetch_link_map_offsets): Delete declaration. | |
3931 | ||
0261a0d0 CV |
3932 | 2003-06-13 Corinna Vinschen <[email protected]> |
3933 | ||
3934 | * h8300-tdep.c: Add definitions E_RET0_REGNUM and E_RET1_REGNUM to | |
3935 | indicate registers used for return values. | |
3936 | (struct frame_extra_info): Drop args_pointer and locals_pointer. | |
3937 | (h8300_examine_prologue): Remove initializing dropped frame_extra_info | |
3938 | members. | |
3939 | (h8300_init_extra_frame_info): Ditto. | |
3940 | (h8300_frame_locals_address): Removed. | |
3941 | (h8300_frame_args_address): Removed. | |
3942 | (h8300_extract_return_value): Use new regcache structure. Only care | |
3943 | for 16 bit CPUs. | |
3944 | (h8300h_extract_return_value): Same function for 32 bit CPUs. | |
3945 | (h8300_store_return_value): Use new regcache structure. Only care | |
3946 | for 16 bit CPUs. | |
3947 | (h8300h_store_return_value): Same function for 32 bit CPUs. | |
3948 | (h8300_store_struct_return): Removed. | |
3949 | (h8300_extract_struct_value_address): Use new regcache structure. | |
3950 | (h8300h_extract_struct_value_address): Removed. | |
3951 | (h8300_push_dummy_code): New function. | |
3952 | (h8300_gdbarch_init): Slightly rearranged to stress deprecated calls. | |
3953 | Remove call_dummy_words. Call set_gdbarch_extract_return_value and | |
3954 | set_gdbarch_store_return_value architecture dependent. | |
3955 | Call set_gdbarch_push_dummy_code and | |
3956 | set_gdbarch_extract_struct_value_address. | |
3957 | Remove calls to set_gdbarch_frame_args_address, | |
3958 | set_gdbarch_frame_locals_address, | |
3959 | set_gdbarch_deprecated_store_struct_return, | |
3960 | set_gdbarch_deprecated_extract_return_value, | |
3961 | set_gdbarch_deprecated_extract_struct_value_address, | |
3962 | set_gdbarch_deprecated_call_dummy_words and | |
3963 | set_gdbarch_deprecated_sizeof_call_dummy_words. | |
3964 | ||
055c394a CV |
3965 | 2003-06-13 Corinna Vinschen <[email protected]> |
3966 | ||
3967 | * h8300-tdep.c (h8300_register_byte): Remove. | |
3968 | (h8300h_register_byte): Remove. | |
3969 | (h8300_register_virtual_type): Remove. Substitute by... | |
3970 | (h8300_register_type): New function. | |
3971 | (h8300_extract_struct_value_address): Drop usage of h8300_register_byte. | |
3972 | (h8300h_extract_struct_value_address): Ditto. | |
3973 | (h8300_gdbarch_init): Drop calls to | |
3974 | set_gdbarch_deprecated_register_byte and | |
3975 | set_gdbarch_deprecated_register_virtual_type. | |
3976 | Add call to set_gdbarch_register_type. | |
3977 | ||
9c04cab7 AC |
3978 | 2003-06-13 Andrew Cagney <[email protected]> |
3979 | ||
3980 | * gdbarch.sh: Update comments on registers. | |
3981 | (deprecated_register_byte): Rename register_byte. | |
3982 | (deprecated_register_raw_size): Rename register_raw_size. | |
3983 | (deprecated_register_virtual_size): Rename register_virtual_size. | |
3984 | (deprecated_register_virtual_type): Rename register_virtual_type. | |
3985 | * gdbarch.h, gdbarch.c: Re-generate. | |
3986 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
3987 | * vax-tdep.c (vax_gdbarch_init): Update. | |
3988 | * v850-tdep.c (v850_gdbarch_init): Update. | |
3989 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
3990 | * sh-tdep.c (sh_gdbarch_init): Update. | |
3991 | * s390-tdep.c (s390_gdbarch_init): Update. | |
3992 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
3993 | * ns32k-tdep.c: Update. | |
3994 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
3995 | * mips-tdep.c (mips_gdbarch_init): Update. | |
3996 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
3997 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
3998 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
3999 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
4000 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
4001 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
4002 | * frv-tdep.c (frv_gdbarch_init): Update. | |
4003 | * cris-tdep.c (cris_gdbarch_init): Update. | |
4004 | * avr-tdep.c (avr_gdbarch_init): Update. | |
4005 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
4006 | * arm-tdep.c (arm_gdbarch_init): Update. | |
4007 | ||
b060cbea AC |
4008 | 2003-06-13 Andrew Cagney <[email protected]> |
4009 | ||
4010 | * mips-tdep.c (mips_gdbarch_init): Replace remaining instances of | |
4011 | mips_o32_use_struct_convention with always_use_struct_convention. | |
4012 | ||
0fc9922a DC |
4013 | 2003-06-12 David Carlton <[email protected]> |
4014 | ||
4015 | * cp-namespace.c (cp_set_block_scope): Comment out | |
4016 | processing_has_namespace_info branch. | |
4017 | ||
1fd35568 JB |
4018 | 2003-06-12 Jim Blandy <[email protected]> |
4019 | ||
f470a70a JB |
4020 | Recognize and skip 64-bit PowerPC Linux linkage functions. |
4021 | * ppc-linux-tdep.c (insn_d, insn_ds, insn_xfx, read_insn, struct | |
4022 | insn_pattern, insns_match_pattern, d_field, ds_field): New | |
4023 | functions, macros, and types for working with PPC instructions. | |
4024 | (ppc64_standard_linkage, PPC64_STANDARD_LINKAGE_LEN, | |
4025 | ppc64_in_solib_call_trampoline, ppc64_standard_linkage_target, | |
4026 | ppc64_skip_trampoline_code): New functions, variables, and macros | |
4027 | for recognizing and skipping linkage functions. | |
4028 | (ppc_linux_init_abi): Use ppc64_in_solib_call_trampoline and | |
4029 | ppc64_skip_trampoline_code for the 64-bit PowerPC Linux ABI. | |
4030 | ||
49ff75ad JB |
4031 | * ppc-linux-nat.c (ppc_register_u_addr): Correctly compute u-area |
4032 | register offsets for both the 32- and 64-bit interfaces. | |
4033 | ||
bd918c83 JB |
4034 | Actually finish the job started by my change of 2003-05-29. |
4035 | * config/powerpc/tm-linux.h (SKIP_TRAMPOLINE_CODE): Remove the | |
4036 | other #definition of this. | |
4037 | (ppc_linux_skip_trampoline_code): Remove declaration. | |
4038 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Make this | |
4039 | static. | |
4040 | (ppc_linux_init_abi): Register it as the skip_trampoline_code | |
4041 | method for GDBARCH. | |
4042 | ||
4043 | * config/powerpc/nm-ppc64-linux.h (PTRACE_XFER_TYPE): This is | |
4044 | 'long' on ppc64-*-linux*. | |
4045 | ||
f8c59253 JB |
4046 | * ppc-linux-nat.c (ppc_register_u_addr, fill_gregset): If PT_MQ |
4047 | isn't #defined, assume the register doesn't exist: act as if | |
4048 | tdep->ppc_mq_regnum were -1. | |
4049 | ||
8fbb30b1 JB |
4050 | * configure.host, configure.tgt: Add entries for |
4051 | powerpc64-*-linux, selecting powerpc/ppc64-linux.mh and | |
4052 | powerpc/linux.mt. | |
4053 | * config/powerpc/ppc64-linux.mh, config/powerpc/nm-ppc64-linux.mh: | |
4054 | New files. | |
4055 | ||
1fd35568 JB |
4056 | * arch-utils.c (always_use_struct_convention): New function. |
4057 | * arch-utils.h (always_use_struct_convention): New prototype. | |
4058 | * alpha-tdep.c (alpha_use_struct_convention): Delete. | |
4059 | (alpha_gdbarch_init): Register always_use_struct_convention, | |
4060 | instead of alpha_use_struct_convention. | |
4061 | * cris-tdep.c (cris_use_struct_convention): Delete. | |
4062 | (cris_gdbarch_init): Register always_use_struct_convention, | |
4063 | instead of cris_use_struct_convention. | |
4064 | * frv-tdep.c (frv_use_struct_convention): Delete. | |
4065 | (frv_gdbarch_init): Register always_use_struct_convention, | |
4066 | instead of frv_use_struct_convention. | |
4067 | * h8300-tdep.c (h8300_use_struct_convention): Delete. | |
4068 | (h8300_gdbarch_init): Register always_use_struct_convention, | |
4069 | instead of h8300_use_struct_convention. | |
e3305dd9 | 4070 | * mips-tdep.c (mips_o32_use_struct_convention): Delete. |
1fd35568 JB |
4071 | (mips_o32_gdbarch_init): Register always_use_struct_convention, |
4072 | instead of mips_o32_use_struct_convention. | |
4073 | ||
e14e6e9c AC |
4074 | 2003-06-12 Andrew Cagney <[email protected]> |
4075 | ||
4076 | * wince.c: Include "mips-tdep.h". | |
4077 | * mips-tdep.h (mips_next_pc): Declare. | |
4078 | * mcore-tdep.c: Make more local functions static. | |
4079 | * Makefile.in (wince.o): Update dependencies. | |
4080 | ||
2335f48e DC |
4081 | 2003-06-12 David Carlton <[email protected]> |
4082 | ||
4083 | * symtab.c (lookup_symbol_aux_minsyms): Replace | |
4084 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
4085 | (find_pc_sect_line, search_symbols, rbreak_command): Ditto. | |
4086 | (COMPLETION_LIST_ADD_SYMBOL): Rewrite in terms of | |
4087 | SYMBOL_NATURAL_NAME. | |
4088 | ||
f70a7d61 AS |
4089 | 2003-06-12 Andreas Schwab <[email protected]> |
4090 | ||
4091 | * Makefile.in (tuiDisassem.o): Update dependencies. | |
4092 | ||
b6429628 DC |
4093 | 2003-06-12 David Carlton <[email protected]> |
4094 | ||
4095 | * symtab.h: Delete declaration of make_symbol_overload_list. | |
4096 | Add declaration of lookup_partial_symbol. | |
4097 | * symtab.c (remove_params): Move to cp-support.c. | |
4098 | (overload_list_add_symbol, make_symbol_overload_list) | |
4099 | (sym_return_val_size, sym_return_val_index): Ditto. | |
4100 | (lookup_partial_symbol): Make extern. | |
4101 | * cp-support.h: Add declaration of make_symbol_overload_list. | |
4102 | * cp-support.c: Include dictionary.h, objfiles.h, frame.h, | |
4103 | symtab.h, and block.h. | |
4104 | (remove_params): Move here from symtab.c. | |
4105 | (overload_list_add_symbol, make_symbol_overload_list) | |
4106 | (sym_return_val_size, sym_return_val_index): Ditto. | |
4107 | * valops.c: Include cp-support.h. | |
4108 | * Makefile.in (cp-support.o): Depend on dictionary_h, objfiles_h, | |
4109 | frame_h, and block_h. | |
4110 | (valops.o): Depend on cp_support_h. | |
4111 | ||
084edea5 CV |
4112 | 2003-06-12 Corinna Vinschen <[email protected]> |
4113 | ||
4114 | * h8300-tdep.c: Add H8SX registers. Drop E_NUM_REGS entirely, | |
4115 | substitute by NUM_REGS throughout. | |
4116 | (h8300_register_name): Only care for H8/300 and H8/300H registers. | |
4117 | (h8300s_register_name): New function for H8S registers. | |
4118 | (h8300sx_register_name): Ditto for H8SX registers. | |
4119 | (h8300_print_register): Revise register printing, avoid depending | |
4120 | on 32 bit long. | |
0261a0d0 | 4121 | (h8300_register_byte): Only care for H8/300 registers. |
084edea5 CV |
4122 | (h8300h_register_byte): New function for any other architecture. |
4123 | (h8300_register_raw_size): Remove. | |
4124 | (h8300_register_virtual_type): Revise to return actually useful | |
4125 | type. | |
4126 | (h8300_extract_struct_value_address): Only care for H8/300 registers. | |
4127 | (h8300h_extract_struct_value_address): New function for any other | |
4128 | architecture. | |
4129 | (h8300_gdbarch_init): Add h8300sxn. Call set_gdbarch_num_regs, | |
4130 | set_gdbarch_register_name, set_gdbarch_register_byte, | |
4131 | set_gdbarch_ptr_bit and set_gdbarch_addr_bit architecture dependent. | |
4132 | Remove calls to set_gdbarch_deprecated_register_size, | |
4133 | set_gdbarch_deprecated_register_bytes, set_gdbarch_register_raw_size, | |
4134 | set_gdbarch_deprecated_max_register_raw_size, | |
4135 | set_gdbarch_register_virtual_size and | |
4136 | set_gdbarch_deprecated_max_register_virtual_size entirely. | |
4137 | Call set_gdbarch_long_long_bit, set_gdbarch_double_bit and | |
4138 | set_gdbarch_long_double_bit. | |
4139 | ||
06194148 JJ |
4140 | 2003-06-11 Jeff Johnston <[email protected]> |
4141 | ||
8ffd9b1b AJ |
4142 | * doublest.c (convert_doublest_to_floatformat): When dealing |
4143 | with the implied integer bit, only alter mant_bits if we are | |
06194148 JJ |
4144 | processing a full 32 bits of mantissa. |
4145 | ||
de4f826b DC |
4146 | 2003-06-11 David Carlton <[email protected]> |
4147 | ||
4148 | * dictionary.h: New. | |
4149 | * dictionary.c: New. | |
4150 | * block.h: Add opaque declaration for struct dictionary. | |
4151 | (struct block): Add 'dict' member; delete 'hashtable', 'nsyms', | |
4152 | 'sym' members. | |
4153 | (BLOCK_DICT): New macro. | |
4154 | Delete macros BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM, | |
4155 | BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE, | |
4156 | BLOCK_SHOULD_SORT. | |
4157 | (ALL_BLOCK_SYMBOLS): Update definition. | |
4158 | * Makefile.in (SFILES): Add dictionary.c. | |
4159 | (dictionary_h): New. | |
4160 | (COMMON_OBS): Add dictionary.o. | |
4161 | (dictionary.o): New. | |
4162 | (ada-lang.o): Depend on dictionary_h. | |
4163 | (buildsym.o, coffread.o, jv-lang.o, mdebugread.o, objfiles.o) | |
4164 | (stack.o, symmisc.o, symtab.o, tracepoint.o, valops.o) | |
4165 | (mi-cmd-stack.o): Ditto. | |
4166 | (gdbtk-cmds.o): Update dependencies. | |
4167 | (gdbtk-stack.o): Ditto. | |
4168 | * ada-lang.c: Include dictionary.h. | |
4169 | (symtab_for_sym): Update uses of ALL_BLOCK_SYMBOLS. | |
4170 | (fill_in_ada_prototype, debug_print_block): Ditto. | |
4171 | (ada_add_block_symbols): Update uses of ALL_BLOCK_SYMBOLS; replace | |
4172 | explicit iteration by use of ALL_BLOCK_SYMBOLS. Delete variable | |
4173 | 'is_sorted'. | |
4174 | * mdebugread.c: Include dictionary.h. | |
4175 | (struct parse_stack): Delete 'maxsyms' member. | |
4176 | (parse_symbol): Update calls to new_block. Delete calls to | |
4177 | shrink_block. Use dictionary methods. | |
4178 | (psymtab_to_symtab_1): Delete calls to sort_symtab_syms. | |
4179 | Update calls to new_symtab. Don't maintain maxsyms data. | |
4180 | (mylookup_symbol): Update use of ALL_BLOCK_SYMBOLS. | |
4181 | (add_symbol): Just call dict_add_symbol. | |
4182 | (new_symtab): Delete 'maxsyms' argument. | |
4183 | (new_symtab): Update calls to new_block. | |
4184 | (new_block): Delete 'maxsyms' argument; add 'function' argument. | |
4185 | (shrink_block): Delete function. | |
4186 | (fixup_sigtramp): Update call to new_block. Add symbol via | |
4187 | dict_add_symbol. | |
4188 | * jv-lang.c: Include dictionary.h. | |
4189 | (get_java_class_symtab): Set the BLOCK_DICT of the blocks | |
4190 | appropriately. Set class_symtab->free_func. Make sure the | |
4191 | blockvector is big enough to hold two blocks. | |
4192 | (add_class_symtab_symbol): Use dictionary methods. | |
4193 | (free_class_block): New function. | |
4194 | (type_from_class): Replace explicit iteration by | |
4195 | ALL_BLOCK_SYMBOLS. | |
4196 | * symtab.h (struct symtab): Replace 'free_ptr' method by | |
4197 | 'free_func'. | |
4198 | * dwarf2read.c (psymtab_to_symtab_1): Delete call to | |
4199 | sort_symtab_syms. | |
4200 | * dwarfread.c (psymtab_to_symtab_1): Delete call to | |
4201 | sort_symtab_syms. | |
4202 | * coffread.c (coff_symfile_read): Delete call to sort_symtab_syms. | |
4203 | Include dictionary.h. | |
4204 | (patch_opaque_types): Update use of ALL_BLOCK_SYMBOLS. | |
4205 | * dbxread.c (dbx_psymtab_to_symtab_1): Delete call to | |
4206 | sort_symtab_syms. | |
4207 | * objfiles.c: Include dictionary.h. | |
4208 | (objfile_relocate): Update use of ALL_BLOCK_SYMBOLS. | |
4209 | * buildsym.c: Include dictionary.h. | |
4210 | (finish_block): Use dictionary methods. | |
4211 | (end_symtab): Set free_func to NULL, not free_ptr. | |
4212 | * tracepoint.c: Include dictionary.h. | |
4213 | (add_local_symbols): Update use of ALL_BLOCK_SYMBOLS. | |
4214 | (scope_info): Ditto. | |
4215 | * stack.c: Include dictionary.h. | |
4216 | (print_block_frame_locals): Update use of ALL_BLOCK_SYMBOLS. | |
4217 | (print_block_frame_labels, print_frame_arg_vars) | |
4218 | (print_frame_args): Ditto. | |
4219 | * symmisc.c (free_symtab_block): Use dictionary methods. | |
4220 | (dump_symtab): Ditto. | |
4221 | (free_symtab): Replace use of 'free_ptr' by 'free_func'. | |
4222 | Include dictionary.h. | |
4223 | * symfile.h: Delete declarations of sort_block_syms, | |
4224 | sort_symtab_syms. | |
4225 | * symfile.c (sort_block_syms): Delete. | |
4226 | (sort_symtab_syms): Delete. | |
4227 | * symtab.c: Include dictionary.h. | |
4228 | (lookup_block_symbol): Use dictionary iterators. | |
4229 | (find_pc_sect_symtab): Update use of ALL_BLOCK_SYMBOLS. | |
4230 | (search_symbols, make_symbol_completion_list): Ditto. | |
4231 | (make_symbol_overload_list): Ditto. | |
4232 | * valops.c (value_of_local): Use dict_empty. | |
4233 | Include dictionary.h. | |
4234 | ||
a31f978c JB |
4235 | 2003-06-11 J. Brobecker <[email protected]> |
4236 | ||
4237 | * win32-nat.c (solib_symbols_add): Fix a small compilation error. | |
4238 | ||
526e70c0 DC |
4239 | 2003-06-11 David Carlton <[email protected]> |
4240 | ||
4241 | * block.h (BLOCK_SHOULD_SORT): Delete. | |
4242 | * symtab.c (lookup_block_symbol): Don't worry about sorted linear | |
4243 | blocks. | |
4244 | * ada-lang.c (ada_add_block_symbols): Ditto. | |
4245 | * symfile.c (sort_block_syms): Delete. | |
4246 | (sort_symtab_syms): Ditto. | |
4247 | * symfile.h: Delete sort_symtabs_syms and sort_block_syms | |
4248 | declarations. | |
4249 | * coffread.c (coff_symfile_read): Don't call sort_symtab_syms. | |
4250 | * dbxread.c (dbx_psymtab_to_symtab_1): Ditto. | |
4251 | * dwarf2read.c (psymtab_to_symtab_1): Ditto. | |
4252 | * dwarfread.c (psymtab_to_symtab_1): Ditto. | |
4253 | * hpread.c (hpread_psymtab_to_symtab_1): Ditto. | |
4254 | * mdebugread.c (psymtab_to_symtab_1): Ditto. | |
4255 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Ditto. | |
4256 | ||
33c08150 JJ |
4257 | 2003-06-11 Jeff Johnston <[email protected]> |
4258 | ||
8ffd9b1b | 4259 | * ia64-tdep.c (ia64_gdbarch_init): Set number of long double |
33c08150 JJ |
4260 | bits to 128. |
4261 | ||
781a750d AC |
4262 | 2003-06-11 Andrew Cagney <[email protected]> |
4263 | ||
4264 | * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Deprecate | |
4265 | REGISTER_CONVERTIBLE. | |
4266 | (DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL): Same. | |
4267 | (DEPRECATED_REGISTER_CONVERT_TO_RAW): Same, make "from" constant. | |
4268 | * gdbarch.h, gdbarch.c: Re-generate. | |
4269 | * arch-utils.h (deprecated_register_convertible_not): Rename | |
4270 | generic_register_convertible_not. | |
4271 | * arch-utils.c (deprecated_register_convertible_not): Rename | |
4272 | generic_register_convertible. | |
4273 | (legacy_convert_register_p, legacy_register_to_value): Update. | |
4274 | * sh-tdep.c (sh64_push_arguments): Update. | |
4275 | * m68klinux-tdep.c (m68k_linux_extract_return_value): Update. | |
4276 | * config/m68k/tm-delta68.h (DEPRECATED_EXTRACT_RETURN_VALUE): Update. | |
4277 | * m68klinux-tdep.c (m68k_linux_store_return_value): Update. | |
4278 | * config/m68k/tm-delta68.h (DEPRECATED_STORE_RETURN_VALUE): Update. | |
4279 | * arch-utils.c (legacy_value_to_register): Update. | |
4280 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
4281 | (rs6000_register_convert_to_raw): Make parameter "from" const. | |
4282 | * mips-tdep.c (mips_gdbarch_init): Update. | |
4283 | (mips_register_convert_to_raw): Make parameter"virt_buf" const. | |
4284 | * infcmd.c (default_print_registers_info): Update. | |
4285 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
4286 | (ia64_register_convert_to_raw): Make parameter "from" const. | |
4287 | * i386-tdep.c (i386_gdbarch_init): Update. | |
4288 | (i386_register_convert_to_raw): Update. | |
4289 | ||
cd90e54f AC |
4290 | 2003-06-11 Andrew Cagney <[email protected]> |
4291 | ||
4292 | * remote-fileio.c: Include "remote-fileio.h". | |
4293 | * Makefile.in (remote-fileio.o): Update dependencies. | |
4294 | (remote_fileio_h): Fix typo. | |
4295 | ||
a78f21af AC |
4296 | 2003-06-11 Andrew Cagney <[email protected]> |
4297 | ||
4298 | * xstormy16-tdep.c (xstormy16_push_return_address): Make static. | |
4299 | (xstormy16_save_dummy_frame_tos): Make static. | |
4300 | (_initialize_xstormy16_tdep): Add declaration. | |
4301 | * vax-tdep.c (_initialize_vax_tdep): Add declaration. | |
4302 | * v850-tdep.c: Make local functions static. | |
4303 | (_initialize_v850_tdep): Add declaration. | |
4304 | * sparc-tdep.c: Make local functions static. | |
4305 | (_initialize_sparc_tdep): Add declaration. | |
4306 | * sh-tdep.c: Make local functions static. | |
4307 | (_initialize_sh_tdep): Add declaration. | |
4308 | * sh3-rom.c (_initialize_sh3_rom): Add declaration. | |
4309 | * s390-tdep.c: Make local functions static. | |
4310 | (_initialize_s390_tdep): Add declaration. | |
4311 | * dbxread.c (find_stab_function_addr): Make static. | |
4312 | * ppc-bdm.c (_initialize_bdm_ppc): Add declaration. | |
4313 | * ocd.c (_initialize_remote_ocd): Add declaration. | |
4314 | * dink32-rom.c (_initialize_dink32_rom): Add declaration. | |
4315 | * ppcbug-rom.c (_initialize_ppcbug_rom): Add declaration. | |
4316 | * ns32k-tdep.c (_initialize_ns32k_tdep): Add declaration. | |
4317 | * ns32knbsd-tdep.c (_initialize_ns32knbsd_tdep): Add declaration. | |
4318 | * mips-tdep.c (_initialize_mips_tdep): Add declaration. | |
4319 | * remote-array.c (_initialize_array): Add declaration. | |
4320 | (_initialize_remote_monitors): Add declaration. | |
4321 | * remote-mips.c: Make local functions static. | |
4322 | (_initialize_remote_mips): Add declaration. | |
4323 | * mcore-tdep.c: Make all local functions static. | |
4324 | (_initialize_mcore_tdep): Add declaration. | |
4325 | * dbug-rom.c (_initialize_dbug_rom): Add declaration. | |
4326 | * abug-rom.c (_initialize_abug_rom): Add declaration. | |
4327 | * rom68k-rom.c (_initialize_rom68k): Add declaration. | |
4328 | * cpu32bug-rom.c (_initialize_cpu32bug_rom): Add declaration. | |
4329 | * m68k-tdep.c (_initialize_m68k_tdep): Add declaration. | |
4330 | * remote-est.c (_initialize_est): Add declaration. | |
4331 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Add declaration. | |
4332 | (m68hc11_call_dummy_address): Make static. | |
4333 | * ia64-tdep.c: Make local functions static. | |
4334 | (_initialize_ia64_tdep): Add declaration. | |
4335 | * solib-legacy.c (_initialize_svr4_lm): Add declaration. | |
4336 | * monitor.c (monitor_wait_filter): Make static. | |
4337 | (_initialize_remote_monitors): Add declaration. | |
4338 | * remote-hms.c (_initialize_remote_hms): Add declaration. | |
4339 | * remote-e7000.c (fetch_regs_from_dump): Make static. | |
4340 | (expect_n): Make static. | |
4341 | (_initialize_remote_e7000): Add declaration. | |
4342 | * ser-e7kpc.c: Always include "defs.h". | |
4343 | (_initialize_ser_e7000pc): Add declaration. | |
4344 | * h8300-tdep.c (_initialize_h8300_tdep): Add declaration. | |
4345 | * cris-tdep.c: Make all but one function static. | |
4346 | (_initialize_cris_tdep): Add declaration. | |
4347 | * solib-svr4.c (_initialize_svr4_solib): Add declaration. | |
4348 | * solib.c (update_solib_list): Make static. | |
4349 | (_initialize_solib): Add declaration. | |
4350 | * avr-tdep.c (avr_breakpoint_from_pc): Make static. | |
4351 | (_initialize_avr_tdep): Add declaration. | |
4352 | * remote-rdi.c (voiddummy): Make static. | |
4353 | (_initialize_remote_rdi): Add declaration. | |
4354 | * arm-tdep.c (_initialize_arm_tdep): Add declaration. | |
4355 | * remote-rdp.c (send_rdp): Make static. | |
4356 | (_initialize_remote_rdp): Add declaration. | |
4357 | * alpha-tdep.c (_initialize_alpha_tdep): Add declaration. | |
4358 | ||
cbcdb1f5 CV |
4359 | 2003-06-11 Corinna Vinschen <[email protected]> |
4360 | ||
4361 | * remote-fileio.c: Make ari happy. | |
4362 | ||
a191ea8d JB |
4363 | 2003-06-10 J. Brobecker <[email protected]> |
4364 | ||
4365 | * rs6000-nat.c (child_xfer_memory): Compute the right address when | |
4366 | fetching the trailing bytes of the buffer we are about to write. | |
4367 | ||
0ef75e11 AC |
4368 | 2003-06-10 Andrew Cagney <[email protected]> |
4369 | ||
4370 | * remote-fileio.h (REMOTE_FILEIO_H): Replace FILEIO_H. | |
4371 | * Makefile.in (remote-fileio.o): Update dependencies. | |
4372 | * remote-fileio.c: Include "gdb_wait.h" and "gdb_stat.h". Do not | |
4373 | include <setjmp.h>, or <sys/types.h> conditional on USG. | |
4374 | (remote_fio_jmp_buf): Delete global variable. | |
4375 | ||
449092f6 | 4376 | 2003-06-10 Corinna Vinschen <[email protected]> |
559fa028 | 4377 | Martin M. Hunt <[email protected]> |
449092f6 | 4378 | |
559fa028 AC |
4379 | * Makefile.in (REMOTE_OBS): Add remote-fileio.o |
4380 | (SFILES): Add remote-fileio.c. | |
4381 | Add dependencies for building remote-fileio.o. Add remote-fileio.h to | |
4382 | dependencies for building remote.o. | |
449092f6 CV |
4383 | * remote-fileio.c: New file implementing the remote File-I/O protocol. |
4384 | * remote-fileio.h: New header file defining remote File-I/O interface. | |
8ffd9b1b | 4385 | * remote.c (remote_write_bytes, remote_read_bytes): Remove |
449092f6 CV |
4386 | static storage class. |
4387 | (remote_wait, remote_async_wait): Call remote_fileio_request() on | |
4388 | 'F' packet. | |
4389 | (_initialize_remote): Call initialize_remote_fileio(). | |
4390 | * remote.h: Declare remote_write_bytes() and remote_read_bytes(). | |
449092f6 CV |
4391 | * defs.h: Declare gdb_stdin, gdb_stdtargerr and gdb_stdtargin. |
4392 | * main.c: New ui_file gdb_stdin, gdb_stdtargerr and gdb_stdtargin. | |
4393 | (captured_main): Initialize new ui_files. | |
4394 | * ui-file.c: Add read and fgets input functions. | |
4395 | (ui_file_new): set ui_file_fputs and ui_file_read to null functions. | |
4396 | (null_file_read): New function. | |
4397 | (ui_file_read): New function. | |
4398 | (set_ui_file_read): New function. | |
4399 | (stdio_file_read): New function. | |
4400 | * ui-file.h: New type ui_file_read_ftype. | |
4401 | (set_ui_file_read): Declare. | |
4402 | (ui_file_read): Declare. | |
4403 | ||
248de703 AC |
4404 | 2003-06-09 Andrew Cagney <[email protected]> |
4405 | ||
4406 | * frame.h (deprecated_unwind_get_saved_register): Rename | |
4407 | generic_unwind_get_saved_register, update comments. | |
4408 | * mips-tdep.c (mips_get_saved_register): Update. | |
4409 | * frame.c (deprecated_unwind_get_saved_register): Update. | |
4410 | ||
0ed8aa57 AC |
4411 | 2003-06-09 Andrew Cagney <[email protected]> |
4412 | ||
4413 | * vax-tdep.c (vax_frame_locals_address): Delete function. | |
4414 | (vax_gdbarch_init): Do not set frame_locals_address. | |
4415 | * m68hc11-tdep.c (m68hc11_frame_locals_address): Delete function. | |
4416 | (m68hc11_gdbarch_init): Do not set frame_locals_address. | |
4417 | * s390-tdep.c (s390_frame_args_address): Delete function. | |
4418 | (s390_gdbarch_init): Do not set frame_args_address or | |
4419 | frame_locals_address. | |
4420 | * ns32k-tdep.c (ns32k_frame_locals_address): Delete. | |
4421 | (ns32k_gdbarch_init): Do not set frame_locals_address. | |
4422 | * hppa-tdep.c (hppa_frame_args_address): Delete function. | |
4423 | (hppa_frame_locals_address): Delete function. | |
4424 | (hppa_gdbarch_init): Do not set frame_args_address, or | |
4425 | frame_locals_address. | |
4426 | * arm-tdep.c (arm_frame_args_address): Delete. | |
4427 | (arm_frame_locals_address): Delete. | |
4428 | (arm_gdbarch_init): Do not set frame_args_address, or | |
4429 | frame_locals_address. | |
4430 | ||
983a287a AC |
4431 | 2003-06-09 Andrew Cagney <[email protected]> |
4432 | ||
4433 | * gdbarch.sh (FRAME_NUM_ARGS): Change to function with predicate. | |
4434 | * gdbarch.h, gdbarch.c: Re-generate. | |
4435 | * arch-utils.h (frame_num_args_unknown): Delete both declarations. | |
4436 | * arch-utils.c (frame_num_args_unknown): Delete function. | |
4437 | * stack.c (print_args_stub): Use FRAME_NUM_ARGS_P. | |
4438 | (frame_info): Use FRAME_NUM_ARGS_P. | |
4439 | * arm-tdep.c (arm_frame_num_args): Delete function. | |
4440 | (arm_gdbarch_init): Do not set frame_num_args. | |
4441 | * config/pa/tm-hppa64.h (FRAME_NUM_ARGS): Delete. | |
4442 | * hppa-tdep.c (hppa_frame_num_args): Delete function. | |
4443 | (hppa_gdbarch_init): Do not set frame_num_args. | |
4444 | * config/sparc/tm-sparc.h (FRAME_NUM_ARGS): Delete. | |
4445 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
4446 | frame_num_args to default frame_num_args_unknown. | |
4447 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
4448 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
4449 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
4450 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
4451 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
4452 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
4453 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
4454 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
4455 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
4456 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
4457 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
4458 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
4459 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
4460 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
4461 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
4462 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
4463 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
4464 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
4465 | ||
8d3b0994 AC |
4466 | 2003-06-09 Andrew Cagney <[email protected]> |
4467 | ||
4468 | * printcmd.c (print_frame_nameless_args): Moved to "stack.c". | |
4469 | (print_frame_args): Moved to "stack.c". | |
4470 | * stack.c: Include "gdb_assert.h". | |
4471 | (print_frame_nameless_args): Moved from "printcmd.c", made static. | |
4472 | (print_frame_args): Moved from "printcmd.c". | |
4473 | * frame.h (print_frame_args): Delete declaration. | |
4474 | * Makefile.in (stack.o): Update dependencies. | |
4475 | ||
25e3a86b AC |
4476 | 2003-06-08 Andrew Cagney <[email protected]> |
4477 | ||
4478 | * frame.c (get_prev_frame): Remove reference to | |
4479 | frame_args_address_correct in comments. | |
4480 | * frame-base.c (default_frame_args_address): Delete code | |
4481 | conditional on FRAME_ARGS_ADDRESS_CORRECT. | |
4482 | * vax-tdep.c (vax_frame_args_address_correct): Delete. | |
4483 | (vax_frame_args_address): Merge in vax_frame_args_address_correct. | |
4484 | * config/vax/tm-vax.h (FRAME_ARGS_ADDRESS_CORRECT): Delete | |
4485 | (vax_frame_args_address_correct): Delete declaration. | |
4486 | ||
a9e5fdc2 AC |
4487 | 2003-06-08 Andrew Cagney <[email protected]> |
4488 | ||
4489 | * gdbarch.sh (UNWIND_SP): Add. | |
4490 | * gdbarch.h, gdbarch.c: Re-generate. | |
4491 | * frame.c (frame_sp_unwind): New function. | |
4492 | (get_frame_sp): New function. | |
4493 | * frame.h (get_frame_sp, frame_sp_unwind): Declare. | |
4494 | * regcache.c (read_sp): Rewrite, try each of TARGET_READ_SP, | |
4495 | gdbarch_unwind_sp and SP_REGNUM when looking for the SP register | |
4496 | value. | |
4497 | * d10v-tdep.c (d10v_unwind_sp): Replace d10v_read_sp. | |
4498 | (d10v_gdbarch_init): Set unwind_sp instead of read_sp. | |
4499 | ||
8983bd83 AC |
4500 | 2003-06-08 Andrew Cagney <[email protected]> |
4501 | ||
7fec2c59 AC |
4502 | Deprecate BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT and |
4503 | REMOTE_BREAKPOINT. | |
4504 | * remote.c: Update. | |
4505 | * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT): Update. | |
4506 | (DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Update. | |
4507 | * config/m68k/tm-sun3.h: Update. | |
4508 | * config/m68k/tm-m68klynx.h: Update. | |
4509 | * config/h8300/tm-h8300.h (DEPRECATED_REMOTE_BREAKPOINT): Update. | |
4510 | ||
8983bd83 AC |
4511 | * trad-frame.h (struct trad_frame_saved_reg): Rename "struct |
4512 | trad_frame". Update comments. | |
4513 | * d10v-tdep.c (struct d10v_unwind_cache): Update. | |
4514 | * trad-frame.c (trad_frame_alloc_saved_regs): Update. | |
4515 | (trad_frame_register_value, trad_frame_prev_register): Update. | |
4516 | ||
b9362cc7 AC |
4517 | 2003-06-08 Andrew Cagney <[email protected]> |
4518 | ||
4519 | * acinclude.m4 (gcc_AC_CHECK_DECL, (gcc_AC_CHECK_DECL): Stolen | |
4520 | from GCC's acinclude.m4. | |
4521 | * configure.in: Check for getopt's delcaration. | |
8ffd9b1b | 4522 | * aclocal.m4, config.in, configure: Re-generate. |
b9362cc7 AC |
4523 | * main.c (error_init): Delete declaration. |
4524 | * defs.h (error_init): Declare. | |
4525 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): Make static. | |
4526 | (rs6000_convert_from_func_ptr_addr): Make static. | |
4527 | (_initialize_rs6000_tdep): Add declaration. | |
4528 | * cli/cli-cmds.c (dont_repeat): Delete declaration. | |
4529 | (show_commands, set_verbose, show_history): Delete declaration. | |
4530 | * top.h (set_verbose): Add declaration. | |
4531 | (show_history, set_history, show_commands): Add declaration. | |
4532 | (do_restore_instream_cleanup): Add declaration. | |
4533 | * objc-lang.c (specialcmp): Make static. | |
4534 | (print_object_command): Make static. | |
4535 | (find_objc_msgsend): Make static. | |
4536 | (find_objc_msgcall_submethod_helper): Make static. | |
4537 | (find_objc_msgcall_submethod): Make static. | |
4538 | (_initialize_objc_language): Add declaration. | |
4539 | (find_implementation_from_class): Make static. | |
4540 | (find_implementation): Make static. | |
4541 | * objc-exp.y (yylex): Delete lookup_struct_typedef declaration. | |
4542 | * objc-lang.h (lookup_struct_typedef): Add declaration. | |
4543 | * cli/cli-interp.c (_initialize_cli_interp): Add declaration. | |
4544 | * cli/cli-script.c (clear_hook_in_cleanup): Make static. | |
4545 | (do_restore_user_call_depth): Make static. | |
4546 | (do_restore_instream_cleanup): Delete declaration. | |
4547 | (dont_repeat): Delete declaration. | |
4548 | * cli/cli-decode.c (add_abbrev_cmd): Delete function. | |
4549 | * cli/cli-dump.c (_initialize_cli_dump): Add declaration. | |
4550 | * reggroups.c (_initialize_reggroup): Add declaration. | |
4551 | * cp-support.c (_initialize_cp_support): Add declaration. | |
4552 | * cp-abi.c (_initialize_cp_abi): Add declaration. | |
4553 | * hpacc-abi.c (_initialize_hpacc_abi): Add declaration. | |
4554 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Make static. | |
4555 | (_initialize_gnu_v3_abi): Add declaration. | |
4556 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Make static. | |
4557 | (_initialize_gnu_v2_abi): Add declaration. | |
4558 | * frame-base.c (_initialize_frame_base): Add declaration. | |
4559 | * doublest.c (floatformat_from_length): Make static. | |
4560 | * frame-unwind.c (_initialize_frame_unwind): Add declaration. | |
4561 | * frame.c (create_sentinel_frame): Make static. | |
4562 | (_initialize_frame): Add declaration. | |
4563 | * top.c (do_catch_errors): Make static. | |
4564 | (gdb_rl_operate_and_get_next_completion): Make static. | |
4565 | * typeprint.c: Include "typeprint.h". | |
4566 | * sentinel-frame.c (sentinel_frame_prev_register): Make static. | |
4567 | (sentinel_frame_this_id): Make static. | |
4568 | * p-valprint.c (_initialize_pascal_valprint): Add declaration. | |
4569 | * ui-out.c (make_cleanup_ui_out_begin_end): Delete function. | |
4570 | * dwarf2-frame.c (dwarf2_frame_cache): Make static. | |
4571 | * p-exp.y (push_current_type, pop_current_type): ISO C declaration. | |
4572 | * dwarf2expr.h (dwarf_expr_context): ISO C declaration. | |
4573 | * maint.c (maintenance_print_architecture): Make static. | |
4574 | * signals/signals.c (_initialize_signals): Add declaration. | |
4575 | * std-regs.c (_initialize_frame_reg): Add declaration. | |
4576 | * jv-exp.y (push_variable): ISO C definition. | |
4577 | (push_qualified_expression_name): Ditto. | |
4578 | * memattr.c (_initialize_mem): Add declaration. | |
4579 | * remote.c (remote_check_watch_resources): Make static. | |
4580 | (remote_stopped_by_watchpoint): Make static. | |
4581 | (remote_stopped_data_address): Make static. | |
4582 | * d10v-tdep.c (nr_dmap_regs): Make static. | |
4583 | (a0_regnum): Make static. | |
4584 | (d10v_frame_unwind_cache): Make static. | |
4585 | (d10v_frame_p): Make static. | |
4586 | * osabi.c (show_osabi): Make static. | |
4587 | (_initialize_gdb_osabi): Add extern declaration. | |
4588 | * gdbtypes.c (make_qualified_type): Make static. | |
4589 | (safe_parse_type): Make static. | |
4590 | * macrocmd.c (_initialize_macrocmd): Add extern declaration. | |
4591 | * macrotab.c (macro_bcache_free): Make static. | |
4592 | * interps.c (interp_set_quiet): Make static. | |
4593 | (interpreter_exec_cmd): Make static. | |
4594 | * stack.h (select_frame_command): New file. | |
4595 | * stack.c: Include "stack.h". | |
4596 | (select_frame_command_wrapper): Delete function. | |
4597 | (select_frame_command): Make global. | |
4598 | * infcall.c: Include "infcall.h". | |
4599 | * linespec.c: Include "linespec.h". | |
4600 | * symfile.c (sections_overlap): Make static. | |
4601 | * cp-support.h (cp_initialize_namespace): ISO C declaration. | |
4602 | * charset.c (_initialize_charset): Add missing prototype. | |
4603 | * regcache.c (init_legacy_regcache_descr): Make static. | |
4604 | (do_regcache_xfree): Make static. | |
4605 | (regcache_xfer_part): Make static. | |
4606 | (_initialize_regcache): Add missing prototype. | |
4607 | * breakpoint.c (parse_breakpoint_sals): Make static. | |
4608 | (breakpoint_sals_to_pc): Make static. | |
4609 | * interps.h (clear_interpreter_hooks): ISO C declaration. | |
4610 | * Makefile.in (stack_h): Define. | |
4611 | (stack.o, typeprint.o, mi-main.o): Update dependencies. | |
4612 | (mi-cmd-stack.o, infcall.o, linespec.o): Update dependencies. | |
4613 | ||
a0f267c7 AC |
4614 | 2003-06-08 Andrew Cagney <[email protected]> |
4615 | ||
4616 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
4617 | (SFILES): Add trad-frame.c. | |
4618 | (trad_frame_h): Define. | |
4619 | (COMMON_OBS): Add trad-frame.o. | |
4620 | (trad-frame.o): Specify dependencies. | |
4621 | * d10v-tdep.c: Include "trad-frame.h". | |
4622 | (saved_regs_unwinder): Delete function. | |
4623 | (d10v_frame_prev_register): Use trad_frame_prev_register. | |
4624 | (struct d10v_unwind_cache): Change type of "saved_regs" to "struct | |
4625 | trad_frame", delete "regs" and "prev_sp". | |
4626 | (prologue_find_regs): Use trad-frame. | |
4627 | * trad-frame.h, trad-frame.c: New files. | |
4628 | ||
4538b4f4 MK |
4629 | 2003-06-08 Mark Kettenis <[email protected]> |
4630 | ||
4631 | * dwarf2cfi.c, dwarf2cfi.h: Remove. | |
4632 | ||
a0273b2f AF |
4633 | 2003-06-07 Adam Fedor <[email protected]> |
4634 | ||
4635 | * gdb/objc-lang.c (FETCH_ARGUMENT): Remove macro. | |
4636 | (OBJC_FETCH_POINTER_ARGUMENT): Shorthand macro for | |
4637 | using FETCH_POINTER_ARGUMENT with Objective-C method arguments. | |
4638 | (find_implementation, resolve_msgsend, resolve_msgsend_stret, | |
8ffd9b1b | 4639 | resolve_msgsend_super, resolve_msgsend_super_stret): |
a0273b2f AF |
4640 | Use it. |
4641 | ||
3a6c3343 AC |
4642 | 2003-06-07 Andrew Cagney <[email protected]> |
4643 | ||
4644 | * symfile.h: Re-indent, clean up comments. | |
4645 | ||
b46e02f6 AC |
4646 | 2003-06-07 Andrew Cagney <[email protected]> |
4647 | ||
4648 | * inferior.h (deprecated_write_sp): Replace | |
4649 | generic_target_write_sp. | |
4650 | * regcache.c (deprecated_write_sp): Replace | |
4651 | generic_target_write_sp. | |
4652 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
4653 | * vax-tdep.c (vax_gdbarch_init): Update. | |
4654 | * v850-tdep.c (v850_gdbarch_init): Update. | |
4655 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
4656 | * sh-tdep.c (sh_gdbarch_init): Update. | |
4657 | * s390-tdep.c (s390_gdbarch_init): Update. | |
4658 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
4659 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
4660 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
4661 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
4662 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
4663 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
4664 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
4665 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
4666 | * frv-tdep.c (frv_gdbarch_init): Update. | |
4667 | * cris-tdep.c (cris_gdbarch_init): Update. | |
4668 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
4669 | ||
a42e117c AC |
4670 | 2003-06-07 Andrew Cagney <[email protected]> |
4671 | ||
4672 | * dwarf2-frame.c (dwarf2_frame_cache): Add comments on PC_REGNUM. | |
4673 | Assert that PC_REGNUM is valid. | |
4674 | (dwarf2_frame_prev_register): Add comments on SP_REGNUM. | |
4675 | ||
bd1ce8ba AC |
4676 | 2003-06-07 Andrew Cagney <[email protected]> |
4677 | ||
4678 | * gdbarch.sh (TARGET_READ_SP): Add predicate, delete default. | |
4679 | * gdbarch.h, gdbarch.c: Regenerate. | |
4680 | * mn10300-tdep.c: Include "gdb_assert.h". | |
4681 | (mn10300_read_fp): New function. | |
4682 | (mn10300_gdbarch_init): Set deprecated_target_read_fp to | |
4683 | mn10300_read_fp. Do not set read_sp to generic_target_read_sp. | |
4684 | * ia64-tdep.c: Include "gdb_assert.h". | |
4685 | (ia64_read_fp): New function. | |
4686 | (ia64_gdbarch_init): Set deprecated_target_read_fp to | |
4687 | ia64_read_sp. Do not set read_sp to generic_target_read_sp. | |
4688 | * regcache.c (generic_target_read_sp): Delete function. | |
4689 | (read_sp): Try TARGET_READ_SP and SP_REGNUM for the SP register. | |
4690 | * inferior.h (generic_target_read_sp): Delete declaration. | |
4691 | * frv-tdep.c (frv_gdbarch_init): Do not set read_sp to | |
4692 | generic_target_read_sp. | |
4693 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
4694 | * sparc-tdep.c (sparc_gdbarch_init): Ditto | |
4695 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
4696 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
4697 | * Makefile.in (mn10300-tdep.o, ia64-tdep.o): Update dependencies. | |
4698 | ||
ec5cbaec AC |
4699 | 2003-06-07 Andrew Cagney <[email protected]> |
4700 | ||
4701 | * gdbarch.sh: Comment each field of startup_gdbarch. | |
4702 | * gdbarch.h, gdbarch.c: Re-generate. | |
4703 | ||
cde9ea48 AC |
4704 | 2003-06-07 Andrew Cagney <[email protected]> |
4705 | ||
4706 | * gdbarch.sh (TARGET_READ_PC): Add predicate, remove default. | |
4707 | * gdbarch.h, gdbarch.c: Re-generate. | |
4708 | * regcache.c: Update comments on read_pc et.al. | |
4709 | (generic_target_read_pc): Delete function. | |
4710 | (read_pc_pid): Try TARGET_READ_PC and PC_REGNUM for a PC register. | |
4711 | * inferior.h (generic_target_read_pc): Delete declaration. | |
4712 | * frv-tdep.c (frv_gdbarch_init): Do not set read_pc to | |
4713 | generic_target_read_pc. | |
4714 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
4715 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
4716 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
4717 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8ffd9b1b | 4718 | |
9a90a780 AC |
4719 | 2003-06-07 Andrew Cagney <[email protected]> |
4720 | ||
4721 | * elfread.c (elf_symtab_read): Replace "special_local_sym_p" and | |
4722 | "index" with "special_local_sect". Use strcmp instead of STREQ. | |
4723 | Append period to coments. | |
4724 | ||
a39a16c4 MM |
4725 | 2003-06-06 Mark Mitchell <[email protected]> |
4726 | ||
4727 | * elfread.c (elf_symtab_read): Avoid use of SECT_OFF_MAX. | |
4728 | (elfstab_offset_sections): Likewise. | |
4729 | * gdb-stabs.h (stab_section_info): Likewise. | |
4730 | * i386-interix-tdep.c (pei_adjust_objfile_offsets): Likewise. | |
4731 | * objfiles.c (objfile_relocate): Likewise. | |
4732 | * pa64solib.c (pa64_solib_add_solib_objfile): Likewise. | |
4733 | * remote.c (get_offsets): Likewise. | |
4734 | (remote_cisco_objfile_relocate): Likewise. | |
4735 | * somread.c (som_symfile_offsets): Likewise. | |
4736 | * symfile.c (alloc_section_addr_info): New function. | |
4737 | (build_section_addr_info_from_section_tab): Use it. | |
4738 | (free_section_addr_info): Adjust. | |
4739 | (default_symfile_offsets): Avoid use of SECT_OFF_MAX. | |
4740 | (syms_from_objfile): Allocate local_addr dynamically. | |
4741 | (symbol_file_add_with_addrs_or_offsets): Allocate orig_addrs | |
4742 | dynamically. | |
4743 | (add_symbol_file_command): Allocate sect_opts dynamically. | |
4744 | (reread_symbols): Avoid use of SECT_OFF_MAX. | |
4745 | * symfile.h (section_addr_info): Do not use MAX_SECTIONS. | |
4746 | (alloc_section_addr_info): Declare it. | |
4747 | * symtab.h (SIZEOF_SECTION_OFFSETS): Remove. | |
4748 | * win32-nat.c (solib_symbols_add): Allocate section_addrs | |
4749 | dynamically. | |
4750 | * xcoffread.c (xcoff_symfile_offsets): Avoid use of SECT_OFF_MAX. | |
8ffd9b1b | 4751 | |
20c6c2f8 AC |
4752 | 2003-06-06 Andrew Cagney <[email protected]> |
4753 | ||
4754 | * d10v-tdep.c (struct d10v_unwind_cache): Delete "return_pc". | |
4755 | (d10v_frame_unwind_cache): Do not set "return_pc". | |
4756 | ||
884a26c8 MS |
4757 | 2003-06-06 Michael Snyder <[email protected]> |
4758 | ||
4759 | * h8300-tdep.c: Make tidy (long lines). | |
4760 | ||
088ce440 ML |
4761 | 2003-06-06 Michal Ludvig <[email protected]> |
4762 | ||
8ffd9b1b | 4763 | * x86-64-tdep.c (x86_64_fill_fxsave): Pass correct regnums |
088ce440 ML |
4764 | to regcache_collect(). |
4765 | ||
7d773d96 JB |
4766 | 2003-06-05 J. Brobecker <[email protected]> |
4767 | ||
4768 | * hppa-hpux-tdep.c (hppa_hpux_init_abi): New function, setting | |
4769 | pc_in_sigtramp multiarch method. | |
4770 | (hppa_hpux_som_init_abi): Use it. | |
4771 | (hppa_hpux_elf_init_abi): Likewise. | |
4772 | * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Remove, now that this | |
4773 | macro has been multiarched. | |
4774 | * config/pa/tm-hppa64.h (PC_IN_SIGTRAMP): Temporarily set this | |
4775 | macro here, as hppa64 isn't multiarched yet. | |
4776 | ||
1df6926e AC |
4777 | 2003-06-05 Andrew Cagney <[email protected]> |
4778 | ||
4779 | * Makefile.in (value_h): Add $(frame_h). | |
4780 | * value.h: Include "frame.h". | |
4781 | (struct value): Replace "frame_addr" with "frame_id". | |
4782 | (VALUE_FRAME_ID): Replace VALUE_FRAME. | |
4783 | * values.c (allocate_value): Use VALUE_FRAME_ID. | |
4784 | (value_copy): Use VALUE_FRAME_ID. | |
4785 | * findvar.c (value_from_register): Use VALUE_FRAME_ID. | |
4786 | * valops.c (value_assign): Update. Use frame_find_by_id. | |
4787 | ||
6b53acc6 ML |
4788 | 2003-06-05 Michal Ludvig <[email protected]> |
4789 | ||
4790 | * x86-64-tdep.c (x86_64_push_arguments): Don't clear offset | |
4791 | in each pass. | |
4792 | ||
4d9850d3 JJ |
4793 | 2003-06-05 Jeff Johnston <[email protected]> |
4794 | ||
4795 | * thread-db.c (check_event): For create/death event breakpoints, | |
4796 | loop through all messages to ensure that we read the message | |
4797 | corresponding to the breakpoint we are at. | |
4798 | ||
8efca6ba MS |
4799 | 2003-06-04 Michael Snyder <[email protected]> |
4800 | ||
4801 | * h8300-tdep.c (h8300_gdbarch_init): Add h8300hn, h8300sn. | |
4802 | ||
0912c7f2 MK |
4803 | 2003-06-04 Mark Kettenis <[email protected]> |
4804 | ||
4805 | * dwarf2-frame.c (struct comp_unit): Add member `dbase'. | |
4806 | (read_encoded_value): Handle DW_EH_PE_datarel encoding. | |
4807 | (dwarf2_build_frame_info): Set base for DW_EH_PE_datarel encodings | |
4808 | when handling .eh_frame sections. | |
4809 | ||
4e370325 JB |
4810 | 2003-06-04 J. Brobecker <[email protected]> |
4811 | ||
4812 | * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Use the generic | |
4813 | prepare_to_proceed procedure instead of the hppa-specific one. | |
4814 | * hppa-tdep.c (hppa_prepare_to_proceed): Remove, no longer used. | |
4815 | ||
b757528f | 4816 | 2003-06-04 Jeff Johnston <[email protected]> |
8ffd9b1b | 4817 | |
b757528f JJ |
4818 | * acconfig.h: Add HAVE_TKILL_SYSCALL definition check. |
4819 | * config.in: Regenerated. | |
4820 | * configure.in: Add test for syscall function and check for | |
4821 | __NR_tkill macro in <syscall.h> to set HAVE_TKILL_SYSCALL. | |
4822 | * configure: Regenerated. | |
4823 | * lin-lwp.c [HAVE_TKILL_SYSCALL]: Include <unistd.h> and | |
4824 | <sys/syscall.h>. | |
4825 | (kill_lwp): New function that uses tkill syscall or | |
4826 | uses kill, depending on whether threading model is nptl or not. | |
4827 | All callers of kill() changed to use kill_lwp(). | |
4828 | (lin_lwp_wait): Make special check when WIFEXITED occurs to | |
4829 | see if all threads have already exited in the nptl model. | |
4830 | (stop_and_resume_callback): New callback function used by the | |
4831 | lin_lwp_wait thread exit handling code. | |
4832 | (stop_wait_callback): Check for threads already having exited and | |
4833 | delete such threads fromt the lwp list when discovered. | |
4834 | (stop_callback): Don't assert retcode of kill call. | |
8ffd9b1b | 4835 | |
b757528f JJ |
4836 | Roland McGrath <[email protected]> |
4837 | * i386-linux-nat.c (ps_get_thread_area): New function needed by | |
4838 | nptl libthread_db. | |
4839 | ||
087779b1 RH |
4840 | 2003-06-03 Richard Henderson <[email protected]> |
4841 | ||
b21fd293 RH |
4842 | * alpha-tdep.c (alpha_next_pc): Use alpha_read_insn. |
4843 | (alpha_sigtramp_frame_this_id): Use get_frame_memory. | |
4844 | (alpha_sigtramp_frame_prev_register): Likewise. | |
4845 | (alpha_heuristic_frame_prev_register): Likewise. | |
4846 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise. | |
4847 | ||
8ffd9b1b | 4848 | * alpha-mdebug-tdep.c (alpha_mdebug_after_prologue): Use |
087779b1 RH |
4849 | alpha-specific register id names. |
4850 | (alpha_mdebug_frame_unwind_cache): Likewise. | |
4851 | (alpha_mdebug_frame_prev_register): Likewise. | |
4852 | ||
baa490c4 RH |
4853 | 2003-06-03 Richard Henderson <[email protected]> |
4854 | ||
4855 | * alpha-tdep.c (alpha_dwarf2_init_abi): New. | |
4856 | * alpha-tdep.h (alpha_dwarf2_init_abi): Declare it. | |
4857 | * alpha-linux-tdep.c (alpha_linux_init_abi): Use it. | |
4858 | * alphafbsd-tdep.c (alphafbsd_init_abi): Register dwarf2 and mdebug | |
4859 | unwind routines. | |
4860 | * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. | |
4861 | * config/alpha/fbsd.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
4862 | * config/alpha/nbsd.mt (TDEPFILES): Likewise. | |
4863 | ||
4864 | * alpha-linux-tdep.c: Remove unnecessary includes. | |
4865 | * Makefile.in (alpha-linux-tdep.o): Update. | |
4866 | ||
4867 | 2003-06-03 Richard Henderson <[email protected]> | |
4868 | ||
4869 | * alphabsd-tdep.c (alphabsd_supply_fpreg): Fix typo last change. | |
4870 | (alphabsd_fill_fpreg): Likewise. | |
4871 | ||
f534e522 JB |
4872 | 2003-06-03 J. Brobecker <[email protected]> |
4873 | ||
4874 | * alphanbsd-tdep.c (alphanbsd_sigcontext_addr): Replace | |
4875 | references to struct frame_info fields by calls to the equivalent | |
4876 | accessors. Necessary now that frame_info is opaque. | |
4877 | ||
4035536b JB |
4878 | 2003-06-03 J. Brobecker <[email protected]> |
4879 | ||
4880 | * alphanbsd-tdep.c (alphanbsd_skip_sigtramp_frame): Delete. | |
4881 | (alphanbsd_init_abi): Do not set skip_sigtramp_frame in tdep | |
4882 | structure, field no longer exists. | |
4883 | ||
0bd79c5c JB |
4884 | 2003-06-03 J. Brobecker <[email protected]> |
4885 | ||
4886 | * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
4887 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Enable the mdebug module. | |
4888 | ||
37bb6d9f JB |
4889 | 2003-06-03 J. Brobecker <[email protected]> |
4890 | ||
4891 | * alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): Replace | |
4892 | references to struct frame_info fields by calls to the equivalent | |
4893 | accessors. Necessary now that frame_info is opaque. | |
4894 | ||
852ee05c JB |
4895 | 2003-06-03 J. Brobecker <[email protected]> |
4896 | ||
4897 | * alpha-osf1-tdep.c (alpha_osf1_skip_sigtramp_frame): Delete. | |
4898 | (alpha_osf1_init_abi): Do not set skip_sigtramp_frame in tdep | |
4899 | structure, field no longer exists. | |
4900 | ||
7d58c67d TR |
4901 | 2003-06-03 Theodore A. Roth <[email protected]> |
4902 | ||
8ffd9b1b | 4903 | * remote.c (init_remote_state): Compute sizeof_g_packet by |
7d58c67d TR |
4904 | accumulation of the size of all registers instead of blindly using |
4905 | DEPRECATED_REGISTER_BYTES. | |
4906 | ||
0a48e7e8 MS |
4907 | 2003-06-03 Michael Snyder <[email protected]> |
4908 | ||
4909 | * config/h8300/tm-h8300.h (h8300sxmode): Declare. | |
4910 | * h8300-tdep.c (h8300_gdbarch_init): Set machine mode | |
4911 | for h8300sx. | |
4912 | ||
9798ab0d JB |
4913 | 2003-06-03 J. Brobecker <[email protected]> |
4914 | ||
4915 | * alpha-osf1-tdep.c (objfiles.h): #include, needed for symfile_objfile. | |
4916 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. | |
4917 | ||
00b037e2 AC |
4918 | 2003-06-03 Andrew Cagney <[email protected]> |
4919 | ||
4920 | * sparc-tdep.c (sparc_convert_to_virtual): Delete function. | |
4921 | (sparc_convert_to_raw): Delete function. | |
4922 | (sparc_gdbarch_init): Do not set register_convert_to_raw or | |
4923 | register_convert_to_virtual. | |
4924 | ||
043b2f77 JJ |
4925 | 2003-06-03 Jeff Johnston <[email protected]> |
4926 | ||
4927 | * thread-db.c (thread_db_mourn_inferior): Unpush thread target | |
4928 | layer if not dealing with a statically-linked threaded program. | |
4929 | ||
f43caff8 KW |
4930 | 2003-06-03 Kris Warkentin <[email protected]> |
4931 | ||
4932 | * solib.c (solib_open): Update comment to reflect actual search order. | |
4933 | ||
ae1e7417 AC |
4934 | 2003-06-03 Andrew Cagney <[email protected]> |
4935 | ||
4936 | * frame.c (get_frame_memory_signed): New function. | |
4937 | (get_frame_memory, get_frame_memory_unsigned): New function. | |
4938 | (get_frame_arch): New function. | |
4939 | * frame.h (get_frame_signed_memory, get_frame_arch): Declare. | |
4940 | (get_frame_memory, get_frame_unsigned_memory): Declare. | |
4941 | * d10v-tdep.c (d10v_frame_unwind_cache): Use | |
4942 | get_frame_memory_unsigned and get_frame_arch. | |
4943 | (d10v_frame_unwind_cache, saved_regs_unwinder): Ditto. | |
4944 | ||
cb123844 RG |
4945 | 2003-06-03 Raoul Gough <[email protected]> |
4946 | ||
4947 | * MAINTAINERS (write after approval): Add myself. | |
4948 | ||
1bb792e9 JB |
4949 | 2003-06-03 Jim Blandy <[email protected]> |
4950 | ||
4951 | * s390-nat.c (supply_gregset, fill_gregset): On the s390x, the | |
4952 | elements of gregset_t are 64 bits each, but access registers | |
4953 | are still 32 bits, so they're packed two per gregset_t | |
4954 | element. Unpack/pack them properly. | |
4955 | ||
aee8d8ba DC |
4956 | 2003-06-02 David Carlton <[email protected]> |
4957 | ||
4958 | * linespec.c (find_methods): Break out code into | |
4959 | add_matching_methods and add_constructors. | |
4960 | (add_matching_methods): New. | |
4961 | (add_constructors): Ditto. | |
4962 | ||
bf7488d2 AC |
4963 | 2003-06-02 Andrew Cagney <[email protected]> |
4964 | ||
bf7488d2 AC |
4965 | * sparc-tdep.c (sparc_print_registers): Delete call to |
4966 | REGISTER_CONVERTIBLE. | |
4967 | (sparc_gdbarch_init): Do not set register_convertible. | |
4968 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
4969 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
4970 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
4971 | ||
adedef68 EZ |
4972 | 2003-06-02 Elena Zannoni <[email protected]> |
4973 | ||
8ffd9b1b | 4974 | * target.h (TARGET_SYMFILE_POSTREAD): Delete unused macro. |
adedef68 EZ |
4975 | * symfile.c (reread_symbols): Delete call to TARGET_SYMFILE_POSTREAD. |
4976 | (syms_from_objfile): Ditto. | |
4977 | ||
650fcc91 AS |
4978 | 2003-06-03 Andreas Schwab <[email protected]> |
4979 | ||
4980 | * m68k-tdep.c (m68k_gdbarch_init): Use set_gdbarch_print_insn ... | |
4981 | (_initialize_m68k_tdep): ... instead of deprecated_tm_print_insn. | |
4982 | ||
df4a182b RH |
4983 | 2003-06-02 Richard Henderson <[email protected]> |
4984 | ||
4985 | * alpha-tdep.c (alpha_register_reggroup_p): Zero is only | |
4986 | a member of all_reggroup. | |
4987 | ||
c483c494 RH |
4988 | 2003-06-02 Richard Henderson <[email protected]> |
4989 | ||
4990 | * alpha-tdep.c (alpha_register_type): Change from _virtual_type. | |
4991 | (alpha_convert_flt_dbl, alpha_convert_dbl_flt): Remove. | |
4992 | (alpha_lds, alpha_sts): New. | |
4993 | (alpha_convert_register_p): Change from _register_convertible. | |
8ffd9b1b | 4994 | (alpha_register_to_value): Change from _convert_to_virtual; |
c483c494 RH |
4995 | restructure and fail for type sizes other than 4 or 8. |
4996 | (alpha_value_to_register): Similarly. | |
4997 | (alpha_extract_return_value): Use alpha_sts. | |
4998 | (alpha_store_return_value): Use alpha_lds. | |
4999 | (alpha_gdbarch_init): Update hooks. | |
5000 | ||
b38b6be2 RH |
5001 | 2003-06-02 Richard Henderson <[email protected]> |
5002 | ||
5003 | * alpha-tdep.c (alpha_register_virtual_type): Use alpha-specific | |
5004 | regnum identifiers. | |
5005 | (alpha_sigtramp_register_address): Likewise. | |
5006 | ||
98a8e1e5 RH |
5007 | 2003-06-02 Richard Henderson <[email protected]> |
5008 | ||
5009 | * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs): New. | |
5010 | (alpha_supply_fp_regs, alpha_fill_fp_regs): New. | |
5011 | * alpha-tdep.h: Declare them. | |
5012 | ||
5013 | * alpha-nat.c (fetch_osf_core_registers): Constify core_reg_mapping. | |
5014 | Remove zerobuf. Don't error on UNIQUE. | |
5015 | (fetch_elf_core_registers): Use alpha_supply_{int,fp}_regs. | |
5016 | (ALPHA_REGSET_UNIQUE): Provide default. | |
5017 | (supply_gregset): Use alpha_supply_int_regs. | |
5018 | (fill_gregset): Use alpha_fill_int_regs. | |
5019 | (supply_fpregset): Use alpha_supply_fp_regs. | |
5020 | (fill_fpregset): Use alpha_fill_fp_regs. | |
5021 | * alphabsd-tdep.c (NUM_GREGS, NUM_FPREGS): Remove. | |
5022 | (alphabsd_supply_reg): Use alpha_supply_int_regs. | |
5023 | (alphabsd_fill_reg): Use alpha_fill_int_regs. | |
5024 | (alphabsd_supply_fpreg): Use alpha_supply_fp_regs. | |
5025 | (alphabsd_fill_fpreg): Use alpha_fill_fp_regs. | |
5026 | * config/alpha/nm-linux.h (ALPHA_REGSET_UNIQUE): New. | |
5027 | ||
67dfac52 RH |
5028 | 2003-06-02 Richard Henderson <[email protected]> |
5029 | ||
f75d70cc RH |
5030 | * alpha-tdep.c (alpha_store_return_value): Avoid switch fallthru. |
5031 | ||
67dfac52 RH |
5032 | * alpha-tdep.c (alpha_extract_return_value): Use internal_error. |
5033 | (alpha_store_return_value): Likewise. | |
5034 | ||
0cf566ec DC |
5035 | 2003-06-02 David Carlton <[email protected]> |
5036 | ||
5037 | * block.c (contained_in): Add 'const' to arguments. | |
5038 | (block_function): Ditto. | |
5039 | * block.h: Update declarations for block_function and | |
5040 | contained_in. | |
5041 | ||
cdef89d0 DC |
5042 | 2003-06-02 David Carlton <[email protected]> |
5043 | ||
5044 | * objc-lang.c (find_imps): Delete unneeded variable 'sym_symtab'. | |
5045 | * c-valprint.c (c_val_print): Delete unneeded variable 's'. | |
5046 | * p-valprint.c (pascal_val_print): Ditto. | |
5047 | * ada-lang.c (standard_lookup): Delete unneded variable 'symtab'. | |
5048 | ||
72667056 RH |
5049 | 2003-06-02 Richard Henderson <[email protected]> |
5050 | ||
98a8e1e5 RH |
5051 | * alpha-tdep.c (alpha_push_dummy_call): Use |
5052 | builtin_type_ieee_double_little instead of builtin_type_double. | |
eb4edb88 | 5053 | |
8ffd9b1b | 5054 | * alpha-tdep.c (alpha_push_dummy_call): Handle ABI mandated |
98a8e1e5 RH |
5055 | sign-extension of 32-bit values. |
5056 | (alpha_store_return_value): Similarly. | |
0ede8eca | 5057 | |
98a8e1e5 RH |
5058 | * alpha-tdep.c (alpha_push_dummy_call): Handle COMPLEX types. |
5059 | (alpha_extract_return_value): Likewise. | |
5060 | (alpha_store_return_value): Likewise. | |
7b5e1cb3 | 5061 | |
98a8e1e5 RH |
5062 | * alpha-tdep.c (alpha_extract_return_value): Handle IEEE Quad floats. |
5063 | (alpha_store_return_value): Error on IEEE Quad floats. | |
24064b5c | 5064 | |
98a8e1e5 RH |
5065 | * alpha-tdep.c (alpha_extract_return_value): Convert to regcache. |
5066 | (alpha_extract_struct_value_address): Likewise. | |
5067 | (alpha_store_return_value): Likewise. | |
5068 | (alpha_store_struct_return): Remove. | |
5069 | (alpha_gdbarch_init): Update hook registration to match. | |
5ec2bb99 | 5070 | |
98a8e1e5 RH |
5071 | * alpha-tdep.c (alpha_register_convert_to_virtual): Tidy use of |
5072 | deprecated interfaces; use ALPHA_REGISTER_SIZE instead of gdbarch | |
5073 | macros where appropriate. | |
5074 | (alpha_register_convert_to_raw): Similarly. Use unpack_long. | |
5075 | (alpha_convert_flt_dbl, alpha_convert_dbl_flt): New. | |
14696584 | 5076 | |
98a8e1e5 RH |
5077 | * alpha-tdep.c (alpha_register_virtual_type): Use void_data_ptr |
5078 | for SP, GP; void_func_ptr for PC; non-language-specific types | |
5079 | for all others. | |
5080 | * alpha-tdep.h (ALPHA_GP_REGNUM): New. | |
72667056 | 5081 | |
6dd77b81 RH |
5082 | 2003-06-02 Richard Henderson <[email protected]> |
5083 | ||
5084 | * top.h (lim_at_start): Declare. | |
5085 | * main.c (captured_main): Set it. | |
5086 | * top.c (lim_at_start): Define. | |
5087 | (command_loop): Use it instead of &environ. | |
5088 | * event-top.c (command_handler): Likewise. | |
5089 | ||
f4dbdb54 JT |
5090 | 2003-06-01 Jason Thorpe <[email protected]> |
5091 | ||
5092 | * mipsnbsd-tdep.c: Update copyright years. | |
5093 | (fetch_core_registers): Correct arguments to mipsnbsd_supply_fpreg. | |
5094 | ||
8f285956 RH |
5095 | 2003-06-01 Richard Henderson <[email protected]> |
5096 | ||
98a8e1e5 RH |
5097 | * Makefile.in (ALLDEPFILES): Add alpha-mdebug-tdep.c. |
5098 | (alpha-linux-tdep.o): Update dependencies. | |
5099 | (alpha-nat.o, alpha-tdep.o, alpha-mdebug-tdep.o): Likewise. | |
5100 | * alpha-mdebug-tdep.c: Remove unneeded includes. | |
8f285956 | 5101 | |
615967cb RH |
5102 | 2003-06-01 Richard Henderson <[email protected]> |
5103 | ||
98a8e1e5 RH |
5104 | * alpha-tdep.c (alpha_register_reggroup_p): New. |
5105 | (alpha_gdbarch_init): Register it. | |
615967cb | 5106 | |
b59661bd AC |
5107 | 2003-06-02 Andrew Cagney <[email protected]> |
5108 | ||
5109 | * dwarfread.c: Eliminate "register" | |
5110 | (decode_die_type): Eliminate assignment within "if". | |
5111 | (struct_type, decode_array_element_type): Ditto. | |
5112 | (dwarf_read_array_type, read_tag_pointer_type): Ditto. | |
5113 | (read_subroutine_type, enum_type, add_enum_psymbol): Ditto. | |
5114 | (decode_modified_type, completedieinfo): Ditto. | |
5115 | * block.c: Eliminate "register". | |
5116 | (blockvector_for_pc_sect): Eliminate assignment within "if". | |
5117 | * cp-support.h (struct symbol): Opaque declaration. | |
5118 | * breakpoint.c (handle_gnu_v3_exceptions): Use xfree, not free. | |
5119 | ||
5ef165c2 RH |
5120 | 2003-06-01 Richard Henderson <[email protected]> |
5121 | ||
98a8e1e5 RH |
5122 | * alpha-tdep.c (alpha_gdbarch_init): Use set_gdbarch_print_insn ... |
5123 | (_initialize_alpha_tdep): ... not deprecated_tm_print_insn. | |
5ef165c2 | 5124 | |
143985b7 AF |
5125 | 2003-06-01 Adam Fedor <[email protected]> |
5126 | ||
5127 | * gdbarch.sh (function_list): Add FETCH_POINTER_ARGUMENT. | |
5128 | * gdbarch.[ch]: Regenerate. | |
5129 | * hppa-tdep.c (hppa_fetch_pointer_argument): New function. | |
5130 | (hppa_gdbarch_init): Set it in the gdbarch vector. | |
5131 | * i386-tdep.c (i386_fetch_pointer_argument): New | |
5132 | (i386_gdbarch_init): Set it into gdbarch. | |
5133 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): New. | |
5134 | (rs6000_gdbarch_init): Set it in gdbarch. | |
5135 | * sparc-tdep.c (sparc_fetch_pointer_argument): New | |
5136 | (sparc_gdbarch_init): Set it in gdbarch. | |
5137 | ||
ae0167b9 AC |
5138 | 2003-06-01 Andrew Cagney <[email protected]> |
5139 | ||
7c0b4a20 AC |
5140 | * defs.h (extract_address): Delete declaration. |
5141 | * findvar.c (extract_address): Delete function. | |
5142 | * xstormy16-tdep.c (xstormy16_extract_return_value): Replace | |
5143 | extract_address with the inline equivalent, | |
5144 | extract_unsigned_integer. | |
5145 | (xstormy16_extract_struct_value_address): Ditto. | |
5146 | (xstormy16_pointer_to_address): Ditto. | |
5147 | * vax-tdep.c (vax_extract_struct_value_address): Ditto. | |
5148 | * v850-tdep.c (v850_push_arguments): Ditto. | |
5149 | (v850_extract_return_value): Ditto. | |
5150 | (v850_extract_struct_value_address): Ditto. | |
5151 | * sparcnbsd-tdep.c (sparcnbsd_get_longjmp_target_32): Ditto. | |
5152 | (sparcnbsd_get_longjmp_target_64): Ditto. | |
5153 | * sparc-tdep.c (sparc_frame_saved_pc): Ditto. | |
5154 | (get_longjmp_target): Ditto. | |
5155 | * sh-tdep.c (sh_extract_struct_value_address): Ditto. | |
5156 | (sh64_extract_struct_value_address): Ditto. | |
5157 | (sh_push_arguments): Ditto. | |
5158 | (sh64_push_arguments): Ditto. | |
5159 | * remote-vxsparc.c (vx_read_register): Ditto. | |
5160 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Ditto. | |
5161 | * ns32k-tdep.c (ns32k_extract_struct_value_address): Ditto. | |
5162 | * mn10300-tdep.c (mn10300_extract_struct_value_address): Ditto. | |
5163 | * mipsv4-nat.c (get_longjmp_target): Ditto. | |
5164 | * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Ditto. | |
5165 | * mips-nat.c (get_longjmp_target): Ditto. | |
5166 | * mips-linux-tdep.c (mips_linux_get_longjmp_target): Ditto. | |
5167 | * mcore-tdep.c (mcore_extract_struct_value_address): Ditto. | |
5168 | * m68k-tdep.c (m68k_get_longjmp_target): Ditto. | |
5169 | * m68hc11-tdep.c (m68hc11_extract_struct_value_address): Ditto. | |
5170 | * irix5-nat.c (get_longjmp_target): Ditto. | |
5171 | * irix4-nat.c (get_longjmp_target): Ditto. | |
5172 | * ia64-tdep.c (generic_elf_find_global_pointer): Ditto. | |
5173 | (ia64_push_arguments): Ditto. | |
5174 | * hpux-thread.c (hpux_thread_store_registers): Ditto. | |
5175 | * h8300-tdep.c (h8300_push_arguments): Ditto. | |
5176 | (h8300_store_return_value): Ditto. | |
5177 | (h8300_extract_struct_value_address): Ditto. | |
5178 | * frv-tdep.c (frv_extract_struct_value_address): Ditto. | |
5179 | (frv_push_arguments): Ditto. | |
5180 | * avr-tdep.c (avr_pointer_to_address): Ditto. | |
5181 | (avr_push_arguments): Ditto. | |
5182 | * arm-tdep.c (arm_push_dummy_call): Ditto. | |
5183 | (arm_get_longjmp_target): Ditto. | |
5184 | * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. | |
5185 | * alpha-tdep.c (alpha_extract_struct_value_address): Ditto. | |
5186 | (alpha_get_longjmp_target): Ditto. | |
5187 | ||
ae0167b9 AC |
5188 | * solib-irix.c (extract_mips_address): Inline extract_address, |
5189 | replacing it with extract_signed_integer. | |
5190 | * solib-svr4.c (SOLIB_EXTRACT_ADDRESS): Ditto. | |
5191 | (LM_NAME, IGNORE_FIRST_LINK_MAP_ENTRY): Ditto. | |
5192 | (first_link_map_member, open_symbol_file_object): Ditto. | |
5193 | (svr4_fetch_objfile_link_map, svr4_fetch_objfile_link_map): Ditto. | |
5194 | * solib-sunos.c (SOLIB_EXTRACT_ADDRESS): Ditto. | |
5195 | (LM_NEXT, LM_NAME): Ditto. | |
5196 | ||
44d88583 RH |
5197 | 2003-06-01 Richard Henderson <[email protected]> |
5198 | ||
98a8e1e5 RH |
5199 | * alpha-tdep.h (ALPHA_FP_REGNUM): Remove. |
5200 | * alpha-tdep.c (alpha_register_name): Remove vfp entry. | |
5201 | (alpha_cannot_fetch_register): Remove ALPHA_FP_REGNUM. | |
5202 | (alpha_cannot_store_register): Likewise. | |
5203 | * alphabsd-nat.c (fetch_inferior_registers): Don't set FP_REGNUM. | |
5204 | * alpha-nat.c (supply_gregset): Likewise. | |
5205 | * alphanbsd-tdep.c (fetch_core_registers): Likewise. | |
44d88583 | 5206 | |
310e9b6a AC |
5207 | 2003-06-01 Andrew Cagney <[email protected]> |
5208 | ||
5209 | * infcall.c (call_function_by_hand): Update comment on | |
5210 | DEPRECATED_DUMMY_WRITE_SP. | |
5211 | ||
5212 | * mips-tdep.c (mips_gdbarch_init): Do not set | |
5213 | deprecated_dummy_write_sp. | |
5214 | (mips_eabi_push_dummy_call): Set the SP register. | |
5215 | (mips_o64_push_dummy_call): Set the SP register. | |
5216 | (mips_o32_push_dummy_call): Set the SP register. | |
5217 | (mips_n32n64_push_dummy_call): Set the SP register. | |
5218 | ||
5ab84872 RH |
5219 | 2003-06-01 Richard Henderson <[email protected]> |
5220 | ||
98a8e1e5 RH |
5221 | * alpha-nat.c (fetch_osf_core_registers): Use ALPHA_REGISTER_SIZE |
5222 | instead of ALPHA_MAX_REGISTER_RAW_SIZE. | |
5223 | (supply_gregset): Likewise. | |
5224 | * alpha-tdep.c (alpha_store_return_value): Likewise. | |
5225 | (alpha_get_longjmp_target): Likewise. | |
5226 | (alpha_register_name): Constify array. | |
5227 | (alpha_gdbarch_init): Remove deprecated_fp_regnum, | |
5228 | deprecated_register_size, deprecated_register_bytes, | |
5229 | deprecated_max_register_raw_size, deprecated_max_register_virtual_size. | |
5230 | * alpha-tdep.h (ALPHA_MAX_REGISTER_RAW_SIZE): Remove. | |
5231 | (ALPHA_MAX_REGISTER_VIRTUAL_SIZE): Remove. | |
5ab84872 | 5232 | |
09cc52fd RH |
5233 | 2003-06-01 Richard Henderson <[email protected]> |
5234 | ||
5235 | * alpha-tdep.c (alpha_push_dummy_call): Store sp. Tidy copies | |
5236 | from arg_reg_buffer to regcache to avoid double conversion. | |
5237 | ||
c7f16359 MK |
5238 | 2003-06-01 Mark Kettenis <[email protected]> |
5239 | ||
5240 | * i386-linux-nat.c (child_resume): Use I386_ESP_REGNUM instead of | |
5241 | SP_REGNUM. | |
5242 | * i386-linux-tdep.c (i386_linux_sigcontext_addr): Likewise. | |
5243 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Likewise. | |
5244 | ||
7131cb6e RH |
5245 | 2003-06-01 Richard Henderson <[email protected]> |
5246 | ||
98a8e1e5 RH |
5247 | * dwarf2-frame.c (struct dwarf2_cie): Add saw_z_augmentation. |
5248 | (decode_frame_entry): Set it. Skip FDE augmentation. | |
7131cb6e | 5249 | |
f3e0f90b RH |
5250 | 2003-06-01 Richard Henderson <[email protected]> |
5251 | ||
98a8e1e5 RH |
5252 | * dwarf2-frame.c (dwarf2_frame_cache): Handle retaddr_column |
5253 | not overlapping PC_REGNUM. | |
f3e0f90b | 5254 | |
c88e30c0 RH |
5255 | 2003-06-01 Richard Henderson <[email protected]> |
5256 | ||
98a8e1e5 RH |
5257 | * alpha-tdep.c (alpha_push_dummy_call): Transmography from |
5258 | alpha_push_arguments. Don't dump argument register data to | |
5259 | the target stack. Fix float and 128-bit long double semantics. | |
5260 | Store $t12 and $ra as specified by the ABI. Use regcache everywhere. | |
5261 | (alpha_fix_call_dummy): Remove. | |
5262 | (alpha_call_dummy_words): Remove. | |
5263 | (alpha_gdbarch_init): Kill deprecated call hooks; add push_dummy_call. | |
c88e30c0 | 5264 | |
f1a559ae RH |
5265 | 2003-06-01 Richard Henderson <[email protected]> |
5266 | ||
5267 | * alpha-linux-tdep.c (alpha_linux_init_abi): Install dwarf2 unwinder. | |
5268 | ||
5e045346 AC |
5269 | 2003-06-01 Andrew Cagney <[email protected]> |
5270 | ||
95404a3e AC |
5271 | * mips-tdep.c (is_mips16_addr): New function. |
5272 | (make_mips16_addr, unmake_mips16_addr): New functions. | |
5273 | (pc_is_mips16, mips_fetch_instruction): Use. | |
5274 | (gdb_print_insn_mips, mips_breakpoint_from_pc): Use. | |
5275 | (gdb_print_insn_mips): Eliminate TM_PRINT_INSN_MACH. | |
5276 | (mips_dump_tdep): Delete print of TM_PRINT_INSN_MACH, | |
5277 | UNMAKE_MIPS16_ADDR, MAKE_MIPS16_ADDR, IS_MIPS16_ADDR and | |
5278 | TARGET_MIPS. | |
5279 | * config/mips/tm-mips.h: Update copyright. | |
5280 | (TARGET_MIPS, TM_PRINT_INSN_MACH): Delete. | |
5281 | (DEPRECATED_REGISTER_SIZE, DEPRECATED_REGISTER_BYTES): Delete. | |
5282 | (IS_MIPS16_ADDR, MAKE_MIPS16_ADDR, UNMAKE_MIPS16_ADDR): Delete. | |
5283 | * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Delete. | |
5284 | (TM_PRINT_INSN_MACH): Delete. | |
5285 | * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Delete. | |
5286 | ||
5e045346 AC |
5287 | * configure.tgt: Replace mips64*vr4xxx*el-*-elf*, |
5288 | mips64*vr4xxx*-*-elf*, mips64*vr4300*el-*-elf*, | |
5289 | mips64*vr4300*-*-elf*, mips64*vr4100*el-*-elf*, | |
5290 | mips64*vr4100*-*-elf*, mips64*vr5000*el-*-elf*, and | |
5291 | mips64*vr5000*-*-elf* with mips64 mips64*vr*-*-elf*. Delete | |
5292 | mips*tx39*el*-elf*. Map mips*-sony-* and mips64*-big-* onto | |
5293 | mips64. Map mips*-dec-*, mips*-big-*, mips*-little-*, | |
5294 | mips*-*-riscos* and mips*-*-sysv* onto mips. | |
5295 | * config/mips/mips64.mt: New file. | |
5296 | * config/mips/mips.mt: New file. | |
5297 | * config/mips/littlemips.mt: Delete file. | |
5298 | * config/mips/decstation.mt: Delete file. | |
5299 | * config/mips/vr4300el.mt: Delete file. | |
5300 | * config/mips/vr5000el.mt: Delete file. | |
5301 | * config/mips/vr5000.mt: Delete file. | |
5302 | * config/mips/vr4100.mt: Delete file. | |
5303 | * config/mips/vr4xxxel.mt: Delete file. | |
5304 | * config/mips/vr4300.mt: Delete file. | |
5305 | * config/mips/vr4xxx.mt: Delete file. | |
5306 | * config/mips/bigmips.mt: Delete file. | |
5307 | * config/mips/bigmips64.mt: Delete file. | |
5308 | * config/mips/tx39l.mt (TM_FILE): Set to "tm-tx39.h". | |
5309 | * config/mips/embedl64.mt (TM_FILE): Set to "tm-mips64.h". | |
5310 | * config/mips/embed64.mt (TM_FILE): Set to "tm-mips64.h" | |
5311 | * config/mips/embedl.mt (TM_FILE): Set to "tm-mips.h". | |
5312 | * config/mips/tm-tx39.h: Include "tm-mips.h" instead of | |
5313 | "tm-bigmips.h". | |
5314 | * config/mips/tm-irix3.h: Ditto. | |
5315 | * config/mips/tm-mipsv4.h: Ditto. | |
5316 | * config/mips/tm-embed.h: Ditto. | |
5317 | * config/mips/tm-irix6.h: Include "tm-mips64.h" instead of | |
5318 | "tm-bigmips64.h". | |
5319 | * config/mips/tm-vr5000el.h: Delete file. | |
5320 | * config/mips/tm-tx39l.h: Delete file. | |
5321 | * config/mips/tm-vr4300el.h: Delete file. | |
5322 | * config/mips/tm-vr4xxxel.h: Delete file. | |
5323 | * config/mips/tm-vr4300.h: Delete file. | |
5324 | * config/mips/tm-vr4100.h: Delete file. | |
5325 | * config/mips/tm-vr4xxx.h: Delete file. | |
5326 | * config/mips/tm-vr5000.h: Delete file. | |
5327 | * config/mips/tm-embedl64.h: Delete file. | |
5328 | * config/mips/tm-embedl.h: Delete file. | |
5329 | * config/mips/tm-embed64.h: Delete file. | |
5330 | * config/mips/tm-bigmips64.h: Delete file. | |
5331 | * config/mips/tm-bigmips.h: Delete file. | |
5332 | ||
2473a4a9 MK |
5333 | 2003-06-01 Mark Kettenis <[email protected]> |
5334 | ||
97a5b208 MK |
5335 | Fix gdb/1216. |
5336 | * shnbsd-nat.c: Include "sh-tdep.h". | |
5337 | ||
2473a4a9 MK |
5338 | From Richard Henderson <[email protected]>: |
5339 | * dwarf2-frame.c (dwarf2_frame_state_alloc_regs): Fix ptr arithmetic. | |
5340 | ||
e0f7ec59 AC |
5341 | 2003-05-31 Andrew Cagney <[email protected]> |
5342 | ||
5343 | * mips-tdep.c (set_reg_offset): Add saved_regs parameter. Add | |
5344 | forward declaration. | |
5345 | (mips16_heuristic_proc_desc): Pass temp_saved_regs. | |
5346 | (mips16_heuristic_proc_desc): Pass temp_saved_regs. | |
5347 | (mips_find_saved_regs): Use set_reg_offset. | |
5348 | (mips_frame_init_saved_regs): Delete function. | |
5349 | (mips_pop_frame): Call mips_find_saved_regs instead of | |
5350 | DEPRECATED_FRAME_INIT_SAVED_REGS. | |
5351 | ||
68dcc709 AC |
5352 | 2003-05-31 Andrew Cagney <[email protected]> |
5353 | ||
5354 | * mips-tdep.c (mips_gdbarch_init): Do not set | |
5355 | deprecated_max_register_raw_size, register_virtual_size, and | |
5356 | deprecated_max_register_virtual_size. | |
5357 | ||
cfc14b3a MK |
5358 | 2003-05-31 Mark Kettenis <[email protected]> |
5359 | ||
6405b0a6 MK |
5360 | * i386-tdep.c: Include "dwarf2-frame.h". |
5361 | (i386_gdbarch_init): Hook in the DWARF CFI frame unwinder. | |
5362 | * Makefile.in (i386-tdep.o): Update dependencies. | |
5363 | ||
cfc14b3a MK |
5364 | * dwarf2-frame.c, dwarf2-frame.h: New files. |
5365 | * Makefile.in (SFILES): Add dwarf2-frame.c. | |
5366 | (dwarf2_frame_h): Define. | |
5367 | (COMMON_OBS): Add dwarf2-frame.o. | |
5368 | (dwarf2-frame.o): Add dependencies. | |
5369 | ||
6a2751d2 AJ |
5370 | 2003-05-31 Andreas Jaeger <[email protected]> |
5371 | ||
5372 | * x86-64-linux-nat.c: Fix comment. | |
5373 | ||
1c3545ae MK |
5374 | 2003-05-31 Mark Kettenis <[email protected]> |
5375 | ||
10f93086 MK |
5376 | * x86-64-tdep.c (x86_64_push_dummy_call): Adjust for changed |
5377 | function signature. | |
5378 | ||
1c3545ae MK |
5379 | * i386-tdep.c (i386_sigtramp_frame_p): Only handle frames if we |
5380 | have a sigcontext_addr handler. | |
5381 | * x86-64-tdep.c (x86_64_sigtramp_frame_p): Assert that we have a | |
5382 | sigcontext_addr handler. | |
5383 | ||
e11c53d2 AC |
5384 | 2003-05-31 Andrew Cagney <[email protected]> |
5385 | ||
5386 | * mips-tdep.c (print_gp_register_row): Replace do_gp_register_row. | |
5387 | (print_fp_register_row): Replace do_fp_register_row. | |
5388 | (mips_print_fp_register): Add "file" and "frame" parameters. | |
5389 | (mips_print_register): Add "file" and "frame" parameters. | |
5390 | (mips_print_registers_info): Replace mips_do_registers_info. | |
5391 | (mips_gdbarch_init): Set print_registers_info instead of | |
5392 | deprecated_do_registers_info. | |
5393 | (mips_read_fp_register_single): Add "frame" parameter. | |
5394 | (mips_read_fp_register_double): Add "frame" parameter. | |
5395 | ||
a3386186 MK |
5396 | 2003-05-31 Mark Kettenis <[email protected]> |
5397 | ||
70913449 MK |
5398 | * i386-tdep.c (i386_register_name): Check for MMX registers first. |
5399 | Fixes a bug where GDB would print the wrong register names for | |
5400 | targets without SSE. | |
5401 | ||
2b5e0749 MK |
5402 | * x86-64-tdep.c (X86_64_NUM_SAVED_REGS): Set to X86_64_NUM_GREGS. |
5403 | (x86_64_sigtramp_frame_cache): Use `sc_reg_offset' to find saved | |
5404 | registers. | |
5405 | ||
5406 | * x86-64-linux-tdep.c (x86_64_linux_sc_reg_offset): New variable. | |
5407 | (x86_64_linux_init_abi): Initialize TDEP->sc_reg_offset and | |
5408 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
5409 | TDEP->sc_sp_offset. | |
5410 | ||
a3386186 MK |
5411 | From Michal Ludvig <[email protected]>: |
5412 | * i386-tdep.h (struct gdbarch_tdep): Add members `sc_reg_offset' | |
5413 | and `sc_num_regs'. | |
5414 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
5415 | I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM, | |
5416 | I386_ST0_REGNUM): Move here from... | |
5417 | * i386-tdep.c: ... here. | |
5418 | (I386_NUM_SAVED_REGS): Define to I386_NUM_REGS. | |
5419 | (i386_sigtramp_frame_cache): Use `sc_reg_offset' to find saved | |
5420 | registers if possible. | |
5421 | (i386_gdbarch_init): Initialize TDEP->sc_reg_offset. | |
5422 | * i386bsd-tdep.c (i386bsd_sc_pc_offset, i386bsd_sc_sp_offset): | |
5423 | Remove variables. | |
5424 | (i386bsd_sc_reg_offset): New variable. | |
5425 | (i386bsd_init_abi): Initialize TDEP->sc_reg_offset and | |
5426 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
5427 | TDEP->sc_sp_offset. | |
5428 | (i386fbsd_sc_reg_offset): New variable. | |
5429 | (i386fbsdaout_init_abi): Initialize TDEP->sc_reg_offset and | |
5430 | TDEP->sc_num_regs. | |
5431 | (i386fbsd4_sc_pc_offset, i386fbsd4_sc_sp_offset): Remove | |
5432 | variables. | |
5433 | (i386fbsd4_sc_reg_offset): New variable. | |
5434 | (i3864bsd4_init_abi): Initialize TDEP->sc_reg_offset and | |
5435 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
5436 | TDEP->sc_sp_offset. | |
5437 | * i386-linux-tdep.c (i386_linux_sc_reg_offset): New variable. | |
5438 | (i386_linux_init_abi): Set TDEP->sc_reg_offset and TDEP->sc_num_regs. | |
5439 | * i386nbsd-tdep.c (i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset): | |
5440 | Remove variables. | |
5441 | (i386nbsd_sc_reg_offset): New variable. | |
5442 | (i386nbsd_init_abi): Initialize TDEP->sc_reg_offset and | |
5443 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
5444 | TDEP->sc_sp_offset. | |
5445 | * i386obsd-tdep.c (i386obsd_sc_pc_offset, i386obsd_sc_sp_offset): | |
5446 | Remove variables. | |
5447 | (i386obsd_sc_reg_offset): New variable. | |
5448 | (i386obsd_init_abi): Initialize TDEP->sc_reg_offset and | |
5449 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
5450 | TDEP->sc_sp_offset. | |
5451 | * i386bsd-nat.c (_initialize_i386bsd_nat): Adjust for changes in | |
5452 | i386bsd-tdep.c, i386nbsd-tdep.c and i386obsd-tdep.c. Add check | |
5453 | for frame pointer offset in `struct sigcontext'. | |
5454 | ||
25ab4790 AC |
5455 | 2003-05-31 Andrew Cagney <[email protected]> |
5456 | ||
5457 | * mips-tdep.c (mips_gdbarch_init): Do not set the deprecated | |
5458 | architecture methods call_dummy_words, sizeof_call_dummy_words, | |
5459 | push_return_address, store_struct_return, and fix_call_dummy. Set | |
5460 | push_dummy_call instead of deprecated_push_arguments. | |
5461 | (mips_store_struct_return): Delete function. | |
5462 | (mips_fix_call_dummy): Delete function. | |
5463 | (mips_push_return_address): Delete function. | |
5464 | (mips_eabi_push_dummy_call): Replace mips_eabi_push_arguments, set | |
5465 | RA_REGNUM and T9_REGNUM. | |
5466 | (mips_n32n64_push_dummy_call): Ditto for | |
5467 | mips_n32n64_push_arguments. | |
5468 | (mips_o32_push_dummy_call): Ditto for mips_o32_push_arguments. | |
5469 | (mips_o64_push_dummy_call): Ditto for mips_o64_push_arguments. | |
5470 | ||
6a65450a AC |
5471 | 2003-05-31 Andrew Cagney <[email protected]> |
5472 | ||
5473 | * gdbarch.sh (PUSH_DUMMY_CALL): Add "func_addr" parameter. Rename | |
5474 | "dummy_addr" to "bp_addr". | |
5475 | * infcall.c (call_function_by_hand): Pass "funaddr" to | |
5476 | gdbarch_push_dummy_call. | |
5477 | * gdbarch.h, gdbarch.c: Re-generate. | |
5478 | * i386-tdep.c (i386_push_dummy_call): Update. | |
5479 | * arm-tdep.c (arm_push_dummy_call): Update. | |
5480 | * d10v-tdep.c (d10v_push_dummy_call): Update. | |
5481 | ||
c4f35dd8 MK |
5482 | 2003-05-31 Mark Kettenis <[email protected]> |
5483 | ||
5484 | * x86-64-tdep.h (x86_64_num_regs, x86_64_num_gregs): Remove | |
5485 | variable declarations. | |
5486 | (x86_64_register_number, x86_64_register_name): Remove prototypes. | |
5487 | (x86_64_linux_frame_saved_pc, x86_64_linux+saved_pc_after_call, | |
5488 | x86_64_linux_in_sigtramp, x86_64_linux_frame_chain, | |
5489 | x86_64_init_frame_pc, x86_64_init_frame_pc, | |
5490 | x86_64_function_has_prologue): Remove prototypes. | |
5491 | (X86_64_NUM_GREGS): New define. | |
5492 | (x86_64_supply_fxsave, x86_64_fill_fxsave): New prototypes. | |
5493 | * x86-64-tdep.c: Don't include "dwarf2cfi.h". Include | |
5494 | "dummy_frame.h", "frame.h", "frame-base.h", "frame-unwind.h". | |
5495 | (RAX_REGNUM, RDX_REGNUM, RDI_REGNUM, EFLAGS_REGNUM, ST0_REGNUM, | |
5496 | XMM1_REGNUM): Remove defines. | |
5497 | (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM, | |
5498 | X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM, | |
5499 | X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, | |
5500 | X86_64_XMM1_REGNUM): New defines. | |
5501 | (struct x86_64_register_info): Renamed from `struct | |
5502 | register_info'. Remove `size' member. | |
5503 | (x86_64_register_info_table): Remove variable. | |
5504 | (x86_64_register_info): New variable. | |
5505 | (X86_64_NUM_REGS): New define. | |
5506 | (X86_64_NUM_GREGS): Remove define. | |
5507 | (x86_64_num_regs, x86_64_num_gregs): Remove variables. | |
5508 | (x86_64_dwarf2gdb_regno_map, x86_64_dwarf2gdb_regno_map_length): | |
5509 | Remove variables. | |
5510 | (x86_54_dwarf2_reg_to_regnum): Remove function. | |
5511 | (x86_64_dwarf_regmap, x86_64_dwarf_regmap_len): New variables. | |
5512 | (x86_64_dwarf_reg_to_regnum): New function. | |
5513 | (x86_64_register_name): Rewrite. | |
5514 | (x86_64_register_raw_size): Remove function. | |
5515 | (x86_64_register_byte_table): Remove variable. | |
5516 | (x86_64_register_byte): Remove function. | |
5517 | (x86_64_register_virtual_type): Remove function. | |
5518 | (x86_64_register_type): New function. | |
5519 | (x86_64_register_convertible, x86_64_register_convert_to_virtual, | |
5520 | x86_64_register_convert_to_raw): Remove functions. | |
5521 | (x86_64_push_return_address, x86_64_pop_frame): Remove functon. | |
5522 | (x86_64_use_struct_convention): Make static. Adjust for renamed | |
5523 | defines. | |
5524 | (x86_64_frame_init_saved_regs): Remove function. | |
5525 | (x86_64_push_arguments): Make static. Change to accept a regcache | |
5526 | as argument. | |
5527 | (x86_64_store_return_value, x86_64_extract_return_value): Make | |
5528 | static. Rewrite based on i386 counterparts. | |
5529 | (x86_64_push_dummy_call): New function. | |
5530 | (X86_64_NUM_SAVED_REGS): New define. | |
5531 | (x86_64_register_number): Remove function. | |
5532 | (x86_64_store_struct_return): Remove function. | |
5533 | (x86_64_frameless_function_invocation, | |
5534 | x86_64_function_has_prologue): Remove functions. | |
5535 | (PROLOG_BUFSIZE): Remove define. | |
5536 | (struct x86_64_frame_cache): New structure. | |
5537 | (x86_64_alloc_frame_cache, x86_64_analyze_prologue, | |
5538 | x86_64_frame_cache, x86_64_frame_this_id, | |
5539 | x86_64_frame_prev_register, x86_64_frame_p, | |
5540 | x86_64_sigtramp_frame_cache, x86_64_sigtramp_frame_this_id, | |
5541 | x86_64_sigtramp_frame_prev_register, x86_sigtramp_frame_p): New | |
5542 | functions. | |
5543 | (x86_64_frame_unwind, x86_64_sigtramp_frame_unwind): New | |
5544 | variables. | |
5545 | (x86_64_skip_prologue): Rewrite in terms of | |
5546 | x86_64_analyze_prologue. | |
5547 | (x86_64_frame_base_address): New function. | |
5548 | (x86_64_frame_base): New variable. | |
5549 | (x86_64_save_dummy_frame_tos, x86_64_unwind_dummy_id): Rewrite. | |
5550 | (x86_64_init_abi): Set register_type and push_dummy_call. Don't | |
5551 | set deprecated_fp_regnum, deprecated_register_size, | |
5552 | deprecated_register_bytes, register_raw_size, register_byte, | |
5553 | register_virtual_type, register_convertiable, | |
5554 | register_convert_to_virtual, convert_to_raw, | |
5555 | deprecated_get_saved_register, deprecated_target_read_fp, | |
5556 | deprecated_push_arguments, deprecated_push_return_address, | |
5557 | deprecated_pop_frame, deprecated_store_struct_return, | |
5558 | deprecated_frame_init_saved_regs, deprecated_frame_chain, | |
5559 | frameless_function_invocation, deprecated_frame_saved_pc, | |
5560 | deprecated_saved_pc_after_call, frame_num_args, pc_in_sigtramp, | |
5561 | dwarf2_build_frame_info, deprecated_init_extra_frame_info, | |
5562 | deprecated_init_frame_pc and virtual_frame_pointer. Call | |
5563 | frame_unwind_append_predicate to register x86_64_sigtramp_frame_p | |
5564 | and x86_64_frame_p. Call frame_base_set_default to register | |
5565 | x86_64_frame_base. | |
5566 | (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): New defines. | |
5567 | (x86_64_supply_fxsave, x86_64_fill_fxsave): New functions. | |
5568 | (_initialize_x86_64_tdep): Remove function. | |
5569 | * x86-64-linux-tdep.c: Don't include "dwarf2cfi.h". | |
5570 | (LINUX_SIGINFO_SIZE, LINUX_UCONTEXT_SIGCONTEXT_OFFSET, | |
5571 | LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_FP_OFFSET): Don't | |
5572 | define. | |
5573 | (X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Define. | |
5574 | (x86_64_linux_sigcontext_addr): Rewrite. | |
5575 | (x86_64_linux_sigtramp_saved_pc, x86_64_linux_saved_pc_after_call, | |
5576 | x86_64_linux_frame_saved_pc): Remove functions. | |
5577 | (x86_64_linux_pc_in_sigtramp): Renamed from | |
5578 | x86_64_linux_in_sigtramp. Try harder to recognize a signal | |
5579 | trampoline. | |
5580 | (x86_64_linux_frame_chain, x86_64_init_frame_pc): | |
5581 | Remove_functions. | |
5582 | (x86_64_linux_init_abi): Set pc_in_sigtramp. Initialize | |
5583 | TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset. | |
5584 | * x86-64-linux-nat.c: Sync with i386-linux-tdep.c. | |
5585 | (x86_64_regmap): Rename to regmap. | |
5586 | (GETREGS_SUPPLIES): Use X86_64_NUM_GREGS instead of | |
5587 | x86_64_num_gregs. | |
5588 | (supply_gregset, fill_gregset): Likewise. Use regmap instead of | |
5589 | x86_64_regmap. | |
5590 | (x86_64_fxsave_offset): Remove function. | |
5591 | (supply_fpregset): Simply call x86_64_supply_fxsave. | |
5592 | (fill_fpregset): Simply call x86_64_fill_fxsave. | |
5593 | (fetch_inferior_registers, store_inferior_registers): Avoid | |
5594 | asignment in if-statement. | |
5595 | (LINUX_SYSCALL_LEN, LINUX_SYSCALL_REGNUM, SYS_Sigreturn, | |
5596 | SYS_rt_sigreturn, LINUX_SIGCONTEXT_EFLAGS_OFFSET, | |
5597 | LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Remove defines. | |
5598 | (fetch_core_registers): Remove function. | |
5599 | (linux_elf_core_fns): Remove. | |
5600 | (offsetoff): Don't define. | |
5601 | (_initialize_x86_64_linux_nat, kernel_u_size): Remove functions. | |
5602 | * config/i386/x86-64linux.mt (TDEPFILES): Add i386-linux-tdep.o. | |
5603 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove core-aout.o, | |
5604 | add core-regset.o. | |
5605 | * config/i386/nm-x86-64linux.h: Use NM_X86_64_LINUX_H for | |
5606 | protection against multiple includes instead of NM_X86_64_h. Add | |
5607 | various comments. Include "config/nm-linux.h". Don't include | |
5608 | <signal.h>. | |
5609 | (REGISTER_U_ADDR, KERNEL_U_SIZE, U_REGS_OFFSET, KERN_U_ADDR, | |
5610 | GET_THREAD_SIGNALS): Remove defines. | |
5611 | (x86_64_register_u_addr, kernel_u_size, | |
5612 | lin_thread_get_thread_signals): Remove prototypes. | |
5613 | (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define to `long'. | |
5614 | [HAVE_LINK_H]: Don't include "solib.h". | |
5615 | [HAVE_LINK_H] (SVR4_SHARED_LIBS): Remove define. | |
5616 | * config/i386/tm-x86-64linux.h: Fix comments. | |
5617 | * Makefile.in (x86-64-linux-nat.o, x86_64-linux-tdep.o, | |
5618 | x86-64-tdep.o): Update dependencies. | |
5619 | ||
c25083af AC |
5620 | 2003-05-30 Andrew Cagney <[email protected]> |
5621 | ||
c8f55a7b AC |
5622 | * config/sparc/tm-sparc.h (sparc_extract_struct_value_address): |
5623 | Change parameter type to a "struct regcache *". | |
5624 | ||
c25083af AC |
5625 | * gdbarch.sh: Regardless of the multi-arch level, always define |
5626 | the macro when not already defined. | |
5627 | * gdbarch.h, gdbarch.c: Re-generate. | |
5628 | ||
fbe586ae RH |
5629 | 2003-05-30 Richard Henderson <[email protected]> |
5630 | ||
5631 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_p): Reject prologues. | |
5632 | (alpha_mdebug_frame_unwind_cache): Don't call the heuristic unwinder. | |
5633 | (alpha_mdebug_frame_this_id): Likewise. | |
5634 | (alpha_mdebug_frame_prev_register): Likewise. | |
5635 | (alpha_mdebug_frame_base_address): Likewise. | |
5636 | (alpha_mdebug_frame_locals_address): Likewise. | |
5637 | (alpha_mdebug_frame_args_address): Likewise. | |
5638 | (struct alpha_mdebug_unwind_cache): Remove in_prologue_cache. | |
5639 | * alpha-tdep.c (alpha_heuristic_proc_start): Use get_pc_function_start. | |
5640 | (alpha_heuristic_frame_unwind_cache): Make static; add missing | |
5641 | loop increment. | |
5642 | (alpha_heuristic_frame_this_id): Make static. | |
5643 | (alpha_heuristic_frame_prev_register): Likewise. | |
5644 | (alpha_heuristic_frame_base_address): Likewise. | |
5645 | * alpha-tdep.h: Update. | |
5646 | ||
acd5c798 MK |
5647 | 2003-05-30 Mark Kettenis <[email protected]> |
5648 | ||
5649 | * i386-tdep.h (i386bsd_sigcontext_addr): Remove prototype. | |
5650 | (I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS): Remove | |
5651 | defenitions. | |
5652 | (IS_FP_REGNUM, IS_SSE_REGNUM): Remove definitions. | |
5653 | * i386-tdep.c: Mark functions that are 64-bit safe as such. | |
5654 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
5655 | I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM, | |
5656 | I386_ST0_REGNUM): New defines. | |
5657 | (CODESTREAM_BUFSIZ, codestream_tell, codestream_peek, | |
5658 | codestream_get): Remove define. | |
5659 | (codestream_next_addr, condestream_addr, condestream_buf, | |
5660 | codestream_off, codestream_cnt): Remove variables. | |
5661 | (codestream_fill, codestream_seek, codestream_read): Remove | |
5662 | functions. | |
5663 | (i386_follow_jump): Rewrite to avoid usage of removed codestream | |
5664 | functionality. | |
5665 | (i386_get_frame_setup, i386_frameless_signal_p, i386_frame_chain, | |
5666 | i386_sigtramp_saved_pc, i386_sigtramp_saved_sp, | |
5667 | i386_frame_saved_pc, i386_saved_pc_after_call, | |
5668 | i386_frame_num_args, i386_frame_init_saved_regs, | |
5669 | i386_push_return_address, i386_do_pop_frame, i386_pop_frame, | |
5670 | i386_push_arguments): Remove functions. | |
5671 | (i386_skip_prologue): Rewrite to avoid usage of removed codestream | |
5672 | functionality. Use i386_analyze_prologue instead of | |
5673 | i386_get_frame_setup. | |
5674 | (I386_NUM_SAVED_REGS): New define. | |
5675 | (struct i386_frame_cache): New structure. | |
5676 | (i386_alloc_frame_cache, i386_analyze_struct_return, | |
5677 | i386_skip_probe, i386_analyze_frame_setup, | |
5678 | i386_analyze_register_saves, i386_analyze_prologue, | |
5679 | i386_unwind_pc, i386_frame_cache, i386_frame_this_id, | |
5680 | i386_frame_prev_register, i386_sigtramp_frame_cache, | |
5681 | i386_sigtramp_frame_this_id, i386_sigtramp_frame_prev_register, | |
5682 | i386_frame_p, i386_sigtramp_frame_p, i386_frame_base_address, | |
5683 | i386_unwind_dummy_id, i386_save_dummy_tos, i386_push_dummy_call): | |
5684 | New functions. | |
5685 | (i386_frame_unwind, i386_sigtramp_frame_unwind, i386_frame_base): | |
5686 | New variables. | |
5687 | (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Define in terms of | |
5688 | I386_EAX_REGNUM and I386_EDX_REGNUM. | |
5689 | (i386_extract_return_value, i386_store_return_value): Use | |
5690 | I386_ST0_REGNUM where appropriate. | |
5691 | (i386_extract_struct_value_address): Rewrite to use extract_address. | |
5692 | (i386_svr4_pc_in_sigtramp): Add comment. | |
5693 | (i386_svr4_sigcontext_addr): Rewrite. | |
5694 | (i386_svr4_init_abi): Adjust TDEP->sc_pc_offset and | |
5695 | TDEP->sc_sp_offset. | |
5696 | (i386_gdbarch_init): Don't set deprecated_init_frame_pc. Set | |
5697 | sp_regnum, fp_regnum, pc_regnum, ps_regnum and fp0_regnum in terms | |
5698 | of new defines. Set push_dummy_call, don't set | |
5699 | deprecated_push_arguments, deprecated_push_return_address, | |
5700 | deprecated_pop_frame. Don't set parm_boundary. Don't set | |
5701 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
5702 | deprecated_saved_pc_after_call. Set unwind_dummy_id, | |
5703 | save_dummy_frame_tos, unwind_pc. Call | |
5704 | frame_unwind_append_predicate and frame_base_set_default. Don't | |
5705 | set deprecated_dummy_write_pc. Don't set deprecated_fp_regnum. | |
5706 | Don't set frameless_function_invocation. Don't set | |
5707 | deprecated_register_bytes, deprecated_register_size, | |
5708 | deprecated_call_dummy_words and deprecated_sizeof_call_dummy. | |
5709 | * i386-linux-tdep.c: Fix formatting in some comments. | |
5710 | (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0, | |
5711 | LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1, | |
5712 | LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, | |
5713 | LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0, | |
5714 | LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): Drop | |
5715 | redundant parentheses. | |
5716 | (I386_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): New define. | |
5717 | (i386_linux_sigcontext_addr): Use it. Rewrite. | |
5718 | (find_minsym_and_objfile): Change name of second argument. | |
5719 | (skip_gnu_resolver): Renamed from skip_hurd_resolver. All callers | |
5720 | changed. Use frame_pc_unwind instead of | |
5721 | DEPRECATED_SAVED_PC_AFTER_CALL. | |
5722 | (i386_linux_init_abi): Don't set deprecated_register_bytes. | |
5723 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Rewrite. | |
5724 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Adapt for new frame | |
5725 | unwinder. | |
5726 | * i386-cygwin-tdep.c: Don't include "gdbcore.h", "frame.h" and | |
5727 | "dummy-frame.h". | |
5728 | (i386_cygwin_frame_chain_valid, i386_cygwin_frame_chain): Removed. | |
5729 | (_initialize_i386_cygwin_tdep): New prototype. | |
5730 | (i386_cygwin_init_abi): Don't set deprecated_frame_chain and | |
5731 | deprecated_frame_chain_valid. | |
5732 | * i386-sol2-tdep.c (i386_sol2_init_abi): Don't set | |
5733 | TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset. | |
5734 | Rely on the SVR4 defaults. | |
5735 | * config/i386/i386sol2.mt (TDEPFILES): Remove i386bsd-tdep.o. | |
5736 | * Makefile.in (i386-tdep.o, i386-cygwin-tdep.o): Update dependencies. | |
5737 | ||
c89b70f1 AC |
5738 | 2003-05-30 Andrew Cagney <[email protected]> |
5739 | ||
5740 | * infcall.c (call_function_by_hand): Always call | |
5741 | DEPRECATED_FIX_CALL_DUMMY, even for AT_ENTRY_POINT case. | |
5742 | ||
85b32d22 RH |
5743 | 2003-05-30 Richard Henderson <[email protected]> |
5744 | ||
c89b70f1 AC |
5745 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Fix loop |
5746 | increment. | |
85b32d22 | 5747 | |
bfe51b1e JB |
5748 | 2003-05-29 Jim Blandy <[email protected]> |
5749 | ||
5750 | Use gdbarch methods for solib stuff on PowerPC Linux. | |
5751 | * config/powerpc/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, | |
5752 | SKIP_TRAMPOLINE_CODE): #undef these, so the gdbarch methods will | |
5753 | show through. | |
5754 | * ppc-linux-tdep.c (ppc_linux_init_abi): Register | |
5755 | IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE methods here, | |
5756 | giving the same effect as the #definitions above. | |
5757 | ||
1abf022c AF |
5758 | 2003-05-29 Adam Fedor <[email protected]> |
5759 | ||
5760 | * objc-lang.c (CONVERT_FUNCPTR): Remove macro | |
5761 | (find_implementation_from_class): Replace it with the standard | |
5762 | case i.e. do nothing. | |
5763 | ||
d2427a71 RH |
5764 | 2003-05-29 Richard Henderson <[email protected]> |
5765 | ||
5766 | * alpha-linux-tdep.c (alpha_linux_sigtramp_offset_1): New. | |
5767 | (alpha_linux_sigtramp_offset): Use it. Make static. | |
5768 | (alpha_linux_sigcontext_addr): Handle __NR_rt_sigreturn; | |
5769 | update for new frame model. | |
5770 | * alpha-mdebug-tdep.c: New file. | |
5771 | * alpha-osf1-tdep.c (alpha_call_dummy_address): Move from alpha-tdep.c. | |
5772 | (alpha_osf1_init_abi): Install it. | |
5773 | * alpha-tdep.c (PROC_*): Move to alpha-mdebug-tdep.c. | |
5774 | (linked_proc_desc_table): Remove. | |
5775 | (alpha_frame_past_sigtramp_frame): Remove. | |
5776 | (alpha_dynamic_sigtramp_offset): Remove. | |
5777 | (ALPHA_PROC_SIGTRAMP_MAGIC): Remove. | |
5778 | (alpha_proc_desc_is_dyn_sigtramp): Remove. | |
5779 | (alpha_set_proc_desc_is_dyn_sigtramp): Remove. | |
5780 | (push_sigtramp_desc): Remove. | |
5781 | (alpha_cannot_fetch_register): Use ALPHA_FP_REGNUM. | |
5782 | (alpha_cannot_store_register): Likewise. | |
5783 | (alpha_sigcontext_addr): Remove. | |
5784 | (alpha_find_saved_regs): Remove. | |
5785 | (alpha_frame_init_saved_regs): Remove. | |
5786 | (alpha_init_frame_pc_first): Remove. | |
5787 | (read_next_frame_reg): Remove. | |
5788 | (alpha_frame_saved_pc): Remove. | |
5789 | (alpha_saved_pc_after_call): Remove. | |
5790 | (temp_proc_desc, temp_saved_regs): Remove. | |
5791 | (alpha_about_to_return): Remove. | |
5792 | (cached_proc_desc): Remove. | |
5793 | (alpha_frame_chain): Remove. | |
5794 | (alpha_print_extra_frame_info): Remove. | |
5795 | (alpha_init_extra_frame_info): Remove. | |
5796 | (alpha_frame_locals_address): Remove. | |
5797 | (alpha_frame_args_address): Remove. | |
5798 | (alpha_push_arguments): Use ALPHA_REGISTER_BYTES not sizeof CORE_ADDR. | |
5799 | (alpha_push_dummy_frame): Remove. | |
5800 | (alpha_pop_frame): Remove. | |
5801 | (alpha_after_prologue): Rename from after_prologue; remove mdebug bits. | |
5802 | (alpha_read_insn): New. | |
5803 | (alpha_skip_prologue): Merge alpha_skip_prologue_internal; adjust | |
5804 | for different insn encodings. | |
5805 | (alpha_in_lenient_prologue): Remove. | |
5806 | (struct alpha_sigtramp_unwind_cache): New. | |
5807 | (alpha_sigtramp_frame_unwind_cache): New. | |
5808 | (alpha_sigtramp_register_address): New. | |
5809 | (alpha_sigtramp_frame_this_id): New. | |
5810 | (alpha_sigtramp_frame_prev_register): New. | |
5811 | (alpha_sigtramp_frame_unwind): New. | |
5812 | (alpha_sigtramp_frame_p): New. | |
5813 | (struct alpha_heuristic_unwind_cache): New. | |
5814 | (alpha_heuristic_proc_start): Rename from heuristic_proc_start; | |
5815 | don't count nop insns that occur between functions. | |
5816 | (alpha_heuristic_frame_unwind_cache): New; incorporate much of | |
5817 | heuristic_proc_desc, but without the mdebug wrapping. | |
5818 | (alpha_heuristic_frame_this_id): New. | |
5819 | (alpha_heuristic_frame_prev_register): New. | |
5820 | (alpha_heuristic_frame_unwind): New. | |
5821 | (alpha_heuristic_frame_p): New. | |
5822 | (alpha_heuristic_frame_base_address): New. | |
5823 | (alpha_heuristic_frame_base): New. | |
5824 | (alpha_unwind_dummy_id): New. | |
5825 | (alpha_unwind_pc): New. | |
5826 | (alpha_gdbarch_init): Don't set skip_sigtramp_frame. Kill use of | |
5827 | frame related deprecated initializations; install replacements. | |
5828 | (alpha_dump_tdep): Remove. | |
5829 | * alpha-tdep.h (struct gdbarch_tdep): Remove skip_sigtramp_frame. | |
5830 | (alpha_read_insn, alpha_after_prologue, | |
5831 | alpha_heuristic_frame_unwind_cache, alpha_heuristic_frame_this_id, | |
5832 | alpha_heuristic_frame_prev_register, | |
5833 | alpha_heuristic_frame_base_address, alpha_mdebug_init_abi): Declare. | |
5834 | * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
5835 | * config/alpha/tm-alpha.h (PRINT_EXTRA_FRAME_INFO): Remove. | |
5836 | * config/alpha/tm-alphalinux.h (SIGTRAMP_START, SIGTRAMP_END): Remove. | |
5837 | ||
93ec1121 AC |
5838 | 2003-05-29 Andrew Cagney <[email protected]> |
5839 | ||
5840 | * gdb_assert.h (gdb_assert_fail): Provide different definitions | |
5841 | dependant on the availability of ASSERT_FUNCTION. | |
5842 | (ASSERT_FUNCTION): Do not define when there is no function name. | |
5843 | ||
98f08d3d KB |
5844 | 2003-05-29 Kevin Buettner <[email protected]> |
5845 | ||
5846 | From Jimi X <[email protected]>: | |
5847 | * rs6000-tdep.c (skip_prologue): Improve support for 64-bit code. | |
5848 | ||
0897f59b JB |
5849 | 2003-05-28 Jim Blandy <[email protected]> |
5850 | ||
5851 | * ppc-linux-nat.c (store_altivec_registers): Don't cast fourth | |
5852 | argument to ptrace to int; the system headers should give it the | |
5853 | right type, and pointers don't fit in ints on powerpc64-*-*. | |
5854 | ||
14898363 L |
5855 | 2003-05-28 H.J. Lu <[email protected]> |
5856 | ||
5857 | * dwarf2read.c (process_die): Handle DW_TAG_try_block and | |
5858 | DW_TAG_catch_block. | |
5859 | ||
a7a48797 EZ |
5860 | 2003-05-26 Elena Zannoni <[email protected]> |
5861 | ||
5862 | * stabsread.c (dbx_lookup_type): Make static. | |
5863 | (read_type): Ditto. | |
5864 | (add_undefined_type): Ditto. | |
5865 | * stabsread.h (dbx_lookup_type, read_type, add_undefined_type): Do | |
5866 | not export. | |
5867 | ||
f5479e9c EZ |
5868 | 2003-05-26 Elena Zannoni <[email protected]> |
5869 | ||
5870 | * hpread.c (hpread_has_name): Make static. | |
5871 | (hpread_psymtab_to_symtab): Ditto. | |
5872 | (file_exists): Ditto. | |
5873 | (hpread_call_pxdb): Ditto. | |
5874 | (hpread_pxdb_needed): Ditto. | |
5875 | (hpread_quick_traverse): Ditto. | |
5876 | (hpread_get_header): Ditto. | |
5877 | (hpread_get_lntt): Ditto. | |
5878 | (hpread_get_slt): Ditto. | |
5879 | (class_of): Ditto. | |
5880 | ||
eb2e12d7 AS |
5881 | 2003-05-25 Andreas Schwab <[email protected]> |
5882 | ||
78bf922a AS |
5883 | * m68k-tdep.c (m68k_gdbarch_init): Set parm_boundary instead of |
5884 | stack_align and deprecated_extra_stack_alignment_needed. | |
5885 | (m68k_stack_align): Delete. | |
5886 | ||
eb2e12d7 AS |
5887 | * m68k-tdep.c (m68k_register_raw_size): Remove cast. |
5888 | (m68k_register_virtual_size): Likewise. | |
5889 | (altos_skip_prologue): Remove obsolete function. | |
5890 | (isi_frame_num_args): Likewise. | |
5891 | (news_frame_num_args): Likewise. | |
5892 | (m68k_fix_call_dummy): Make static. | |
5893 | (m68k_push_dummy_frame): Likewise. | |
5894 | (m68k_pop_frame): Likewise. | |
5895 | (m68k_skip_prologue): Likewise. | |
5896 | (m68k_frame_init_saved_regs): Likewise. | |
5897 | (m68k_saved_pc_after_call): Likewise. | |
5898 | (m68k_get_longjmp_target): Make multi-arch. | |
5899 | (m68k_gdbarch_init): Allocate and initialize gdbarch_tdep | |
5900 | structure. Register m68k_get_longjmp_target if enabled. | |
5901 | * m68k-tdep.h (struct gdbarch_tdep): Define. | |
5902 | * config/m68k/tm-m68k.h: Don't include "regcache.h". | |
5903 | ||
5904 | * Makefile.in (config.status): Also depend on configure.tgt | |
5905 | and configure.host. | |
5906 | (m68klinux-tdep.o): Update dependencies. | |
5907 | * configure.tgt (m68*-*-linux*): Set gdb_multi_arch to 1. | |
5908 | * m68klinux-tdep.c (M68K_LINUX_JB_ELEMENT_SIZE): Define. | |
5909 | (M68K_LINUX_JB_PC): Define. | |
5910 | (m68k_linux_pc_in_sigtramp): Renamed from m68k_linux_in_sigtramp | |
5911 | and take additional parameter. | |
5912 | (m68k_linux_sigtramp_saved_pc): Update. | |
5913 | (m68k_linux_init_abi): Set jb_pc and jb_elt_size. Register | |
5914 | m68k_linux_pc_in_sigtramp, in_plt_section, | |
5915 | find_solib_trampoline_target. | |
5916 | * config/m68k/tm-linux.h: Don't include any tm headers. | |
5917 | (START_INFERIOR_TRAPS_EXPECTED): Remove definition. | |
5918 | (JB_ELEMENT_SIZE): Likewise. | |
5919 | (JB_PC): Likewise. | |
5920 | (GET_LONGJMP_TARGET): Likewise. | |
5921 | (IN_SIGTRAMP): Likewise. | |
5922 | (SVR4_SHARED_LIBS): Define this and include "solib.h". | |
5923 | ||
eb2c22dc MK |
5924 | 2003-05-25 Mark Kettenis <[email protected]> |
5925 | ||
5926 | * sparc-tdep.c (sparc32_do_push_arguments): New function. | |
5927 | (sparc32_push_arguments): Re-implement by calling | |
5928 | sparc32_do_push_arguments. | |
5929 | ||
44b7b84e MK |
5930 | 2003-05-25 Mark Kettenis <[email protected]> |
5931 | ||
5932 | * sparc-tdep.c (SPARC_F0_REGNUM, SPARC_F1_REGNUM, SPARC_O0_REGNUM, | |
5933 | SPARC_O1_REGNUM): New defines. | |
5934 | (sparc32_extract_return_value): Rewrite to operate on a regcache. | |
5935 | (sparc32_store_return_value): New function. | |
5936 | (sparc_extract_struct_value_address): Rewrite to operate on a | |
5937 | regcache. | |
5938 | (sparc_gdbarch_init): Don't set | |
5939 | deprecated_extract_struct_value_address. Set | |
5940 | extract_struct_value_address instead. Don't set | |
5941 | deprecated_extract_return_value and deprecated_store_return_value | |
5942 | for 32-bit targets. Set extract_return_value and | |
5943 | store_return_value instead. | |
5944 | * config/sparc/tm-sparc.h (DEPRECATED_STORE_RETURN_VALUE, | |
5945 | DEPRECTAED_EXTRACT_RETURN_VALUE, | |
5946 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Don't define these. | |
5947 | (STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE, | |
5948 | EXTRACT_STRUCT_VALUE_ADDRESS): Define these instead. | |
5949 | (sparc_store_return_value): Remove prototype. | |
5950 | (sparc32_store_return_value): New prototype. | |
5951 | (sparc32_extract_return_value, sparc_extract_struct_value_address): | |
5952 | Adjust prototypes. | |
5953 | ||
f6ad61e3 MK |
5954 | 2003-05-24 Mark Kettenis <[email protected]> |
5955 | ||
5956 | * sparcnbsd-tdep.c: Include "gdb_string.h". | |
5957 | ||
b276f1bb AC |
5958 | 2003-05-23 Andrew Cagney <[email protected]> |
5959 | ||
5960 | * p-valprint.c (pascal_val_print): Replace extract_address with | |
5961 | the inline equivalent extract_unsigned_integer. | |
5962 | * jv-valprint.c (java_value_print): Ditto. | |
5963 | * ada-valprint.c (ada_val_print_1): Ditto. | |
5964 | * ada-lang.h (EXTRACT_ADDRESS): Ditto. | |
5965 | ||
e76c5fcc TR |
5966 | 2003-05-23 Theodore A. Roth <[email protected]> |
5967 | ||
5968 | * blockframe.c (frameless_look_for_prologue): Remove unused | |
5969 | after_prologue variable. | |
5970 | ||
2cdd89cb MK |
5971 | 2003-05-23 Mark Kettenis <[email protected]> |
5972 | ||
5973 | * blockframe.c (get_pc_function_start): Rewrite to avoid | |
5974 | asignments in if-statements. | |
5975 | ||
182d43bc EZ |
5976 | 2003-05-23 Raoul Gough <[email protected]> |
5977 | ||
5978 | Committed by Elena Zannoni <[email protected]>. | |
8ffd9b1b | 5979 | * coffread.c(coff_symtab_read): Do relocate static symbols from PE |
182d43bc EZ |
5980 | files, don't relocate absolute symbols (and do use mst_abs). |
5981 | ||
e8f3fcdd AC |
5982 | 2003-05-23 Andrew Cagney <[email protected]> |
5983 | ||
5984 | * objc-lang.c: Include "gdb_assert.h". | |
5985 | (objc_op_print_tab): Use OP_NULL and PREC_NULL instead of 0. | |
5986 | (CHECK, CHECK_FATAL, __CHECK_FUNCTION): Delete macros. | |
5987 | (gdb_check, gdb_check_fatal): Delete functions. | |
5988 | (read_objc_methlist_method): Replace CHECK and CHECK_FATAL with | |
5989 | gdb_assert. | |
5990 | (parse_selector, parse_method, find_methods, find_imps): Ditto. | |
5991 | * Makefile.in (objc-lang.o): Update dependencies. | |
5992 | ||
3c23e6fb ILT |
5993 | 2003-05-22 Ian Lance Taylor <[email protected]> |
5994 | ||
5995 | * disasm.c (gdb_disassemble_info): Initialize disassemble_info | |
5996 | with fprintf_filtered, not fprintf_unfiltered. | |
5997 | ||
af1342ab AC |
5998 | 2003-05-22 Andrew Cagney <[email protected]> |
5999 | ||
6000 | * stack.c (frame_info): Inline extract_address, replacing it with | |
6001 | extract_unsigned_integer. | |
6002 | * findvar.c (unsigned_pointer_to_address): Ditto. | |
6003 | * dwarf2loc.c (dwarf_expr_read_reg): Ditto. | |
6004 | * dwarf2expr.c (dwarf2_read_address): Ditto. | |
6005 | * frame.c (frame_pc_unwind): Update comment. | |
6006 | * dummy-frame.c (deprecated_read_register_dummy): Update comment. | |
6007 | ||
47e242ec JJ |
6008 | 2003-05-22 Jeff Johnston <[email protected]> |
6009 | ||
6010 | * infptrace.c (detach): Call print_sys_errmsg rather than | |
6011 | perror_with_name to issue warning message when errno is non-zero | |
6012 | after calling ptrace detach. | |
6013 | ||
e2ac8128 JB |
6014 | 2003-05-21 J. Brobecker <[email protected]> |
6015 | ||
6016 | * config/pa/tm-hppa.h: Delete some unused macros. Move some | |
6017 | macro definitions from here... | |
6018 | * hppa-tdep.c: ...to there. | |
6019 | ||
92b3541e KB |
6020 | 2003-05-20 Kevin Buettner <[email protected]> |
6021 | ||
6022 | * mips-nat.c (REGISTER_PTRACE_ADDR): Convert macro to function | |
6023 | register_ptrace_addr(). Fix all callers. | |
6024 | ||
55809acb AS |
6025 | 2003-05-21 Andreas Schwab <[email protected]> |
6026 | ||
6027 | * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update | |
6028 | dependencies. | |
6029 | * m68k-tdep.c (m68k_gdbarch_init): Call gdbarch_init_osabi at the | |
6030 | end. | |
6031 | * m68klinux-tdep.c (m68k_linux_init_abi): New function. | |
6032 | (_initialize_m68k_linux_tdep): New function. | |
6033 | (m68k_linux_frame_saved_pc): Make static. | |
6034 | (m68k_linux_extract_return_value): Likewise. | |
6035 | (m68k_linux_store_return_value): Likewise. | |
6036 | (m68k_linux_extract_struct_value_address): Likewise. | |
6037 | * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): | |
6038 | Remove. | |
6039 | (DEPRECATED_STORE_RETURN_VALUE): Remove. | |
6040 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. | |
6041 | (DEPRECATED_FRAME_SAVED_PC): Remove. | |
6042 | ||
0fbc10f7 KW |
6043 | 2003-05-20 Kris Warkentin <[email protected]> |
6044 | ||
6045 | * nto-tdep.c (fetch_core_registers): Match gdb's idea of | |
6046 | regset numbering rather than our own. | |
6047 | ||
58da2eb2 DC |
6048 | 2003-05-19 David Carlton <[email protected]> |
6049 | ||
6050 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/rtti*. | |
6051 | ||
1fcb5155 DC |
6052 | 2003-05-19 David Carlton <[email protected]> |
6053 | ||
6054 | Partial fix for PR c++/827. | |
6055 | * cp-support.h: Include symtab.h. | |
6056 | Declare cp_lookup_symbol_nonlocal, cp_lookup_symbol_namespace. | |
6057 | * cp-namespace.c: Update contributors. | |
6058 | (cp_lookup_symbol_nonlocal): New. | |
6059 | (lookup_namespace_scope, cp_lookup_symbol_namespace) | |
6060 | (lookup_symbol_file): Ditto. | |
6061 | * c-lang.c (cplus_language_defn): Use cp_lookup_symbol_nonlocal. | |
6062 | * block.h: Declare block_scope, block_using, block_global_block. | |
6063 | * block.c (block_scope): New. | |
6064 | (block_using, block_global_block): Ditto. | |
6065 | * Makefile.in (cp_support_h): Depend on symtab_h. | |
6066 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/namespace1.cc. | |
6067 | ||
5f9a71c3 DC |
6068 | 2003-05-19 David Carlton <[email protected]> |
6069 | ||
6070 | * language.h (struct language_defn): Add 'la_value_of_this' | |
6071 | and 'la_lookup_symbol_nonlocal' members. | |
6072 | * symtab.h: Declare basic_lookup_symbol_nonlocal, | |
6073 | lookup_symbol_static, lookup_symbol_global, | |
6074 | lookup_symbol_aux_block. | |
6075 | * symtab.c (lookup_symbol_aux): Call language hooks to determine | |
6076 | if we should search fields of this and how to do static/global | |
6077 | lookup. | |
6078 | (lookup_symbol_aux_block): Make extern. | |
6079 | (basic_lookup_symbol_nonlocal): New. | |
6080 | (lookup_symbol_static, lookup_symbol_global): Ditto. | |
6081 | * ada-lang.c (ada_language_defn): Set 'la_value_of_this' and | |
6082 | 'la_lookup_symbol_nonlocal' members. | |
6083 | * c-lang.c (c_language_defn, cplus_language_defn) | |
6084 | (asm_language_defn, minimal_language_defn): Ditto. | |
6085 | * jv-lang.c (java_language_defn): Ditto. | |
6086 | * language.c (unknown_language_defn, auto_language_defn) | |
6087 | (local_language_defn): Ditto. | |
6088 | * m2-lang.c (m2_language_defn): Ditto. | |
6089 | * objc-lang.c (objc_language_defn): Ditto. | |
6090 | * scm-lang.c (scm_language_defn): Ditto. | |
6091 | * f-lang.c (f_language_defn): Ditto, and include value.h as well. | |
6092 | * p-lang.c (pascal_language_defn): Ditto for both. | |
6093 | * Makefile.in (f-lang.o): Depend on value_h. | |
6094 | (p-lang.o): Ditto. | |
6095 | ||
89a9d1b1 DC |
6096 | 2003-05-19 David Carlton <[email protected]> |
6097 | ||
6098 | * block.h: Declare block_static_block. | |
6099 | * block.c (block_static_block): New. | |
6100 | * symtab.c (lookup_symbol_aux): Remove 'static_block' argument to | |
6101 | lookup_symbol_aux_local, calling block_static_block instead. | |
6102 | (lookup_symbol_aux_local): Delete 'static_block' argument. | |
6103 | ||
eed3f8ab DC |
6104 | 2003-05-19 David Carlton <[email protected]> |
6105 | ||
6106 | * symtab.c (lookup_symbol_aux): Delete #if 0 hunk. | |
6107 | ||
a09d8bda ML |
6108 | 2003-05-19 Michal Ludvig <[email protected]> |
6109 | ||
6110 | * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map): Fix | |
6111 | register numbers mapping. | |
6112 | ||
69636828 AF |
6113 | 2003-05-18 Adam Fedor <[email protected]> |
6114 | ||
6115 | * symtab.c (completion_list_objc_symbol): New function. | |
6116 | (make_symbol_completion_list): Use it to add ObjC symbols | |
6117 | when looking though the list. | |
6118 | (language_search_unquoted_string): New function. | |
6119 | (make_file_symbol_completion_list): Use it. | |
6120 | ||
55baeb84 AS |
6121 | 2003-05-18 Andreas Schwab <[email protected]> |
6122 | ||
d0b45d99 AS |
6123 | * Makefile (m68klinux-nat.o, m68klinux-tdep.o): Update |
6124 | dependencies. | |
6125 | * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): Define | |
6126 | as m68k_linux_extract_return_value. | |
6127 | (DEPRECATED_STORE_RETURN_VALUE): Define as | |
6128 | m68k_linux_store_return_value. | |
6129 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Define as | |
6130 | m68k_linux_extract_struct_value_address. | |
6131 | * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Use | |
6132 | get_next_frame, get_frame_base, get_frame_pc. | |
6133 | (m68k_linux_frame_saved_pc): Use get_frame_base. | |
6134 | (m68k_linux_extract_return_value): New function. | |
6135 | (m68k_linux_store_return_value): New function. | |
6136 | (m68k_linux_extract_struct_value_address): New function. | |
6137 | * config/m68k/tm-m68k.h: Declare m68k_get_longjmp_target. | |
6138 | ||
55baeb84 AS |
6139 | * c-exp.y (typebase): Remove duplicate occurence of |
6140 | `SIGNED_KEYWORD LONG LONG'. Use builtin_type_long_long instead | |
8ffd9b1b | 6141 | of lookup_signed_typename. |
55baeb84 | 6142 | |
b6b08ebf MK |
6143 | 2003-05-18 Mark Kettenis <[email protected]> |
6144 | ||
6145 | * dwarf2loc.c (find_location_expression): Change type of second | |
6146 | argument to `size_t *'. | |
6147 | (loclist_read_variable, loclist_tracepoint_var_ref): Use size_t | |
6148 | for size variable. | |
6149 | ||
5ad1c190 DC |
6150 | 2003-05-18 David Carlton <[email protected]> |
6151 | ||
6152 | * symtab.c (lookup_symbol_aux): Rename 'mangled_name' argument to | |
6153 | 'linkage_name'. Add comment. | |
6154 | (lookup_symbol_aux_local): Rename 'mangled_name' argument to | |
6155 | 'linkage_name'. | |
6156 | (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) | |
6157 | (lookup_symbol_aux_psymtabs, lookup_symbol_aux_minsyms) | |
6158 | (lookup_block_symbol): Ditto. | |
6159 | ||
b8b527c5 AC |
6160 | 2003-05-16 Andrew Cagney <[email protected]> |
6161 | ||
6162 | * gdbarch.sh (DEPRECATED_REGISTER_BYTES): Rename REGISTER_BYTES. | |
6163 | * gdbarch.h, gdbarch.c: Re-generate. | |
6164 | * arm-linux-tdep.c (arm_linux_extract_return_value): Delete reference. | |
6165 | * TODO (REGISTER_BYTES): Delete reference. | |
6166 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
6167 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
6168 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
6169 | * vax-tdep.c (vax_gdbarch_init): Update. | |
6170 | * v850-tdep.c (v850_gdbarch_init): Update. | |
6171 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
6172 | * sh-tdep.c (sh_gdbarch_init): Update. | |
6173 | * s390-tdep.c (s390_gdbarch_init): Update. | |
6174 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
6175 | * ns32k-tdep.c (ns32k_gdbarch_init_32082): Update. | |
6176 | (ns32k_gdbarch_init_32382): Update. | |
6177 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
6178 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
6179 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
6180 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
6181 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
6182 | * i386-tdep.c (i386_gdbarch_init): Update. | |
6183 | * i386-linux-tdep.c (i386_linux_init_abi): Update. | |
6184 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
6185 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
6186 | * frv-tdep.c (frv_gdbarch_init): Update. | |
6187 | * cris-tdep.c (cris_gdbarch_init): Update. | |
6188 | * avr-tdep.c (avr_gdbarch_init): Update. | |
6189 | * arm-tdep.c (arm_gdbarch_init): Update. | |
6190 | * sparc-tdep.c (sparc_pop_frame): Update. | |
6191 | * rs6000-tdep.c (rs6000_pop_frame): Update. | |
6192 | * remote.c (init_remote_state): Update. | |
6193 | (remote_prepare_to_store): Update. | |
6194 | * remote-vx.c (vx_prepare_to_store): Update. | |
6195 | * remote-sds.c (sds_fetch_registers): Update. | |
6196 | (sds_prepare_to_store): Update. | |
6197 | * remote-array.c: Update. | |
6198 | * regcache.c (init_legacy_regcache_descr): Update. | |
6199 | (init_regcache_descr): Update. | |
6200 | * mips-tdep.c (mips_eabi_extract_return_value): Update. | |
6201 | (mips_o64_extract_return_value): Update. | |
6202 | * irix5-nat.c (fetch_core_registers): Update. | |
6203 | * irix4-nat.c (fetch_core_registers): Update. | |
6204 | * i386-tdep.h: Update. | |
6205 | * hppa-tdep.c (pa_do_registers_info): Update. | |
6206 | (pa_do_strcat_registers_info): Update. | |
6207 | * cris-tdep.c (cris_register_bytes_ok): Update. | |
6208 | * config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update. | |
6209 | * config/sparc/tm-sparc.h (DEPRECATED_REGISTER_BYTES): Update. | |
6210 | * config/sparc/nm-sun4sol2.h (CHILD_PREPARE_TO_STORE): Update. | |
6211 | * config/sparc/nm-sun4os4.h (CHILD_PREPARE_TO_STORE): Update. | |
6212 | * config/sparc/nm-nbsd.h (CHILD_PREPARE_TO_STORE): Update. | |
6213 | * config/sparc/tm-sp64.h (DEPRECATED_REGISTER_BYTES): Update. | |
6214 | * config/s390/tm-s390.h (DEPRECATED_REGISTER_BYTES): Update. | |
6215 | * config/pa/tm-hppa64.h (DEPRECATED_REGISTER_BYTES): Update. | |
6216 | * config/mips/tm-mips.h (DEPRECATED_REGISTER_BYTES): Update. | |
6217 | * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Update. | |
6218 | * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Update. | |
6219 | * config/m68k/tm-sun3.h (DEPRECATED_REGISTER_BYTES): Update. | |
6220 | (REGISTER_BYTES_OK): Update. | |
6221 | * config/m68k/nm-sun3.h (CHILD_PREPARE_TO_STORE): Update. | |
6222 | * config/ia64/tm-ia64.h (DEPRECATED_REGISTER_BYTES): Update. | |
6223 | ||
ee2842e2 ILT |
6224 | 2003-05-16 Ian Lance Taylor <[email protected]> |
6225 | ||
6226 | * vax-tdep.c (INVALID_FLOAT, MAXLEN, NOPCODES): Don't define. | |
6227 | (vax_print_insn, print_insn_arg): Remove static functions. | |
6228 | (vax_gdbarch_init): Call set_gdbarch_print_insn with | |
6229 | print_insn_vax from opcodes library. | |
6230 | (_initialize_vax_tdep): Don't set deprecated_tm_print_insn. | |
6231 | ||
973177d3 AC |
6232 | 2003-05-15 Andrew Cagney <[email protected]> |
6233 | ||
aaab4dba AC |
6234 | * arch-utils.h (legacy_breakpoint_from_pc): Delete declaration. |
6235 | * target.h (memory_breakpoint_from_pc): Delete declaration. | |
6236 | * mem-break.c (memory_breakpoint_from_pc): Delete function. | |
6237 | * arch-utils.c (legacy_breakpoint_from_pc): Delete function. | |
6238 | * monitor.c (monitor_insert_breakpoint): Use | |
6239 | gdbarch_breakpoint_from_pc instead of memory_breakpoint_from_pc. | |
6240 | * gdbarch.sh (BREAKPOINT_FROM_PC): Do not provide a default. | |
6241 | * gdbarch.h, gdbarch.c: Re-generate. | |
6242 | * sparc-tdep.c (sparc_breakpoint_from_pc): New function. | |
6243 | (sparc_gdbarch_init): Set breakpoint_from_pc to | |
6244 | sparc_breakpoint_from_pc. | |
6245 | * config/sparc/tm-sparc.h (BREAKPOINT): Delete macro. | |
6246 | (BREAKPOINT_FROM_PC): Define. | |
6247 | (sparc_breakpoint_from_pc): Declare. | |
6248 | * hppa-tdep.c (hppa_breakpoint_from_pc): New function. | |
6249 | * config/pa/tm-hppa.h (hppa_breakpoint_from_pc): Declare. | |
6250 | (BREAKPOINT_FROM_PC): Define. | |
6251 | (BREAKPOINT): Delete macro. | |
6252 | * target.h: Update comment. | |
6253 | * s390-tdep.c (s390_gdbarch_init): Update comments. | |
6254 | * remote.c: Update comments. | |
6255 | * remote-mips.c: Update comments. | |
6256 | * proc-api.c (write_with_trace): Do not check for a breakpoint. | |
6257 | * mem-break.c: Update comment. | |
6258 | * ia64-tdep.c (IA64_BREAKPOINT): Rename BREAKPOINT. | |
6259 | (ia64_memory_insert_breakpoint): Update. | |
6260 | * config/sparc/tm-sparc.h: Update comment. | |
6261 | * config/pa/tm-hppa64.h: Update comment. | |
6262 | * rs6000-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. | |
6263 | (rs6000_breakpoint_from_pc): Update. | |
6264 | * mips-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. | |
6265 | (PMON_BIG_BREAKPOINT, PMON_LITTLE_BREAKPOINT): Delete macro. | |
6266 | (IDT_LITTLE_BREAKPOINT, IDT_LITTLE_BREAKPOINT): Delete macro. | |
6267 | (MIPS16_LITTLE_BREAKPOINT, MIPS16_BIG_BREAKPOINT): Delete macro. | |
6268 | (mips_breakpoint_from_pc): Update. | |
6269 | (mips_dump_tdep): Update. | |
6270 | ||
e06963ff AC |
6271 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Delete macro. |
6272 | * minsyms.c (lookup_minimal_symbol): Inline | |
6273 | DEPRECATED_SYMBOL_MATCHES_NAME. Replace STREQ with strcmp. | |
6274 | ||
973177d3 AC |
6275 | * c-lang.c (c_printstr): Delete "extern inspect_it" declaration. |
6276 | * p-valprint.c (pascal_object_print_value_fields): Ditto. | |
6277 | * p-lang.c (pascal_printstr): Ditto. | |
6278 | * objc-lang.c (objc_printstr): Ditto. | |
6279 | * m2-lang.c (m2_printstr): Ditto. | |
6280 | * jv-valprint.c (java_print_value_fields): Ditto. | |
6281 | * f-lang.c (f_printstr): Ditto. | |
6282 | * cp-valprint.c (cp_print_value_fields): Ditto. Include "valprint.h". | |
6283 | * ada-valprint.c (inspect_it, repeat_count_threshold): Ditto, and | |
6284 | for repeat_count_threshold. | |
6285 | * Makefile.in (cp-valprint.o): Update dependencies. | |
6286 | ||
5ea2bd7f | 6287 | 2003-05-15 Jeff Johnston <[email protected]> |
8ffd9b1b | 6288 | |
5ea2bd7f JJ |
6289 | * ia64-tdep.c: Increase max_skip_non_prologue_insns to 40. |
6290 | (examine_prologue): Support looking through leaf functions, knowing | |
8ffd9b1b AJ |
6291 | they start with mov r2,r12. Support skipping over indirect stores |
6292 | of the input registers. Upon hitting a non-nop branch instruction | |
6293 | or predicated instruction, bail out by setting lim_pc to the current | |
6294 | pc value in the loop. At the end, if the lim_pc value is still | |
5ea2bd7f JJ |
6295 | beyond our calculated value and we have trust_limit set, |
6296 | use the lim_pc value. | |
6297 | ||
cc8c88f3 AC |
6298 | 2003-05-15 Andrew Cagney <[email protected]> |
6299 | ||
6300 | * dummy-frame.h (deprecated_find_dummy_frame_regcache): Rename | |
6301 | generic_find_dummy_frame. | |
6302 | * dummy-frame.c (deprecated_find_dummy_frame_regcache): Update. | |
6303 | (deprecated_generic_find_dummy_frame): Update. | |
6304 | (deprecated_read_register_dummy): Update. | |
6305 | * frame.c (deprecated_generic_get_saved_register): Update. | |
6306 | ||
909cd28e TR |
6307 | 2003-05-15 Theodore A. Roth <[email protected]> |
6308 | ||
6309 | * avr-tdep.c (avr_breakpoint_from_pc): New function. | |
6310 | (avr_gdbarch_init): Set breakpoint_from_pc method. | |
6311 | ||
b923b08d AC |
6312 | 2003-05-15 Andrew Cagney <[email protected]> |
6313 | ||
6314 | * regcache.c (build_regcache): Set deprecated_register_valid | |
6315 | directly. | |
6316 | (deprecated_grub_regcache_for_register_valid): Delete function. | |
6317 | * regcache.h (deprecated_grub_regcache_for_register_valid): Delete | |
6318 | declaration. | |
6319 | ||
ae2f03ac | 6320 | 2003-05-15 David Carlton <[email protected]> |
8ffd9b1b AJ |
6321 | |
6322 | Committed by Elena Zannoni <[email protected]> | |
fbe586ae RH |
6323 | * symtab.c (lookup_symbol_aux): Delete calls to |
6324 | lookup_symbol_aux_minsyms. | |
6325 | (lookup_symbol_aux_minsyms): Comment out function and | |
6326 | prototype. Delete lookup by mangled name. | |
ae2f03ac | 6327 | |
18ec9831 KB |
6328 | 2003-05-14 Kevin Buettner <[email protected]> |
6329 | ||
6330 | * dwarf2expr.c (new_dwarf_expr_context): Set ``stack_len'' to | |
6331 | correctly indicate an empty stack and ``stack_allocated'' to the | |
6332 | indicate the number of elements initially allocated. | |
6333 | (dwarf_expr_grow_stack): Simplify method for computing new | |
6334 | stack size. Don't loop infinitely if ``stack_len'' is zero. | |
6335 | (execute_stack_op): Move ``ctx->in_reg'' initialization | |
6336 | out of loop. Allow DW_OP_reg0 ... DW_OP_reg31 and DW_OP_regx to | |
6337 | be used in conjuction with DW_OP_piece. Revise error message | |
6338 | accordingly. | |
6339 | ||
de18ac1f TR |
6340 | 2003-05-14 Theodore A. Roth <[email protected]> |
6341 | ||
6342 | * MAINTAINERS: Update my email address. | |
6343 | * avr-tdep.c: Ditto. | |
6344 | ||
176620f1 EZ |
6345 | 2003-05-14 Elena Zannoni <[email protected]> |
6346 | ||
6347 | * symtab.h (enum domain_enum): Rename from namespace_enum. | |
6348 | (UNDEF_DOMAIN, VAR_DOMAIN, STRUCT_DOMAIN, LABEL_DOMAIN, | |
6349 | VARIABLES_DOMAIN, FUNCTIONS_DOMAIN, TYPES_DOMAIN, METHODS_DOMAIN): | |
6350 | Rename from UNDEF_NAMESPACE, VAR_NAMESPACE, STRUCT_NAMESPACE, | |
6351 | LABEL_NAMESPACE, VARIABLES_NAMESPACE, FUNCTIONS_NAMESPACE, | |
6352 | TYPES_NAMESPACE, METHODS_NAMESPACE. | |
6353 | (SYMBOL_NAMESPACE): Rename to SYMBOL_DOMAIN. | |
6354 | (struct symbol, struct partial_symbol): Rename field | |
6355 | 'namespace_enum namespace' to 'domain_enum domain'. | |
6356 | (PSYMBOL_NAMESPACE): Rename to PSYMBOL_DOMAIN. | |
6357 | Delete old define kludge for namespace. | |
6358 | ||
6359 | * ada-exp.y, ada-lang.c, ada-lang.h, alpha-tdep.c, arm-tdep.c, | |
6360 | blockframe.c, c-exp.y, c-valprint.c, coffread.c, dbxread.c, | |
6361 | dwarf2read.c, dwarfread.c, f-exp.y, gdbtypes.c, gdbtypes.h, | |
6362 | gnu-v3-abi.c, hppa-tdep.c, hpread.c, jv-exp.y, jv-lang.c, | |
6363 | language.c, linespec.c, m2-exp.y, m3-nat.c, mdebugread.c, | |
6364 | mips-tdep.c, nlmread.c, objc-exp.y, objc-lang.c, objfiles.c, | |
6365 | p-exp.y, p-valprint.c, parse.c, printcmd.c, scm-lang.c, source.c, | |
6366 | stabsread.c, stack.c, symfile.c, symfile.h, symmisc.c, symtab.c, | |
6367 | valops.c, values.c, xcoffread.c, xstormy16-tdep.c: Replace all | |
6368 | occurrences of the above. | |
6369 | ||
b7f31508 ILT |
6370 | 2003-05-14 Ian Lance Taylor <[email protected]> |
6371 | ||
6372 | * Makefile.in (install-only): Use $(SHELL) when running | |
6373 | mkinstalldirs. | |
6374 | ||
2fdbdd39 ILT |
6375 | 2003-05-13 Ian Lance Taylor <[email protected]> |
6376 | ||
a208d82c ILT |
6377 | * MAINTAINERS (write after approval): Add myself. |
6378 | ||
2fdbdd39 ILT |
6379 | * ser-pipe.c (_initialize_ser_pipe): Correct call to memset--swap |
6380 | second and third arguments. | |
6381 | * ser-tcp.c (_initialize_ser_tcp): Likewise. | |
6382 | * ser-unix.c (_initialize_ser_hardwire): Likewise. | |
6383 | ||
fbd9dcd3 AC |
6384 | 2003-05-13 Andrew Cagney <[email protected]> |
6385 | ||
6386 | * defs.h (store_address): Delete declaration. | |
6387 | findvar.c (store_address): Delete function. | |
6388 | * arm-tdep.c (arm_push_dummy_call): Replace store_address with | |
6389 | store_unsigned_integer. | |
6390 | * xstormy16-tdep.c (xstormy16_address_to_pointer): Ditto. | |
6391 | * v850-tdep.c (v850_push_arguments): Ditto. | |
6392 | * sparc-tdep.c (sparc_get_saved_register): Ditto. | |
6393 | * sh-tdep.c (sh64_get_saved_register): Ditto. | |
6394 | * rs6000-tdep.c (rs6000_push_arguments): Ditto. | |
6395 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Ditto. | |
6396 | * mips-tdep.c (mips_eabi_push_arguments): Ditto. | |
6397 | (mips_get_saved_register): Ditto. | |
6398 | * ia64-tdep.c (ia64_get_saved_register): Ditto. | |
6399 | (find_func_descr, ia64_push_arguments): Ditto. | |
6400 | * i386-tdep.c (i386_push_arguments): Ditto. | |
6401 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
6402 | * frv-tdep.c (frv_push_arguments): Ditto. | |
6403 | * frame.c (legacy_saved_regs_prev_register): Ditto. | |
6404 | (deprecated_generic_get_saved_register): Ditto. | |
6405 | * findvar.c (unsigned_address_to_pointer): Ditto. | |
6406 | * dwarf2read.c (dwarf2_const_value): Ditto. | |
6407 | * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. | |
6408 | * alpha-tdep.c (alpha_push_arguments): Ditto. | |
6409 | ||
6760f9e6 JB |
6410 | 2003-05-12 J. Brobecker <[email protected]> |
6411 | ||
6412 | * NEWS: Mention that the hppa-hpux port has been partially | |
6413 | multiarched (32bit ABIT only, so far). | |
6414 | ||
30e221b4 AC |
6415 | 2003-05-11 Andrew Cagney <[email protected]> |
6416 | ||
6417 | * Makefile.in (mi-symbol-cmds.o): Rename mi-cmd-symbol. | |
6418 | * config/djgpp/fnchange.lst: Rename include/xtensa-isa-internal.h, | |
6419 | include/xtensa-isa.h, sim/testsuite/sim/arm/misaligned1.ms, | |
6420 | sim/testsuite/sim/arm/misaligned2.ms, and | |
6421 | sim/testsuite/sim/arm/misaligned3.ms. | |
6422 | * disasm.h (struct ui_file): Add opaque struct declaration. | |
6423 | * config/pa/tm-hppa64.h (struct type, struct frame_info): Ditto. | |
6424 | * frame.h (struct ui_file): Ditto. | |
6425 | ||
dea7f9ba MK |
6426 | 2003-05-11 Mark Kettenis <[email protected]> |
6427 | ||
6428 | * value.h: Pretty print. | |
6429 | ||
01986c48 MK |
6430 | 2003-05-10 Mark Kettenis <[email protected]> |
6431 | ||
6432 | * config/i386/tm-linux.h (I386_GNULINUX_TARGET): Remove define. | |
6433 | ||
123a958e AC |
6434 | 2003-05-08 Andrew Cagney <[email protected]> |
6435 | ||
6436 | * regcache.h (max_register_size): Delete declaration. | |
6437 | * regcache.c (max_register_size): Delete function. | |
6438 | (struct regcache_descr): Delete field "max_register_size". | |
6439 | (init_regcache_descr, init_legacy_regcache_descr): Assert that all | |
6440 | registers fit in MAX_REGISTER_SIZE. | |
6441 | (regcache_save): Replace max_register_size with MAX_REGISTER_SIZE. | |
6442 | (regcache_restore, regcache_xfer_part, regcache_dump): Ditto. | |
6443 | * thread-db.c: Replace max_register_size with MAX_REGISTER_SIZE. | |
6444 | * sh-tdep.c, rom68k-rom.c, remote-sim.c, remote-mips.c: Ditto. | |
6445 | * remote-e7000.c, monitor.c, mipsv4-nat.c, mips-nat.c: Ditto. | |
6446 | * m68klinux-nat.c, lynx-nat.c, irix4-nat.c: Ditto. | |
6447 | * hpux-thread.c, hppah-nat.c, hppab-nat.c, hppa-tdep.c: Ditto. | |
6448 | * dve3900-rom.c, hppa-tdep.c: Ditto. | |
6449 | ||
eb294659 DC |
6450 | 2003-05-08 David Carlton <[email protected]> |
6451 | ||
6452 | * valops.c (push_word): Fix typo. | |
6453 | ||
d9d9c31f AC |
6454 | 2003-05-08 Andrew Cagney <[email protected]> |
6455 | ||
6456 | * gdbarch.sh: Delete references to MAX_REGISTER_RAW_SIZE. | |
6457 | * gdbarch.h: Re-generate. | |
6458 | * defs.h (MAX_REGISTER_RAW_SIZE): Delete macro. | |
6459 | (legacy_max_register_raw_size): Delete declaration. | |
6460 | * regcache.c (legacy_max_register_raw_size): Delete function. | |
6461 | * valops.c: Replace MAX_REGISTER_RAW_SIZE with MAX_REGISTER_SIZE. | |
6462 | * target.c, stack.c, sparc-tdep.c, sh-tdep.c: Ditto. | |
6463 | * rs6000-tdep.c, rs6000-nat.c, remote.c, remote-sim.c: Ditto. | |
6464 | * remote-rdp.c, remote-array.c, regcache.c: Ditto. | |
6465 | * ppc-linux-nat.c, monitor.c, mn10300-tdep.c: Ditto. | |
6466 | * mips-tdep.c, mips-linux-tdep.c, m68klinux-nat.c: Ditto. | |
6467 | * infptrace.c, ia64-tdep.c, i386-tdep.c, frame.c: Ditto. | |
6468 | * findvar.c, dwarf2cfi.c: Ditto. | |
6469 | ||
22540ece AC |
6470 | 2003-05-08 Andrew Cagney <[email protected]> |
6471 | ||
6472 | * mips-tdep.c (read_signed_register): New function, moved to here | |
6473 | from "regcache.c". | |
6474 | (read_signed_register_pid): Ditto. | |
6475 | * regcache.c (read_signed_register_pid): Delete function, moved to | |
6476 | "mips-tdep.c". | |
6477 | (read_signed_register): Ditto. | |
6478 | * regcache.h (read_signed_register): Delete declaration. | |
6479 | (read_signed_register_pid): Delete declaration. | |
6480 | ||
0c92afe8 AC |
6481 | 2003-05-08 Andrew Cagney <[email protected]> |
6482 | ||
6483 | * gdbarch.sh: Add comments on MAX_REGISTER_SIZE. | |
6484 | * gdbarch.h: Re-generate. | |
6485 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Delete macro. | |
6486 | (legacy_max_register_virtual_size): Delete declaration. | |
6487 | * infcmd.c (default_print_registers_info): Use MAX_REGISTER_SIZE. | |
6488 | * d10v-tdep.c (d10v_print_registers_info): Ditto. | |
6489 | * tracepoint.c (memrange_sortmerge): Ditto. | |
6490 | * sparc-tdep.c (sparc_print_registers): Ditto. | |
6491 | * regcache.c (legacy_max_register_virtual_size): Delete function. | |
6492 | ||
6037b830 JB |
6493 | 2002-05-08 J. Brobecker <[email protected]> |
6494 | ||
6495 | * fork-child.c (escape_bang_in_quoted_argument): New function. | |
6496 | (fork_inferior): Escape '!' characters in quoted arguments | |
6497 | only when needed. | |
6498 | ||
5d62c8b1 JB |
6499 | 2003-05-08 J. Brobecker <[email protected]> |
6500 | ||
6501 | * dwarf2read.c (set_cu_language): Set the language to "minimal" if | |
6502 | the language of the CU is not currently supported by GDB. | |
6503 | ||
20a0e81d JB |
6504 | 2003-05-08 J. Brobecker <[email protected]> |
6505 | ||
6506 | * defs.h (language): Add language_minimal enum value. | |
6507 | * c-lang.c (minimal_language_defn): New language definition. | |
6508 | (_initialize_c_language): Add the new minimal language to the list | |
6509 | of languages known to GDB. | |
6510 | ||
710ee10a KB |
6511 | 2003-05-08 Kevin Buettner <[email protected]> |
6512 | ||
6513 | * frame.c (get_frame_type): Don't attempt to lazily initialize | |
6514 | frame's unwinder for legacy frames. | |
6515 | ||
1750fa04 AC |
6516 | 2003-05-07 Andrew Cagney <[email protected]> |
6517 | ||
6518 | * ia64-tdep.c (ia64_remote_translate_xfer_address): Add "gdbarch" | |
6519 | and "regcache" parameters. | |
6520 | * avr-tdep.c (avr_remote_translate_xfer_address): Ditto. | |
6521 | ||
ddf9f258 | 6522 | 2003-05-07 Jeff Johnston <[email protected]> |
8ffd9b1b AJ |
6523 | |
6524 | * dwarf2read.c (dwarf_decode_lines): Only use output of | |
6525 | check_cu_functions() when calling record_line(). Do not update | |
ddf9f258 JJ |
6526 | the current address. |
6527 | ||
87767c29 AC |
6528 | 2003-05-07 Andrew Cagney <[email protected]> |
6529 | ||
6530 | * fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR | |
6531 | code. | |
6532 | ||
5e7b2f39 JB |
6533 | 2003-05-07 Jim Blandy <[email protected]> |
6534 | ||
6535 | Rename commands 'maint list symtabs' and 'maint list psymtabs' to | |
6536 | 'maint info symtabs' and 'maint info psymtabs'. | |
6537 | * symmisc.c (maintenance_info_symtabs, maintenance_info_psymtabs): | |
6538 | Renamed from maintenance_list_symtabs and maintenance_list_psymtabs. | |
6539 | * symtab.h (maintenance_info_symtabs, maintenance_info_psymtabs): | |
6540 | Declarations updated. | |
6541 | * maint.c (maintenance_list_command): Delete. | |
6542 | (_initialize_maint_cmds): Update calls to add_cmd. | |
6543 | * gdbcmd.h (maintenancelistlist): Delete declaration. | |
6544 | * cli/cli-cmds.c (maintenancelistlist): Delete. | |
6545 | (init_cmd_lists): Don't initialize it. | |
6546 | * cli/cli-cmds.h (maintenancelistlist): Delete declaration. | |
6547 | ||
f6684c31 AC |
6548 | 2003-05-07 Andrew Cagney <[email protected]> |
6549 | ||
6550 | * d10v-tdep.c (remote_d10v_translate_xfer_address): Add | |
6551 | "regcache". | |
6552 | (d10v_print_registers_info): Update. | |
6553 | (d10v_dmap_register, d10v_imap_register): Delete functions. | |
6554 | (struct gdbarch_tdep): Add "regcache" parameter to "dmap_register" | |
6555 | and "imap_register". | |
6556 | (d10v_ts2_dmap_register, d10v_ts2_imap_register): Add "regcache". | |
6557 | (d10v_ts3_dmap_register, d10v_ts3_imap_register): Add "regcache". | |
6558 | * arch-utils.c (generic_remote_translate_xfer_address): Add | |
6559 | "regcache" and "gdbarch" parameters. | |
6560 | * gdbarch.sh (REMOTE_TRANSLATE_XFER_ADDRESS): Add "regcache" | |
6561 | parameter. Change class to multi-arch. | |
6562 | * gdbarch.h, gdbarch.c: Re-generate. | |
6563 | * remote.c (remote_xfer_memory): Use | |
6564 | gdbarch_remote_translate_xfer_address. | |
8ffd9b1b | 6565 | |
e4846b08 JJ |
6566 | 2003-05-07 Jeff Johnston <[email protected]> |
6567 | ||
6568 | * infrun.c (prev_pc): Move declaration ahead of proceed(). | |
6569 | (proceed): Refresh prev_pc value before resuming. | |
6570 | (stop_stepping): Remove code to refresh prev_pc. | |
6571 | ||
6b71b8ac KW |
6572 | 2003-05-06 Kris Warkentin <[email protected]> |
6573 | ||
6574 | * nto-tdep.c: Removed stray comment. | |
6575 | ||
47979a4b KW |
6576 | 2003-05-06 Kris Warkentin <[email protected]> |
6577 | ||
6578 | * i386-nto-tdep.c: Fix old K&R function definitions. | |
6579 | * nto-tdep.c: Likewise and change stat.h include to gdb_stat.h. | |
6580 | Also change add_show_from_set() call to add_setshow_cmd(). | |
6581 | * nto-tdep.h: Remove PARAMS and grep ^func ARI hits. | |
6582 | ||
00905d52 AC |
6583 | 2003-05-05 Andrew Cagney <[email protected]> |
6584 | ||
6585 | * dummy-frame.c: Include "command.h" and "gdbcmd.h". | |
6586 | (fprint_dummy_frames): New function. | |
6587 | (maintenance_print_dummy_frames): New function. | |
6588 | (_initialize_dummy_frame): Add command "maint print dummy-frames". | |
6589 | * frame.c (fprint_frame_id): Make global. | |
6590 | * frame.h (fprint_frame_id): Declare. | |
6591 | * Makefile.in (dummy-frame.o): Update dependencies. | |
6592 | ||
b1e29e33 AC |
6593 | 2003-05-05 Andrew Cagney <[email protected]> |
6594 | ||
6595 | * gdbarch.sh (DEPRECATED_REGISTER_SIZE): Rename REGISTER_SIZE. | |
6596 | (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Rename | |
6597 | SIZEOF_CALL_DUMMY_WORDS. | |
6598 | (DEPRECATED_CALL_DUMMY_WORDS): Rename CALL_DUMMY_WORDS. | |
6599 | (DEPRECATED_FIX_CALL_DUMMY): Rename FIX_CALL_DUMMY. | |
6600 | (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET): Rename | |
6601 | CALL_DUMMY_BREAKPOINT_OFFSET. | |
6602 | (DEPRECATED_CALL_DUMMY_START_OFFSET): Rename | |
6603 | CALL_DUMMY_START_OFFSET. | |
6604 | (DEPRECATED_CALL_DUMMY_LENGTH): Rename CALL_DUMMY_LENGTH. | |
6605 | * gdbarch.h, gdbarch.c: Re-generate. | |
6606 | * alpha-tdep.c, alphafbsd-tdep.c, arm-linux-tdep.c: Update. | |
6607 | * arm-tdep.c, avr-tdep.c, breakpoint.c, cris-tdep.c: Update. | |
6608 | * dummy-frame.c, dummy-frame.h, frv-tdep.c, gdbarch.c: Update. | |
6609 | * gdbarch.h, gdbarch.sh, h8300-tdep.c, hppa-tdep.c: Update. | |
6610 | * i386-tdep.c, ia64-tdep.c, infcall.c, inferior.h: Update. | |
6611 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Update. | |
6612 | * mips-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Update. | |
6613 | * rs6000-tdep.c, s390-tdep.c, sh-tdep.c, sol-thread.c: Update. | |
6614 | * sparc-tdep.c, target.c, v850-tdep.c, valops.c: Update. | |
6615 | * vax-tdep.c, x86-64-tdep.c, xstormy16-tdep.c: Update. | |
6616 | * config/ia64/tm-ia64.h, config/m68k/tm-vx68.h: Update. | |
6617 | * config/mips/tm-mips.h, config/pa/nm-hppah.h: Update. | |
6618 | * config/pa/tm-hppa.h, config/pa/tm-hppa64.h: Update. | |
6619 | * config/s390/tm-s390.h, config/sparc/tm-sp64.h: Update. | |
6620 | * config/sparc/tm-sparc.h: Update. | |
daea6f0b KW |
6621 | |
6622 | 2003-05-05 Kris Warkentin <[email protected]> | |
6623 | ||
6624 | * configure.tgt: Add i[3456]86-*-nto*. | |
6625 | * i386-nto-tdep.c: New file. i386 specific support for QNX Neutrino. | |
6626 | * nto-tdep.c: New file. Neutrino target support routines. | |
6627 | * nto-tdep.h: New file. Neutrino target header. | |
6628 | * config/tm-qnxnto.h: New file. | |
6629 | * config/i386/i386nto.mt: New file. | |
6630 | * config/i386/tm-i386nto.h: New file. | |
8ffd9b1b | 6631 | |
0ce3d317 AC |
6632 | 2003-05-04 Andrew Cagney <[email protected]> |
6633 | ||
6634 | * gdbthread.h (save_infrun_state): Drop prev_func_name parameter. | |
6635 | (load_infrun_state): Ditto. | |
6636 | (struct thread_info): Drop "prev_func_name" field. | |
6637 | * thread.c (load_infrun_state): Update. | |
6638 | (save_infrun_state): Update. | |
6639 | * infrun.c (prev_func_name): Delete variable. | |
6640 | (init_wait_for_inferior): Do not clear prev_func_name. | |
6641 | (stop_stepping, keep_going, context_switch): Do not swap | |
6642 | prev_func_name. | |
6643 | (handle_inferior_event, check_sigtramp2): Use pc_in_sigtramp | |
6644 | instead of PC_IN_SIGTRAMP. | |
6645 | ||
46654a5b AC |
6646 | 2003-05-04 Andrew Cagney <[email protected]> |
6647 | ||
6648 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
6649 | REGISTER_BYTE with register_offset_hack. | |
6650 | * regcache.c (init_regcache_descr): When REGISTER_BYTE_P, check | |
6651 | that REGISTER_BYTE is consistent with the regcache. | |
6652 | * gdbarch.sh (REGISTER_BYTE): Add a predicate. | |
6653 | * gdbarch.h, gdbarch.c: Regenerate. | |
8ffd9b1b | 6654 | |
14b08c1b MK |
6655 | 2003-05-04 Mark Kettenis <[email protected]> |
6656 | ||
04c8243f MK |
6657 | * i387-tdep.c (fxsave_offset): Add entries for %xmm8-%xmm15. |
6658 | (FXSAVE_ADDR, i387_supply_fxsave): Add support for %xmm8-%xmm15. | |
6659 | ||
14b08c1b MK |
6660 | * i386-linux-nat.c (supply_gregset): Remove unnecessary casts. |
6661 | ||
c7a11e01 JB |
6662 | 2003-05-03 J. Brobecker <[email protected]> |
6663 | ||
6664 | From Thierry Schneider <[email protected]> | |
6665 | * Makfile.in (SUBDIR_MI_OBS): Add dependency on mi-cmd-symbol.o. | |
6666 | (SUBDIR_MI_SRCS): Add mi-cmd-symbol.c. | |
6667 | (mi-cmd-symbol.o): Add rule. | |
6668 | ||
7043d8dc AC |
6669 | 2003-05-03 Andrew Cagney <[email protected]> |
6670 | ||
6671 | * gdbarch.sh (PUSH_DUMMY_CODE): New architecture method, add | |
6672 | comments noteing that it replaces the old FIX_CALL_DUMMY code. | |
6673 | * gdbarch.h, gdbarch.c: Re-generate. | |
6674 | * d10v-tdep.c (d10v_push_dummy_code): New function. | |
6675 | (d10v_gdbarch_init): Set push_dummy_code. | |
6676 | * infcall.c (legacy_push_dummy_code): New function. | |
6677 | (generic_push_dummy_code): New function. | |
6678 | (push_dummy_code): New function. | |
6679 | (call_function_by_hand): Call push_dummy_code. Pass bp_addr, | |
6680 | instead of dummy_addr, to push_dummy_call. Move call to | |
6681 | generic_save_call_dummy_addr to outside of CALL_DUMMY_LOCATION | |
6682 | switch. | |
6683 | * sparc-tdep.c (sparc_gdbarch_init): Mention push_dummy_code. | |
6684 | ||
92bf2b80 AC |
6685 | 2003-05-03 Andrew Cagney <[email protected]> |
6686 | ||
6687 | * disasm.h (print_insn): Declare. | |
6688 | * disasm.c (init_gdb_disassemble_info): New function. | |
6689 | (gdb_disassembly): Call init_gdb_disassemble_info. | |
6690 | (gdb_print_insn): New function. | |
6691 | * v850-tdep.c (v850_scan_prologue): Call gdb_print_insn, instead | |
6692 | of TARGET_PRINT_INSN. Send debug info to "gdb_stdlog". | |
6693 | * mcore-tdep.c: Include "disasm.h" | |
6694 | (mcore_dump_insn): Call gdb_print_insn, instead of TARGET_PRINT_INSN. | |
6695 | * d10v-tdep.c: Include "disasm.h". | |
6696 | (display_trace): Call gdb_print_insn, instead of print_insn. | |
6697 | (print_insn): Delete function. | |
6698 | * printcmd.c: Include "disasm.h". | |
6699 | (print_insn): Delete function. | |
6700 | (print_formatted): Call gdb_print_insn, instead of print_insn. | |
6701 | * Makefile.in (printcmd.o): Update dependencies. | |
6702 | (mcore-tdep.o, d10v-tdep.o): Ditto. | |
8ffd9b1b | 6703 | |
27d94c49 AC |
6704 | 2003-05-02 Andrew Cagney <[email protected]> |
6705 | ||
82de1e5b AC |
6706 | * std-regs.c (value_of_builtin_frame_pc_reg): Delete #ifdef |
6707 | PC_REGNUM, re-indent. | |
6708 | * stack.c (frame_info): Use "pc" for the name of get_frame_pc when | |
6709 | PC_REGNUM isn't set. | |
6710 | ||
27d94c49 AC |
6711 | * gdbarch.sh (REGISTER_SIZE, REGISTER_BYTES): Make optional. |
6712 | * gdbarch.h, gdbarch.c: Re-generate. | |
6713 | * d10v-tdep.c (d10v_gdbarch_init): Do not set register_size, | |
6714 | register_virtual_size, pc_regnum, or register_bytes. | |
6715 | (D10V_PC_REGNUM): Rename _PC_REGNUM. | |
6716 | (d10v_register_type): Use D10V_PC_REGNUM. | |
6717 | (d10v_print_registers_info, d10v_read_pc): Ditto. | |
6718 | (d10v_write_pc, d10v_eva_prepare_to_trace): Ditto. | |
6719 | (d10v_unwind_pc, d10v_frame_prev_register): Ditto. | |
6720 | ||
a9c0dc7f DC |
6721 | 2003-05-02 David Carlton <[email protected]> |
6722 | ||
6723 | * objfiles.c (allocate_objfile): For anonymous objfiles, allocate | |
6724 | the name with mstrsave. | |
6725 | ||
e33d66ec EZ |
6726 | 2003-05-02 Elena Zannoni <[email protected]> |
6727 | ||
6728 | * charset.c (GDB_DEFAULT_TARGET_CHARSET, | |
6729 | GDB_DEFAULT_HOST_CHARSET): Move to earlier in the file. | |
6730 | (host_charset_name, target_charset_name): New vars for use by | |
6731 | set/show commands. | |
6732 | (host_charset_enum, target_charset_enum): New enums for set/show | |
6733 | commands. | |
6734 | (set_charset_sfunc, set_host_charset_sfunc, | |
6735 | set_target_charset_sfunc): New functions. | |
6736 | (set_host_charset, set_target_charset): Make static. | |
6737 | (list_charsets, set_host_charset_command, | |
6738 | set_target_charset_command): Delete functions. | |
6739 | (show_charset_command): Rewrite as.... | |
6740 | (show_charset): Hook this up with the set/show command mechanism. | |
6741 | (_initialize_charset): Change names of charsets to match the | |
6742 | set/show enums. Use host_charset_name and target_charset_name. | |
6743 | Use set/show mechanism for charset, host-charset, target-charset | |
6744 | commands. Do not make 'show host-charset' and 'show | |
6745 | target-charset' be aliases of 'show charset'. | |
6746 | ||
6747 | * charset.h (set_host_charset, set_target_charset): Don't export, | |
6748 | they are not used outside the file. | |
6749 | ||
2b6fd0d8 AC |
6750 | 2003-05-01 Andrew Cagney <[email protected]> |
6751 | ||
6752 | * disasm.c (gdb_disassemble_from_exec): Delete global variable. | |
6753 | (gdb_disassembly): Make "di" non static, always initialize and | |
6754 | cleanup. Always use dis_asm_read_memory. | |
6755 | (gdb_dis_asm_read_memory): Delete function. | |
6756 | ||
6ae2f580 AC |
6757 | 2003-05-01 Andrew Cagney <[email protected]> |
6758 | ||
6759 | * d10v-tdep.c (d10v_frame_align): Replace d10v_stack_align. | |
6760 | (d10v_gdbarch_init): Set frame_align instead of stack_align. | |
6761 | ||
810ecf9f AC |
6762 | 2003-04-30 Andrew Cagney <[email protected]> |
6763 | ||
6764 | * gdbarch.sh (deprecated_tm_print_insn_info): Rename | |
6765 | "tm_print_insn_info". | |
6766 | (TARGET_PRINT_INSN_INFO): Delete macro. | |
6767 | (dis_asm_read_memory): Delete function declaration. | |
6768 | (dis_asm_memory_error, dis_asm_print_address): Ditto. | |
6769 | (tm_print_insn_info): Delete variable definition. | |
6770 | (_initialize_gdbarch): Do not initialize "tm_print_insn_info". | |
6771 | * gdbarch.h, gdbarch.c: Re-generate. | |
6772 | * d10v-tdep.c (display_trace): Replace "tm_print_insn_info" with | |
6773 | "deprecated_tm_print_insn_info". | |
6774 | * mcore-tdep.c (mcore_dump_insn): Ditto. | |
6775 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
6776 | * sparc-tdep.c (_initialize_sparc_tdep): Ditto. | |
6777 | * v850-tdep.c (v850_scan_prologue, v850_gdbarch_init): Ditto. | |
6778 | * ia64-tdep.c (_initialize_ia64_tdep): Ditto. | |
6779 | * printcmd.c (print_insn): Use "deprecated_tm_print_insn_info" | |
6780 | instead of TARGET_PRINT_INSN_INFO, add comment. | |
6781 | * s390-tdep.c (s390_get_frame_info): Instead of | |
6782 | "dis_asm_read_memory", use "deprecated_tm_print_insn_info". | |
6783 | (s390_check_function_end, s390_is_sigreturn): Ditto. | |
6784 | * corefile.c (dis_asm_read_memory): Move to "disasm.c". | |
6785 | (dis_asm_memory_error, dis_asm_print_address): Ditto. | |
6786 | * disasm.c: Include "gdbcore.h". | |
6787 | (_initialize_disasm): New function, initialize | |
6788 | "deprecated_tm_print_insn_info". | |
6789 | (deprecated_tm_print_insn_info): New variable. | |
6790 | (dis_asm_read_memory): Moved from "corefile.c", made static. | |
6791 | (dis_asm_print_address, dis_asm_memory_error): Ditto. | |
6792 | * Makefile.in (disasm.o): Update dependencies. | |
6793 | ||
07020390 AC |
6794 | 2003-04-30 Andrew Cagney <[email protected]> |
6795 | ||
6796 | * sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1. | |
6797 | ||
a9fa03de AF |
6798 | 2003-04-29 Adam Fedor <[email protected]> |
6799 | ||
6800 | * eval.c (evaluate_subexp_standard): Handle ObjC ops. | |
6801 | * infcall.c (find_function_addr): Make non-static. | |
6802 | * infcall.h (find_function_addr): Declare. | |
6803 | * Makefile.in (eval.o): Update dependencies. | |
6804 | ||
1bae87b9 AF |
6805 | 2003-04-28 Adam Fedor <[email protected]> |
6806 | ||
6807 | * symtab.c (symbol_find_demangled_name): Check for and demangle | |
6808 | ObjC symbols. | |
6809 | (symbol_init_demangled_name): Init for language_objc as well. | |
6810 | ||
0ba6dca9 AC |
6811 | 2003-04-28 Andrew Cagney <[email protected]> |
6812 | ||
6813 | * gdbarch.sh (DEPRECATED_TARGET_READ_FP): Replace TARGET_READ_FP. | |
6814 | (DEPRECATED_FP_REGNUM): Replace FP_REGNUM. | |
6815 | * gdbarch.h, gdbarch.c: Re-generate. | |
6816 | * infcall.c (call_function_by_hand): Use DEPRECATED_FP_REGNUM, | |
6817 | DEPRECATED_TARGET_READ_FP, or "sp" to create the dummy frame ID. | |
6818 | * inferior.h (deprecated_read_fp): Rename read_fp. | |
6819 | (generic_target_read_fp): Delete declaration. | |
6820 | * regcache.c (generic_target_read_fp): Delete function. | |
6821 | (deprecated_read_fp): Replace read_fp, use | |
6822 | DEPRECATED_TARGET_READ_FP or DEPRECATED_FP_REGNUM. | |
6823 | * d10v-tdep.c (d10v_read_fp): Delete function. | |
6824 | (d10v_gdbarch_init): Do not set deprecated_read_fp. | |
6825 | ||
6826 | * sparc-tdep.c (sparc_gdbarch_init): Do not set | |
6827 | deprecated_target_read_fp to generic_target_read_fp. | |
6828 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
6829 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
6830 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
6831 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
6832 | ||
6833 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Set | |
6834 | deprecated_fp_regnum. | |
6835 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
6836 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
6837 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
6838 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
6839 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
6840 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
6841 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
6842 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
6843 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
6844 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
6845 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
6846 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
6847 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
6848 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
6849 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
6850 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
6851 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
6852 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
6853 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
6854 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
6855 | ||
6856 | * x86-64-tdep.c (x86_64_init_abi): Set deprecated_target_read_fp. | |
6857 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
6858 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
6859 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
6860 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
6861 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
6862 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
6863 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
6864 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
6865 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
6866 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
6867 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
6868 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
6869 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
6870 | ||
6871 | * vax-tdep.c (vax_frame_init_saved_regs): Replace FP_REGNUM with | |
6872 | DEPRECATED_FP_REGNUM. | |
6873 | (vax_push_dummy_frame, vax_pop_frame): Ditto. | |
6874 | * std-regs.c (value_of_builtin_frame_fp_reg): Ditto. | |
6875 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
6876 | (sparc_push_dummy_frame, sparc64_read_fp): Ditto. | |
6877 | (sparc32_register_virtual_type): Ditto. | |
6878 | * sh-tdep.c (sh64_frame_chain): Ditto. | |
6879 | (sh64_get_saved_register, sh64_pop_frame): Ditto. | |
6880 | (sh_nofp_frame_init_saved_regs): Ditto. | |
6881 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
6882 | (sh_fp_frame_init_saved_regs): Ditto. | |
6883 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
6884 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
6885 | * procfs.c (procfs_fetch_registers): Ditto. | |
6886 | (procfs_store_registers): Ditto. | |
6887 | * ns32knbsd-nat.c (fetch_inferior_registers): Ditto. | |
6888 | (store_inferior_registers, fetch_core_registers): Ditto. | |
6889 | (fetch_kcore_registers, clear_regs): Ditto. | |
6890 | * ns32k-tdep.c (ns32k_frame_init_saved_regs): Ditto. | |
6891 | (ns32k_push_dummy_frame, ns32k_pop_frame): Ditto. | |
6892 | * nlm/i386.h (DEPRECATED_FP_REGNUM): Ditto. | |
6893 | * nlm/i386.c (do_status): Ditto. | |
6894 | * mipsv4-nat.c (supply_gregset): Ditto. | |
6895 | * mips-tdep.c: Ditto for comments. | |
6896 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
6897 | (store_inferior_registers, fetch_core_registers): Ditto. | |
6898 | * m68k-tdep.c (m68k_push_dummy_frame): Ditto. | |
6899 | (m68k_pop_frame, m68k_frame_init_saved_regs): Ditto. | |
6900 | * i386-tdep.c (i386_frame_init_saved_regs): Ditto. | |
6901 | (i386_do_pop_frame, i386_register_type): Ditto. | |
6902 | * hppa-tdep.c (hppa_frame_chain): Ditto. | |
6903 | (hppa_push_dummy_frame, find_dummy_frame_regs): Ditto. | |
6904 | (hppa_pop_frame, hppa_read_fp): Ditto. | |
6905 | (skip_prologue_hard_way, hppa_frame_find_saved_regs): Ditto. | |
6906 | * cris-tdep.c (cris_examine, cris_pop_frame): Ditto. | |
6907 | * config/vax/nm-vax.h (REGISTER_U_ADDR): Ditto. | |
6908 | * config/sparc/tm-sparc.h (DEPRECATED_FP_REGNUM): Ditto. | |
6909 | * config/sparc/tm-sp64.h (DEPRECATED_FP_REGNUM): Ditto. | |
6910 | * config/s390/tm-s390.h (DEPRECATED_FP_REGNUM): Ditto. | |
6911 | * config/pa/tm-hppa64.h (DEPRECATED_FP_REGNUM): Ditto. | |
6912 | * config/ia64/tm-ia64.h (DEPRECATED_FP_REGNUM): Ditto. | |
6913 | * blockframe.c: Ditto for comments. | |
6914 | * arch-utils.h: Ditto for comments. | |
6915 | * arch-utils.c (legacy_virtual_frame_pointer): Ditto. | |
6916 | * alphanbsd-tdep.c (fetch_core_registers): Ditto. | |
6917 | * alphabsd-nat.c (fetch_inferior_registers): Ditto. | |
6918 | * alpha-tdep.h: Ditto for comments. | |
6919 | * alpha-tdep.c (alpha_cannot_fetch_register): Ditto. | |
6920 | (alpha_cannot_store_register): Ditto. | |
6921 | (alpha_push_dummy_frame): Ditto. | |
6922 | * alpha-nat.c (supply_gregset): Ditto. | |
6923 | ||
6924 | * config/sparc/tm-sp64.h (DEPRECATED_TARGET_READ_FP): Update. | |
6925 | * config/pa/tm-hppa64.h (DEPRECATED_TARGET_READ_FP): Update. | |
6926 | * config/sparc/tm-sparc.h: Update comment. | |
6927 | ||
6928 | * hppa-tdep.c (hppa_init_extra_frame_info): Use | |
6929 | deprecated_read_fp instead of TARGET_READ_FP. | |
6930 | (hppa_init_extra_frame_info, hppa_frame_chain): Ditto. | |
6931 | (hppa_push_dummy_frame, hppa_read_fp): Ditto. | |
6932 | * sparc-tdep.c (sparc_init_extra_frame_info): Use | |
6933 | deprecated_read_fp instead of read_fp. | |
6934 | * s390-tdep.c (s390_push_arguments): Ditto. | |
6935 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
6936 | * frame.h: Ditto in comments. | |
6937 | * frame.c (legacy_get_prev_frame): Ditto. | |
6938 | * dummy-frame.c (dummy_frame_this_id): Ditto. | |
6939 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
6940 | ||
d7a27068 AC |
6941 | 2003-04-28 Andrew Cagney <[email protected]> |
6942 | ||
6943 | * gdbarch.sh (deprecated_tm_print_insn): Rename tm_print_insn. | |
6944 | * gdbarch.h, gdbarch.c: Re-generate. | |
6945 | * xstormy16-tdep.c (_initialize_xstormy16_tdep): Update. | |
6946 | * vax-tdep.c (_initialize_vax_tdep): Update. | |
6947 | * v850-tdep.c (_initialize_v850_tdep): Update. | |
6948 | * sparc-tdep.c (_initialize_sparc_tdep): Update. | |
6949 | * s390-tdep.c (_initialize_s390_tdep): Update. | |
6950 | * ns32k-tdep.c (_initialize_ns32k_tdep): Update. | |
6951 | * mn10300-tdep.c (_initialize_mn10300_tdep): Update. | |
6952 | * mips-tdep.c (_initialize_mips_tdep): Update. | |
6953 | * mcore-tdep.c (_initialize_mcore_tdep): Update. | |
6954 | * m68k-tdep.c (_initialize_m68k_tdep): Update. | |
6955 | * ia64-tdep.c (_initialize_ia64_tdep): Update. | |
6956 | * hppa-tdep.c (_initialize_hppa_tdep): Update. | |
6957 | * h8300-tdep.c (_initialize_h8300_tdep): Update. | |
6958 | * frv-tdep.c (_initialize_frv_tdep): Update. | |
6959 | * cris-tdep.c (cris_delayed_get_disassembler): Update. | |
6960 | (_initialize_cris_tdep): Update. | |
6961 | * arch-utils.c (legacy_print_insn): Update. | |
6962 | * alpha-tdep.c (_initialize_alpha_tdep): Update. | |
6963 | ||
d2630e69 AF |
6964 | 2003-04-26 Adam Fedor <[email protected]> |
6965 | ||
6966 | * linespec.c (decode_objc): New function to decode ObjC calls | |
6967 | (decode_line_1): Check for ObjC calls (using decode_objc) | |
6968 | * Makefile (linespec.o): Update dependencies. | |
6969 | ||
3086aeae DJ |
6970 | 2003-04-26 Daniel Jacobowitz <[email protected]> |
6971 | ||
6972 | * breakpoint.h (struct breakpoint_ops): New. | |
6973 | (struct breakpoint): Add ops member. | |
6974 | ||
6975 | * breakpoint.c (print_bp_stop_message, print_one_breakpoint) | |
6976 | (mention): Use new breakpoint ops member. | |
6977 | (set_raw_breakpoint): Initialize ops field to NULL. | |
6978 | (print_exception_catchpoint, print_one_exception_catchpoint) | |
6979 | (print_mention_exception_catchpoint, handle_gnu_v3_exceptions): New. | |
6980 | (gnu_v3_exception_catchpoint_ops): New. | |
6981 | (catch_exception_command_1): Call handle_gnu_v3_exceptions. | |
6982 | ||
1fbec6c3 AF |
6983 | 2003-04-25 Adam Fedor <[email protected]> |
6984 | ||
6985 | * Makefile.in (COMMON_OBS): Add objc-lang.o | |
6986 | ||
0ef21242 AC |
6987 | 2003-04-25 Andrew Cagney <[email protected]> |
6988 | ||
6989 | * d10v-tdep.c (print_insn): Delete function. | |
6990 | (display_trace): Use TARGET_PRINT_INSN. | |
6991 | (_initialize_d10v_tdep): Do not set tm_print_insn. | |
6992 | (d10v_gdbarch_init): Set print_insn. | |
6993 | ||
f75493ed AC |
6994 | 2003-04-25 Andrew Cagney <[email protected]> |
6995 | ||
6996 | * d10v-tdep.c (d10v_extract_return_value): Delete call to printf. | |
6997 | (_initialize_d10v_tdep): Use add_setshow_boolean_cmd. | |
6998 | (d10v_frame_unwind_cache): Use FRAME_OBSTACK_CALLOC. | |
6999 | (NR_DMAP_REGS, A0_REGNUM): Delete, replaced by ... | |
7000 | (nr_dmap_regs, a0_regnum): ... new functions. | |
7001 | (d10v_print_registers_info): Use a0_regnum, use register_size. | |
7002 | (d10v_register_byte): Delete function. | |
7003 | (d10v_register_raw_size): Delete function. | |
7004 | (d10v_register_type): Use a0_regnum. | |
7005 | (d10v_print_registers_info): Use a0_regnum. | |
7006 | (D10V_SP_REGNUM): Rename _SP_REGNUM, replace it and SP_REGNUM. | |
7007 | (d10v_gdbarch_init): Do not set register_byte or | |
7008 | register_raw_size, use D10V_SP_REGNUM to set sp_regnum. | |
7009 | (d10v_pointer_to_address): Use extract_unsigned_integer instead of | |
7010 | extract_address. | |
7011 | (trace_command): Use XCALLOC. | |
7012 | (print_insn): Delete reference to tm_print_insn. | |
7013 | (saved_regs_unwinder): Use store_unsigned_integer instead of | |
7014 | store_address. | |
7015 | * frame.h (FRAME_OBSTACK_CALLOC): Define | |
7016 | ||
2202b100 DC |
7017 | 2003-04-25 David Carlton <[email protected]> |
7018 | ||
7019 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/maint.exp. | |
7020 | ||
4e45ca2e AF |
7021 | 2003-04-24 Adam Fedor <[email protected]> |
7022 | ||
7023 | * objc-lang.c: Include "valprint.h" | |
7024 | * Makefile.in (objc-lang.o): Update dependencies. | |
7025 | ||
93de3e7f AF |
7026 | 2003-04-24 Adam Fedor <[email protected]> |
7027 | ||
8ffd9b1b | 7028 | * objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove |
93de3e7f AF |
7029 | architecture dependant compilation and mark as unimplemented |
7030 | (until they get put in the gdbarch vector). | |
7031 | ||
0f20eeea DC |
7032 | 2003-04-23 David Carlton <[email protected]> |
7033 | ||
7034 | * cp-support.c (cp_find_first_component): Accept 'operator' in | |
7035 | more locations. | |
7036 | ||
74cfe982 AC |
7037 | 2003-04-23 Andrew Cagney <[email protected]> |
7038 | ||
7039 | * infcall.c (call_function_by_hand): Eliminate redundant | |
7040 | indentation. Move "saved_async" and "old_cleanups" to where they | |
7041 | are needed. | |
8ffd9b1b | 7042 | |
52557533 AC |
7043 | 2003-04-23 Andrew Cagney <[email protected]> |
7044 | ||
7045 | * infcall.c (call_function_by_hand): Eliminate the variables "rc" | |
7046 | and "buffer". Move the "name" code to where it is needed. | |
7047 | ||
158775de AC |
7048 | 2003-04-23 Andrew Cagney <[email protected]> |
7049 | ||
7050 | * infcall.c (call_function_by_hand): Move variables "start_sp", | |
7051 | "dummy", "sizeof_dummy1" and "dummy1" and corresponding dummy call | |
7052 | code to ON_STACK switch branch. | |
8ffd9b1b | 7053 | |
ebc7896c AC |
7054 | 2003-04-23 Andrew Cagney <[email protected]> |
7055 | ||
7056 | * infcall.c (call_function_by_hand): Make declaration of "i", | |
7057 | "sal", "bpt" and "old_sp" more local to their use. Delete #if | |
7058 | lint. | |
7059 | ||
d727590f AC |
7060 | 2003-04-23 Andrew Cagney <[email protected]> |
7061 | ||
7062 | * infcall.c (call_function_by_hand): Delete variable | |
7063 | "n_method_args". Localize "param_type"'s declaration to the loop | |
7064 | that it is used. Reinstate code assigning to said variable - | |
7065 | deleted on 2002-06-14. Rationalize calls to value_args_coerce. | |
7066 | Rationalize code using "param_type". | |
7067 | ||
d585e13a AC |
7068 | 2003-04-22 Andrew Cagney <[email protected]> |
7069 | ||
7070 | * infcall.c (call_function_by_hand): Use new variable "bp_addr" to | |
7071 | compute the breakpoint address. Only call FIX_CALL_DUMMY when | |
7072 | ON_STACK. Eliminate the variable "addr". Do not pass "real_pc" | |
7073 | to DEPRECATED_PUSH_RETURN_ADDRESS. | |
7074 | ||
051caad9 KB |
7075 | 2003-04-22 Kevin Buettner <[email protected]> |
7076 | ||
7077 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUM | |
7078 | on the DWARF2 register number prior to fetching a register. | |
7079 | ||
77296879 JB |
7080 | 2003-04-22 J. Brobecker <[email protected]> |
7081 | ||
7082 | * config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro. | |
7083 | Update all the tests using SOFT_FLOAT considering the fact that | |
8ffd9b1b | 7084 | this macro was always set to 0. |
77296879 JB |
7085 | * config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT |
7086 | considering the fact that this macro was always set to 0. | |
7087 | * hppa-tdep.h (hppa_store_return_value): Likewise. | |
7088 | (hppa_extract_return_value): Likewise. | |
7089 | ||
4252f1df JB |
7090 | 2003-04-22 J. Brobecker <[email protected]> |
7091 | ||
7092 | * config/pa/tm-hppa.h: Remove obsolete code, was used by | |
7093 | the hppa-pro target only. | |
7094 | ||
14604c6b JB |
7095 | 2003-04-21 J. Brobecker <[email protected]> |
7096 | ||
7097 | Ongoing multi-arch conversion effort for HP/UX: | |
7098 | * config/pa/tm-hppa.h: Move all macro that are no longer | |
7099 | defined now that GDB_MULTI_ARCH is now set to 1 from here... | |
7100 | * config/pa/tm-hppa64.h: ... to here (hppa64 is not multiarch'ed yet). | |
7101 | ||
77eb01d1 JB |
7102 | 2003-04-21 J. Brobecker <[email protected]> |
7103 | ||
7104 | * config/pa/tm-hppa.h: Obsolete a section that was only used | |
7105 | for hppa-pro. | |
7106 | ||
61995b3b JB |
7107 | 2003-04-21 J. Brobecker <[email protected]> |
7108 | ||
7109 | Ongoing multi-arch conversion for HP/UX. | |
7110 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Set to 1. Do not define | |
7111 | if already defined (allows hppa64 to stay non-multiarched for now). | |
7112 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Define. | |
7113 | ||
4aa79dcc AC |
7114 | 2003-04-21 Andrew Cagney <[email protected]> |
7115 | ||
7116 | * frame.c (frame_id_eq): Fail when the code_addr's do not match. | |
7117 | ||
0f751ff2 AC |
7118 | 2003-04-21 Andrew Cagney <[email protected]> |
7119 | ||
7120 | * i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with | |
7121 | "i386_num_mmx_regs". | |
7122 | ||
04714b91 AC |
7123 | 2003-04-21 Andrew Cagney <[email protected]> |
7124 | ||
7125 | * infcall.c: New file. | |
7126 | * infcall.h: New file. | |
7127 | * valarith.c: Include "infcall.h". | |
7128 | * scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto. | |
7129 | * eval.c, ada-valprint.c, ada-lang.c: Ditto. | |
7130 | * Makefile.in (valarith.o, scm-lang.o): Update dependencies. | |
7131 | (objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies. | |
7132 | (eval.o, ada-valprint.o, ada-lang.o): Update dependencies. | |
7133 | (SFILES): Add "infcall.c" | |
7134 | (COMMON_OBS): Add "infcall.o". | |
7135 | (infcall.o): Specify dependencies. | |
7136 | * value.h (call_function_by_hand): Delete declaration. | |
7137 | * inferior.h (run_stack_dummy): Delete declaration. | |
7138 | * infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c". | |
7139 | (run_stack_dummy): Move to "infcall.c", merged into | |
7140 | call_function_by_hand. | |
7141 | * valops.c (call_function_by_hand): Moved to "infcall.c". | |
7142 | (find_function_addr, value_arg_coerce): Ditto. | |
7143 | (unwindonsignal_p, coerce_float_to_double): Ditto. | |
7144 | (_initialize_valops): Move "set/show coerce-float-to-double", and | |
7145 | "set/show unwindonsignal" commands to "infcall.c". | |
7146 | * v850-tdep.c, target.h: Update comments. | |
7147 | * sparc-tdep.c (sparc_fix_call_dummy): Update comments. | |
7148 | * sh-tdep.c (sh_init_extra_frame_info): Update comments. | |
7149 | (sh64_init_extra_frame_info): Update comments. | |
7150 | * mn10300-tdep.c: Update comments. | |
7151 | * mcore-tdep.c (mcore_init_extra_frame_info): Update comments. | |
7152 | * config/sparc/tm-sparc.h: Update comments. | |
7153 | * breakpoint.h: Update comments. | |
7154 | * avr-tdep.c (avr_init_extra_frame_info): Update comments. | |
7155 | * arm-tdep.c: Update comment. | |
7156 | ||
f9d3c2a8 MK |
7157 | 2003-04-19 Mark Kettenis <[email protected]> |
7158 | ||
c40e1eab MK |
7159 | * i386-tdep.c (i386_num_register_names): New variable. |
7160 | (i386_num_mmx_regs): Renamed from mmx_num_regs. | |
7161 | (MM0_REGNUM): Remove redundant parentheses in define. | |
7162 | (i386_mmx_regnum_p): Use i386_mmx_regnum instead of mmx_num_regs. | |
7163 | (i386_fp_regnum_p, i386_fpc_regnum_p, i386_sse_regnum_p, | |
7164 | i386_mxcsr_regnum_p): Remove redundant parentheses. | |
7165 | (i386_register_name): Use i386_num_register_names. | |
8ffd9b1b | 7166 | |
94ea66b3 MK |
7167 | * i386-tdep.c (i386_extract_return_value, |
7168 | i386_store_return_value): Correct check for availability of | |
7169 | floating-point registers. | |
7170 | ||
54299a1d MK |
7171 | * i386-tdep.c (i386_frame_num_args): Remove function. |
7172 | (i386_gdbarch_init): Set frame_num_args to frame_num_args_unknown. | |
7173 | ||
c86c27af MK |
7174 | * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Renamed from |
7175 | mmx_regnum_to_fp_regnum. Adjust all callers. | |
7176 | ||
f9d3c2a8 MK |
7177 | * i386-tdep.c (i386_get_longjmp_target): Use |
7178 | TYPE_LENGTH(builtin_type_void_func_ptr) instead of TARGET_PTR_BIT | |
7179 | and TARGET_CHAR_BIT. Use extract_typed_address instead of | |
7180 | extract_address. | |
7181 | ||
94ba74a9 MK |
7182 | 2003-04-19 Mark Kettenis <[email protected]> |
7183 | ||
7184 | * core-regset.c: Update comments to reflect reality. Re-order | |
7185 | includes. | |
7186 | (fetch_core_registers): Use switch instead of if. Remove | |
7187 | redundant prototype. | |
7188 | ||
4074e13c JB |
7189 | 2003-04-18 Jim Blandy <[email protected]> |
7190 | ||
7191 | * s390-tdep.c (s390_frame_align): New function. | |
fbe586ae | 7192 | (s390_gdbarch_init): Register it with the gdbarch object. |
4074e13c | 7193 | |
e3ab4aba RH |
7194 | 2003-04-17 Richard Henderson <[email protected]> |
7195 | ||
7196 | * remote.c (minitelnet): Don't redeclare escape_count, echo_check. | |
7197 | ||
627bf7c1 EZ |
7198 | 2003-04-17 Michael Snyder <[email protected]> |
7199 | Karen Bennet <[email protected]> | |
7200 | ||
7201 | Committed by Elena Zannoni <[email protected]> | |
7202 | * gdb_gcore.sh: New script to create a core dump of a process. | |
8ffd9b1b | 7203 | |
514621a9 EZ |
7204 | 2003-04-17 Elena Zannoni <[email protected]> |
7205 | ||
7206 | * values.c (value_being_returned): Don't fetch the return | |
fbe586ae | 7207 | value if the return type is void. |
514621a9 | 7208 | |
b4acd559 JJ |
7209 | 2003-04-17 Jeff Johnston <[email protected]> |
7210 | ||
7211 | * thread-db.c: Reindented. | |
8ffd9b1b | 7212 | |
530b167e | 7213 | 2003-04-17 Jeff Johnston <[email protected]> |
8ffd9b1b AJ |
7214 | |
7215 | * gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t, | |
7216 | td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t | |
530b167e JJ |
7217 | as types. |
7218 | ||
0a48e7e8 MS |
7219 | |
7220 | ||
7221 | ||
7222 | ||
7223 | ||
7224 | ||
7225 | ||
7226 | ||
7227 | ||
7228 | ||
7229 | ||
7230 | ||
7231 | ||
7232 | ||
7233 | ||
7234 | ||
7235 | ||
7236 | ||
7237 | ||
7238 | ||
7239 | ||
7240 | ||
7241 | ||
8ffd9b1b | 7242 | |
ab9fe00e KB |
7243 | 2003-04-16 Kevin Buettner <[email protected]> |
7244 | ||
610a3745 | 7245 | * rs6000-tdep.c (rs6000_gdbarch_init): For the SysV ABI, set |
ab9fe00e KB |
7246 | the size of ``long double'' to 16, instead of 8. |
7247 | ||
e64a344c MK |
7248 | 2003-04-16 Mark Kettenis <[email protected]> |
7249 | ||
7250 | * i386-linux-nat.c: Add some whitespace to make things more | |
7251 | readable. | |
7252 | (fetch_register, store_register, fetch_inferior_registers, | |
7253 | store_inferior_registers): Get rid of assignment in if-statement. | |
7254 | (store_register): Fix typo in error message. | |
7255 | ||
25d41031 AC |
7256 | 2003-04-16 Andrew Cagney <[email protected]> |
7257 | ||
7258 | * utils.c (xmmalloc): Always allocate something, matches | |
7259 | libiberty/xmalloc's semantics. | |
7260 | (xmrealloc, xmcalloc): Ditto. | |
7261 | ||
c50901fd AC |
7262 | 2003-04-16 Andrew Cagney <[email protected]> |
7263 | ||
7264 | * frame.c (get_prev_frame): Do not initialize "unwind" or "type", | |
7265 | update comments. | |
7266 | (get_frame_type): Initialize unwind and type when needed. | |
7267 | (get_frame_id, frame_register_unwind): Ditto. | |
7268 | ||
f81824a9 AC |
7269 | 2003-04-16 Andrew Cagney <[email protected]> |
7270 | ||
7271 | * NEWS: Mention that sparclet-*-* and sparclite-*-* have been made | |
7272 | obsolete. | |
7273 | * sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code. | |
7274 | * sparcl-stub.c: Obsolete file. | |
7275 | * config/sparc/tm-sparclet.h: Obsolete file. | |
7276 | * sparclet-stub.c: Obsolete file. | |
7277 | * sparclet-rom.c: Obsolete file. | |
7278 | * sparcl-tdep.c: Obsolete file. | |
7279 | * config/sparc/tm-sparclite.h: Obsolete file. | |
7280 | * config/sparc/sparclite.mt: Obsolete file. | |
7281 | * config/sparc/sparclet.mt: Obsolete file. | |
7282 | * configure.tgt: Make sparclet-*-*, sparclite-*-*, and | |
7283 | sparc86x-*-* obsolete. | |
7284 | ||
9219021c DC |
7285 | 2003-04-15 David Carlton <[email protected]> |
7286 | ||
7287 | * Makefile.in (SFILES): Add cp-namespace.c. | |
7288 | (COMMON_OBS): Add cp-namespace.o. | |
7289 | (block.o): Depend on gdb_obstack_h and cp_support_h. | |
7290 | (buildsym.o): Depend on cp_support_h. | |
7291 | (cp-namespace.o): New. | |
7292 | (cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h, | |
7293 | gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h. | |
7294 | (dwarf2read.o): Depend on cp_support_h. | |
7295 | * jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE. | |
7296 | * dwarf2read.c (process_die): Set processing_has_namespace_info, | |
7297 | processing_current_namespace. | |
7298 | (read_namespace): Update processing_current_namespace; check for | |
7299 | anonymous namespaces. | |
7300 | (dwarf2_name): New function. | |
7301 | (dwarf2_extension): Ditto. | |
7302 | * cp-support.h: Update copyright, contributors. | |
7303 | Add inclusion guards. | |
7304 | Add opaque declaration for structs obstack, block, symbol. | |
7305 | (struct using_direct): New struct. | |
7306 | Add declarations for cp_find_first_component, | |
7307 | cp_entire_prefix_len, processing_has_namespace_info, | |
7308 | processing_current_namespace, cp_is_anonymous, | |
7309 | cp_add_using_directive, cp_initialize_namespace, | |
7310 | cp_finalize_namespace, cp_set_block_scope, | |
7311 | cp_scan_for_anonymous_namespaces. | |
7312 | * cp-namespace.c: New file. | |
7313 | * cp-support.c: Update copyright. | |
7314 | Include ctype.h, gdb_assert.h, gdbcmd.h. | |
7315 | New variable maint_cplus_cmd_list. | |
7316 | (cp_find_first_component): New function. | |
7317 | (cp_entire_prefix_len, maint_cplus_command) | |
7318 | (first_component_command, _initialize_cp_support): Ditto. | |
7319 | * buildsym.c: Include cp-support.h. | |
7320 | New variable using_list. | |
7321 | (add_symbol_to_list): Check for anonymous namespaces. | |
7322 | (finish_block): Set block's scope. | |
7323 | (start_symtab): Initialize C++ namespace support. | |
7324 | (end_symtab): Finalize C++ namespace support. | |
7325 | * block.h: Add opaque declarations for structs | |
7326 | block_namespace_info, using_direct, and obstack. | |
7327 | Add declarations for block_set_scope and block_set_using. | |
7328 | (struct block): Add 'language_specific' member. | |
7329 | (BLOCK_NAMESPACE): New macro. | |
7330 | * block.c: Include gdb_obstack.h and cp-support.h. | |
7331 | (struct block_namespace_info): New struct. | |
7332 | (block_set_scope): New function. | |
7333 | (block_set_using, block_initialize_namespace): Ditto. | |
7334 | ||
d5a921c9 KB |
7335 | 2003-04-14 Kevin Buettner <[email protected]> |
7336 | ||
7337 | * solib-svr4.c (svr4_have_link_map_offsets): New function. | |
7338 | (locate_base): Return early if there aren't any link map offsets. | |
7339 | (svr4_solib_create_inferior_hook): Warn if shared library support | |
7340 | is unavailable. | |
7341 | ||
d2a52b27 DC |
7342 | 2003-04-14 David Carlton <[email protected]> |
7343 | ||
7344 | * symtab.c (symbol_set_names): Add prefix when storing Java names | |
7345 | in hash table. Fix for PR java/1039. | |
7346 | ||
980cae7a DC |
7347 | 2003-04-14 David Carlton <[email protected]> |
7348 | ||
7349 | * symtab.c (symbol_set_names): Rename 'name' arg to | |
7350 | 'linkage_name', and 'tmpname' variable to 'linkage_name_copy'. | |
7351 | * symtab.h: Change 'name' argument in declaration of | |
7352 | symbol_set_names to 'linkage_name'. | |
7353 | (SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'. | |
7354 | ||
e227b13c AC |
7355 | 2003-04-14 Andrew Cagney <[email protected]> |
7356 | ||
7357 | * mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE, | |
7358 | return the fully sign-extended register value. | |
7359 | (get_frame_pointer): Ditto. | |
7360 | (mips_pop_frame): Initialize "proc_desc" after checking for a | |
7361 | dummy frame. | |
7362 | ||
36712a20 AC |
7363 | 2003-04-14 Andrew Cagney <[email protected]> |
7364 | ||
7365 | * mips-tdep.c (mips_push_dummy_frame): Delete function. | |
7366 | (MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros. | |
7367 | (FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro. | |
7368 | (mips_push_register): Delete function. | |
7369 | (mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and | |
7370 | PUSH_FP_REGNUM. | |
7371 | ||
44ea7b70 JB |
7372 | 2003-04-14 Jim Blandy <[email protected]> |
7373 | ||
7374 | * symmisc.c: #include "gdb_regex.h". | |
7375 | (maintenance_list_symtabs, maintenance_list_psymtabs): New | |
7376 | functions. | |
7377 | * maint.c (maintenance_list_command): New function. | |
7378 | (_initialize_maint_cmds): Register the above as commands. | |
7379 | * symtab.h (maintenance_list_symtabs, | |
7380 | maintenance_list_psymtabs): New declarations. | |
7381 | * cli/cli-cmds.c (maintenancelistlist): New variable. | |
7382 | (init_cmd_lists): Initialize it. | |
7383 | * cli/cli-cmds.h (maintenancelistlist): New declaration. | |
7384 | * gdbcmd.h (maintenancelistlist): New declaration. | |
7385 | * Makefile.in (symmisc.o): Update dependencies. | |
7386 | ||
2d0c7962 EZ |
7387 | 2003-04-14 Elena Zannoni <[email protected]> |
7388 | ||
7389 | * s390-nat.c: Include asm/types.h for addr_t. | |
7390 | ||
1947a811 CV |
7391 | 2003-04-14 Corinna Vinschen <[email protected]> |
7392 | ||
7393 | * cp-valprint.c (cp_print_class_method): Call unpack_pointer() with | |
7394 | actually incoming type. | |
7395 | ||
adb616d7 AC |
7396 | 2003-04-13 Andrew Cagney <[email protected]> |
7397 | ||
7398 | * ppc-linux-tdep.c: Use get_frame_base, get_frame_pc, | |
7399 | get_next_frame and get_frame_saved_regs. | |
7400 | ||
9b5e151c AC |
7401 | 2003-04-13 Andrew Cagney <[email protected]> |
7402 | ||
7403 | * reggroups.c (default_register_reggroup_p): Use NUM_REGS instead | |
7404 | of gdbarch_num_regs. | |
7405 | ||
ef6e7e13 AC |
7406 | 2003-04-13 Andrew Cagney <[email protected]> |
7407 | ||
7408 | * frame.h: Mention what replaced what in "struct frame_info". | |
7409 | * hppa-hpux-tdep.c: Use get_frame_base, get_frame_pc and | |
7410 | deprecated_update_frame_base_hack and | |
7411 | deprecated_update_frame_pc_hack. | |
7412 | * hppa-tdep.c: Ditto. | |
7413 | ||
61fbb938 DJ |
7414 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
7415 | ||
7416 | * dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments | |
7417 | to read_reg and update its comment. Remove regnum member. | |
7418 | * dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval. | |
7419 | Don't call read_reg when setting in_reg. Call read_reg to get | |
7420 | the frame base if it's in a register. Return the register number | |
7421 | on the stack instead of in the context. Remove extra arguments | |
7422 | to read_reg. | |
7423 | * dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments. | |
7424 | (dwarf2_evaluate_loc_desc): Call value_from_register. Expect | |
7425 | the register number on the expression stack. | |
7426 | (needs_frame_read_reg): Remove extra arguments. | |
7427 | ||
0d53c4c4 DJ |
7428 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
7429 | ||
7430 | * dwarf2expr.c (dwarf2_read_address): Renamed from read_address; | |
7431 | made non-static. | |
7432 | (execute_stack_op): All callers updated. | |
7433 | * dwarf2expr.h: Add prototype for dwarf2_read_address. | |
7434 | * dwarf2loc.c (find_location_expression): New function. | |
7435 | (dwarf_expr_frame_base): Call it. | |
7436 | (dwarf2_evaluate_loc_desc): Handle 0-length location expressions. | |
7437 | (dwarf2_tracepoint_var_ref): New function, broken out from | |
7438 | locexpr_tracepoint_var_ref. | |
7439 | (locexpr_tracepoint_var_ref): Call dwarf2_tracepoint_var_ref. | |
7440 | Make static. | |
7441 | (loclist_read_variable, loclist_read_needs_frame): New functions. | |
7442 | (loclist_describe_location, loclist_tracepoint_var_ref): New | |
7443 | functions. | |
7444 | (dwarf2_loclist_funcs): New struct location_funcs. | |
7445 | * dwarf2loc.h (struct dwarf2_loclist_baton): New type. | |
7446 | (struct dwarf2_locexpr_baton): Add comments. | |
7447 | (dwarf2_loclist_funcs): New extern. | |
7448 | * dwarf2read.c (struct comp_unit_head): Remove DIE member, add | |
7449 | base_address and base_known. | |
7450 | (dwarf_loc_buffer): New variable. | |
7451 | (struct dwarf2_pinfo): Add dwarf_loc_buffer and dwarf_loc_size. | |
7452 | (DWARF_LOC_BUFFER, DWARF_LOC_SIZE): New macros. | |
7453 | (dwarf2_has_info): Initialize dwarf_loc_offset. | |
7454 | (dwarf2_build_psymtabs): Read in .debug_loc. | |
7455 | (dwarf2_build_psymtabs_hard): Use DWARF_LOC_BUFFER and | |
7456 | DWARF_LOC_SIZE. | |
7457 | (psymtab_to_symtab_1): Likewise. Move base address calculation | |
7458 | here, from... | |
7459 | (dwarf2_get_pc_bounds): ... here. Use the base address from | |
7460 | cu_header. | |
7461 | (dwarf2_symbol_mark_computed): Handle location lists. | |
7462 | ||
6aca59a3 DJ |
7463 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
7464 | ||
7465 | * minsyms.c (install_minimal_symbols): Only switch to gnu-v3 mode | |
7466 | if the linkage name demangled successfully. | |
7467 | ||
aca1fcd0 MK |
7468 | 2003-04-13 Mark Kettenis <[email protected]> |
7469 | ||
97095916 MK |
7470 | * x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours, |
7471 | disassmbly_flavour): Removed. | |
7472 | ||
aca1fcd0 MK |
7473 | * x86-64-tdep.c (gdb_print_insn_x86_64): Removed. |
7474 | ||
562a961f MK |
7475 | 2003-04-13 Mark Kettenis <[email protected]> |
7476 | ||
7477 | * x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed. | |
7478 | ||
bd013d54 AC |
7479 | 2003-04-12 Andrew Cagney <[email protected]> |
7480 | ||
7481 | * frame.h (struct frame_info): Move definition from here ... | |
7482 | * frame.c (struct frame_info): ... to here. | |
7483 | ||
167ef8b1 AC |
7484 | 2003-04-12 Andrew Cagney <[email protected]> |
7485 | ||
7486 | * gdbthread.h (save_infrun_state): Delete parameter | |
7487 | "prev_func_start". | |
7488 | (struct thread_info): Delete field "prev_func_start". | |
7489 | (load_infrun_state): Ditto. | |
7490 | * thread.c (load_infrun_state, save_infrun_state): Update. | |
7491 | * infrun.c (prev_func_start): Delete variable. | |
7492 | (context_switch, init_wait_for_inferior): Update. | |
7493 | (stop_stepping, keep_going): Update. | |
7494 | ||
da3331ec AC |
7495 | 2003-04-12 Andrew Cagney <[email protected]> |
7496 | ||
7497 | * gdbarch.sh: Add missing opaque declarations. | |
7498 | * gdbarch.h: Regnerate. | |
7499 | * symtab.h: Add missing opaque declarations. | |
7500 | * value.h, target.h, symfile.h, stabsread.h: Ditto. | |
7501 | * x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto. | |
7502 | * srec.h, solib-svr4.h, source.h, inferior.h: Ditto. | |
7503 | * ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto. | |
7504 | * ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto. | |
7505 | * buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto. | |
7506 | * i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto. | |
7507 | * dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto. | |
7508 | * cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto. | |
7509 | * ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto. | |
7510 | * config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto. | |
7511 | * config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto. | |
7512 | * cli/cli-setshow.h, cli/cli-script.h: Ditto. | |
7513 | ||
18adea3f AC |
7514 | 2003-04-11 Andrew Cagney <[email protected]> |
7515 | ||
7516 | * frame.c (get_frame_id): Return this frame's "id". | |
7517 | (legacy_get_prev_frame): Set prev's frame ID code_addr to the | |
7518 | function start. | |
7519 | (legacy_saved_regs_this_id): Replace function body with | |
7520 | internal-error. | |
7521 | (deprecated_frame_xmalloc): Mark the frame ID as valid, use | |
7522 | FRAME_OBSTACK_ZALLOC. | |
7523 | (create_new_frame): Mark the frame ID as valid. | |
7524 | ||
2252e863 AO |
7525 | 2003-04-11 Alexandre Oliva <[email protected]> |
7526 | ||
7527 | * Makefile.in (libbfd_h): Added missing setting. | |
7528 | * mips-tdep.c (mips_gdbarch_init): Set disassembler_options | |
7529 | according to the selected ABI. | |
7530 | ||
a8245ab8 JJ |
7531 | 2003-04-11 Jeff Johnston <[email protected]> |
7532 | ||
7533 | * gdb_indent.sh: Recognize pid_t and sigset_t as types. | |
7534 | ||
6913c89a AC |
7535 | 2003-04-11 Andrew Cagney <[email protected]> |
7536 | ||
7537 | * gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate | |
7538 | SAVED_PC_AFTER_CALL. | |
7539 | * gdbarch.h, gdbarch.c: Regenerate. | |
7540 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
7541 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
7542 | * vax-tdep.c (vax_gdbarch_init): Update. | |
7543 | * v850-tdep.c (v850_gdbarch_init): Update. | |
7544 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
7545 | * sh-tdep.c (sh_gdbarch_init): Update. | |
7546 | * s390-tdep.c (s390_gdbarch_init): Update. | |
7547 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
7548 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
7549 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
7550 | * mips-tdep.c (mips_gdbarch_init): Update. | |
7551 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
7552 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
7553 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
7554 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
7555 | (ia64_saved_pc_after_call): Update declaration. | |
7556 | * i386ly-tdep.c (i386lynx_init_abi): Update. | |
7557 | * i386-tdep.c (i386_gdbarch_init): Update. | |
7558 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
7559 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
7560 | * frv-tdep.c (frv_gdbarch_init): Update. | |
7561 | * cris-tdep.c (cris_gdbarch_init): Update. | |
7562 | * avr-tdep.c (avr_gdbarch_init): Update. | |
7563 | * arm-tdep.c (arm_gdbarch_init): Update. | |
7564 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
7565 | * ns32knbsd-nat.c (frame_num_args): Update. | |
7566 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
7567 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
7568 | * infrun.c (step_over_function): Update. | |
7569 | * i386-linux-tdep.c (skip_hurd_resolver): Update. | |
7570 | * i386-interix-tdep.c (i386_interix_back_one_frame): Update. | |
7571 | * config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
7572 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
7573 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
7574 | * config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
7575 | * arm-linux-tdep.c (skip_hurd_resolver): Update. | |
7576 | * arch-utils.c (init_frame_pc_default): Update. | |
7577 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
7578 | * x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update | |
7579 | declaration. | |
8ffd9b1b | 7580 | |
38edeab8 AC |
7581 | 2003-04-11 Andrew Cagney <[email protected]> |
7582 | ||
7583 | * i387-tdep.c: Update copyright. | |
7584 | (i387_to_double): Delete function. | |
7585 | (double_to_i387): Delete function. | |
7586 | ||
81f8a206 AC |
7587 | 2003-04-10 Andrew Cagney <[email protected]> |
7588 | ||
7589 | * d10v-tdep.c (d10v_frame_this_id): Set the code addr to the | |
7590 | frame's function's address. Simplify. | |
7591 | (d10v_frame_unwind_cache): Check that the frame's function is | |
7592 | non-zero. | |
7593 | ||
6e691f7a JB |
7594 | 2003-04-10 Jim Blandy <[email protected]> |
7595 | ||
7596 | * s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted | |
7597 | call to set_gdbarch_deprecated_push_arguments. | |
7598 | ||
7f78e237 AC |
7599 | 2003-04-10 Andrew Cagney <[email protected]> |
7600 | ||
7601 | * frame.c (fprint_frame_id): New function. | |
7602 | (fprint_frame_type, fprint_frame): New function. | |
7603 | (frame_pc_unwind, frame_func_unwind): Add/update trace code. | |
7604 | (create_sentinel_frame, get_frame_id): Ditto. | |
7605 | (frame_id_p, frame_id_eq): Ditto. | |
7606 | (frame_id_inner, create_new_frame): Ditto. | |
7607 | (legacy_get_prev_frame, get_prev_frame): Ditto. | |
7608 | (deprecated_update_frame_pc_hack): Ditto. | |
7609 | (frame_register_unwind): Ditto. | |
7610 | (deprecated_update_frame_base_hack): Ditto. | |
7611 | ||
f870b49b CV |
7612 | 2003-04-10 Corinna Vinschen <[email protected]> |
7613 | ||
7614 | * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function. | |
7615 | (i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new | |
7616 | frame_chain function. | |
7617 | * Makefile.in: Add dependencies due to above change. | |
7618 | ||
7c86889b CV |
7619 | 2003-04-10 Corinna Vinschen <[email protected]> |
7620 | ||
7621 | * blockframe.c (legacy_frame_chain_valid): Move call to | |
7622 | DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and | |
7623 | inside_entry_file. | |
7624 | ||
d0a55772 AC |
7625 | 2003-04-09 Andrew Cagney <[email protected]> |
7626 | ||
7627 | * frame.h (struct frame_id): Replace "pc" and "base" with | |
7628 | "stack_addr" and "code_addr". Update comments. | |
7629 | (frame_id_build): Update parameter names and comment. | |
7630 | (struct frame_info): Replace "id_p" and "id" with "this_id". | |
7631 | * dummy-frame.c (dummy_frame_this_id): Update. | |
7632 | * breakpoint.c (print_one_breakpoint): Update. | |
7633 | * frame.c (get_frame_id): Update. | |
7634 | (get_frame_base, frame_id_build): Update. | |
7635 | (create_sentinel_frame, legacy_get_prev_frame): Update. | |
7636 | (deprecated_update_frame_base_hack): Update. | |
7637 | (frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID. | |
7638 | (frame_id_inner): Ditto. | |
7639 | ||
ac16bf07 AC |
7640 | 2003-04-09 Andrew Cagney <[email protected]> |
7641 | ||
7642 | * defs.h (gdb_print_host_address): Make "addr" parameter a | |
7643 | pointer constant. | |
7644 | * utils.c (gdb_print_host_address): Update. | |
7645 | ||
366cfc9e KB |
7646 | 2003-04-09 Kevin Buettner <[email protected]> |
7647 | ||
7648 | * rs6000-tdep.c (frame_get_saved_regs): Don't assume that the | |
7649 | register number for R0 is 0. | |
7650 | ||
cd983b5c JB |
7651 | 2003-04-09 J. Brobecker <[email protected]> |
7652 | ||
7653 | * frame.h (struct gdbarch): Add opaque structure definition | |
7654 | to avoid a compilation warning on LynxOS 4.0. | |
7655 | ||
d1340264 AC |
7656 | 2003-04-09 Andrew Cagney <[email protected]> |
7657 | ||
7658 | * frame.h (struct frame_info): Delete field "pc". Replace | |
7659 | "pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc" | |
7660 | structure. | |
7661 | * frame.c (frame_pc_unwind): Update. | |
7662 | (create_sentinel_frame): Do not set "pc". | |
7663 | (get_prev_frame): Do not set "pc". Use frame_pc_unwind. | |
7664 | (get_frame_pc): Call frame_pc_unwind. | |
7665 | (deprecated_update_frame_pc_hack): Update. | |
7666 | (create_new_frame): Use "pc" not "->pc". | |
7667 | ||
90a6fffb AC |
7668 | 2003-04-09 Andrew Cagney <[email protected]> |
7669 | ||
7670 | * frame.c (get_frame_id): Eliminate code updating "frame". | |
7671 | (legacy_get_prev_frame): Ditto. | |
7672 | (get_frame_base): Return id.base directly. | |
7673 | (deprecated_update_frame_base_hack): Update "id.base". | |
7674 | * frame.h (struct frame_info): Delete field "frame". | |
7675 | ||
2fbce691 AC |
7676 | 2003-04-09 Andrew Cagney <[email protected]> |
7677 | ||
7678 | * NEWS: Mention that the "Sequent family" is obsolete. | |
7679 | * configure.tgt: Obsolete i[3456]86-sequent-bsd*, | |
7680 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
7681 | * configure.host: Obsolete i[3456]86-sequent-bsd*, | |
7682 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
7683 | * config/i386/tm-ptx4.h: Obsolete file. | |
7684 | * config/i386/tm-ptx.h: Obsolete file. | |
7685 | * symm-tdep.c: Obsolete file. | |
7686 | * config/i386/symmetry.mt: Obsolete file. | |
7687 | * config/i386/tm-symmetry.h: Obsolete file. | |
7688 | * symm-nat.c: Obsolete file. | |
7689 | * config/i386/nm-symmetry.h: Obsolete file. | |
7690 | * config/i386/xm-symmetry.h: Obsolete file. | |
7691 | * config/i386/symmetry.mh: Obsolete file. | |
7692 | * config/i386/nm-ptx4.h: Obsolete file. | |
7693 | * config/i386/ptx4.mh: Obsolete file. | |
7694 | * config/i386/ptx.mt: Obsolete file. | |
7695 | * config/i386/ptx.mh: Obsolete file. | |
7696 | * config/i386/xm-ptx4.h: Obsolete file. | |
7697 | * config/i386/xm-ptx.h: Obsolete file. | |
7698 | ||
78c43945 AC |
7699 | 2003-04-09 Andrew Cagney <[email protected]> |
7700 | ||
7701 | Obsolete mips*-*-mach3*. | |
7702 | * NEWS: Mention that mips*-*-mach3* is obsolete. | |
7703 | * m3-nat.c: Obsolete file. | |
7704 | * config/nm-m3.h: Obsolete file. | |
7705 | * config/mips/tm-mipsm3.h: Obsolete file. | |
7706 | * config/mips/mipsm3.mt: Obsolete file. | |
7707 | * config/mips/mipsm3.mh: Obsolete file. | |
7708 | * config/mips/xm-mipsm3.h: Obsolete file. | |
7709 | * mipsm3-nat.c: Obsolete file. | |
7710 | * configure.host: Obsolete mips-dec-mach3*. | |
7711 | * configure.tgt: Obsolete mips*-*-mach3*. | |
7712 | ||
f1908289 AC |
7713 | 2003-04-09 Andrew Cagney <[email protected]> |
7714 | ||
7715 | * doublest.h: Update copyright. | |
7716 | (deprecated_store_floating, deprecated_extract_floating): Rename | |
7717 | store_floating and extract_floating. Update comments. | |
7718 | * doublest.c: Update copyright. | |
7719 | (extract_floating_by_length): Replace extract_floating. | |
7720 | (store_floating_by_length): Replace store_floating. | |
7721 | (deprecated_extract_floating): New function. | |
7722 | (deprecated_store_floating): New function. | |
7723 | (extract_typed_floating): Call extract_floating_by_length. | |
7724 | (store_typed_floating): Call store_floating_by_length. | |
7725 | * x86-64-tdep.c (x86_64_store_return_value): Update. | |
7726 | * sh-tdep.c (sh3e_sh4_extract_return_value): Update. | |
7727 | (sh64_extract_return_value): Update. | |
7728 | (sh_sh4_register_convert_to_virtual): Update. | |
7729 | (sh_sh64_register_convert_to_virtual): Update. | |
7730 | (sh_sh4_register_convert_to_raw): Update. | |
7731 | (sh_sh64_register_convert_to_raw): Update. | |
7732 | * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update. | |
7733 | (rs6000_register_convert_to_raw): Update. | |
7734 | * ia64-tdep.c (ia64_register_convert_to_virtual): Update. | |
7735 | (ia64_register_convert_to_raw): Update. | |
7736 | * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update. | |
7737 | (REGISTER_CONVERT_TO_VIRTUAL): Update. | |
7738 | * arm-linux-tdep.c (arm_linux_push_arguments): Update. | |
7739 | * alpha-tdep.c (alpha_register_convert_to_virtual): Update. | |
7740 | (alpha_register_convert_to_raw): Update. | |
7741 | ||
4443bd83 AC |
7742 | 2003-04-08 Andrew Cagney <[email protected]> |
7743 | ||
7744 | * gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate. | |
7745 | * gdbarch.h, gdbarch.c: Re-generate. | |
7746 | * d10v-tdep.c (d10v_saved_pc_after_call): Delete function. | |
7747 | (d10v_gdbarch_init): Do not set saved_pc_after_call. | |
7748 | * infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P | |
7749 | conditionally, use frame_pc_unwind as an alternative. Add | |
7750 | comments. | |
7751 | * arch-utils.c (init_frame_pc_default): Only call | |
7752 | SAVED_PC_AFTER_CALL when available. | |
7753 | ||
c0236d92 EZ |
7754 | 2003-04-08 Elena Zannoni <[email protected]> |
7755 | ||
fbe586ae | 7756 | * infrun.c (stop_soon): Rename from stop_soon_quietly. |
c0236d92 EZ |
7757 | (struct inferior_status): Rename stop_soon_quietly field to stop_soon. |
7758 | (clear_proceed_status): Rename stop_soon_quietly to stop_soon. | |
7759 | (start_remote): Ditto. | |
7760 | (handle_inferior_event): Ditto. | |
7761 | (save_inferior_status): Ditto. | |
7762 | (restore_inferior_status): Ditto. | |
7763 | * infcmd.c (attach_command): Ditto. | |
7764 | * fork-child.c (startup_inferior): Ditto. | |
fbe586ae | 7765 | * inferior.h (stop_soon): Rename from stop_soon_quietly. |
c0236d92 EZ |
7766 | * alpha-tdep.c (heuristic_proc_start): Ditto. |
7767 | * mips-tdep.c (heuristic_proc_start): Ditto. | |
7768 | * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto. | |
7769 | * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto. | |
7770 | * solib-osf.c (osf_solib_create_inferior_hook): Ditto. | |
7771 | * solib-irix.c (irix_solib_create_inferior_hook): Ditto. | |
7772 | * remote-vx.c (vx_create_inferior): Ditto. | |
7773 | ||
7774 | 2003-04-08 Elena Zannoni <[email protected]> | |
7775 | ||
7776 | * infrun.c (stop_soon_quietly): Make it an enum, to better | |
7777 | override the default behavior of handle_inferior_event. | |
7778 | (clear_proceed_status): Update uses of stop_soon_quietly to | |
7779 | reflect that it is now an enum. | |
7780 | (start_remote): Ditto. | |
7781 | (handle_inferior_event): Change logic a bit if stop_soon_quietly | |
7782 | is set to handle the new GNU/Linux kernel behavior for | |
7783 | attach/sigstop. Update uses of stop_soon_quietly. | |
7784 | * inferior.h (enum stop_kind): New enum. | |
7785 | * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP. | |
7786 | Reset normal handle_inferior_event behavior, afterwards. | |
7787 | * fork-child.c (startup_inferior): Update. | |
7788 | * alpha-tdep.c (heuristic_proc_start): Update. | |
7789 | * solib-svr4.c (svr4_solib_create_inferior_hook): Update. | |
7790 | * solib-sunos.c (sunos_solib_create_inferior_hook): Update. | |
7791 | * solib-osf.c (osf_solib_create_inferior_hook): Update. | |
7792 | * solib-irix.c (irix_solib_create_inferior_hook): Update. | |
7793 | * remote-vx.c (vx_create_inferior): Update. | |
7794 | * mips-tdep.c (heuristic_proc_start): Update. | |
7795 | ||
1211bce3 EZ |
7796 | 2003-04-07 Elena Zannoni <[email protected]> |
7797 | ||
7798 | * disasm.c (dump_insns): Move variables inside loop, or they will | |
fbe586ae | 7799 | be freed more than once, causing wild memory corruptions. |
1211bce3 | 7800 | (gdb_disassembly): Look for the substring "-thread", |
fbe586ae | 7801 | instead of "-threads" in the target name, to make sure to find |
8ffd9b1b | 7802 | the 'multi-thread' target. Also, make sure we do the right thing |
fbe586ae | 7803 | with the "core" target. |
1211bce3 | 7804 | |
f0ef6b29 KB |
7805 | 2003-04-07 Kevin Buettner <[email protected]> |
7806 | ||
7807 | * mips-tdep.c (mips_print_fp_register): New function, created from | |
7808 | do_fp_register_row(). Registers are now (also) printed as hex. | |
7809 | Only one register is printed per row. | |
7810 | (mips_print_register, do_fp_register_row): Print floating point | |
7811 | registers with mips_print_fp_register(). | |
7812 | ||
8cf71652 AC |
7813 | 2003-04-06 Andrew Cagney <[email protected]> |
7814 | ||
5e488a7b AC |
7815 | * valprint.h (inspect_it): Add extern declaration. |
7816 | * objc-lang.c (value_nsstring): Avoid assignment inside of "if". | |
7817 | (selectors_info, classes_info): Ditto. | |
7818 | (find_objc_msgcall): Fix indentation. | |
7819 | (objc_printstr): Delete extern declarations. | |
7820 | ||
8cf71652 AC |
7821 | * arm-tdep.c (arm_frameless_function_invocation): Fix typo. |
7822 | ||
e6ba3bc9 AC |
7823 | 2003-04-06 Andrew Cagney <[email protected]> |
7824 | ||
7825 | * frame.h (legacy_frame_chain_valid): Rename frame_chain_valid. | |
7826 | Update comment. | |
7827 | * frame.c (legacy_saved_regs_this_id): Update. | |
7828 | (legacy_get_prev_frame): Update. | |
7829 | * xstormy16-tdep.c: Update comment. | |
7830 | * sparc-tdep.c (sparc_frame_chain): Update comment. | |
7831 | * blockframe.c (legacy_frame_chain_valid): Update. | |
7832 | ||
55e1d7e7 AC |
7833 | 2003-04-06 Andrew Cagney <[email protected]> |
7834 | ||
996179ee AC |
7835 | * valprint.c (val_print_type_code_int): Delete #ifdef |
7836 | PRINT_TYPELESS_INTEGER code. | |
7837 | ||
55e1d7e7 AC |
7838 | * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES) |
7839 | (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial | |
7840 | multi-arch definition. | |
7841 | * gdbarch.h: Re-generate. | |
7842 | ||
43bd9a9e AC |
7843 | 2003-04-05 Andrew Cagney <[email protected]> |
7844 | ||
7845 | Eliminate FRAME_FIND_SAVED_REGS. | |
7846 | * config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
7847 | Change FSR parameter to a pointer. | |
7848 | * config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): | |
7849 | Assume FSR parameter is a pointer. | |
7850 | * hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
7851 | Make fsr a pointer. | |
7852 | * hppa-tdep.c (hppa_frame_find_saved_regs): New function. | |
7853 | (hppa_frame_saved_pc): Call hppa_frame_init_saved_regs. Make | |
7854 | saved_regs a pointer. | |
7855 | (hppa_frame_saved_pc): Ditto. | |
7856 | (find_dummy_frame_regs): Make frame_saved_regs a pointer | |
7857 | (hppa_pop_frame): Call hppa_frame_init_saved_regs. Make fsr a | |
7858 | pointer. | |
7859 | (restore_pc_queue): Make fsr a pointer. | |
7860 | (hppa_frame_find_saved_regs): Make frame_saved_regs a pointer. | |
7861 | (hppa_frame_chain): Make saved_regs a pointer, call | |
7862 | hppa_frame_init_saved_regs. | |
7863 | * sparc-tdep.c: Include "gdb_assert.h". | |
7864 | (sparc_frame_find_saved_regs): Replace internal_error with | |
7865 | gdb_assert. | |
7866 | * remote-vxsparc.c (vx_read_register): Delete reference to | |
7867 | FRAME_FIND_SAVED_REGS. | |
7868 | * gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS. | |
7869 | * gdbarch.h: Regenerate. | |
7870 | * frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro. | |
7871 | (deprecated_get_frame_saved_regs): Delete declaration. | |
7872 | (struct frame_saved_regs): Delete definition. | |
7873 | * frame.c (deprecated_get_frame_saved_regs): Delete function. | |
7874 | * config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare. | |
7875 | (hppa_frame_find_saved_regs): Delete declaration. | |
7876 | (FRAME_FIND_SAVED_REGS): Delete macro. | |
7877 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Define. | |
7878 | * config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete | |
7879 | FRAME_FIND_SAVED_REGS in comment. | |
7880 | ||
be41e9f4 AC |
7881 | 2003-04-05 Andrew Cagney <[email protected]> |
7882 | ||
7883 | * frame.c (frame_func_unwind, get_frame_func): New functions. | |
7884 | * frame.h (get_frame_func, frame_func_unwind): Declare. | |
7885 | (struct frame_info): Add field "prev_func" for caching the | |
7886 | previous frame's function address. | |
7887 | * arm-tdep.c (arm_frameless_function_invocation): Combine | |
7888 | get_pc_function_start and get_frame_pc into get_frame_func. | |
7889 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
7890 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
7891 | * s390-tdep.c (s390_function_start): Ditto. | |
7892 | * rs6000-tdep.c (rs6000_pop_frame): Ditto. | |
7893 | (rs6000_frameless_function_invocation): Ditto. | |
7894 | (rs6000_frame_saved_pc): Ditto. | |
7895 | * m68k-tdep.c (m68k_frame_init_saved_regs): Ditto. | |
7896 | * ia64-tdep.c (ia64_frame_init_saved_regs): Ditto. | |
7897 | * i386-tdep.c (i386_frameless_signal_p): Ditto. | |
7898 | (i386_frame_init_saved_regs): Ditto. | |
7899 | * hppa-tdep.c (hppa_frame_find_saved_regs): Ditto. | |
7900 | * d10v-tdep.c (d10v_frame_unwind_cache): Combine | |
7901 | get_pc_function_start and frame_pc_unwind into frame_func_unwind. | |
7902 | * cris-tdep.c (cris_frame_init_saved_regs): Ditto. | |
7903 | * blockframe.c (frameless_look_for_prologue): Ditto. | |
7904 | ||
a01dd7cc AC |
7905 | 2003-04-05 Andrew Cagney <[email protected]> |
7906 | ||
7907 | * frame.c (legacy_get_prev_frame): Link prev to next at the | |
7908 | function start. Update comments. | |
7909 | ||
5e5592e6 AC |
7910 | 2003-04-05 Andrew Cagney <[email protected]> |
7911 | ||
7912 | * frame.c (get_frame_id): Update comment. | |
7913 | (legacy_get_prev_frame): Update comment. | |
7914 | * gdbarch.sh: Delete check for EXTRA_FRAME_INFO. | |
7915 | * gdbarch.h: Regenerate. | |
7916 | * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete. | |
7917 | * frame.h: Delete #ifdef EXTRA_FRAME_INFO code. | |
7918 | ||
6fba5002 AC |
7919 | 2003-04-05 Andrew Cagney <[email protected]> |
7920 | ||
7921 | * stack.c (print_frame_info): Use get_frame_pc. | |
7922 | ||
7df05f2b AC |
7923 | 2003-04-04 Andrew Cagney <[email protected]> |
7924 | ||
7925 | * frame.c (get_prev_frame): Do not call frame_type_from_pc. Set | |
7926 | the frame's type from the unwinder. | |
7927 | (get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME. | |
7928 | (create_new_frame, legacy_get_prev_frame): When the unwinder's | |
7929 | type isn't UNKNOWN_FRAME, initalize "type" from the unwinder. | |
7930 | (get_frame_base_address): Use get_frame_type. | |
7931 | (get_frame_locals_address, get_frame_args_address): Ditto. | |
7932 | (legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE. | |
7933 | * frame.h (enum frame_type): Add UNKNOWN_FRAME. | |
7934 | (struct frame_info): Add comment explaining why the frame contains | |
7935 | a "type" field. | |
7936 | * dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME. | |
7937 | * d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME. | |
7938 | * sentinel-frame.c (sentinel_frame_unwinder): Set the type to | |
7939 | NORMAL_FRAME. | |
7940 | * frame-unwind.h: Include "frame.h". | |
7941 | (struct frame_unwind): Add "type" field. | |
7942 | * Makefile.in (frame_unwind_h): Add $(frame_h). | |
8ffd9b1b | 7943 | |
11889732 AC |
7944 | 2003-04-04 Andrew Cagney <[email protected]> |
7945 | ||
7946 | * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build. | |
7947 | * dummy-frame.c (dummy_frame_this_id): Use frame_id_build. | |
7948 | * d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and | |
7949 | get_frame_base. | |
7950 | (d10v_unwind_dummy_id): Use frame_id_build. | |
7951 | * frame.c (find_frame_sal): Use get_frame_pc. | |
7952 | (create_new_frame): Use deprecated_update_frame_pc_hack and | |
7953 | deprecated_update_frame_base_hack. | |
7954 | (create_sentinel_frame): Add comment about ->pc going away. | |
7955 | (get_prev_frame): Add comment about ->pc going away. | |
7956 | (legacy_get_prev_frame): Use get_frame_base, get_frame_pc, | |
7957 | frame_id_build, deprecated_update_frame_pc_hack and | |
7958 | deprecated_update_frame_base_hack. | |
7959 | (select_frame): Use get_frame_pc. | |
7960 | (legacy_saved_regs_this_id): Use frame_id_build. | |
7961 | ||
50c46a0d EZ |
7962 | 2003-04-04 Elena Zannoni <[email protected]> |
7963 | ||
fbe586ae RH |
7964 | * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the |
7965 | signed integer case. | |
7966 | (classify_argument): Handle enumerations and references. | |
50c46a0d | 7967 | |
50bbdbd9 AC |
7968 | 2003-04-04 Andrew Cagney <[email protected]> |
7969 | ||
7970 | * frame.c (create_sentinel_frame): Initialize the sentinel frame's | |
7971 | ID to NULL. | |
7972 | ||
36018d2e AF |
7973 | 2003-04-01 Adam Fedor <[email protected]> |
7974 | ||
7975 | * gdb/objc-lang.c (selectors_info): Replace calls to | |
7976 | SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with | |
7977 | SYMBOL_NATURAL_NAME. | |
7978 | (classes_info, find_methods): Likewise. | |
7979 | ||
35cec841 KB |
7980 | 2003-04-03 Kevin Buettner <[email protected]> |
7981 | ||
7982 | * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set | |
7983 | ``mach'' to the value determined by bfd_default_set_arch_mach(). | |
7984 | ||
43136899 BR |
7985 | 2003-04-02 Bob Rossi <[email protected]> |
7986 | ||
7987 | * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o". | |
7988 | (SUBDIR_MI_SRCS): Add "mi-cmd-file.c". | |
7989 | (mi-cmd-file.o): Update dependencies. | |
7990 | ||
040b99fd KB |
7991 | 2003-04-01 Kevin Buettner <[email protected]> |
7992 | ||
7993 | * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
7994 | (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM. | |
7995 | ||
9a3d7dfd AF |
7996 | 2003-04-01 Adam Fedor <[email protected]> |
7997 | ||
7998 | * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h). | |
7999 | * language.h (struct language_defn): Add la_demangle. | |
8000 | (language_demangle): Declare. | |
8001 | * language.c (language_demangle): New function. | |
8002 | (unk_lang_demangle): Likewise. | |
8003 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
fbe586ae | 8004 | Add ukn_lang_demangle. |
9a3d7dfd | 8005 | * ada-lang.c (ada_language_defn): Add NULL for la_demangle element. |
fbe586ae | 8006 | * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise. |
9a3d7dfd AF |
8007 | * c-lang.c (c_language_defn, asm_language_defn): Likewise. |
8008 | (cplus_language_defn): Add cplus_demangle for la_demangle element. | |
8009 | * jv-lang.c (java_demangle): New function | |
8010 | (java_language_defn): Use it for la_demangle element. | |
fbe586ae RH |
8011 | * objc-lang.c (objc_demangle): Add options argument |
8012 | (objc_language_defn): Use objc_demangle for la_demangle element. | |
9a3d7dfd AF |
8013 | * maint.c (maintenance_demangle): Replace switch with |
8014 | call to language_demangle. | |
8015 | * utils.c (fprintf_symbol_filtered): Likewise. | |
8016 | ||
5e074003 AC |
8017 | 2003-04-01 Andrew Cagney <[email protected]> |
8018 | ||
8019 | * printcmd.c (print_frame_nameless_args): Delete #ifdef | |
8020 | NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and | |
8021 | PRINT_TYPELESS_INTEGER. | |
8022 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename | |
8023 | PUSH_RETURN_ADDRESS. | |
8024 | ||
270cb5d6 AC |
8025 | 2003-04-01 Andrew Cagney <[email protected]> |
8026 | ||
8027 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
8028 | * d10v-tdep.c: Include "frame-base.h". | |
8029 | (d10v_frame_unwind): Make constant. | |
8030 | (d10v_frame_base_address): New function. | |
8031 | (d10v_frame_base): New variable. | |
8032 | (d10v_gdbarch_init): Set frame_base default. | |
8033 | (struct d10v_unwind_cache): Add the field "prev_sp". Update | |
8034 | comment for base. | |
8035 | (d10v_frame_unwind_cache): Set and use "prev_sp". | |
8036 | (d10v_frame_this_id): Use the previous frame's inner most stack | |
8037 | address and this frame's func address for the frame ID. Use | |
8038 | frame_id_build. Don't analyze beyond the current instruction. | |
8ffd9b1b | 8039 | |
6bfb3e36 AC |
8040 | 2003-04-01 Andrew Cagney <[email protected]> |
8041 | ||
8042 | * frame.h (get_frame_locals_address, get_frame_args_address): | |
8043 | Refer to the base address, instead of the address of the first | |
8044 | local or parameter. | |
8ffd9b1b | 8045 | |
da62e633 AC |
8046 | 2003-04-01 Andrew Cagney <[email protected]> |
8047 | ||
8048 | Add frame debug info addresses: | |
8049 | * frame-base.c: New file. | |
8050 | * frame-base.h: New file. | |
8051 | * frame.h (struct frame_base): Add opaque declaration. | |
8052 | (get_frame_base): Update comment. | |
8053 | (get_frame_base_address): Declare. | |
8054 | (get_frame_locals_address): Declare. | |
8055 | (get_frame_args_address): Declare. | |
8056 | (struct frame_info): Add "base" and "base_cache". Update | |
8057 | comments on the unwinder. | |
8058 | * frame.c: Include "frame-base.h". | |
8059 | (get_frame_locals_address): New function. | |
8060 | (get_frame_base_address): New function. | |
8061 | (get_frame_args_address): New function. | |
8062 | * findvar.c (read_var_value): Use get_frame_locals_address and | |
8063 | get_frame_args_address. | |
8064 | * stack.c (frame_info): Use get_frame_locals_address and | |
8065 | get_frame_args_address. | |
8066 | (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro, | |
8067 | moved to "frame-base.c". | |
8068 | * printcmd.c (print_frame_nameless_args): Ditto. | |
8069 | * symtab.h (address_class): Update comments. | |
8070 | * dwarf2loc.c (dwarf_expr_frame_base): Add note about | |
8071 | get_frame_base_address. | |
8072 | * dwarf2expr.c (execute_stack_op): Ditto. | |
8073 | * Makefile.in (frame_base_h): Define. | |
8074 | (frame.o): Update dependencies. | |
8075 | (frame-base.o): Add dependencies. | |
8076 | (SFILES): Add frame-base.c. | |
8077 | (COMMON_OBS): Add frame-base.o. | |
8078 | ||
3d30e9c2 AC |
8079 | 2003-04-01 Andrew Cagney <[email protected]> |
8080 | ||
8081 | * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero. | |
8082 | CALL_DUMMY_LENGTH): Ditto. | |
8083 | * gdbarch.c: Re-generate. | |
8084 | * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro. | |
8085 | (CALL_DUMMY_LENGTH): Delete macro. | |
8086 | * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero. | |
8087 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8088 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
8089 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8090 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
8091 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8092 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8093 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
8094 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8095 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8096 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8097 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8098 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
8099 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8100 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
8101 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8102 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8103 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
8104 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8105 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
8106 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
8107 | ||
ce0c7262 CV |
8108 | 2003-04-01 Corinna Vinschen <[email protected]> |
8109 | ||
8110 | * frame.c (get_prev_frame): Disable call to inside_entry_file(). | |
8111 | ||
73dd234f AC |
8112 | 2003-04-01 Andrew Cagney <[email protected]> |
8113 | ||
8114 | * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero. | |
8115 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
8116 | * gdbarch.h, gdbarch.c: Re-generate. | |
8117 | * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
8118 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
8119 | * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
8120 | * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
8121 | (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
8122 | * infcmd.c (run_stack_dummy): Simplify assuming | |
8123 | CALL_DUMMY_BREAKPOINT_OFFSET_P. | |
8124 | * infrun.c (handle_inferior_event): Ditto. | |
8125 | * alpha-tdep.c (alpha_gdbarch_init): Do not set | |
8126 | call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p. | |
8127 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8128 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
8129 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8130 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
8131 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8132 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8133 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8134 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8135 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8136 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
8137 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8138 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
8139 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8140 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
8141 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
8142 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8143 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8144 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
8145 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8146 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
8147 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
8148 | ||
97606a13 DJ |
8149 | 2003-04-01 Daniel Jacobowitz <[email protected]> |
8150 | ||
8151 | * symfile.c (symfile_relocate_debug_section): Update call to | |
8152 | bfd_simple_get_relocated_section_contents. | |
8153 | ||
e8ab51f7 AC |
8154 | 2003-03-31 Andrew Cagney <[email protected]> |
8155 | ||
8156 | * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate. | |
8157 | * gdbarch.h, gdbarch.c: Regenerate. | |
8158 | * inferior.h (FIX_CALL_DUMMY): Delete macro. | |
8159 | * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when | |
8160 | available. | |
8161 | * frame.h (generic_fix_call_dummy): Delete declaration. | |
8162 | * dummy-frame.h: Update comment. | |
8163 | * dummy-frame.c (generic_fix_call_dummy): Delete function. | |
8164 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
8165 | fix_call_dummy. | |
8166 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8167 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8168 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8169 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8170 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8171 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8172 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8173 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8174 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8175 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
8176 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8177 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
8178 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8179 | ||
018d1b48 JB |
8180 | 2003-03-31 J. Brobecker <[email protected]> |
8181 | ||
8182 | * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful. | |
8183 | (INIT_FRAME_AP): Likewise. | |
8184 | (EXTRA_FRAME_INFO): Likewise. | |
8185 | ||
e9a2674e AC |
8186 | 2003-03-31 Andrew Cagney <[email protected]> |
8187 | ||
8188 | * gdbarch.sh: Include "symfile.h". | |
8189 | (CALL_DUMMY_ADDRESS): Default to entry_point_address. | |
8190 | * gdbarch.h, gdbarch.c: Re-generate. | |
8191 | * inferior.h (CALL_DUMMY_ADDRESS): Delete macro. | |
8192 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
8193 | call_dummy_address, the default is at entry_point_address. | |
8194 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8195 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
8196 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8197 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8198 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
8199 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8200 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8201 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8202 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8203 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8204 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8205 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
8206 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8207 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8208 | ||
e8a8712a AC |
8209 | 2003-03-31 Andrew Cagney <[email protected]> |
8210 | ||
8211 | * gdbarch.sh (CALL_DUMMY_P): Delete. | |
8212 | * gdbarch.h, gdbarch.c: Re-generate. | |
8213 | * inferior.h (CALL_DUMMY_P): Delete macro. | |
8214 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8215 | * vax-tdep.c (vax_gdbarch_init): Update. | |
8216 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8217 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8218 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8219 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8220 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8221 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8222 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8223 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8224 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8225 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8226 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8227 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8228 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8229 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8230 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8231 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
8232 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8233 | * breakpoint.c (deprecated_frame_in_dummy): Update. | |
8234 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8235 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8236 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8237 | * dummy-frame.c (dummy_frame_this_id): Update comments. | |
8238 | * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto. | |
8239 | * frame.c (legacy_get_prev_frame): Ditto. | |
8240 | * valops.c (call_function_by_hand): Delete function. | |
8241 | (hand_function_call): Rename to call_function_by_hand | |
8242 | ||
ed234cf8 AC |
8243 | 2003-03-30 Andrew Cagney <[email protected]> |
8244 | ||
8245 | 2002-11-10 Klee Dienes <[email protected]> | |
fbe586ae | 8246 | * value.h (struct value): Update comment. |
ed234cf8 | 8247 | |
06c77151 AC |
8248 | 2003-03-30 Andrew Cagney <[email protected]> |
8249 | ||
6c2b5168 AC |
8250 | * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with |
8251 | D10V_FP_REGNUM. | |
8252 | (d10v_gdbarch_init): Do not set fp_regnum. | |
8253 | ||
06c77151 AC |
8254 | * frame.c (get_frame_base): Force ID initialization. |
8255 | (get_prev_frame): Move computation of the frame ID from here ... | |
8256 | (get_frame_id): ... to here. | |
8257 | (legacy_get_prev_frame): Mark the frame ID as valid. | |
8258 | * frame.h (struct frame_info): Add field "id_p". | |
8259 | ||
97a1a11c MK |
8260 | 2003-03-30 Mark Kettenis <[email protected]> |
8261 | ||
8262 | * i386-tdep.c (i386_store_struct_return): Removed. | |
8263 | (i386_gdbarch_init): Don't set deprecated_store_struct_return. | |
8264 | ||
6c0e89ed AC |
8265 | 2003-03-30 Andrew Cagney <[email protected]> |
8266 | ||
8267 | * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP. | |
8268 | * gdbarch.h, gdbarch.c: Regenerate. | |
8269 | * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp. | |
8270 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
8271 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8272 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
8273 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8274 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8275 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8276 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
8277 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8278 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
8279 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8280 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
8281 | * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update. | |
8282 | * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
8283 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define. | |
8284 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8285 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8286 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8287 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8288 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8289 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8290 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8291 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8292 | * valops.c (hand_function_call): Replace TARGET_WRITE_SP with | |
8293 | DEPRECATED_DUMMY_WRITE_SP. Call when the method is available, | |
8294 | instead of when push_dummy_call is not available. | |
8ffd9b1b | 8295 | |
f7dd6af2 AC |
8296 | 2003-03-30 Andrew Cagney <[email protected]> |
8297 | ||
8298 | * infttrace.c: Include "gdbthread.h". | |
8299 | (parent_attach_all): Fix function signature. | |
8300 | (call_ptrace): Update call. | |
8301 | * Makefile.in (infttrace.o): Update dependencies. | |
8302 | ||
28f617b3 AC |
8303 | 2003-03-30 Andrew Cagney <[email protected]> |
8304 | ||
8305 | * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace | |
8306 | PUSH_RETURN_ADDRESS. | |
8307 | * gdbarch.h, gdbarch.c: Regenerate. | |
8308 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8309 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8310 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8311 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8312 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8313 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8314 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8315 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8316 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8317 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8318 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8319 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8320 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8321 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8322 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8323 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8324 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8325 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8326 | * valops.c (hand_function_call): Update. | |
8327 | ||
4d628cd7 AC |
8328 | 2003-03-29 Andrew Cagney <[email protected]> |
8329 | ||
8330 | * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or | |
8331 | sizeof_call_dummy_words. | |
8332 | * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always | |
8333 | define. | |
8334 | * gdbarch.h: Regenerate. | |
8ffd9b1b | 8335 | |
65e82032 AC |
8336 | 2003-03-29 Andrew Cagney <[email protected]> |
8337 | ||
8338 | * infttrace.h: New file. | |
8339 | * hpread.c: Include "gdb_assert.h" and "somsolib.h". | |
8340 | (hpread_get_textlow): Detect an uninitialized dn_bufp. | |
8341 | (hpread_read_doc_function_type): Detect an initialized type1. | |
8342 | (hpread_quick_traverse): Initialize mod_name_string. | |
8343 | * somsolib.h: Add #ifdef SOMSOLIB_H wrapper. | |
8344 | (som_solib_get_solib_by_pc): Declare. | |
8345 | (so_lib_thread_start_addr): Declare. | |
8346 | (no_shared_libraries): Declare. | |
8347 | * somread.c (init_import_symbols): Make static. Add forward | |
8348 | declaration. | |
8349 | * config/pa/nm-hppah.h: Include "infttrace.h" for | |
8350 | parent_attach_all. | |
8351 | (hppa_insert_hw_watchpoint): Declare. | |
8352 | (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare. | |
8353 | * hppah-nat.c: Include "gdb_string.h". | |
8354 | (parent_attach_all): Delete extern declaration, moved to | |
8355 | "infttrace.h". | |
8356 | (hppa_can_use_hw_watchpoint): Change type of "type" parameter to | |
8357 | int. | |
8358 | (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto. | |
8359 | * Makefile.in (infttrace_h): Define. | |
8360 | (hpread.o): Update dependencies. | |
8361 | (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto. | |
8362 | * hppa-hpux-tdep.c: Include "gdb_string.h". | |
8363 | * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc". | |
8364 | * infrun.c (handle_inferior_event): Always initialize | |
8365 | stepped_after_stopped_by_watchpoint. Add default and remove | |
8366 | fallthrough in switch statement. | |
8367 | * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type" | |
8368 | parameter to int. | |
8369 | (hppa_remove_hw_watchpoint): Ditto. | |
8370 | ||
2c3bbe77 AC |
8371 | 2003-03-29 Andrew Cagney <[email protected]> |
8372 | ||
8373 | * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint | |
8374 | offset. | |
8375 | ||
2dd604e7 RE |
8376 | 2003-03-29 Richard Earnshaw <[email protected]> |
8377 | ||
8378 | * arm-tdep.c (arm_push_arguments): Delete. | |
8379 | (struct stack_item): New type. | |
8380 | (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions. | |
8381 | (arm_store_struct_return): Delte. | |
8382 | (arm_gdbarch_init): Register arm_push_dummy_call. Don't register | |
8383 | arm_push_arguments or arm_store_struct_return. | |
8384 | ||
e8933a55 AC |
8385 | 2003-03-28 Andrew Cagney <[email protected]> |
8386 | ||
8387 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
8388 | * remote.h (target_resume_hook, target_wait_loop_hook): Declare. | |
8389 | * d10v-tdep.c: Include "remote.h". | |
8390 | (target_resume_hook): Delete extern declaration. | |
8391 | (target_wait_loop_hook): Ditto. | |
8392 | (tdisassemble_command): Eliminate assignment in "if" conditional. | |
8393 | (d10v_ts2_register_sim_regno): Eliminate call to | |
8394 | legacy_register_sim_regno. | |
8395 | (d10v_ts3_register_sim_regno): Ditto. | |
8396 | ||
6949171e JJ |
8397 | 2003-03-28 Jeff Johnston <[email protected]> |
8398 | ||
8399 | * thread.c: Reindented. | |
8400 | * lin-lwp.c: Ditto. | |
8401 | * linux-proc.c: Ditto. | |
8402 | ||
98c7071f BR |
8403 | 2003-03-28 Bob Rossi <[email protected]> |
8404 | ||
fbe586ae | 8405 | * MAINTAINERS (write after approval): Add myself. |
98c7071f | 8406 | |
5edc9ca6 TR |
8407 | 2003-03-27 Theodore A. Roth <[email protected]> |
8408 | ||
8409 | * objc-exp.y: Add missing semi-colons. | |
8410 | ||
378bfd1b AC |
8411 | 2003-03-27 Andrew Cagney <[email protected]> |
8412 | ||
8413 | * regcache.c (write_sp): Delete function and references. | |
8414 | * inferior.h (write_sp): Delete declaration. | |
8415 | * valops.c (hand_function_call): Replace write_sp with | |
8416 | TARGET_WRITE_SP. | |
8417 | * sparc-tdep.c (sparc_push_dummy_frame): Ditto. | |
8418 | (sparc_pop_frame): Ditto. | |
8ffd9b1b | 8419 | |
56056df7 AC |
8420 | 2003-03-27 Andrew Cagney <[email protected]> |
8421 | ||
8422 | * NEWS: Mention removal of support for hppa*-*-bsd* and | |
8423 | hppa*-*-osf* natives, and hppa*-*-pro* target. | |
8424 | * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h". | |
8425 | * config/pa/xm-pa.h: Obsolete file. | |
8426 | * config/pa/xm-hppab.h: Obsolete file. | |
8427 | * config/pa/nm-hppab.h: Obsolete file. | |
8428 | * config/pa/tm-hppab.h: Obsolete file. | |
8429 | * config/pa/tm-hppao.h: Obsolete file. | |
8430 | * config/pa/nm-hppao.h: Obsolete file. | |
8431 | * config/pa/tm-pro.h: Obsolete file. | |
8432 | * config/pa/hppaosf.mt: Obsolete file. | |
8433 | * config/pa/hppaosf.mh: Obsolete file. | |
8434 | * config/pa/hppapro.mt: Obsolete file. | |
8435 | * config/pa/hppabsd.mt: Obsolete file. | |
8436 | * config/pa/hppabsd.mh: Obsolete file. | |
8437 | * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*. | |
8438 | * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and | |
8439 | hppa*-*-osf*. | |
8440 | ||
5873a88d AC |
8441 | 2003-03-27 Andrew Cagney <[email protected]> |
8442 | ||
8443 | * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of | |
8444 | push_arguments. Don't set push_return_address or write_sp. | |
8445 | (d10v_push_dummy_call): Replace d10v_push_arguments. | |
8446 | (d10v_push_return_address, d10v_write_sp): Delete function, | |
8447 | handled by push_dummy_call. | |
8448 | ||
b81774d8 AC |
8449 | 2003-03-26 Andrew Cagney <[email protected]> |
8450 | ||
8451 | * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS. | |
8452 | (push_dummy_call): New pure multi-arch replacement with gdbarch, | |
8453 | regcache and dummy_addr parameters. | |
8454 | * gdbarch.h, gdbarch.c: Re-generate. | |
8455 | * valops.c (hand_function_call): Use gdbarch_push_dummy_call when | |
8456 | available; assume it will handle stack alignment and return | |
8457 | address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and | |
8458 | legacy_push_arguments. | |
8459 | (legacy_push_arguments): Rename default_push_arguments. | |
8460 | * value.h (legacy_push_arguments): Rename default_push_arguments. | |
8461 | * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments. | |
8462 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
8463 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
8464 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
8465 | * config/i386/tm-symmetry.h: Update. | |
8466 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8467 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8468 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8469 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8470 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8471 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8472 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8473 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8474 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8475 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8476 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8477 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8478 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8479 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8480 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8481 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8482 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
8483 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8484 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8485 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8486 | * arm-linux-tdep.c (arm_linux_init_abi): Update. | |
8487 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8488 | ||
f541410f DJ |
8489 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
8490 | ||
8491 | * signals/signals.c (do_target_signal_to_host): Correct realtime | |
8492 | signal range test. | |
8493 | ||
69f567ae DJ |
8494 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
8495 | ||
8496 | * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals) | |
8497 | (struct sal_chain, map_catch_names): Remove. | |
8498 | (catch_exception_command_1): Don't call | |
8499 | handle_gnu_4_16_catch_command. | |
8500 | ||
d5d14a5a DJ |
8501 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
8502 | ||
8503 | From Mark Dettinger <[email protected]>: | |
8504 | * dwarf2cfi.c (read_2u): Increment pointer by two. | |
8505 | ||
bdd73e22 DJ |
8506 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
8507 | ||
8508 | * signals/signals.c: Fix typos in last change. | |
8509 | ||
960cb555 DJ |
8510 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
8511 | ||
8512 | * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if | |
8513 | not already defined. Use __SIGRTMIN if available. | |
8514 | (target_signal_from_host): Remove SIGRTMIN block. | |
8515 | (do_target_signal_to_host): Remove SIGRTMIN block; check that | |
8516 | the signal is within the realtime range. | |
8517 | ||
f636b87d AF |
8518 | 2003-03-25 Adam Fedor <[email protected]> |
8519 | ||
8520 | * Makefile.in (infrun.o): Add $(language_h) | |
8521 | * infrun.c (handle_inferior_event): Use skip_language_trampoline | |
8522 | for language specific trampolines. | |
8523 | * language.h (struct language_defn): Add skip_trampoline. | |
8524 | (skip_language_trampoline): Declare. | |
8525 | * language.c (unk_lang_trampoline, skip_language_trampoline): | |
8526 | New functions. | |
8527 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
8528 | Add ukn_lang_trampoline. | |
8529 | * ada-lang.c (ada_language_defn): Add NULL for language | |
8530 | specific skip_trampoline. | |
8531 | * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c, | |
8532 | scm-lang.c: Likewise. | |
8533 | * objc-lang.c (objc_skip_trampoline): New function. | |
8534 | (objc_language_defn): Add objc_skip_trampoline. | |
8535 | ||
28f617b3 | 8536 | 2003-03-25 Andrew Cagney <[email protected]> |
270c3b1d AC |
8537 | |
8538 | * frame.c (get_prev_frame): Delay validating a frame's ID - | |
8539 | non-NULL, didn't go backwards - until an attempt to unwind it to | |
8540 | the previous frame. | |
8541 | ||
f933a9c5 AC |
8542 | 2003-03-25 Andrew Cagney <[email protected]> |
8543 | ||
8544 | * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace | |
8545 | EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1. | |
8546 | * gdbarch.h, gdbarch.c: Re-generate. | |
8547 | * config/sparc/tm-sparc.h | |
8548 | (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define. | |
8549 | * sparc-tdep.c (sparc_gdbarch_init): Set | |
8550 | deprecated_extra_stack_alignment_needed. | |
8551 | * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete. | |
8552 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear | |
8553 | extra_stack_alignment_needed. | |
8554 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8555 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
8556 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8557 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
8558 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8559 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
8560 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8ffd9b1b | 8561 | |
4183d812 AC |
8562 | 2003-03-25 Andrew Cagney <[email protected]> |
8563 | ||
8564 | * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace | |
8565 | STORE_STRUCT_RETURN. | |
8566 | * gdbarch.h, gdbarch.c: Regenerate. | |
8567 | * d10v-tdep.c (d10v_store_struct_return): Delete function. | |
8568 | (d10v_push_arguments): Set the struct return register. | |
8569 | (d10v_gdbarch_init): Update. | |
8570 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8571 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8572 | * vax-tdep.c (vax_gdbarch_init): Update. | |
8573 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8574 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8575 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8576 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8577 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8578 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8579 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8580 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8581 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8582 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8583 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8584 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8585 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8586 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8587 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8588 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8589 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8590 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8591 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8592 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8ffd9b1b | 8593 | |
1bf6d5cc AC |
8594 | 2003-03-25 Andrew Cagney <[email protected]> |
8595 | ||
8596 | * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete. | |
8597 | (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace | |
8598 | CALL_DUMMY_STACK_ADJUST with a predicate variable. | |
8599 | * gdbarch.h, gdbarch.c: Regenerate. | |
8600 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
8601 | call_dummy_stack_adjust_p. | |
8602 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
8603 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8604 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8605 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8606 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
8607 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
8608 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8609 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
8610 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8611 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
8612 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8613 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8614 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8615 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8616 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8617 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
8618 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8619 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
8620 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8621 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
8622 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
8623 | * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update. | |
8624 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
8625 | * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set | |
8626 | call_dummy_stack_adjust_p. | |
8627 | * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro. | |
8628 | (CALL_DUMMY_STACK_ADJUST): Delete macro. | |
8629 | * sparc-tdep.c (sparc32_push_arguments): Update. | |
8630 | * valops.c (hand_function_call): Update. | |
8631 | ||
71c08af0 CV |
8632 | 2003-03-25 Corinna Vinschen <[email protected]> |
8633 | ||
8634 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to | |
8635 | set_gdbarch_char_signed. | |
8636 | ||
30757f90 RE |
8637 | 2003-03-25 Richard Earnshaw <[email protected]> |
8638 | ||
8639 | PR cli/548 | |
8640 | * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler". | |
8641 | ||
03d48a7d RE |
8642 | 2003-03-25 Richard Earnshaw <[email protected]> |
8643 | ||
8644 | * arm-tdep.c (arm_gdbarch_init): Register the disassembler function. | |
8645 | (_initialize_arm_tdep): Don't set tm_print_insn. | |
8646 | ||
2cf6873c AF |
8647 | 2003-03-24 Adam Fedor <[email protected]> |
8648 | ||
8649 | * Makefile.in (YYOBJ): Add objc-exp.tab.o | |
8650 | * objc-lang.h: Add multiple inclusion protection. | |
8651 | (start_msglist, add_msglist, end_msglist): Additional declarations. | |
8652 | ||
17c0759e RE |
8653 | 2003-03-24 Richard Earnshaw <[email protected]> |
8654 | ||
8655 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum | |
8656 | value was renamed to ARM_FLOAT_SOFT_FPA. | |
8657 | ||
618ce49f AC |
8658 | 2003-03-23 Andrew Cagney <[email protected]> |
8659 | ||
8660 | * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN. | |
8661 | (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID. | |
8662 | * gdbarch.h, gdbarch.c: Regenerate. | |
8663 | * valops.c (hand_function_call): Update. | |
8664 | * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
8665 | * frame.c (legacy_saved_regs_this_id): Update. | |
8666 | (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update. | |
8667 | * dummy-frame.h: Update. | |
8668 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update. | |
8669 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
8670 | * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update. | |
8671 | * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update. | |
8672 | * config/m68k/tm-sun3.h: Update. | |
8673 | * blockframe.c (inside_main_func, frame_chain_valid): Update. | |
8674 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8675 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8676 | * vax-tdep.c (vax_gdbarch_init): Update. | |
8677 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8678 | * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update. | |
8679 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8680 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8681 | * rs6000-tdep.c (rs6000_frame_saved_pc): Update. | |
8682 | (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update. | |
8683 | (frame_get_saved_regs): Update. | |
8684 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
8685 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8686 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8687 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8688 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8689 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8690 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8691 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8692 | * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update. | |
8693 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
8694 | (i386_interix_back_one_frame): Update. | |
8695 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8696 | (hppa_init_extra_frame_info): Update. | |
8697 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8698 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8699 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8700 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8701 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8702 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8703 | ||
fd50bc42 RE |
8704 | 2003-03-22 Richard Earnshaw <[email protected]> |
8705 | ||
8706 | * arm-tdep.h (arm_float_model): Add AUTO and LAST values. | |
8707 | (arm_get_fp_model): Declare. | |
8708 | * arm-tdep.c (fp_model_strings): New string array. | |
8709 | (arm_fp_model, current_fp_model): New variables. | |
8710 | (arm_get_fp_model): New function. | |
8711 | (arm_set_fp): New function. | |
8712 | (set_fp_model_sfunc): New function. | |
8713 | (show_fp_model): New function. | |
8714 | (_initialize_arm_tdep): Add new command to set/show the FPU. | |
8715 | (arm_extract_return_value): Use arm_get_fp_model. | |
8716 | (arm_store_return_value): Likewise. | |
8717 | (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp | |
8718 | to initialize the floating-point data types. | |
8719 | * arm-linux-tdep.c (arm_linux_init_abi): The default floating point | |
8720 | model is FPA. | |
8721 | ||
26304000 RE |
8722 | 2003-03-22 Richard Earnshaw <[email protected]> |
8723 | ||
8724 | * arm-tdep.c (show_arm_command): Don't print out help. Instead, show | |
8725 | the current setting of each value. | |
8726 | (_initialize_arm_tdep): Delete variable new_cmd and add new vars | |
8ffd9b1b | 8727 | new_set and new_show. Use add_setshow_cmd_full and |
26304000 RE |
8728 | add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32" |
8729 | commands and add new version as subcommands of "set/show arm". | |
8730 | ||
afd7eef0 RE |
8731 | 2003-03-22 Richard Earnshaw <[email protected]> |
8732 | ||
8733 | * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists. | |
8734 | (set_arm_command, show_arm_command): New functions. | |
8735 | (_initialize_arm_tdep): Add them. | |
8736 | (num_disassembly_options): Renamed from num_flavor_options. | |
8737 | (valid_disassembly_styles): Renamed from valid_flavors. | |
8738 | (disassembly_style): Renamed from disassembly_flavor. | |
8ffd9b1b | 8739 | (set_disassembly_style_sfunc): Renamed from |
afd7eef0 RE |
8740 | set_disassembly_flavor_sfunc. |
8741 | (set_disassembly_style): Renamed from set_disassembly_flavor. | |
8742 | (arm_othernames): Updated. | |
8743 | (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor" | |
8744 | command. Add "set/show arm disassembly" commands. Deprecate | |
8745 | "othernames" command. | |
8746 | ||
299a7944 RE |
8747 | 2003-03-22 Richard Earnshaw <[email protected]> |
8748 | ||
8749 | * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define. | |
8750 | (arm-tdep.o): Depend on elf_arm_h. | |
8751 | ||
c1dac9e6 RE |
8752 | 2003-03-22 Richard Earnshaw <[email protected]> |
8753 | ||
8754 | * Makefile.in (coff_internal_h): Define. | |
8755 | (arm-tdep.o): Update dependencies. | |
8756 | ||
2702d96c RE |
8757 | 2003-03-22 Richard Earnshaw <[email protected]> |
8758 | ||
8759 | * arm-tdep.c (prologue_cache): Delete. | |
8760 | (check_prologue_cache, save_prologue_cache): Delete. | |
8761 | (arm_scan_prologue): Don't check or update the prologue_cache. | |
8762 | (arm_gdb_arch_init): Don't initialize it. | |
8763 | (_initialize_arm_tdep): Likewise. | |
8764 | ||
27d5d74b SC |
8765 | 2003-03-21 Stephane Carrez <[email protected]> |
8766 | ||
8767 | * MAINTAINERS (tui): Maintainer of tui code. | |
8768 | ||
1762d96d CV |
8769 | 2003-03-21 Corinna Vinschen <[email protected]> |
8770 | ||
8771 | * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c. | |
8772 | (i386-cygwin-tdep.o): Add dependencies. | |
8773 | * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN. | |
8774 | * i386-cygwin-tdep.c: New file. | |
8775 | * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN. | |
8776 | * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o. | |
8777 | ||
4c2e2391 AC |
8778 | 2003-03-20 Andrew Cagney <[email protected]> |
8779 | ||
f20d38b7 AC |
8780 | * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro. |
8781 | (handle_inferior_event): Remove code calling | |
8782 | DYNAMIC_TRAMPOLINE_NEXTPC. | |
8783 | ||
0022b738 AC |
8784 | * Makefile.in (init.c): Don't add $(srcdir) prefix when a file |
8785 | already has a full path. | |
8786 | ||
864dbc90 AC |
8787 | * main.c (gdb_main): Return 1. |
8788 | (captured_main): Call error to report an invalid interpreter. | |
8789 | ||
4c2e2391 AC |
8790 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. |
8791 | * alpha-osf1-tdep.c: Include "gdb_string.h". | |
8792 | ||
5ef7553b JB |
8793 | 2003-03-19 J. Brobecker <[email protected]> |
8794 | ||
8795 | Continuing work to convert the hppa targets to multiarch partial. | |
8796 | ||
8797 | * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch | |
8798 | method, now that hppa_push_dummy_frame has a conformant prototype. | |
8799 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro | |
8800 | inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation | |
8801 | for the switch to multiarch partial. | |
8802 | ||
7bde8967 KB |
8803 | 2003-03-19 Kevin Buettner <[email protected]> |
8804 | ||
8805 | * mdebugread.c (parse_symbol): For stEnd, we're done counting | |
8806 | when iss is issNull. | |
8807 | ||
b006a9e9 KB |
8808 | 2003-03-18 Kevin Buettner <[email protected]> |
8809 | ||
8810 | * mips-tdep.c (mips_register_name): Fix fencepost error involving | |
8811 | NUM_REGS bounds check. | |
8812 | ||
5e2e9765 KB |
8813 | 2003-03-18 Kevin Buettner <[email protected]> |
8814 | ||
8815 | * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h). | |
8816 | * mips-tdep.c (gdb_assert.h): Include. | |
8817 | (mips_generic_reg_names, mips_processor_reg_names): Make static. | |
8818 | (mips_register_name): Handle integer registers explicitly. Add | |
8819 | bounds checking. | |
8820 | (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names) | |
8821 | (mips_lsi33k_reg_names): Don't list integer registers; they're | |
8822 | handled by mips_register_name() now. | |
8823 | * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise. | |
8824 | * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise. | |
8825 | * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise. | |
8826 | * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise. | |
8827 | * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise. | |
8828 | ||
a2867626 AC |
8829 | 2003-03-18 Andrew Cagney <[email protected]> |
8830 | ||
8831 | * printcmd.c (print_scalar_formatted): Change VALADDR parameter to | |
8832 | a void pointer. | |
8833 | * gdbtypes.h (print_scalar_formatted): Update declaration. | |
8834 | * expression.h (enum exp_opcode): Remove non-ISO C trailing comma. | |
8835 | ||
06600e06 JB |
8836 | 2003-03-18 J. Brobecker <[email protected]> |
8837 | ||
8838 | * infrun.c (observer.h): Add #include. | |
8839 | (normal_stop): Add call to observer_notify_normal_stop. | |
8840 | * Makefile.in (infrun.o): Add dependency on observer.h. | |
8841 | ||
7daf4f5b JB |
8842 | 2003-03-18 J. Brobecker <[email protected]> |
8843 | ||
8844 | Continuing work to convert the hppa targets to multiarch partial. | |
8845 | * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function | |
8846 | parameter. Reformat comment. | |
8847 | * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile. | |
8848 | (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame() | |
8849 | to match new profile. | |
8850 | ||
3371ccc0 JB |
8851 | 2003-03-18 J. Brobecker <[email protected]> |
8852 | ||
8853 | * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not | |
8854 | appear to be working in any case. | |
8855 | ||
4fbe891e JB |
8856 | 2003-03-18 J. Brobecker <[email protected]> |
8857 | ||
8858 | * observer.c (observer_test_first_observer): New static variable. | |
8859 | (observer_test_second_observer): Likewise. | |
8860 | (observer_test_third_observer): Likewise. | |
8861 | (observer_test_first_notification_function): New static function. | |
8862 | (observer_test_second_notification_function): Likewise. | |
8863 | (observer_test_third_notification_function): Likewise. | |
8864 | ||
a7ff40e7 JB |
8865 | 2003-03-17 J. Brobecker <[email protected]> |
8866 | ||
8867 | * hppa-tdep.c (gdb_assert.h): Add missing #include. | |
8868 | * somsolib.c (gdb_assert.h): Likewise. | |
8869 | * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h. | |
8870 | (somsolib.o): Likewise. | |
8871 | ||
26ca4152 AC |
8872 | 2003-03-17 Andrew Cagney <[email protected]> |
8873 | ||
8874 | * disasm.c (gdb_disassembly): Set di.mach using the architecture's | |
8875 | BFD. Simplify setting of di.endian. | |
8876 | ||
0a613259 AC |
8877 | 2003-03-17 Andrew Cagney <[email protected]> |
8878 | ||
8879 | * rs6000-tdep.c (ppc_floating_point_unit_p): New function. | |
8880 | * ppc-tdep.h (ppc_floating_point_unit_p): Declare. | |
8881 | ||
8882 | From Elena Zannoni <[email protected]> | |
8883 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500 | |
8884 | vector and floating-point parameters. | |
8885 | (ppc_sysv_abi_use_struct_convention): Handle e500 struct return | |
8886 | convention. | |
8887 | (ppc_sysv_abi_broken_use_struct_convention): Ditto. | |
8888 | ||
1132738f FN |
8889 | 2003-03-17 Fernando Nasser <[email protected]> |
8890 | ||
8891 | * MAINTAINERS: Remove my name from several maintainership roles. | |
8892 | ||
6dc42492 AC |
8893 | 2003-03-17 Andrew Cagney <[email protected]> |
8894 | ||
8895 | Fix frame off-by-one bug. | |
8896 | * frame-unwind.h (frame_this_id_ftype): Replace | |
8897 | frame_unwind_id_ftype. | |
8898 | (frame_prev_register_ftype): Replace frame_unwind_reg_ftype. | |
8899 | (struct frame_unwind): Replace "id" with "this_id". Replace "reg" | |
8900 | with "prev_register". | |
8901 | * frame-unwind.c (frame_unwind_find_by_pc): Return | |
8902 | legacy_saved_regs_unwind instead of trad_frame_unwind. Update | |
8903 | comment. | |
8904 | * dummy-frame.c (cached_find_dummy_frame): Delete function. | |
8905 | (dummy_frame_this_id): Replace dummy_frame_id_unwind. | |
8906 | (dummy_frame_prev_register): Replace dummy_frame_register_unwind. | |
8907 | (dummy_frame_unwind): Update. | |
8908 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
8909 | sentinel_frame_register_unwind. | |
8910 | (sentinel_frame_this_id): Replace sentinel_frame_id_unwind. | |
8911 | (sentinel_frame_unwinder): Update. | |
8912 | * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
8913 | (struct frame_info): Rename "unwind_cache" to "prologue_cache". | |
8914 | * frame.c (create_sentinel_frame): Update. Initialize | |
8915 | "prologue_cache" instead of "unwind_cache". | |
8916 | (frame_register_unwind): Call this frame's prev_register with the | |
8917 | next frame and this frame's prologue cache. | |
8918 | (get_prev_frame): Simplify. Always call prev frame's this_id with | |
8919 | this frame and prev frame's prologue cache. Document that this | |
8920 | call is shifted one to the left when compared to the | |
8921 | frame_register_unwind call. | |
8922 | (legacy_saved_regs_prev_register): Replace | |
8923 | frame_saved_regs_register_unwind. | |
8924 | (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind. | |
8925 | (legacy_saved_regs_unwinder): Replace trad_frame_unwinder. | |
8926 | (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
8927 | * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind. | |
8928 | (d10v_frame_unwind): Update. | |
8929 | (d10v_frame_prev_register): Replace d10v_frame_register_unwind. | |
8930 | (d10v_frame_unwind_cache): Replace this "fi" with "next_frame". | |
8931 | (saved_regs_unwinder): Replace this "frame" with "next_frame", and | |
8932 | "saved_regs" with "this_saved_regs". | |
8933 | ||
efd710d6 AC |
8934 | 2003-03-16 Andrew Cagney <[email protected]> |
8935 | ||
8936 | * frame.c (frame_pop): Don't call target_store_registers. Fix | |
8937 | problem reported by Mark Kettenis. | |
8938 | ||
4e259f09 MK |
8939 | 2003-03-16 Mark Kettenis <[email protected]> |
8940 | ||
8941 | * i386-tdep.c (i386_register_type): Renamed from | |
8942 | i386_register_virtual_type. Adjust function signature. | |
8943 | (i386_gdbarch_init): Set register_type instead of | |
8944 | deprecated_max_register_raw_size, | |
8945 | deprecated_max_register_virtual_size and register_virtual_type. | |
8946 | ||
055bb976 AC |
8947 | 2003-03-14 Andrew Cagney <[email protected]> |
8948 | ||
8949 | * frame.c (get_prev_frame): When a legacy frame, always call | |
8950 | legacy_get_prev_frame. Simplify unwind code using assumption that | |
8951 | the unwinder is new. | |
8952 | (legacy_get_prev_frame): Handle legacy sentinel frame unwind here. | |
8953 | (legacy_frame_p): When no gdbarch_unwind_dummy_id, or | |
8954 | SAVED_DUMMY_FRAME_TOS, assume a legacy frame. | |
8955 | ||
ac2adee5 AC |
8956 | 2003-03-14 Andrew Cagney <[email protected]> |
8957 | ||
8958 | * frame.c (get_saved_register): Delete function. | |
8959 | * frame.h (get_saved_register): Delete declaration. | |
8960 | * xstormy16-tdep.c: Update comment. | |
8961 | * regcache.h: Update comments. | |
8962 | * sparc-tdep.c (sparc_init_extra_frame_info): Instead of | |
8963 | get_saved_register and extract_address, use | |
8964 | frame_read_unsigned_register. | |
8965 | (sparc_frame_saved_pc): Ditto. | |
8966 | (sparc_get_saved_register): Instead of get_saved_register, use | |
8967 | frame_register. | |
8968 | (sparc_pop_frame): Ditto. | |
8969 | * findvar.c: Update comments. | |
8970 | (value_of_register): Call frame_register instead of | |
8971 | get_saved_register. | |
8972 | (value_from_register): Ditto. | |
8973 | * config/sparc/tm-sparc.h: Update comment. | |
8974 | * breakpoint.c: Update comment. | |
8975 | ||
129c1cd6 AC |
8976 | 2003-03-14 Andrew Cagney <[email protected]> |
8977 | ||
8978 | * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace | |
8979 | GET_SAVED_REGISTER. | |
8980 | * gdbarch.h, gdbarch.c: Re-generate. | |
8981 | * frame.h: Update comments. | |
8982 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8983 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8984 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8985 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8986 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8987 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8988 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8989 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8990 | * frame.c (frame_register): Update. | |
8991 | (get_saved_register): Update. | |
8992 | * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update. | |
8ffd9b1b | 8993 | |
749b82f6 AC |
8994 | 2003-03-13 Andrew Cagney <[email protected]> |
8995 | ||
8996 | * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME. | |
8997 | * gdbarch.h, gdbarch.c: Regenerate. | |
8998 | * valops.c (hand_function_call): Update comment. | |
8999 | * stack.c (return_command): Update comment. | |
9000 | * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update. | |
9001 | * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update. | |
9002 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9003 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9004 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9005 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9006 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9007 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9008 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9009 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9010 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9011 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9012 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9013 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9014 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9015 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9016 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9017 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9018 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9019 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9020 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9021 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9022 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9023 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9024 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9025 | ||
1594fa56 AC |
9026 | 2003-03-13 Andrew Cagney <[email protected]> |
9027 | ||
9028 | * frame.c (legacy_frame_p): New function. | |
9029 | (get_prev_frame): Use legacy_frame_p. | |
9030 | * frame.h (legacy_frame_p): Declare. | |
9031 | ||
7717fda3 V |
9032 | 2003-03-13 D. Venkatasubramanian <[email protected]> |
9033 | ||
fbe586ae | 9034 | * MAINTAINERS (write after approval): Alphabetically |
7717fda3 V |
9035 | listing corrected. |
9036 | ||
0c67cbe9 V |
9037 | 2003-03-13 D. Venkatasubramanian <[email protected]> |
9038 | ||
fbe586ae | 9039 | * MAINTAINERS (write after approval): Add myself. |
0c67cbe9 | 9040 | |
03febf99 AC |
9041 | 2003-03-12 Andrew Cagney <[email protected]> |
9042 | ||
9043 | * frame.c (get_prev_frame): Rename the frame parameter to | |
9044 | "this_frame". | |
9045 | (get_next_frame, legacy_get_prev_frame): Ditto. | |
9046 | ||
0a1e1ca1 AC |
9047 | 2003-03-12 Andrew Cagney <[email protected]> |
9048 | ||
9049 | * frame.c (get_current_frame): Check target_has_registers before | |
9050 | checking target_has_stack. | |
9051 | * eval.c (evaluate_subexp_standard): Use get_selected_frame, | |
9052 | instead of deprecated_selected_frame. | |
9053 | * findvar.c (value_of_register): Pass "frame", not | |
9054 | deprecated_selected_frame, to value_of_builtin_reg. | |
9055 | ||
a66a9c23 AC |
9056 | 2003-03-12 Andrew Cagney <[email protected]> |
9057 | ||
9058 | * regcache.c (regcache_cooked_write_signed): New function. | |
9059 | (regcache_cooked_write_unsigned): New function. | |
9060 | (regcache_cooked_read_unsigned): Fix regnum in range assertion. | |
9061 | (regcache_cooked_read_signed): Fix regnum in range assertion. | |
9062 | * regcache.h (regcache_cooked_write_signed): Declare. | |
9063 | (regcache_cooked_write_unsigned): Declare. | |
9064 | ||
8bedc050 AC |
9065 | 2003-03-12 Andrew Cagney <[email protected]> |
9066 | ||
9067 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
9068 | * gdbarch.h, gdbarch.c: Re-generate. | |
9069 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9070 | * x86-64-tdep.h: Update. | |
9071 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9072 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9073 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9074 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9075 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9076 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9077 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
9078 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9079 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9080 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9081 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9082 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9083 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9084 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9085 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9086 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
9087 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9088 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9089 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9090 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9091 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9092 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9093 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9094 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
9095 | (sh64_init_extra_frame_info): Update. | |
9096 | * ns32knbsd-nat.c (frame_num_args): Update. | |
9097 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
9098 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
9099 | (xstormy16_frame_chain_valid): Update. | |
9100 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
9101 | * v850-tdep.c (v850_frame_chain): Update. | |
9102 | (v850_pop_frame): Update. | |
9103 | (v850_init_extra_frame_info): Update. | |
9104 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
9105 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
9106 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
9107 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
9108 | (mn10300_pop_frame_regular): Update. | |
9109 | (mn10300_init_extra_frame_info): Update. | |
9110 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
9111 | (mips_frame_chain): Update. | |
9112 | (mips_pop_frame): Update. | |
9113 | * mcore-tdep.c (mcore_frame_chain): Update. | |
9114 | (mcore_pop_frame): Update. | |
9115 | (mcore_init_extra_frame_info): Update. | |
9116 | * arch-utils.c (init_frame_pc_default): Update. | |
9117 | * m68k-tdep.c (isi_frame_num_args): Update. | |
9118 | (delta68_frame_num_args): Update. | |
9119 | (news_frame_num_args): Update. | |
9120 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
9121 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
9122 | (alpha_frame_chain): Update. | |
9123 | (alpha_pop_frame): Update. | |
9124 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
9125 | (hppa_init_extra_frame_info): Update. | |
9126 | (hppa_frame_chain): Update. | |
9127 | (hppa_frame_chain_valid): Update. | |
9128 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
9129 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
9130 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
9131 | (arm_init_extra_frame_info): Update. | |
9132 | (arm_pop_frame): Update. | |
9133 | * frame.c (frame_pc_unwind): Update. | |
9134 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
9135 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
9136 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
9137 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
9138 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
9139 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8ffd9b1b | 9140 | |
7a25a7c1 AC |
9141 | 2003-03-12 Andrew Cagney <[email protected]> |
9142 | ||
9143 | Eliminate the need for POP_FRAME. | |
9144 | * frame.c (do_frame_unwind_register): New function. | |
9145 | (frame_pop): When no POP_FRAME, pop the frame using register | |
9146 | unwind and a scratch regcache. | |
9147 | (frame_saved_regs_pop): Delete function. | |
9148 | (trad_frame_unwinder): Update. | |
9149 | * d10v-tdep.c (d10v_frame_pop): Delete function. | |
9150 | (d10v_frame_unwind): Update. | |
9151 | * sentinel-frame.c (sentinel_frame_pop): Delete function. | |
9152 | (sentinel_frame_unwinder): Update. | |
9153 | * dummy-frame.c (dummy_frame_pop): Delete function. | |
9154 | (dummy_frame_unwind): Update. | |
9155 | * frame-unwind.h (frame_unwind_pop_ftype): Delete definition. | |
9156 | (struct frame_unwind): Update. | |
9157 | ||
2f38ef89 KB |
9158 | 2003-03-11 Kevin Buettner <[email protected]> |
9159 | ||
9160 | * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to | |
9161 | mips_dwarf_dwarf2_ecoff_reg_to_regnum(). | |
9162 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum): | |
9163 | Do range checks on register number obtained from debugging info. | |
9164 | (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and | |
9165 | set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of | |
9166 | set_gdbarch_ecoff_reg_to_regnum() to account for new name of | |
9167 | mapping function. | |
9168 | (do_fp_register_row): Fix typo which caused double type to be | |
9169 | used when attempting to unpack a float. | |
9170 | ||
552f4abf JB |
9171 | 2003-03-11 J. Brobecker <[email protected]> |
9172 | ||
9173 | * breakpoint.c (bpstat_stop_status): Fix a small memory leak. | |
9174 | ||
e0d2ae16 AC |
9175 | 2003-03-11 Andrew Cagney <[email protected]> |
9176 | ||
9177 | * frame.c (deprecated_update_frame_pc_hack): Don't assume a next | |
9178 | frame. Problem found by Corinna Vinschen. | |
9179 | ||
ddbfdd06 PM |
9180 | 2003-03-11 Pierre Muller <[email protected]> |
9181 | ||
9182 | * doublest.c (floatformat_from_length): Accept also | |
9183 | the real size of 'long double' type. | |
9184 | ||
088b2ddc | 9185 | 2003-03-10 Daniel Jacobowitz <[email protected]> |
31cc81e9 | 9186 | |
088b2ddc | 9187 | From Klee Dienes <[email protected]>: |
31cc81e9 DJ |
9188 | * breakpoint.c (bpstat_copy): Copy the command lines as well |
9189 | as the old value, to match what is freed in bpstat_clear. | |
9190 | ||
f56f77c1 DC |
9191 | 2003-03-10 David Carlton <[email protected]> |
9192 | ||
9193 | * minsyms.c (add_minsym_to_hash_table): Replace | |
9194 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
9195 | (compare_minimal_symbols, compact_minimal_symbols) | |
9196 | (install_minimal_symbols, find_solib_trampoline_target): Ditto. | |
9197 | (lookup_minimal_symbol_text): Use strcmp on linkage names instead | |
9198 | of DEPRECATED_SYMBOL_MATCHES_NAME. | |
9199 | (lookup_minimal_symbol_solib_trampoline): Ditto. | |
9200 | ||
5602984a AC |
9201 | 2003-03-10 Andrew Cagney <[email protected]> |
9202 | ||
9203 | * regcache.h (regcache_cooked_read_ftype): Define. | |
9204 | (regcache_save, regcache_restore): Add a cooked_read parameter. | |
9205 | * regcache.c (regcache_save, regcache_restore): Update. | |
9206 | (do_cooked_read): New function. | |
9207 | (regcache_cpy): Pass do_cooked_read to regcache_save and | |
9208 | regcache_restore. | |
9209 | ||
8bedc050 AC |
9210 | 2003-03-10 Andrew Cagney <[email protected]> |
9211 | ||
9212 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
9213 | * gdbarch.h, gdbarch.c: Re-generate. | |
9214 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9215 | * x86-64-tdep.h: Update. | |
9216 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9217 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9218 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9219 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9220 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9221 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9222 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
9223 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9224 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9225 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9226 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9227 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9228 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9229 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9230 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9231 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
9232 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9233 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9234 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9235 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9236 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9237 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9238 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9239 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
9240 | (sh64_init_extra_frame_info): Update. | |
9241 | * ns32knbsd-nat.c (frame_num_args): Update. | |
9242 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
9243 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
9244 | (xstormy16_frame_chain_valid): Update. | |
9245 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
9246 | * v850-tdep.c (v850_frame_chain): Update. | |
9247 | (v850_pop_frame): Update. | |
9248 | (v850_init_extra_frame_info): Update. | |
9249 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
9250 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
9251 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
9252 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
9253 | (mn10300_pop_frame_regular): Update. | |
9254 | (mn10300_init_extra_frame_info): Update. | |
9255 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
9256 | (mips_frame_chain): Update. | |
9257 | (mips_pop_frame): Update. | |
9258 | * mcore-tdep.c (mcore_frame_chain): Update. | |
9259 | (mcore_pop_frame): Update. | |
9260 | (mcore_init_extra_frame_info): Update. | |
9261 | * arch-utils.c (init_frame_pc_default): Update. | |
9262 | * m68k-tdep.c (isi_frame_num_args): Update. | |
9263 | (delta68_frame_num_args): Update. | |
9264 | (news_frame_num_args): Update. | |
9265 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
9266 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
9267 | (alpha_frame_chain): Update. | |
9268 | (alpha_pop_frame): Update. | |
9269 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
9270 | (hppa_init_extra_frame_info): Update. | |
9271 | (hppa_frame_chain): Update. | |
9272 | (hppa_frame_chain_valid): Update. | |
9273 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
9274 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
9275 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
9276 | (arm_init_extra_frame_info): Update. | |
9277 | (arm_pop_frame): Update. | |
9278 | * frame.c (frame_pc_unwind): Update. | |
9279 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
9280 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
9281 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
9282 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
9283 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
9284 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8ffd9b1b | 9285 | |
12cc2063 AC |
9286 | 2003-03-10 Andrew Cagney <[email protected]> |
9287 | ||
9288 | * gdbarch.sh (gdbarch_unwind_pc): New method. | |
9289 | * gdbarch.h, gdbarch.c: Regenerate. | |
9290 | * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc, | |
9291 | but use read_pc and FRAME_SAVED_PC as fall backs. | |
9292 | (frame_saved_regs_pc_unwind): Delete function. | |
9293 | (trad_frame_unwinder): Update. | |
9294 | * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration. | |
9295 | (struct frame_unwind): Update. | |
9296 | * dummy-frame.c (dummy_frame_pc_unwind): Delete function. | |
9297 | (dummy_frame_unwind): Update. | |
9298 | * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function. | |
9299 | (sentinel_frame_unwinder): Update. | |
9300 | * d10v-tdep.c (d10v_frame_pc_unwind): Delete function. | |
9301 | (d10v_frame_unwind): Update. | |
9302 | (d10v_unwind_pc): New function. | |
9303 | (d10v_gdbarch_init): Set unwind_pc. | |
9304 | ||
ef840a37 AC |
9305 | 2003-03-10 Andrew Cagney <[email protected]> |
9306 | ||
a2ce2e56 AC |
9307 | * gdbarch.h: Re-generate. |
9308 | ||
ef840a37 AC |
9309 | * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the |
9310 | PC. | |
9311 | (d10v_frame_pop): Unwind the PC, and not the LR, when restoring | |
9312 | the PC register. | |
9313 | ||
08f3424b MK |
9314 | 2003-03-08 Mark Kettenis <[email protected]> |
9315 | ||
9316 | * gdbarch.sh (save_dummy_frame_tos): Add comment. | |
9317 | ||
1248ede2 AC |
9318 | 2003-03-08 Andrew Cagney <[email protected]> |
9319 | ||
9320 | * cli-out.c: Update copyright. | |
9321 | (cli_out_data): Define typedef. Use instead of ui_out_data. | |
9322 | ||
f49bacc8 AC |
9323 | 2003-03-08 Andrew Cagney <[email protected]> |
9324 | ||
9325 | * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to | |
9326 | the result. | |
9327 | ||
9b05f993 AC |
9328 | 2003-03-07 Andrew Cagney <[email protected]> |
9329 | ||
9330 | * gdbarch.sh: Don't generate two macro definitions when an | |
9331 | undefined macro taking no arguments. | |
9332 | * gdbarch.h: Regenerate. | |
8ffd9b1b | 9333 | |
166f4c7b ML |
9334 | 2002-03-07 Michal Ludvig <[email protected]> |
9335 | ||
9336 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos) | |
9337 | (x86_64_unwind_dummy_id): New functions. | |
9338 | (x86_64_init_abi): Register these two new functions. | |
9339 | ||
6d686a84 ML |
9340 | 2003-03-07 Michal Ludvig <[email protected]> |
9341 | ||
9342 | * x86-64-tdep.c (x86_64_function_has_prologue): New function. | |
8ffd9b1b | 9343 | (x86_64_skip_prologue): Move prologue detection to |
6d686a84 ML |
9344 | separate function. |
9345 | * x86-64-tdep.h (x86_64_function_has_prologue): New prototype. | |
9346 | ||
6314f104 AC |
9347 | 2003-03-05 Andrew Cagney <[email protected]> |
9348 | ||
9349 | * d10v-tdep.c (d10v_unwind_dummy_id): New function. | |
9350 | (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos. | |
9351 | * frame.c (get_prev_frame): Restructure the frame ID unwind code | |
9352 | to use unwind_dummy_id when a dummy frame. | |
9353 | * gdbarch.sh (unwind_dummy_id): New multi-arch method with | |
9354 | predicate. | |
9355 | * gdbarch.h, gdbarch.c: Regneerate. | |
8ffd9b1b | 9356 | |
ceea5145 AC |
9357 | 2003-03-05 Andrew Cagney <[email protected]> |
9358 | ||
9359 | * d10v-tdep.c (struct d10v_unwind_cache): Add field "base". | |
9360 | (d10v_frame_unwind_cache): Rewrite code computing the base and SP. | |
9361 | Do not use d10v_read_sp or d10v_read_fp when obtaining register | |
9362 | values. | |
9363 | ||
0d843116 AC |
9364 | 2003-03-05 Andrew Cagney <[email protected]> |
9365 | ||
9366 | * d10v-tdep.c (struct frame_extra_info): Delete unused structure. | |
9367 | (struct d10v_unwind_cache): Delete field "frameless". Replace | |
9368 | "next_addr" with "sp_offset". Add "r11_offset". | |
9369 | (d10v_frame_unwind_cache): Update. | |
9370 | (prologue_find_regs): Update. When "mv r11, sp", save the | |
9371 | "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that | |
9372 | RN was saved in r11_offset. | |
9373 | ||
b2579786 AC |
9374 | 2003-03-05 Andrew Cagney <[email protected]> |
9375 | ||
9376 | * frame.c (deprecated_update_frame_pc_hack): Also update the the | |
9377 | cached PC value in the next frame. | |
9378 | ||
218e5956 AC |
9379 | 2003-03-05 Andrew Cagney <[email protected]> |
9380 | ||
9381 | * frame.h (struct frame_info): Replace "id_unwind_cache_p" and | |
9382 | "id_unwind_cache" with "id". | |
9383 | (frame_id_unwind): Delete declaration. | |
9384 | * frame.c (frame_id_unwind): Delete function. | |
9385 | (get_prev_frame): Call the frame id unwind method directly. Store | |
9386 | the returned next frame's ID value in NEXT_FRAME. Note that there | |
9387 | is a problem with the wrong unwind ID being called with the wrong | |
9388 | unwind cache. | |
9389 | ||
ed363b1b DJ |
9390 | 2003-03-05 Daniel Jacobowitz <[email protected]> |
9391 | ||
9392 | * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS. | |
9393 | ||
fe1f4a5e DJ |
9394 | 2003-03-05 James Ingham <[email protected]> |
9395 | Daniel Jacobowitz <[email protected]> | |
9396 | ||
9397 | * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h". | |
9398 | (auto_cp_abi): New variable. | |
9399 | (current_cp_abi, num_cp_abis): Make static. | |
9400 | (CP_ABI_MAX): Define. | |
9401 | (cp_abis): Turn into an array. | |
9402 | (value_virtual_fn_field): Fix formatting. | |
9403 | (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now | |
9404 | takes a pointer. | |
9405 | (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd) | |
9406 | (list_cp_abis, _initialize_cp_abi): New functions. | |
9407 | * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove | |
9408 | declarations for cp_abis, num_cp_abis, current_cp_abi, and | |
9409 | switch_to_cp_abi. Update prototype for register_cp_abi. | |
9410 | * Makefile.in (cp-abi.o): Update dependencies. | |
9411 | * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default | |
9412 | instead of switch_to_cp_abi. | |
9413 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to | |
9414 | register_cp_abi. | |
9415 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to | |
9416 | register_cp_abi. | |
9417 | * hpacc-abi.c (_initialize_hpacc_abi): Likewise. | |
9418 | ||
e4adbba9 DJ |
9419 | 2003-03-05 Daniel Jacobowitz <[email protected]> |
9420 | ||
9421 | * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition. | |
9422 | * dwarf2loc.c: Include "regcache.h". | |
9423 | (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use | |
9424 | register_size. | |
9425 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
9426 | ||
91ccbfc1 TR |
9427 | 2003-03-04 Theodore A. Roth <[email protected]> |
9428 | ||
9429 | * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the | |
9430 | number of io registers reported by remote target is not a multiple of | |
9431 | step. | |
9432 | ||
3d4e8fd2 DC |
9433 | 2003-03-04 David Carlton <[email protected]> |
9434 | ||
9435 | * symtab.c (lookup_partial_symbol): Add linkage_name argument. | |
9436 | (lookup_symbol_aux_psymtabs): Update call to | |
9437 | lookup_partial_symbol. | |
9438 | (lookup_transparent_type, find_main_psymtab) | |
9439 | (make_symbol_overload_list): Ditto. | |
9440 | ||
ed42d87b KH |
9441 | 2003-03-04 Kazu Hirata <[email protected]> |
9442 | ||
9443 | * MAINTAINERS (Write after approval): Update my email address. | |
9444 | ||
a0ed5532 AC |
9445 | 2003-03-03 Andrew Cagney <[email protected]> |
9446 | ||
9447 | Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional. | |
9448 | * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with | |
9449 | predicate. Replace MAX_REGISTER_RAW_SIZE. | |
9450 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for | |
9451 | MAX_REGISTER_VIRTUAL_SIZE. | |
9452 | * regcache.c (legacy_max_register_raw_size): New function. | |
9453 | (legacy_max_register_virtual_size): New function. | |
9454 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define. | |
9455 | (MAX_REGISTER_RAW_SIZE): Define. | |
9456 | (legacy_max_register_raw_size): Declare. | |
9457 | (legacy_max_register_virtual_size): Declare. | |
9458 | * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
9459 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update. | |
9460 | * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
9461 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
9462 | * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
9463 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
9464 | * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
9465 | * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
9466 | * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
9467 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9468 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9469 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9470 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9471 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9472 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9473 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9474 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9475 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9476 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9477 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9478 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9479 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9480 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9481 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9482 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9483 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9484 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9485 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9486 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9487 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9488 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9489 | * d10v-tdep.c (d10v_gdbarch_init): Do not set | |
9490 | max_register_raw_size or max_register_virtual_size. | |
9491 | ||
8e437497 DC |
9492 | 2003-03-03 David Carlton <[email protected]> |
9493 | ||
9494 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from | |
9495 | SYMBOL_MATCHES_NAME, add comment. | |
9496 | (SYMBOL_MATCHES_NATURAL_NAME): New. | |
9497 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace | |
9498 | SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME. | |
9499 | (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto. | |
9500 | * symtab.c (lookup_partial_symbol): Use | |
9501 | SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete | |
9502 | unhelpful comment. | |
9503 | (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not | |
9504 | SYMBOL_MATCHES_NAME. | |
9505 | Fix for PR c++/33. | |
9506 | ||
25120b0d DC |
9507 | 2003-03-03 David Carlton <[email protected]> |
9508 | ||
9509 | * symtab.h (SYMBOL_MATCHES_REGEXP): Delete. | |
9510 | * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP | |
9511 | by regexp matching against SYMBOL_NATURAL_NAME. | |
9512 | ||
78a11fb4 DC |
9513 | 2003-03-03 David Carlton <[email protected]> |
9514 | ||
9515 | * linespec.c (find_method): Extract code into collect_methods. | |
9516 | (collect_methods): New. | |
9517 | ||
645dd519 MK |
9518 | 2003-03-02 Mark Kettenis <[email protected]> |
9519 | ||
b4700d91 MK |
9520 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and |
9521 | get_frame_base. | |
9522 | ||
645dd519 MK |
9523 | * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of |
9524 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
9525 | ||
0aa7e1aa SC |
9526 | 2003-03-02 Stephane Carrez <[email protected]> |
9527 | ||
8ffd9b1b | 9528 | * arch-utils.c (generic_register_byte): Fix to use the loop index |
0aa7e1aa SC |
9529 | and not regnum when summing the size of all registers up to regnum. |
9530 | ||
f30ee0bc AC |
9531 | 2003-03-01 Andrew Cagney <[email protected]> |
9532 | ||
9533 | * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename | |
9534 | FRAME_INIT_SAVED_REGS. | |
9535 | * gdbarch.h, gdbarch.c: Regenerate. | |
9536 | * stack.c (frame_info): Update. | |
9537 | * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update. | |
9538 | (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update. | |
9539 | (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update. | |
9540 | * ns32k-tdep.c (ns32k_pop_frame): Update. | |
9541 | * mips-tdep.c (mips_pop_frame): Update. | |
9542 | * m68hc11-tdep.c (m68hc11_pop_frame): Update. | |
9543 | * ia64-tdep.c (ia64_frame_chain): Update. | |
9544 | (ia64_frame_saved_pc, ia64_get_saved_register): Update. | |
9545 | (ia64_frameless_function_invocation): Update. | |
9546 | (ia64_init_extra_frame_info): Update. | |
9547 | (ia64_pop_frame_regular): Update. | |
9548 | * frame.h (struct frame_info): Update comment. | |
9549 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro. | |
9550 | * frame.c (frame_saved_regs_register_unwind): Update. | |
9551 | (frame_saved_regs_register_unwind): Update. | |
9552 | (deprecated_generic_get_saved_register): Update. | |
9553 | * cris-tdep.c: Update comment. | |
9554 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS): | |
9555 | Rename macro. | |
9556 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9557 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9558 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9559 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9560 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9561 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9562 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9563 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9564 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
9565 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9566 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9567 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9568 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9569 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9570 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9571 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9572 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9573 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9574 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9575 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9576 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8ffd9b1b | 9577 | |
42fa7c0f AC |
9578 | 2003-03-01 Andrew Cagney <[email protected]> |
9579 | ||
9580 | * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to | |
9581 | option enum and switch. When no windows, set the interpreter to | |
9582 | INTERP_CONSOLE. | |
8ffd9b1b | 9583 | |
49c7e338 AC |
9584 | 2003-03-01 Andrew Cagney <[email protected]> |
9585 | ||
9586 | * main.c (captured_main): Replace magic option characters with an | |
9587 | enum. | |
9588 | ||
e9582e71 AC |
9589 | 2003-03-01 Andrew Cagney <[email protected]> |
9590 | ||
9591 | * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename | |
9592 | INIT_EXTRA_FRAME_INFO. | |
9593 | * gdbarch.h, gdbarch.c: Regenerate. | |
9594 | * arm-tdep.c: Update comments. | |
9595 | * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto. | |
9596 | * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto. | |
9597 | * frame.h, avr-tdep.c: Ditto. | |
9598 | * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO. | |
9599 | (create_new_frame, legacy_get_prev_frame): Ditto. | |
9600 | * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
9601 | * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
9602 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize | |
9603 | deprecated_init_extra_frame_info instead of init_extra_frame_info. | |
9604 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
9605 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9606 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
9607 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9608 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9609 | * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto. | |
9610 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9611 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
9612 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
9613 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
9614 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9615 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
9616 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
9617 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9618 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9619 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9620 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
9621 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
9622 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
9623 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
9624 | ||
35cac7cf AC |
9625 | 2003-03-01 Andrew Cagney <[email protected]> |
9626 | ||
9627 | * gdbarch.sh (register_type): New function with predicate. | |
9628 | (REGISTER_VIRTUAL_TYPE): Change to function with predicate. | |
9629 | * gdbarch.h, gdbarch.c: Re-generate. | |
9630 | * arch-utils.c (generic_register_byte): Use generic_register_size. | |
9631 | (generic_register_size): When available, use | |
9632 | gdbarch_register_type. | |
9633 | * regcache.c (init_regcache_descr): When available, initialize the | |
9634 | register type array using gdbarch_register_type. If the | |
9635 | architecture supplies gdbarch_register_type, do not use the legacy | |
9636 | regcache layout. | |
9637 | * d10v-tdep.c (d10v_register_type): Replace | |
9638 | d10v_register_virtual_type. | |
9639 | (d10v_gdbarch_init): Set register_type instead of | |
9640 | register_virtual_type. | |
9641 | ||
7b83296f AC |
9642 | 2003-03-01 Andrew Cagney <[email protected]> |
9643 | ||
9644 | * Makefile.in (ax-gdb.o): Update dependencies. | |
9645 | * ax-gdb.c: Include "regcache.h". | |
9646 | (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE. | |
9647 | * findvar.c (value_of_register): Ditto. | |
9648 | * infcmd.c (default_print_registers_info): Ditto. | |
9649 | ||
eadc1c87 MK |
9650 | 2003-03-01 Mark Kettenis <[email protected]> |
9651 | ||
9652 | * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of | |
9653 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
9654 | ||
14143612 MK |
9655 | 2003-03-01 Mark Kettenis <[email protected]> |
9656 | ||
9657 | * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead | |
9658 | of STREQ. | |
9659 | ||
a55cc764 DJ |
9660 | 2003-02-28 Daniel Jacobowitz <[email protected]> |
9661 | ||
9662 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
9663 | * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG. | |
9664 | * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static. | |
9665 | * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes. | |
9666 | * dwarf2loc.c: Include "ax.h" and "ax-gdb.h". | |
9667 | (locexpr_tracepoint_var_ref): New function. | |
9668 | (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref. | |
9669 | ||
08a617da AC |
9670 | 2003-02-28 Andrew Cagney <[email protected]> |
9671 | ||
9672 | * regcache.c (register_size): New function. | |
9673 | * regcache.h (register_size): Declare | |
9674 | * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use | |
9675 | max_register_size instead of MAX_REGISTER_RAW_SIZE. | |
9676 | ||
4224873a DC |
9677 | 2003-02-28 David Carlton <[email protected]> |
9678 | ||
9679 | * linespec.c (decode_compound): Extract code into find_method. | |
9680 | (find_method): New. | |
9681 | ||
ccdc5d7f JB |
9682 | 2003-02-28 J. Brobecker <[email protected]> |
9683 | ||
9684 | * Makefile.in: Add rules to build and link in observer.o. | |
9685 | ||
974e8ced JB |
9686 | 2003-02-27 J. Brobecker <[email protected]> |
9687 | ||
9688 | * observer.c: Minor comments edits. | |
9689 | ||
7a28f973 JB |
9690 | 2003-02-27 J. Brobecker <[email protected]> |
9691 | ||
9692 | * observer.h, observer.c: New file. | |
9693 | ||
27cddce2 AC |
9694 | 2003-02-27 Andrew Cagney <[email protected]> |
9695 | ||
9696 | * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd. | |
9697 | ||
b94a41a1 SC |
9698 | 2003-02-27 Stephane Carrez <[email protected]> |
9699 | ||
9700 | * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines. | |
9701 | (M6812_OP_STS_EXT): Likewise. | |
9702 | (m6811_prologue): Use the above to recognize prologue. | |
9703 | (m6812_prologue): Likewise. | |
9704 | ||
c8be8951 DC |
9705 | 2003-02-27 David Carlton <[email protected]> |
9706 | ||
9707 | * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not | |
9708 | SYMBOL_PRINT_NAME. | |
9709 | (compare_psymbols): Ditto. | |
9710 | * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto. | |
9711 | ||
d05bb1fc MS |
9712 | 2003-02-27 Michael Snyder <[email protected]> |
9713 | ||
4e845cd3 MS |
9714 | * f-lang.c (build_fortran_types): New function. |
9715 | (_initialize_f_language): Gdbarch-register built-in fortran types. | |
d05bb1fc MS |
9716 | * doublest.c (extract_floating): Fix warning text. |
9717 | ||
f3824013 AC |
9718 | 2003-02-27 Andrew Cagney <[email protected]> |
9719 | ||
9720 | * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with | |
9721 | predicate. Replaces PUSH_DUMMY_FRAME. | |
9722 | * gdbarch.h, gdbarch.c: Regnerate. | |
9723 | * valops.c (hand_function_call): Update. Call | |
9724 | generic_push_dummy_frame directly. | |
9725 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9726 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9727 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9728 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9729 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9730 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9731 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
9732 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
9733 | * inferior.h (PUSH_DUMMY_FRAME): Delete definition. | |
9734 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set | |
9735 | push_dummy_frame to generic_push_dummy_frame. | |
9736 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9737 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9738 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9739 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
9740 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9741 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
9742 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
9743 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
9744 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9745 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
9746 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9747 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9748 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
9749 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9750 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
9751 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8ffd9b1b | 9752 | |
ad188201 KB |
9753 | 2003-02-26 Kevin Buettner <[email protected]> |
9754 | ||
9755 | * mips-tdep.c (show_mips_abi): New function. | |
9756 | (_initialize_mips_tdep): Use show_mips_abi() to implement the | |
9757 | command ``show mips abi''. | |
9758 | ||
6b37567a | 9759 | 2003-02-26 Jeff Johnston <[email protected]> |
8ffd9b1b | 9760 | |
6b37567a | 9761 | From Elena Zannoni <[email protected]> |
8ffd9b1b | 9762 | * dbxread.c (process_one_symbol): Only record line 0 if one or |
6b37567a JJ |
9763 | more sline entries have been seen for the function. |
9764 | ||
d3e0a5bf MC |
9765 | 2003-02-26 Michael Chastain <[email protected]> |
9766 | ||
9767 | * configure: Regenerate with autoconf 000227. | |
9768 | ||
18972eea MC |
9769 | 2003-02-26 Michael Chastain <[email protected]> |
9770 | ||
9771 | Close PR build/660. | |
9772 | * PROBLEMS (i[3456]86-*-linux*): Note explicit error message | |
9773 | for old libc5/glibc. | |
9774 | * gdb_thread_db.h: Die if not HAVE_UINTPTR_T. | |
9775 | ||
0bbde931 KW |
9776 | 2003-02-26 Kris Warkentin <[email protected]> |
9777 | ||
9778 | * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO. | |
9779 | * osabi.c (gdb_osabi_names): Add "QNX Neutrino". | |
9780 | ||
27ca5dad MC |
9781 | 2003-02-26 Michael Chastain <[email protected]> |
9782 | ||
9783 | * configure.in: New variable HAVE_UINTPTR_T. | |
9784 | * configure, config.in: Regenerated. | |
9785 | ||
6f88d630 DJ |
9786 | 2003-02-26 Daniel Jacobowitz <[email protected]> |
9787 | ||
9788 | Fix PR build/1097. | |
9789 | * utils.c (gdb_realpath): Move closing brace outwards one #endif. | |
9790 | ||
b14185ce AC |
9791 | 2003-02-25 Andrew Cagney <[email protected]> |
9792 | ||
9793 | * frame.c (get_prev_frame): Add comment on check for | |
9794 | inside_entry_func. Only check for inside_entry_file when not a | |
9795 | dummy and not a sentinel. Check that the new frame is not inner | |
9796 | to the old frame. | |
9797 | ||
ac2bd0a9 AC |
9798 | 2003-02-25 Andrew Cagney <[email protected]> |
9799 | ||
9800 | * frame.c (frame_debug): New variable. | |
9801 | (_initialize_frame): Add "set/show debug frame" command. | |
9802 | (get_prev_frame): When frame_debug, print reason why unwind | |
9803 | failed. | |
9804 | ||
b18a0fd2 MC |
9805 | 2003-02-25 Michael Chastain <[email protected]> |
9806 | ||
9807 | * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later | |
9808 | to avoid uintptr_t definition problems. | |
9809 | ||
22abf04a DC |
9810 | 2003-02-25 David Carlton <[email protected]> |
9811 | ||
9812 | * symtab.h (SYMBOL_NATURAL_NAME): New macro. | |
9813 | (SYMBOL_LINKAGE_NAME): Ditto. | |
9814 | (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and | |
9815 | SYMBOL_LINKAGE_NAME. | |
9816 | (struct general_symbol_info): Expand comment. | |
9817 | (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME. | |
9818 | (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME. | |
9819 | (SYMBOL_MATCHES_REGEXP): Ditto. | |
9820 | * symtab.c (symbol_natural_name): New function. | |
9821 | * objfiles.h: Replace all uses of SYMBOL_NAME by | |
9822 | DEPRECATED_SYMBOL_NAME. | |
9823 | * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto. | |
9824 | * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto. | |
9825 | * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto. | |
9826 | * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto. | |
9827 | * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto. | |
9828 | * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto. | |
9829 | * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto. | |
9830 | * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto. | |
9831 | * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto. | |
9832 | * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto. | |
9833 | * ada-exp.y: Ditto. | |
9834 | * ada-exp.y: Update copyright. | |
9835 | * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto. | |
9836 | * cp-valprint.c: Ditto. | |
9837 | ||
1a5848f6 JJ |
9838 | 2003-02-25 Jeff Johnston <[email protected]> |
9839 | ||
9840 | * infptrace.c (detach): Do not flag error if ptrace detach fails | |
9841 | and errno is set to ESRCH. | |
9842 | ||
7343d46a AC |
9843 | 2003-02-24 Andrew Cagney <[email protected]> |
9844 | ||
9845 | * infptrace.c (udot_info): Change type of udot_off to long. Use | |
9846 | paddr when printing udot_off's value. | |
9847 | ||
49fa1dc2 DC |
9848 | 2003-02-24 David Carlton <[email protected]> |
9849 | ||
9850 | * symtab.c (make_symbol_overload_list): Only read in partial | |
9851 | symtabs containing a matching partial symbol. | |
9852 | ||
0fe19209 DC |
9853 | 2003-02-24 David Carlton <[email protected]> |
9854 | ||
9855 | * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to | |
9856 | do the comparison, not strcmp. | |
9857 | * symfile.c (compare_psymbols): Ditto. | |
9858 | * defs.h: Declare strcmp_iw_ordered. | |
9859 | * utils.c (strcmp_iw_ordered): New function. | |
9860 | ||
8e3ee7b5 JB |
9861 | 2003-02-24 Jim Blandy <[email protected]> |
9862 | ||
9863 | * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme | |
9864 | support, shared libs): Remove my name from here, to better reflect | |
9865 | reality. | |
9866 | ||
7df1a324 KW |
9867 | 2003-02-24 Kris Warkentin <[email protected]> |
9868 | ||
9869 | * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define. | |
9870 | (target_ops): Add to_have_continuable_watchpoint. | |
9871 | * target.c (update_current_target): Add INHERIT line for | |
9872 | to_have_continuable_watchpoint. | |
9873 | * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines. | |
9874 | * config/i386/nm-i386.h, config/i386/nm-i386sco5.h, | |
9875 | config/i386/nm-i386sol2.h, config/s390/nm-linux.h, | |
9876 | config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1. | |
9877 | ||
d1c76907 EZ |
9878 | 2003-02-24 Elena Zannoni <[email protected]> |
9879 | ||
9880 | * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop | |
9881 | maintainership. | |
9882 | ||
2610b0bf KW |
9883 | 2003-02-24 Kris Warkentin <[email protected]> |
9884 | ||
f46169db KW |
9885 | * solib.c (solib_open): Call target defined search function after |
9886 | failing with solib-search-path. | |
9887 | * solist.h (target_so_ops): Add find_and_open_solib function hook and | |
9888 | create define TARGET_SO_FIND_AND_OPEN_SOLIB. | |
2610b0bf | 9889 | |
9a3c34fe KW |
9890 | 2003-02-24 Kris Warkentin <[email protected]> |
9891 | ||
f46169db | 9892 | * MAINTAINERS: Add myself to Write After section. |
9a3c34fe | 9893 | |
2417dd25 SC |
9894 | 2003-02-23 Stephane Carrez <[email protected]> |
9895 | ||
9896 | * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide. | |
9897 | ||
b631436b SC |
9898 | 2003-02-22 Stephane Carrez <[email protected]> |
9899 | ||
9900 | * m68hc11-tdep.c (m68hc11_init_reggroups): New function. | |
9901 | (m68hc11_add_reggroups): New function. | |
9902 | (m68hc11_register_reggroup_p): New to register hard/soft reggroups. | |
9903 | (m68hc11_gdbarch_init): Install the reggroups. | |
9904 | (_initialize_m68hc11_tdep): Initialize them. | |
9905 | ||
0aa8c1e4 JW |
9906 | 2003-02-21 James E Wilson <[email protected]> |
9907 | ||
9908 | * MAINTAINERS: Update my email address. | |
9909 | ||
50ceaba5 DC |
9910 | 2003-02-21 David Carlton <[email protected]> |
9911 | ||
9912 | * arm-tdep.c (arm_gdbarch_init): Add break after default label. | |
9913 | ||
4c2df51b DJ |
9914 | 2003-02-21 Daniel Jacobowitz <[email protected]> |
9915 | ||
9916 | Based on a patch from Daniel Berlin ([email protected]). | |
9917 | * symtab.h: Add opaque declarations of struct axs_value and | |
9918 | struct agent_expr. | |
9919 | (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG. | |
9920 | (struct location_funcs): New type. | |
9921 | (struct symbol): Add "loc" to aux_value. | |
9922 | (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros. | |
9923 | * dwarf2read.c: Include "dwarf2expr.h". | |
9924 | (dwarf2_symbol_mark_computed): New function. | |
9925 | (read_func_scope): Use it. | |
9926 | (var_decode_location): New function. | |
9927 | (new_symbol): Use it. | |
9928 | * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files. | |
9929 | ||
9930 | * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c. | |
9931 | (dwarf2expr_h, dwarf2loc_h): New variables. | |
9932 | (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o. | |
9933 | (dwarf2expr.o, dwarf2loc.o): New rules. | |
9934 | (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h). | |
9935 | * buildsym.c (finish_block): Handle LOC_COMPUTED and | |
9936 | LOC_COMPUTED_ARG. | |
9937 | * findvar.c (symbol_read_needs_frame, read_var_value): Likewise. | |
9938 | * m2-exp.y (yylex): Likewise. | |
9939 | * printcmd.c (address_info, print_frame_args): Likewise. | |
9940 | * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise. | |
9941 | * symmisc.c (print_symbol, print_partial_symbols): Likewise. | |
9942 | * ada-lang.c (ada_resolve_subexp, symtab_for_sym) | |
9943 | (ada_add_block_symbols, fill_in_ada_prototype): Likewise. | |
9944 | * symtab.c (lookup_block_symbol): Likewise. | |
9945 | ||
5784d15e AF |
9946 | 2003-02-20 Adam Fedor <[email protected]> |
9947 | ||
9948 | * symtab.h: Remove objc_specific struct | |
9949 | (SYMBOL_OBJC_DEMANGLED_NAME): Remove. | |
9950 | * symtab.c (symbol_init_language_specific, symbol_demangled_name): | |
9951 | Have language_objc use cplus_specific struct. | |
9952 | ||
d4cad8db TT |
9953 | 2003-02-20 Tom Tromey <[email protected]> |
9954 | ||
9955 | * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not | |
9956 | TYPE_NAME, when printing a String value. PR java/1075. | |
9957 | ||
2f9a90b4 AF |
9958 | 2003-02-20 Adam Fedor <[email protected]> |
9959 | ||
d38074a8 | 9960 | * objc-lang.h (find_methods): Remove declaration. |
fbe586ae | 9961 | * objc-lang.c (find_methods): Make static. |
2f9a90b4 | 9962 | |
6f17862b CF |
9963 | 2003-02-20 Christopher Faylor <[email protected]> |
9964 | ||
9965 | * win32-nat.c (get_image_name): Check return value from | |
9966 | ReadProcessMemory. | |
9967 | (child_xfer_memory): Ditto. | |
9968 | ||
715d1656 AO |
9969 | 2003-02-20 Alexandre Oliva <[email protected]> |
9970 | ||
9971 | * configure.in (TARGET_SYSTEM_ROOT): Set default to | |
9972 | ${exec_prefix}/${target_alias}/sys-root. Match explicit | |
9973 | '${exec_prefix}' (in addition to the expansion thereof) as | |
9974 | relocatable. | |
9975 | * configure: Rebuilt. | |
9976 | ||
b1262a02 DC |
9977 | 2003-02-20 David Carlton <[email protected]> |
9978 | ||
9979 | * symtab.c (search_symbols): Revert the search_symbols part of my | |
9980 | 2002-12-23 patch. Add comment. | |
9981 | ||
7134143f DJ |
9982 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
9983 | ||
9984 | * coffread.c (coff_symfile_read): Clean up minimal symbols earlier. | |
9985 | * dbxread.c (elfstab_build_psymtabs): Don't call | |
9986 | install_minimal_symbols. | |
9987 | (stabsect_build_psymtabs): Likewise. | |
9988 | * elfread.c (elf_symfile_read): Call install_minimal_symbols | |
9989 | earlier. | |
9990 | * somread.c (som_symfile_read): Call install_minimal_symbols | |
9991 | and do_cleanups earlier. | |
9992 | * nlmread.c (nlm_symfile_read): Likewise. | |
9993 | * mdebugread.c (elfmdebug_build_psymtabs): Call | |
9994 | install_minimal_symbols and make appropriate cleanups. | |
9995 | ||
cf466558 KB |
9996 | 2003-02-20 Kevin Buettner <[email protected]> |
9997 | ||
9998 | * solib.c (reload_shared_libraries): New function. | |
9999 | (_initialize_solib): Add callbacks for ``set solib-search-path'' | |
10000 | and ``set solib-absolute-prefix''. | |
10001 | ||
de5ad195 DC |
10002 | 2003-02-20 David Carlton <[email protected]> |
10003 | ||
10004 | * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME; | |
10005 | expand comment. | |
10006 | * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace | |
10007 | SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME. | |
10008 | * ada-typeprint.c (ada_typedef_print): Ditto. | |
10009 | * ax-gdb.c (gen_var_ref): Ditto. | |
10010 | * breakpoint.c (print_one_breakpoint): Ditto. | |
10011 | * buildsym.c (finish_block): Ditto. | |
10012 | * c-valprint.c (c_val_print): Ditto. | |
10013 | * expprint.c (print_subexp): Ditto. | |
10014 | * findvar.c (locate_var_value): Ditto. | |
8ffd9b1b AJ |
10015 | * infcmd.c (jump_command): Ditto. |
10016 | * linespec.c (decode_line_2, decode_compound): Ditto. | |
10017 | * maint.c (maintenance_translate_address): Ditto. | |
10018 | * objc-lang.c (compare_selectors, compare_classes): Ditto. | |
de5ad195 DC |
10019 | * printcmd.c (build_address_symbolic, sym_info, print_frame_args): |
10020 | Ditto. | |
8ffd9b1b AJ |
10021 | * p-valprint.c (pascal_val_print): Ditto. |
10022 | * stabsread.c (define_symbol): Ditto. | |
de5ad195 | 10023 | * stack.c (print_frame, frame_info, print_block_frame_locals) |
8ffd9b1b AJ |
10024 | (print_frame_arg_vars, return_command): Ditto. |
10025 | * symfile.c (compare_symbols, compare_psymbols): Ditto. | |
10026 | * symmisc.c (print_symbol): Ditto. | |
de5ad195 DC |
10027 | * symtab.c (lookup_partial_symbol, lookup_block_symbol) |
10028 | (compare_search_syms, print_symbol_info, print_msymbol_info) | |
8ffd9b1b AJ |
10029 | (rbreak_command): Ditto. |
10030 | * tracepoint.c (tracepoints_info): Ditto. | |
10031 | * typeprint.c (typedef_print): Ditto. | |
10032 | * valops.c (value_of_variable, hand_function_call): Ditto. | |
de5ad195 DC |
10033 | * cli/cli-cmds.c (edit_command, list_command): Ditto. |
10034 | * ada-typeprint.c: Update Copyright. | |
10035 | * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto. | |
10036 | * tracepoint.c, cli/cli-cmds.c: Ditto. | |
10037 | ||
f796e4be KB |
10038 | 2003-02-20 Kevin Buettner <[email protected]> |
10039 | ||
10040 | * frame.c (generic_unwind_get_saved_register): Make non-static. | |
10041 | * frame.h (generic_unwind_get_saved_register): Declare. | |
10042 | * mips-tdep.c (read_next_frame_reg): Fetch register from | |
10043 | current regcache when frame is NULL. | |
10044 | (mips_init_extra_frame_info): Pass NULL explicitly for parameter | |
10045 | that must be NULL. | |
10046 | (mips_get_saved_register): Call generic_unwind_get_saved_register() | |
10047 | instead of frame_register_unwind(). | |
10048 | ||
836cc9f4 AC |
10049 | 2003-02-20 Andrew Cagney <[email protected]> |
10050 | ||
10051 | * remote-sim.c (gdbsim_insert_breakpoint) | |
10052 | (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS | |
10053 | code. | |
10054 | ||
501eef12 AC |
10055 | 2003-02-20 Andrew Cagney <[email protected]> |
10056 | ||
10057 | * remote.c (_initialize_remote): Add commands "set/show remote | |
10058 | hardware-watchpoint-limit" and "set/show remote | |
10059 | hardware-breakpoint-limit". | |
10060 | (remote_hw_watchpoint_limit): Initialize to -1. | |
10061 | (remote_hw_breakpoint_limit): Ditto. | |
10062 | (remote_check_watch_resources): Treat a limit of -1 as unlimited. | |
10063 | ||
1b6bc7e0 CF |
10064 | 2003-02-19 Raoul Gough <[email protected]> |
10065 | ||
10066 | * coff-pe-read.c: New file - support reading of minimal symbols from a | |
10067 | portable executable using the export table. | |
10068 | * coff-pe-read.h: New file. | |
10069 | * coffread.c: Include coff-pe-read.h. | |
10070 | (coff_symtab_read): Call read_pe_exported_syms iff no recognized | |
10071 | debugging symbols found. | |
10072 | * Makefile.in (SFILES): Add coff-pe-read.o. | |
10073 | (coff_pe_read_h): Define. | |
10074 | (COMMON_OBS): Add coff-pe-read.o. | |
10075 | (coffread.o): Add coff_pe_read_h dependency. | |
10076 | (coff-pe-read.o): New target. | |
10077 | ||
fe898f56 DC |
10078 | 2003-02-19 David Carlton <[email protected]> |
10079 | ||
10080 | * Makefile.in (SFILES): Add block.c. | |
10081 | (block_h): New. | |
10082 | (COMMON_OBS): Add block.o. | |
10083 | (block.o): New. | |
10084 | (x86-64-tdep.o): Add $(block_h). | |
10085 | (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o) | |
10086 | (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o) | |
10087 | (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o) | |
10088 | (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o) | |
10089 | (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o) | |
10090 | (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o) | |
10091 | (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto. | |
10092 | * value.h: Add opaque declaration for struct block. | |
10093 | * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto. | |
10094 | * ada-lang.h: Ditto. | |
10095 | * x86-64-tdep.c: #include "block.h" | |
10096 | * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto. | |
10097 | * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto. | |
10098 | * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto. | |
10099 | * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto. | |
10100 | * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto. | |
10101 | * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto. | |
10102 | * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto. | |
10103 | * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto. | |
10104 | * blockframe.c (blockvector_for_pc_sect): Move to "block.c". | |
10105 | (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto. | |
10106 | * symtab.c (block_function): Ditto. | |
10107 | (contained_in): Ditto. | |
10108 | * frame.h: Move block_for_pc and block_for_pc_sect declarations to | |
10109 | block.h. Add opaque declaration for struct block. | |
10110 | * symtab.h: Move block_function and contained_in declarations to | |
10111 | block.h. Add opaque declarations for struct block, struct | |
10112 | blockvector. | |
10113 | (struct block): Move to block.h. | |
10114 | (struct blockvector): Ditto. | |
10115 | (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK) | |
10116 | (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM) | |
10117 | (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE) | |
10118 | (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS) | |
10119 | (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): | |
10120 | Ditto. | |
10121 | * block.c: New file. | |
10122 | * block.h: New file. | |
10123 | ||
173345b5 TR |
10124 | 2003-02-19 Theodore A. Roth <[email protected]> |
10125 | ||
10126 | * avr-tdep.c (avr_extract_return_value): Remove function. | |
10127 | (avr_store_return_value): Remove function. | |
10128 | (avr_extract_struct_value_address): Remove function. | |
10129 | (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls. | |
10130 | ||
338ef23d AC |
10131 | 2003-02-19 Andrew Cagney <[email protected]> |
10132 | ||
10133 | * rs6000-tdep.c: Include "gdb_assert.h". | |
10134 | (registers_e500): Add "acc" and "spefscr". | |
10135 | (PPC_GPRS_PSEUDO_REGS): Remove trailing comma. | |
10136 | (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum, | |
10137 | ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum | |
10138 | really is "r0". | |
10139 | (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson). | |
10140 | ||
5412f5f3 KS |
10141 | 2003-02-18 Keith Seitz <[email protected]> |
10142 | ||
10143 | * Makefile.in: Add gdbtk-interps.c. | |
10144 | ||
881324eb KB |
10145 | 2003-02-18 Kevin Buettner <[email protected]> |
10146 | ||
10147 | * sparc-tdep.c (sparc_frame_chain): Adjust return value. | |
10148 | * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare. | |
10149 | ||
6a2f5abf AC |
10150 | 2003-02-18 Andrew Cagney <[email protected]> |
10151 | ||
10152 | * symtab.h (struct objfile): Add opaque declaration. | |
10153 | ||
54c7009d EZ |
10154 | 2003-02-18 Elena Zannoni <[email protected]> |
10155 | ||
10156 | From Jim Ingham <[email protected]>: | |
fbe586ae RH |
10157 | * dbxread.c (process_one_symbol): Use last_function_start rather |
10158 | than function_start_offset to find the real beginning of the | |
10159 | current function. The latter is just the text section offset on | |
10160 | some systems, the former is always the real function start. | |
54c7009d | 10161 | |
7ee6d7eb AC |
10162 | 2003-02-17 Andrew Cagney <[email protected]> |
10163 | ||
10164 | * configure.in: Revert ${target} != ${host}. | |
10165 | ||
2846da9b AC |
10166 | 2003-02-17 Andrew Cagney <[email protected]> |
10167 | ||
10168 | * configure.in (Makefile): Use the test ${target} != ${host}, | |
10169 | instead of the absence of the "nm.h" file, to determine of the | |
10170 | configuration non-native. | |
10171 | * configure: Regenerate. | |
8ffd9b1b | 10172 | |
3b27aeea EZ |
10173 | 2003-02-14 Elena Zannoni <[email protected]> |
10174 | ||
fbe586ae | 10175 | From Brian Ford <[email protected]> |
3b27aeea EZ |
10176 | |
10177 | * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly | |
10178 | conditionalize tui_active test. | |
10179 | (lookup_cmd_1): Ditto. | |
10180 | ||
b0b1c2c0 MK |
10181 | 2003-02-14 Mark Kettenis <[email protected]> |
10182 | ||
10183 | * configure.in: Add check for _etext. | |
10184 | * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't | |
10185 | available. | |
10186 | * config.in, configure: regenerated. | |
10187 | ||
8f05cde5 DJ |
10188 | 2003-02-14 Daniel Jacobowitz <[email protected]> |
10189 | ||
10190 | * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base. | |
10191 | ||
021e7609 AC |
10192 | 2003-02-14 Andrew Cagney <[email protected]> |
10193 | ||
10194 | * main.c (tui_version): Delete variable. | |
10195 | (captured_main): When --tui, set interpreter_p to "tui" instead of | |
10196 | enabling tui_version. | |
10197 | * printcmd.c (display_command) [TUI]: Test tui_active instead of | |
10198 | tui_version. | |
10199 | * cli/cli-decode.c (lookup_cmd_composition): Ditto. | |
10200 | * cli/cli-cmds.c (disassemble_command): Ditto. | |
10201 | * defs.h (tui_version): Delete declaration. | |
10202 | * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c". | |
10203 | (tui-interp.o): Add rules. | |
10204 | (SUBDIR_TUI_OBS): Add "tui-interp.o". | |
10205 | ||
e325dcec CF |
10206 | 2003-02-14 Christopher Faylor <[email protected]> |
10207 | ||
36ffb041 | 10208 | * win32-nat.c (register_loaded_dll): Correctly set address range for |
e325dcec CF |
10209 | just-loaded dll. |
10210 | ||
c4f90d87 JM |
10211 | 2003-02-12 Jason Molenda ([email protected]) |
10212 | ||
fbe586ae RH |
10213 | * symmisc.c (print_objfile_statistics): Include information about |
10214 | the number of psymtabs and symtabs in each object file. | |
c4f90d87 | 10215 | |
e46e5ccd KS |
10216 | 2003-02-13 Keith R Seitz <[email protected]> |
10217 | ||
10218 | * main.h (struct captured_main_args): Add interpreter_p. | |
10219 | * main.c (captured_main): Initialize interpreter_p from context. | |
10220 | * gdb.c (main): Set interpreter_p argument. | |
10221 | * Makefile.in (gdb.o): Add dependency for interps.h. | |
10222 | ||
fe97fe9c AC |
10223 | 2003-02-12 Andrew Cagney <[email protected]> |
10224 | ||
10225 | * event-top.c (cli_command_loop): Delete declaration. | |
10226 | (_initialize_event_loop): Delete function setting event_loop_hook. | |
10227 | * event-top.h (cli_command_loop): Declare. Update copyright. | |
10228 | (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H. | |
10229 | * interps.c (current_interp_command_loop): When event_loop_p, call | |
10230 | cli_command_loop. | |
10231 | ||
1cdac4ef AC |
10232 | 2003-02-12 Andrew Cagney <[email protected]> |
10233 | ||
10234 | * interps.h (interp_command_loop_ftype): Change return type to | |
10235 | void. | |
10236 | ||
48037ead ML |
10237 | 2003-02-12 Michal Ludvig <[email protected]> |
10238 | ||
10239 | * x86-64-tdep.c (x86_64_extract_return_value) | |
10240 | (x86_64_store_return_value): Use regcache instead of regbuf. | |
10241 | (x86_64_gdbarch_init): Change related set_gdbarch_* functions. | |
10242 | * x86-64-linux-nat.c (fill_gregset): Use regcache. | |
10243 | ||
033afc63 AC |
10244 | 2003-02-11 Andrew Cagney <[email protected]> |
10245 | ||
10246 | * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS. | |
10247 | * aclocal.m4: Regenerate. | |
10248 | * configure: Regenerate. | |
10249 | ||
10250 | * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of | |
10251 | TCL_LD_SEARCH_FLAGS. | |
10252 | ||
40d02bca ML |
10253 | 2003-02-10 Michal Ludvig <[email protected]> |
10254 | ||
10255 | * dwarf2cfi.c: Reindented. | |
10256 | ||
11308a41 AC |
10257 | 2003-02-09 Andrew Cagney <[email protected]> |
10258 | ||
10259 | * interps.c (clear_interpreter_hooks): Convert function definition | |
10260 | to ISO C. | |
10261 | ||
e1c1c0f6 DC |
10262 | 2003-02-07 David Carlton <[email protected]> |
10263 | ||
10264 | * gdb_mbuild.sh: Delete extra shift after parsing '-f'. | |
10265 | ||
ab5d3da6 KB |
10266 | 2003-02-07 Kevin Buettner <[email protected]> |
10267 | ||
10268 | * gdbtypes.h (struct main_type): Move ``length'' field from here... | |
10269 | (struct type): ...to here. | |
10270 | (TYPE_LENGTH): Adjust to reflect different location of ``length'' | |
10271 | field. | |
10272 | * gdbtypes.c (make_qualified_type): Set length on newly created type. | |
10273 | (replace_type): Set length on all type variants for a given type. | |
10274 | ||
b8a92b82 AC |
10275 | 2003-02-07 Andrew Cagney <[email protected]> |
10276 | ||
10277 | * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of | |
10278 | <sys/stat.h>. | |
10279 | * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies. | |
8ffd9b1b | 10280 | |
5cb316ef AC |
10281 | 2003-02-06 Andrew Cagney <[email protected]> |
10282 | ||
2555fe1a AC |
10283 | * Makefile.in (symm-nat.o): Update dependencies. |
10284 | (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto. | |
10285 | (lynx-nat.o, ia64-linux-nat.): Ditto. | |
10286 | * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include | |
10287 | "gdb_wait.h" instead of <wait.h> or <sys/wait.h>. | |
10288 | * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto. | |
10289 | ||
44270758 AC |
10290 | * Makefile.in (inflow_h): Define. |
10291 | (procfs.o, inflow.o, procfs.o): Update dependencies. | |
10292 | * inftarg.c (child_stop): Delete extern declaration of | |
10293 | inferior_process_group. Include "inflow.h". | |
10294 | * procfs.c (procfs_stop): Ditto. Include "inflow.h". | |
10295 | * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ... | |
10296 | * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file. | |
10297 | (our_process_group, inferior_process_group): Extern declarations. | |
10298 | ||
df8f7274 AC |
10299 | * procfs.c: Include "gdb_assert.h". |
10300 | ||
5cb316ef AC |
10301 | * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>. |
10302 | * cp-valprint.c (cp_print_value_fields): Eliminate STREQN. | |
10303 | * jv-typeprint.c (java_type_print_base): Ditto. | |
10304 | * typeprint.c (typedef_print): Eliminate STREQ. | |
10305 | * cli/cli-script.c (define_command, define_command): Ditto. | |
10306 | * main.c (captured_main): Ditto. | |
10307 | * values.c (lookup_internalvar): Ditto. | |
10308 | * utils.c (safe_strerror, parse_escape): Eliminate assignment | |
10309 | within `if' conditional. | |
10310 | * linespec.c (decode_line_2): Ditto. | |
10311 | * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto. | |
10312 | (bfd_openw_with_cleanup): Ditto. | |
10313 | ||
2a28ccea MK |
10314 | 2003-02-07 Mark Kettenis <[email protected]> |
10315 | ||
10316 | * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to | |
10317 | legacy_extract_return_value and store_return_value to | |
10318 | legacy_return_value. | |
10319 | ||
786b8124 CF |
10320 | 2003-02-06 Raoul Gough <[email protected]> |
10321 | ||
10322 | * win32-nat.c (get_relocated_section_addrs): New function. Find | |
10323 | section load addresses for symbol handling in relocated DLLs. | |
10324 | (solib_symbols_add): Open a bfd and call get_relocated_section_addrs. | |
10325 | ||
b871e4ec FF |
10326 | 2003-02-05 Fred Fish <[email protected]> |
10327 | ||
10328 | * remote-e7000.c (e7000_drain_command): Fix precedence problem with | |
10329 | '=' and '!='. | |
10330 | * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem | |
10331 | with '&' and '=='. | |
10332 | (angel_RDI_info): Ditto. | |
10333 | * infttrace.c (threads_continue_all_but_one): Fix precedence problem | |
10334 | with '&' and '!='. | |
10335 | (threads_continue_all_with_signals): Ditto. | |
8ffd9b1b | 10336 | |
4389a95a | 10337 | 2003-02-05 Jim Ingham <[email protected]> |
fbe586ae RH |
10338 | Keith Seitz <[email protected]> |
10339 | Elena Zannoni <[email protected]> | |
10340 | Andrew Cagney <[email protected]> | |
4389a95a AC |
10341 | |
10342 | * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o". | |
10343 | (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c". | |
10344 | (SUBDIR_MI_OBS): Add "mi-interp.o". | |
10345 | (SUBDIR_MI_SRCS): Add "mi/mi-interp.c". | |
10346 | (SFILES): Add "interps.c". | |
10347 | (COMMON_OBS): Add "interps.o". | |
10348 | (interps_h, mi_main_h): Define. | |
10349 | (interps.o, cli-interp.o, mi-interp.o): Add dependencies. | |
10350 | (mi-main.o, main.o, event-top.o): Update dependencies. | |
10351 | * cli/cli-interp.c: New file. | |
10352 | * interps.h, interps.c: New files. | |
10353 | * top.c: (gdb_init): Don't install the default interpreter, handed | |
10354 | by captured_main. | |
10355 | * main.c: Include "interps.h". | |
10356 | (interpreter_p): Note that it should malloc'ed. | |
10357 | (captured_command_loop): Call current_interp_command_loop. | |
10358 | (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use | |
10359 | xfree and xstrdup when updating interpreter_p. Install the | |
10360 | default interpreter. Add hack to stop mi1's copyright notice | |
10361 | being encoded. | |
10362 | * event-top.h (gdb_setup_readline): Declare. | |
10363 | (gdb_disable_readline): Declare. | |
10364 | * event-top.c: Include "interps.h". | |
10365 | (display_gdb_prompt): Call current_interp_display_prompt_p. | |
10366 | (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr, | |
10367 | gdb_stdlog, and gdb_stdtarg. | |
10368 | (_initialize_event_loop): Don't call gdb_setup_readline. | |
10369 | * cli-out.c (cli_out_set_stream): New function. | |
10370 | * cli-out.h (cli_out_set_stream): Declare. | |
10371 | ||
ff3b5810 MK |
10372 | 2003-02-06 Mark Kettenis <[email protected]> |
10373 | ||
10374 | * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*, | |
10375 | i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all | |
10376 | handled fine by i[3456]86-*sco* and i[3456]86-sysv*. | |
10377 | * config/i386/i386sco5.mt, config/i386/i386v4.mt, | |
10378 | config/i386/i386v42mp.mt: Removed. | |
10379 | ||
5b729aa5 MK |
10380 | 2003-02-05 Mark Kettenis <[email protected]> |
10381 | ||
10382 | * configure.tgt (*-*-solaris*): Set gdb_osabi to | |
10383 | GDB_OSABI_SOLARIS. | |
10384 | ||
8cc15142 MC |
10385 | 2003-02-05 Michael Chastain <[email protected]> |
10386 | ||
10387 | * PROBLEMS (i[3456]86-*-linux*): Warn about binutils | |
10388 | 2.12.1 and earlier versions. | |
10389 | ||
5aa5d4b9 AC |
10390 | 2003-02-05 Andrew Cagney <[email protected]> |
10391 | ||
10392 | Remove orphaned hosts, targets and files. | |
10393 | * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete. | |
10394 | * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete. | |
10395 | * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete. | |
10396 | * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete. | |
10397 | * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete. | |
10398 | * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete. | |
10399 | * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete. | |
10400 | * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete. | |
10401 | * config/sparc/tm-sp64sim.h: Delete. | |
10402 | * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-* | |
10403 | hosts. | |
10404 | * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and | |
10405 | mips*-dec-mach3* targets. | |
10406 | ||
b68767c1 MC |
10407 | 2003-02-04 Michael Chastain <[email protected]> |
10408 | ||
10409 | * NEWS: Fix typo: sepcifying -> specifying. | |
10410 | ||
5ae7ca1d MC |
10411 | 2003-02-04 Michael Chastain <[email protected]> |
10412 | ||
10413 | * dwarfread.c: Add documentation on the state of dwarf-1, | |
10414 | looking towards obsoletion. | |
10415 | ||
d08a4280 MC |
10416 | 2003-02-03 Michael Chastain <[email protected]> |
10417 | ||
10418 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc, | |
10419 | gdb/testsuite/gdb.c++/pr-1023.exp. | |
10420 | ||
e9be73e4 AC |
10421 | 2003-02-04 Andrew Cagney <[email protected]> |
10422 | ||
10423 | * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR. | |
10424 | * TODO: Delete reference to IS_TRAPPED_INTERNALVAR. | |
10425 | ||
10426 | * utils.c (init_page_info): Delete reference to MPW in comments. | |
10427 | * main.c (captured_main): Delete #ifdef MPW. | |
10428 | ||
05d57f6f AC |
10429 | 2003-02-04 Andrew Cagney <[email protected]> |
10430 | ||
8ffd9b1b | 10431 | * NEWS: Note that the m32r-*-elf* is obsolete. |
05d57f6f AC |
10432 | * monitor.c (monitor_expect): Obsolete reference to m32r. |
10433 | * configure.tgt: Mark m32r-*-elf* as obsolete. | |
10434 | * MAINTAINERS: Mark m32k as obsolete. | |
10435 | * m32r-rom.c: Obsolete file. | |
10436 | * config/m32r/m32r.mt: Obsolete file. | |
10437 | * config/m32r/tm-m32r.h: Obsolete file. | |
10438 | * m32r-stub.c: Obsolete file. | |
10439 | * m32r-tdep.c: Obsolete file. | |
10440 | ||
8b0e5691 AC |
10441 | 2003-02-04 Andrew Cagney <[email protected]> |
10442 | ||
10443 | * NEWS: Mention that the z8k-zilog-none is obsolete. | |
10444 | * MAINTAINERS: Mark z8k as obsolete. | |
10445 | * configure.tgt: Obsolete the z8k-*-coff* target. | |
10446 | * config/z8k/z8k.mt: Obsolete file. | |
10447 | * config/z8k/tm-z8k.h: Obsolete file. | |
10448 | * z8k-tdep.c: Obsolete file. | |
10449 | ||
67f16606 AC |
10450 | 2003-02-04 Andrew Cagney <[email protected]> |
10451 | ||
10452 | * NEWS: Mention that the mn10200-elf is obsolete. | |
10453 | * configure.tgt: Obsolete mn10200-*-* target. | |
10454 | * breakpoint.c (update_breakpoints_after_exec): Update comment to | |
10455 | mention that the mn10200 is obsolete. | |
10456 | * breakpoint.h: Ditto. | |
10457 | * MAINTAINERS: Mark the mn10200-elf as obsolete. | |
10458 | * config/mn10200/mn10200.mt: Obsolete file. | |
10459 | * config/mn10200/tm-mn10200.h: Obsolete file. | |
10460 | * mn10200-tdep.c: Obsolete file. | |
10461 | ||
fd2299bd AC |
10462 | 2003-02-04 Andrew Cagney <[email protected]> |
10463 | ||
10464 | * MAINTAINERS: Mark h8500 as obsolete. | |
10465 | * configure.tgt (h8500-*-*): Mark h8500 code as obsolete. | |
10466 | * findvar.c (value_from_register): Ditto. | |
10467 | * h8500-tdep.c: Mark file as obsolete. | |
10468 | * config/h8500/h8500.mt: Ditto. | |
10469 | * config/h8500/tm-h8500.h: Ditto. | |
10470 | * NEWS: Mention that h8500 is obsolete. | |
10471 | ||
eb9a305d DC |
10472 | 2003-02-04 David Carlton <[email protected]> |
10473 | ||
10474 | * objfiles.c (allocate_objfile): Always set name. Add comment at | |
10475 | start of function. | |
10476 | * jv-lang.c (get_dynamics_objfile): Add comment. | |
10477 | ||
406fc7fb DC |
10478 | 2003-02-04 David Carlton <[email protected]> |
10479 | ||
10480 | * symtab.h (SYMBOL_LINKAGE_NAME): Delete. | |
10481 | * printcmd.c (build_address_symbolic): Replace uses of | |
10482 | SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME, | |
10483 | SYMBOL_NAME, and asm_demangle. | |
10484 | Update copyright. | |
10485 | ||
93d91629 DC |
10486 | 2003-02-04 David Carlton <[email protected]> |
10487 | ||
10488 | * linespec.c (decode_compound): Extract code into | |
10489 | lookup_prefix_sym. | |
10490 | (lookup_prefix_sym): New function. | |
10491 | ||
1c5cb38e DC |
10492 | 2003-02-04 David Carlton <[email protected]> |
10493 | ||
10494 | * gdbtypes.h: Delete INTEGER_COERCION_BADNESS, | |
10495 | FLOAT_COERCION_BADNESS. | |
10496 | * gdbtypes.c (rank_one_type): Replace all uses of | |
10497 | INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS. | |
10498 | ||
0cf824c9 JB |
10499 | 2003-02-04 Jim Blandy <[email protected]> |
10500 | ||
10501 | * dwarf2read.c (dwarf2_locate_sections): When we find a macro info | |
10502 | section, let dwarf_macinfo_section point to it, not | |
10503 | dwarf_loc_section. | |
10504 | ||
a2d356b0 DJ |
10505 | 2003-02-04 Daniel Jacobowitz <[email protected]> |
10506 | ||
10507 | Pointed out by Anton Blanchard <[email protected]>. | |
10508 | * ppc-linux-tdep.c (insn_is_sigreturn): New function. | |
10509 | (ppc_linux_at_sigtramp_return_path): Use it. | |
10510 | ||
2de7ced7 DJ |
10511 | 2003-02-04 Daniel Jacobowitz <[email protected]> |
10512 | ||
10513 | * defs.h (streq): Add prototype. | |
10514 | * utils.c (streq): New function. | |
10515 | ||
10516 | * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of | |
10517 | SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME. | |
10518 | * mdebugread.c (new_symbol): Likewise. | |
10519 | * stabsread.c (define_symbol): Likewise. | |
10520 | * coffread.c (process_coff_symbol): Likewise. | |
10521 | * dwarfread.c (new_symbol): Likewise. | |
10522 | ||
10523 | * minsyms.c (prim_record_minimal_symbol_and_info): Use | |
10524 | SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language | |
10525 | here. | |
10526 | (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call | |
10527 | SYMBOL_INIT_DEMANGLED_NAME. | |
10528 | * objfiles.c: Include "hashtab.h". | |
10529 | (allocate_objfile): Call htab_set_functions_ex for the | |
10530 | demangled_names_hash. | |
10531 | (free_objfile): Call htab_delete for the demangled_names_hash. | |
10532 | * objfiles.h (struct htab): Add declaration. | |
10533 | (struct objfile): Add demangled_names_hash. | |
10534 | * symfile.c: Include "hashtab.h". | |
10535 | (reread_symbols): Call htab_delete for the demangled_names_hash. | |
10536 | (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting | |
10537 | SYMBOL_NAME in the bcache. | |
10538 | * symtab.c: Include "hashtab.h". Update comments. | |
10539 | (create_demangled_names_hash, symbol_set_names): New functions. | |
10540 | (symbol_find_demangled_name): New function, broken out from | |
10541 | symbol_init_demangled_names. | |
10542 | (symbol_init_demangled_names): Use it. | |
10543 | * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses. | |
10544 | (SYMBOL_SET_NAMES): New macro. | |
10545 | (symbol_set_names): Add prototype. | |
10546 | ||
15831452 JB |
10547 | 2003-02-03 Jim Blandy <[email protected]> |
10548 | ||
10549 | Use a single, consistent representation for an empty minimal | |
10550 | symbol table in an objfile. | |
10551 | * objfiles.c (terminate_minimal_symbol_table): New function. | |
10552 | (allocate_objfile): Call it. | |
10553 | * objfiles.h (terminate_minimal_symbol_table): New declaration. | |
10554 | (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is | |
8ffd9b1b | 10555 | non-NULL. |
15831452 JB |
10556 | * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether |
10557 | objfile has minimal symbols, compare minimal_symbol_count to zero, | |
10558 | instead of comparing msymbols with NULL. | |
10559 | * objfiles.c (have_minimal_symbols): Same. | |
10560 | * solib-sunos.c (solib_add_common_symbols): Call | |
10561 | terminate_minimal_symbol_table. | |
10562 | * symfile.c (reread_symbols): Same. | |
8ffd9b1b | 10563 | |
ffc65945 KB |
10564 | 2003-02-03 Kevin Buettner <[email protected]> |
10565 | ||
10566 | * s390-tdep.c (s390_address_class_type_flags) | |
10567 | (s390_address_class_type_flags_to_name) | |
10568 | (s390_address_class_name_to_type_flags): New functions. | |
10569 | (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, | |
10570 | ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS. | |
10571 | ||
f211c6d4 MS |
10572 | 2003-02-03 Michael Snyder <[email protected]> |
10573 | ||
10574 | * arm-tdep.c: Fix spell-o in comment. | |
10575 | ||
659b0389 ML |
10576 | 2003-02-03 Michal Ludvig <[email protected]> |
10577 | ||
10578 | * dwarf2cfi.c (pointer_encoding): Added new parameter. | |
10579 | * dwarf2cfi.c, dwarf2read.c: Changed all warnings and | |
8ffd9b1b | 10580 | error messages to contain BFD filename. |
659b0389 | 10581 | |
3b31d625 EZ |
10582 | 2003-02-02 Elena Zannoni <[email protected]> |
10583 | ||
997b089a | 10584 | Fix PR gdb/742 gdb/743 gdb/877 |
3b31d625 EZ |
10585 | * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end. |
10586 | (do_mixed_source_and_assembly): Use | |
10587 | make_cleanup_ui_out_tuple_begin_end and | |
10588 | make_cleanup_ui_out_tuple_begin_end. | |
10589 | (do_mixed_source_and_assembly): Ditto. | |
10590 | * thread.c (do_captured_list_thread_ids): Ditto. | |
10591 | * ui-out.h (ui_out_table_begin, ui_out_list_begin, | |
10592 | ui_out_tuple_begin, ui_out_table_end, ui_out_list_end, | |
10593 | ui_out_tuple_end): Delete prototypes. | |
10594 | * ui-out.c (ui_out_list_begin, ui_out_tuple_begin, | |
10595 | ui_out_list_end, ui_out_tuple_end): Delete. | |
10596 | ||
10597 | From Kevin Buettner <[email protected]>: | |
10598 | * ui-out.h (make_cleanup_ui_out_table_begin_end): New function. | |
fbe586ae RH |
10599 | * ui-out.c (make_cleanup_ui_out_table_begin_end) |
10600 | (do_cleanup_table_end): New functions. | |
10601 | * breakpoint.c (print_it_typical, print_one_breakpoint, mention): | |
10602 | Use cleanups to invoke_ui_out_tuple_end(). | |
10603 | (breakpoint_1): Use cleanup to invoke ui_out_table_end(). | |
3b31d625 EZ |
10604 | * cli/cli-setshow.c (cmd_show_list): Use |
10605 | make_cleanup_ui_out_tuple_begin_end. | |
8ffd9b1b | 10606 | |
5b181d62 AC |
10607 | 2003-02-02 Andrew Cagney <[email protected]> |
10608 | ||
10609 | * frame.c (frame_unwind_register): New function. | |
10610 | (frame_unwind_unsigned_register): Use. | |
10611 | (frame_unwind_signed_register): Use. | |
10612 | (frame_read_register): New function. | |
10613 | * frame.h (frame_unwind_register): Declare. | |
10614 | (frame_read_register): Declare. | |
10615 | ||
10616 | * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write | |
10617 | and frame_unwind_register instead of read_memory, write_register | |
10618 | and deprecated_write_register_bytes. | |
10619 | ||
5f601589 AC |
10620 | 2003-02-02 Andrew Cagney <[email protected]> |
10621 | ||
10622 | * frame.h: Note that namelen can be negative. | |
10623 | * frame.c (frame_map_name_to_regnum): When LEN is negative, use | |
10624 | NAME's length. | |
10625 | ||
10626 | * NEWS: Mention that the d10v's `regs' command is deprecated. | |
10627 | * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info. | |
10628 | (d10v_print_registers_info): New function. | |
10629 | (show_regs): Call d10v_print_registers_info. | |
10630 | (_initialize_d10v_tdep): Mark "show regs" command as deprecated. | |
10631 | ||
6a3fe0a4 MK |
10632 | 2003-02-02 Mark Kettenis <[email protected]> |
10633 | ||
10634 | * stack.c (print_frame_info): Restore call to annotate_frame_begin | |
10635 | lost in the previous patch. | |
10636 | ||
075559bc AC |
10637 | 2003-02-01 Andrew Cagney <[email protected]> |
10638 | ||
10639 | From 2002-11-09 Jason Molenda ([email protected]) | |
fbe586ae RH |
10640 | * stack.c (print_frame_info_base): Output complete FRAME tuple |
10641 | for synthesized frames. | |
075559bc | 10642 | |
6789195b AC |
10643 | 2003-02-02 Andrew Cagney <[email protected]> |
10644 | ||
10645 | * mips-nat.c (zerobuf): Delete. | |
10646 | (fetch_inferior_registers): Alloc local zerobuf. | |
10647 | (fetch_core_registers): Alloc local zerobuf. | |
10648 | * d10v-tdep.c (show_regs): Don't allocate a dynamic array using | |
10649 | MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE. | |
10650 | * thread-db.c (thread_db_store_registers): Ditto. | |
10651 | * sh-tdep.c (sh_do_register): Ditto. | |
10652 | * rom68k-rom.c (rom68k_supply_one_register): Ditto. | |
10653 | * remote-sim.c (gdbsim_store_register): Ditto. | |
10654 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
10655 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
10656 | * monitor.c (monitor_supply_register): Ditto. | |
10657 | * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
10658 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
10659 | * m68klinux-nat.c (fetch_register): Ditto. | |
10660 | * lynx-nat.c (fetch_inferior_registers): Ditto. | |
10661 | (fetch_inferior_registers): Ditto. | |
10662 | * irix4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
10663 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
10664 | (hpux_thread_store_registers): Ditto. | |
10665 | * hppah-nat.c (fetch_register): Ditto. | |
10666 | * hppab-nat.c (fetch_register): Ditto. | |
10667 | * hppa-tdep.c (pa_register_look_aside): Ditto. | |
10668 | (pa_print_fp_reg, pa_strcat_fp_reg): Ditto. | |
10669 | * dve3900-rom.c (fetch_bitmapped_register): Ditto. | |
10670 | ||
e669114a AC |
10671 | 2003-02-01 Andrew Cagney <[email protected]> |
10672 | ||
10673 | * gdbarch.sh: Explictly specify all method levels. When a | |
10674 | variable with an empty level, provide a non-multi-arch default. | |
10675 | (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty. | |
10676 | * gdbarch.h: Re-generate. | |
10677 | * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined. | |
10678 | * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1 | |
10679 | ||
9a043c1d AC |
10680 | 2003-02-01 Andrew Cagney <[email protected]> |
10681 | ||
10682 | * defs.h (host_pointer_to_address): Delete declaration. | |
10683 | (address_to_host_pointer): Delete declaration. | |
10684 | * utils.c (host_pointer_to_address): Delete function. | |
10685 | (address_to_host_pointer): Delete function. | |
10686 | * procfs.c (procfs_address_to_host_pointer): New function. | |
10687 | * procfs.c (proc_set_watchpoint): Use. | |
10688 | (procfs_can_use_hw_breakpoint): Update comments. | |
10689 | * somsolib.c (hpux_address_to_host_pointer_hack): New function. | |
10690 | (som_solib_add): Use. | |
10691 | * hppa-tdep.c (hppa_pointer_to_address_hack): New function. | |
10692 | * hppa-tdep.c (unwind_command): Use. | |
8ffd9b1b | 10693 | |
7ca9f392 AC |
10694 | 2003-02-01 Andrew Cagney <[email protected]> |
10695 | ||
94bbfd30 AC |
10696 | * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and |
10697 | strlen d_name. | |
10698 | ||
7ca9f392 AC |
10699 | * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS, |
10700 | ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code. | |
10701 | (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code. | |
10702 | * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro. | |
10703 | (define_symbol): Update. | |
10704 | * symfile.c (generic_load): Remove references to nindy. | |
10705 | * symtab.c: Remove references to nindy. | |
10706 | ||
31a85ea2 AC |
10707 | 2003-02-01 Andrew Cagney <[email protected]> |
10708 | ||
10709 | * infcmd.c (print_float_info): Delete code conditional on | |
10710 | FLOAT_INFO. | |
10711 | * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright. | |
10712 | * config/m68k/nm-apollo68b.h: Ditto. | |
10713 | * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright. | |
10714 | * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto. | |
10715 | * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto. | |
10716 | ||
f6e85fc8 MK |
10717 | 2003-02-01 Mark Kettenis <[email protected]> |
10718 | ||
6015b6a0 MK |
10719 | * config/i386/tm-i386os9k.h: Removed. |
10720 | ||
f7a30bdf MK |
10721 | * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v. |
10722 | Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since | |
10723 | they're identical to i[3456]86-*-sysv* now. | |
10724 | * config/i386/i386v32.mh: Removed. | |
10725 | * config/i386/xm-i386v32.h: Removed. | |
10726 | * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro. | |
10727 | ||
28d52111 MK |
10728 | * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed. |
10729 | ||
4d3f6bce MK |
10730 | * config/i386/i386dgux.mh: Removed. |
10731 | * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4. | |
10732 | ||
f6e85fc8 MK |
10733 | * configure.in: Fix typo. |
10734 | * configure: Regenerated. | |
10735 | ||
53955967 DC |
10736 | 2003-01-31 David Carlton <[email protected]> |
10737 | ||
10738 | * dwarf2read.c (dwarf2_locate_sections): Set | |
10739 | dwarf_ranges_section. | |
10740 | ||
b1364885 AC |
10741 | 2003-01-31 Andrew Cagney <[email protected]> |
10742 | ||
8dbb1c65 AC |
10743 | * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts. |
10744 | * utils.c: Update comments documenting legitimate uses of PTR. | |
8ffd9b1b | 10745 | |
8731e58e AC |
10746 | * utils.c: Re-indent. |
10747 | ||
b1364885 AC |
10748 | * config/djgpp/fnchange.lst: Delete nindy files. |
10749 | * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files. | |
10750 | * nindy-share/nindy.c, nindy-share/env.h: Delete files. | |
10751 | * nindy-share/coff.h, nindy-share/block_io.h: Delete files. | |
10752 | * nindy-share/b.out.h, nindy-share/VERSION: Delete files. | |
10753 | * nindy-share/README, nindy-share/Onindy.c: Delete files. | |
10754 | * nindy-tdep.c, nindy-share/Makefile: Delete files. | |
10755 | * Makefile.in (init.c): Remove nindy references. | |
10756 | (saber_gdb): Delete rule. | |
10757 | (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c, | |
10758 | nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c, | |
10759 | and a68v-nat.c. | |
10760 | (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules. | |
10761 | (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules. | |
10762 | (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h, | |
10763 | nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and | |
10764 | nindy-share/stop.h. | |
10765 | * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files. | |
10766 | * saber.suppress: Delete file. | |
10767 | ||
086df311 DJ |
10768 | 2003-01-31 Daniel Jacobowitz <[email protected]> |
10769 | ||
10770 | * dbxread.c (stabs_data): New static variable. | |
10771 | (fill_symbuf): Support an in-memory buffer for stabs data. | |
10772 | (stabs_seek): New function. | |
10773 | (dbx_psymtab_to_symtab): Relocate the stabs data if necessary. | |
10774 | (read_ofile_symtab): Use stabs_seek. | |
10775 | (elfstab_build_psymtabs): Take an asection* instead of | |
10776 | an offset and size. Relocate the stabs data if necessary. | |
10777 | Save the section* for dbx_psymtab_to_symtab. | |
10778 | * dwarf2read.c: Add section variables for each debug section. | |
10779 | (dwarf2_locate_sections): Fill them in. | |
10780 | (dwarf2_read_section): Take an asection* argument. | |
10781 | Relocate the section contents if necessary. | |
10782 | (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers. | |
10783 | * dwarf2cfi.c (parse_frame_info): Take a section argument and pass | |
10784 | it to dwarf2_read_section. | |
10785 | (dwarf2_build_frame_info): Update callers. | |
10786 | * elfread.c (elf_symfile_read): Update call to | |
10787 | elfstab_build_psymtabs. | |
10788 | * gdb-stabs.h (struct dbx_symfile_info): Add stab_section. | |
10789 | (DBX_STAB_SECTION): New macro. | |
8ffd9b1b | 10790 | * stabsread.h (elfstab_build_psymtabs): Update prototype. |
086df311 DJ |
10791 | * symfile.c (symfile_dummy_outputs): New function. |
10792 | (symfile_relocate_debug_section): New function. | |
10793 | * symfile.h (symfile_relocate_debug_section): Add prototype. | |
10794 | ||
87d1b352 RH |
10795 | 2003-01-31 Richard Henderson <[email protected]> |
10796 | ||
10797 | * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ... | |
10798 | (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM. | |
10799 | (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM. | |
10800 | * alpha-tdep.c (alpha_register_name): Add "unique". | |
10801 | * alpha-tdep.h (ALPHA_NUM_REGS): Increment. | |
10802 | (ALPHA_UNIQUE_REGNUM): New. | |
10803 | * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New. | |
10804 | ||
c48861fb AC |
10805 | 2003-01-31 Andrew Cagney <[email protected]> |
10806 | ||
10807 | * README: Remove reference to Ericsson 1800 monitor. | |
10808 | * Makefile.in (remote-es.o): Delete rule. | |
10809 | (ALLDEPFILES): Delete remote-es.c. | |
10810 | * remote-es.c: Delete file. | |
10811 | * config/m68k/es1800.mt: Delete file. | |
10812 | * config/djgpp/fnchange.lst: Update. | |
10813 | * configure.tgt: Delete m68*-ericsson-* target. | |
10814 | ||
d764a824 AF |
10815 | 2003-01-31 Adam Fedor <[email protected]> |
10816 | ||
10817 | * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc. | |
10818 | Remove duplicate/shadowing variable of same name. | |
10819 | ||
fe36c4f4 JB |
10820 | 2003-01-30 Jim Blandy <[email protected]> |
10821 | ||
10822 | * symfile.c (find_separate_debug_file): Assert that the objfile's | |
10823 | directory name we compute ends with a slash, and then assume that | |
10824 | that's so everywhere we use it. | |
10825 | ||
cb741690 DJ |
10826 | 2003-01-30 Daniel Jacobowitz <[email protected]> |
10827 | ||
10828 | * valops.c (value_assign): Flush frame cache after stores to memory | |
10829 | also. | |
10830 | ||
96ee5227 AC |
10831 | 2003-01-30 Andrew Cagney <[email protected]> |
10832 | ||
10833 | * Makefile.in (mon960-rom.o): Delete rule. | |
10834 | * mon960-rom.c: Delete file. | |
10835 | ||
7f6104a9 AC |
10836 | 2003-01-30 Andrew Cagney <[email protected]> |
10837 | ||
10838 | * d10v-tdep.c: Include "frame-unwind.h". | |
10839 | (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate | |
10840 | list. | |
10841 | (next_addr, uses_frame): Delete. | |
10842 | (struct d10v_unwind_cache): Define. | |
10843 | (prologue_find_regs): Add struct d10v_unwind_cache info parameter. | |
10844 | Use info instead of next_addr and uses_frame globals. | |
10845 | (d10v_frame_init_saved_regs): Delete function. | |
10846 | (d10v_init_extra_frame_info): Delete function. | |
10847 | (d10v_gdbarch_init): Do not initialize init_extra_frame_info, | |
10848 | frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid, | |
10849 | init_frame_pc or frame_saved_pc. | |
10850 | (d10v_pop_frame): Delete function. | |
10851 | (do_d10v_pop_frame): Delete function. | |
10852 | (d10v_frame_chain): Delete function. | |
10853 | (d10v_frame_chain_valid): Delete function. | |
10854 | (d10v_frame_pc_unwind): New function. | |
10855 | (d10v_frame_id_unwind): New function. | |
10856 | (saved_regs_unwinder): New function. | |
10857 | (d10v_frame_register_unwind): New function. | |
10858 | (d10v_frame_pop): New function. | |
10859 | (d10v_frame_unwind): New variable. | |
10860 | (d10v_frame_p): New function. | |
10861 | (d10v_frame_saved_pc): Delete function. | |
10862 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
10863 | ||
cad2e848 JB |
10864 | 2003-01-30 J. Brobecker <[email protected]> |
10865 | ||
10866 | * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef | |
10867 | causing some regressions due to a change in the default value | |
10868 | for this macro. | |
10869 | ||
af34e669 DJ |
10870 | 2003-01-29 Richard Henderson <[email protected]> |
10871 | Elena Zannoni <[email protected]> | |
10872 | Daniel Jacobowitz <[email protected]> | |
10873 | ||
10874 | Fix PR gdb/961. | |
8ffd9b1b | 10875 | * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New |
af34e669 DJ |
10876 | variables. |
10877 | (RANGES_SECTION): New. | |
10878 | (dwarf_ranges_buffer): New variable. | |
10879 | (struct comp_unit_head): Add member "die". | |
10880 | (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size. | |
10881 | (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New. | |
10882 | (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size. | |
10883 | (dwarf2_locate_sections): Likewise. | |
10884 | (dwarf2_build_psymtabs): Read .debug_ranges. | |
10885 | (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out. | |
10886 | (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die. | |
10887 | (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers. | |
10888 | Look for DW_AT_ranges and return the bounding box. | |
10889 | ||
baa93fa6 CF |
10890 | 2003-01-29 Brian Ford <[email protected]> |
10891 | ||
10892 | * win32-nat.c (cygwin_pid): Removed as unused. | |
10893 | (child_attach): Try fall back to Cygwin pid. | |
10894 | ||
c63f977f JB |
10895 | 2003-01-29 Jim Blandy <[email protected]> |
10896 | ||
10897 | * objfiles.h (struct objfile): Doc fix. | |
10898 | ||
d62d1979 AC |
10899 | 2003-01-29 Andrew Cagney <[email protected]> |
10900 | ||
10901 | * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P. | |
10902 | (legacy_get_prev_frame): Assert FRAME_CHAIN_P. | |
10903 | (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame. | |
10904 | (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P. | |
10905 | * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate. | |
10906 | (FRAME_SAVED_PC): Change to a function with predicate. | |
10907 | * gdbarch.h, gdbarch.c: Re-generate. | |
10908 | ||
1ae18a04 AC |
10909 | 2003-01-28 Andrew Cagney <[email protected]> |
10910 | ||
52287340 AC |
10911 | * hppah-nat.c (child_pid_to_exec_file): Don't use boolean. |
10912 | ||
1ae18a04 AC |
10913 | * complaints.c (complain): Delete function. |
10914 | * complaints.h (struct deprecated_complaint): Delete definition. | |
10915 | (complain): Delete declaration. | |
10916 | ||
f2c16bd6 KB |
10917 | 2003-01-28 Kevin Buettner <[email protected]> |
10918 | ||
10919 | * mips-tdep.c (mips_init_extra_frame_info): Return early for | |
10920 | dummy frames. | |
10921 | ||
a94dd1fd AC |
10922 | 2003-01-27 Andrew Cagney <[email protected]> |
10923 | ||
10924 | * sentinel-frame.h, sentinel-frame.c: New files. | |
10925 | * Makefile.in (frame.o): Update dependencies. | |
10926 | (SFILES): Add sentinel-frame.c. | |
10927 | (sentinel_frame_h): Define. | |
10928 | (COMMON_OBS): Add sentinel-frame.o. | |
10929 | (sentinel-frame.o): Specify dependencies. | |
10930 | * frame.c: Include "sentinel-frame.h". | |
10931 | (frame_register_unwind): Rewrite assuming that there is always a a | |
10932 | ->next frame. | |
10933 | (frame_register, generic_unwind_get_saved_register): Ditto. | |
10934 | (frame_read_unsigned_register, frame_read_signed_register): Ditto. | |
10935 | (create_sentinel_frame, unwind_to_current_frame): New functions. | |
10936 | (get_current_frame): Rewrite using create_sentinel_frame and | |
10937 | unwind_to_current_frame. When possible, always create a frame. | |
10938 | (create_new_frame): Set next to the sentinel frame. | |
10939 | (get_next_frame): Rewrite. Don't go below the level 0 frame. | |
10940 | (deprecated_update_frame_pc_hack): Update the next frame's PC and | |
10941 | ID cache when necessary. | |
10942 | (frame_saved_regs_id_unwind): Use frame_relative_level. | |
10943 | (deprecated_generic_get_saved_register): Use frame_relative_level, | |
10944 | get_frame_saved_regs, get_frame_pc, get_frame_base and | |
10945 | get_next_frame. | |
10946 | (frame_saved_regs_register_unwind): Use get_frame_saved_regs and | |
10947 | frame_register. | |
10948 | ||
5378adc4 DJ |
10949 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
10950 | ||
10951 | * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments. | |
10952 | ||
51ee2ddc DJ |
10953 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
10954 | ||
10955 | * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)] | |
10956 | (maintenance_set_profile_cmd): Use error () instead of warning (). | |
10957 | ||
d9feb4e7 DJ |
10958 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
10959 | ||
10960 | * configure.in: Check that -pg works if using --enable-profiling. | |
10961 | Check for monstartup and _mcleanup regardless of --enable-profiling. | |
10962 | * maint.c: Check for monstartup and _mcleanup before using them. | |
10963 | * config.in: Regenerated. | |
10964 | * configure: Regenerated. | |
10965 | ||
2d188dd3 NC |
10966 | 2003-01-24 Nick Clifton <[email protected]> |
10967 | ||
10968 | * Add sh2e support: | |
10969 | ||
10970 | 2002-04-02 Elena Zannoni <[email protected]> | |
10971 | ||
10972 | * gdb/sh-tdep.c (sh_sh2e_register_name): New. | |
10973 | (sh2e_show_regs): New. | |
10974 | (sh_gdbarch_init): Handle bfd_mach_sh2e. | |
10975 | * config/sh/tm-sh.h: Added sh2e to comments. | |
10976 | ||
cb3c37b2 JB |
10977 | 2003-01-23 Jim Blandy <[email protected]> |
10978 | ||
10979 | * symfile.c (syms_from_objfile): Don't print the "(no debugging | |
10980 | symbols found)" message here; we haven't checked for a separate | |
10981 | debug info file yet, so we don't know yet. | |
10982 | (symbol_file_add_with_addrs_or_offsets): Print it here, after | |
10983 | we've looked everywhere. Also, there's no need to print a special | |
10984 | message when we're loading the separate debug info file: the one | |
10985 | symbol_file_add prints is fine. | |
10986 | ||
5b5d99cf JB |
10987 | 2003-01-23 Alexander Larsson <[email protected]> |
10988 | Jim Blandy <[email protected]> | |
10989 | ||
10990 | Add support for executables whose debug info has been separated | |
10991 | out into a separate file, leaving only a link behind. | |
10992 | * objfiles.h (struct objfile): New fields: separate_debug_objfile | |
10993 | and separate_debug_objfile_backlink. | |
10994 | (put_objfile_before): New declaration. | |
10995 | * symfile.c: #include "filenames.h". | |
10996 | (symbol_file_add_with_addrs_or_offsets): If this objfile has its | |
10997 | debug info in a separate file, read that, too. Save the addrs | |
10998 | argument, so we can use it again to read the separated debug info; | |
10999 | syms_from_objfile modifies the table we pass it. | |
11000 | (reread_symbols): After re-reading an objfile, call | |
11001 | reread_separate_symbols to refresh its separate debug info | |
11002 | objfile, if it has one. | |
11003 | (reread_separate_symbols, find_separate_debug_file, | |
11004 | get_debug_link_info, separate_debug_file_exists): New functions. | |
11005 | (debug_file_directory): New global var. | |
11006 | (_initialize_symfile): Initialize debug_file_directory, and | |
11007 | provide the new `set debug-file-directory' command to let the user | |
11008 | change it. | |
11009 | * objfiles.c (free_objfile): If this objfile has its debug info in | |
11010 | a separate objfile, free that one too. If this is itself a | |
11011 | separate debug info objfile, clear our parent's backlink. | |
11012 | (put_objfile_before): New function. | |
11013 | * utils.c (gnu_debuglink_crc32): New function. | |
11014 | * defs.h (gnu_debuglink_crc32): New declaration. | |
11015 | * Makefile.in (symfile.o): Note dependency on "filenames.h". | |
11016 | * configure.in: Handle --with-separate-debug-dir config option. | |
11017 | * acinclude.m4 (AC_DEFINE_DIR): New macro. | |
11018 | * acconfig.h (DEBUGDIR): New macro. | |
11019 | * configure, aclocal.m4, config.in: Regenerated. | |
11020 | ||
7e8580c1 JB |
11021 | 2003-01-22 Jim Blandy <[email protected]> |
11022 | ||
7904e09f JB |
11023 | * symfile.c (symbol_file_add_with_addrs_or_offsets): New function, |
11024 | like the old symbol_file_add, but taking new arguments: you can | |
11025 | now pass in either a `struct section_addr_info' list to say where | |
11026 | each section is loaded, or a `struct section_offsets' table. Pass | |
11027 | these new arguments through to syms_from_objfile as appropriate. | |
8ffd9b1b | 11028 | (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets, |
7904e09f JB |
11029 | with the appropriate quiescent values for the new arguments. |
11030 | ||
7e8580c1 JB |
11031 | * symfile.c: #include "gdb_assert.h". |
11032 | (syms_from_objfile): Add the ability to pass in a section offset | |
11033 | table directly, as an alternative to the section_addr_info table. | |
11034 | Document arguments better. | |
11035 | (symbol_file_add): Pass extra arguments to syms_from_objfile. | |
11036 | * symfile.h (syms_from_objfile): Update declaration. | |
11037 | * rs6000-nat.c (objfile_symbol_add): Pass new arguments to | |
11038 | syms_from_objfile. | |
11039 | * Makefile.in (symfile.o): List dependency on $(gdb_assert_h). | |
11040 | ||
d28f9cdf DJ |
11041 | 2003-01-22 Daniel Jacobowitz <[email protected]> |
11042 | ||
11043 | Original patch by Tom Tromey <[email protected]> and | |
11044 | Jason Molenda <[email protected]>. | |
11045 | * Makefile.in (PROFILE_CFLAGS): Substitute from configure. | |
11046 | (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS. | |
11047 | * NEWS: Mention profiling. | |
11048 | * configure.in (--enable-gdbtk): Fix typo. | |
11049 | (--enable-profiling): New. Set PROFILE_CFLAGS. | |
11050 | * maint.c (maintenance_set_profile_cmd): Remove NOTYET. | |
11051 | Fill in function. | |
11052 | (profiling_state): New variable. | |
11053 | (mcleanup_wrapper): New function. | |
11054 | (_initialize_maint): Remove NOTYET, fix call to | |
11055 | add_setshow_boolean_cmd for "maint set profile". | |
11056 | * configure: Regenerated. | |
11057 | ||
df21e465 MH |
11058 | 2003-01-21 Martin M. Hunt <[email protected]> |
11059 | ||
11060 | * Makefile.in (install-gdbtk): Install PNG images too. | |
11061 | ||
73c1f219 AC |
11062 | 2003-01-21 Andrew Cagney <[email protected]> |
11063 | ||
11064 | * exec.c (text_start): Delete global variable. | |
11065 | (exec_file_attach): Make text_start local to the function. | |
11066 | * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros. | |
11067 | * valops.c (hand_function_call): Delete code that handles | |
11068 | BEFORE_TEXT_END and AFTER_TEXT_END. | |
11069 | * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead | |
11070 | of CALL_DUMMY_LOCATION. | |
11071 | * gdbarch.c: Regenerate. | |
11072 | * inferior.h (deprecated_pc_in_call_dummy_before_text_end) | |
11073 | (deprecated_pc_in_call_dummy_after_text_end): Delete declaration. | |
11074 | * blockframe.c (deprecated_pc_in_call_dummy_before_text_end) | |
11075 | (deprecated_pc_in_call_dummy_after_text_end): Delete functions. | |
11076 | (text_end): Delete extern declaration. | |
11077 | ||
eb4f72c5 AC |
11078 | 2003-01-21 Andrew Cagney <[email protected]> |
11079 | ||
11080 | * frame.h (FRAME_OBSTACK_ZALLOC): Define. | |
11081 | * blockframe.c (backtrace_below_main): Move to "frame.c". | |
11082 | (frame_chain_valid): Delete check for backtrace_below_main. | |
11083 | (_initialize_blockframe): Delete initialization, move ``set | |
11084 | backtrace-below-main'' command to "frame.c". | |
11085 | (do_flush_frames_sfunc): Delete function. | |
11086 | * frame.c: Include "command.h" and "gdbcmd.h". | |
11087 | (frame_type_from_pc): New function. | |
11088 | (create_new_frame): Use frame_type_from_pc. | |
11089 | (legacy_get_prev_frame): New function. | |
11090 | (get_prev_frame): Rewrite. When an old style frame, call | |
11091 | legacy_get_prev_frame. Otherwize, unwind the PC first. | |
11092 | (_initialize_frame): Add ``set backtrace-below-main'' command. | |
11093 | * Makefile.in (frame.o): Update dependencies. | |
11094 | ||
778ce8cc AC |
11095 | 2003-01-19 Andrew Cagney <[email protected]> |
11096 | ||
11097 | * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename | |
11098 | DEPRECATED_REGISTERS_INFO. | |
11099 | ||
01c193c8 AC |
11100 | 2003-01-19 Andrew Cagney <[email protected]> |
11101 | ||
11102 | * MAINTAINERS: Replace `Blanket Write Privs' with `Global | |
11103 | Maintainers'. Update `Various Maintainers'. | |
11104 | ||
dedc2a2b AC |
11105 | 2003-01-19 Andrew Cagney <[email protected]> |
11106 | ||
11107 | * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P. | |
11108 | * gdbarch.sh (POP_FRAME): Change to function with predicate. | |
11109 | Suppress actual parameters when `-'. | |
11110 | * gdbarch.h, gdbarch.c: Regenerate. | |
11111 | ||
b7261c70 AC |
11112 | 2003-01-19 Andrew Cagney <[email protected]> |
11113 | ||
11114 | * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore | |
11115 | code handling dummy frames. | |
11116 | ||
dbe9fe58 AC |
11117 | 2003-01-19 Andrew Cagney <[email protected]> |
11118 | ||
11119 | * frame-unwind.h (frame_unwind_pop_ftype): Declare. | |
11120 | (struct frame_unwind): Add field pop. | |
11121 | * frame.h (frame_pop): Declare. | |
11122 | * frame.c (frame_saved_regs_pop): New function. | |
11123 | (trad_frame_unwinder): Add frame_saved_regs_pop. | |
11124 | (frame_pop): New function. | |
11125 | * dummy-frame.c (dummy_frame_pop): New function. | |
11126 | (discard_innermost_dummy): New function. | |
11127 | (generic_pop_dummy_frame): Use discard_innermost_dummy. | |
11128 | (dummy_frame_unwind): Add dummy_frame_pop. | |
11129 | * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME. | |
11130 | * valops.c (hand_function_call): Ditto. | |
11131 | * stack.c (return_command): Ditto. | |
11132 | ||
570b8f7c AC |
11133 | 2003-01-18 Andrew Cagney <[email protected]> |
11134 | ||
11135 | * cris-tdep.c: Fix function declaration indentation. | |
11136 | * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto. | |
11137 | * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto. | |
11138 | * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto. | |
11139 | * symfile.h, symtab.h, target.c, target.h, value.h: Ditto. | |
11140 | * xcoffread.c, config/pa/tm-hppa.h: Ditto. | |
11141 | * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto. | |
11142 | ||
11143 | 2003-01-18 Michael Chastain <[email protected]> | |
eaec4d85 MC |
11144 | |
11145 | * README (Unpacking and Installation -- quick overview): | |
11146 | Warn against ".../gdb-5.3/gdb/configure". | |
11147 | ||
494cca16 AC |
11148 | 2003-01-18 Andrew Cagney <[email protected]> |
11149 | ||
11150 | * dummy-frame.h (dummy_frame_id_unwind): Delete declaration. | |
11151 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
11152 | (struct frame_unwind): Declare opaque. | |
11153 | (dummy_frame_p): Declare function. | |
11154 | * dummy-frame.c (dummy_frame_id_unwind): Make static. | |
11155 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
11156 | * dummy-frame.c: Include "frame-unwind.h". | |
11157 | (dummy_frame_p): New function. | |
11158 | (dummy_frame_unwind): New variable. | |
11159 | * frame.c: Include "frame-unwind.h". | |
11160 | (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update | |
11161 | to use the new unwind field. | |
11162 | (set_unwind_by_pc): Delete function. | |
11163 | (create_new_frame, get_prev_frame): Set unwind field using | |
11164 | frame_unwind_find_by_pc. | |
11165 | (trad_frame_unwind, trad_frame_unwinder): New variables. | |
11166 | * frame.h (trad_frame_unwind): Declare variable. | |
11167 | (frame_id_unwind_ftype): Delete declaration. | |
11168 | (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto. | |
11169 | (struct frame_unwind): Declare opaque. | |
11170 | (struct frame_info): Replace the fields id_unwind, pc_unwind and | |
11171 | register_unwind with a single unwind pointer. | |
11172 | * frame-unwind.h, frame-unwind.c: New files. | |
11173 | * Makefile.in (SFILES): Add frame-unwind.c. | |
11174 | (frame_unwind_h): Define. | |
11175 | (COMMON_OBS): Add frame-unwind.o. | |
11176 | (frame-unwind.o): Specify dependencies. | |
11177 | (frame.o, dummy-frame.o): Update dependencies. | |
8ffd9b1b | 11178 | |
4efb68b1 AC |
11179 | 2003-01-18 Andrew Cagney <[email protected]> |
11180 | ||
11181 | * ada-valprint.c: Eliminate PTR. | |
11182 | * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto. | |
11183 | * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto. | |
11184 | * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto. | |
11185 | * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto. | |
11186 | * remote-mips.c, remote-sds.c, remote-vx.c: Ditto. | |
11187 | * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto. | |
11188 | * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto. | |
8ffd9b1b | 11189 | |
a84d24ee AC |
11190 | 2003-01-17 Andrew Cagney <[email protected]> |
11191 | ||
762f08a3 AC |
11192 | * main.c (captured_main): Don't use PTR. |
11193 | * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp. | |
11194 | * gdbtypes.c (lookup_primitive_typename): Ditto. | |
11195 | (lookup_struct_elt_type): Ditto. | |
11196 | * f-valprint.c (info_common_command): Ditto. | |
11197 | (list_all_visible_commons): Ditto. | |
11198 | * jv-typeprint.c (java_type_print_base): Ditto. | |
11199 | ||
a84d24ee AC |
11200 | * config/djgpp/fnchange.lst: Rename mi1-var-block.exp, |
11201 | mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp. | |
11202 | Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename | |
11203 | i386-interix-nat.c and i386-interix-tdep.c. Rename | |
11204 | m68klinux-nat.c and m68klinux-tdep.c. Rename | |
11205 | config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename | |
11206 | bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename | |
11207 | gdb/objc-exp.tab.c and gdb/ada-exp.tab.c | |
11208 | * main.c (captured_main): Use xfree, not free. | |
11209 | ||
c170fb60 AC |
11210 | 2003-01-16 Andrew Cagney <[email protected]> |
11211 | ||
11212 | * frame.h (frame_id_unwind_ftype): Change type so that the frame's | |
11213 | ID back using a parameter. | |
11214 | * frame.c (frame_id_unwind): Update call. | |
11215 | (frame_saved_regs_id_unwind): Update. | |
11216 | * dummy-frame.c (dummy_frame_id_unwind): Update function. | |
11217 | * dummy-frame.h (struct frame_id): Add opaque declaration. | |
11218 | (dummy_frame_id_unwind): Update declaration. | |
11219 | ||
867f3898 AC |
11220 | 2003-01-15 Andrew Cagney <[email protected]> |
11221 | ||
11222 | * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK. | |
11223 | ||
40622be8 | 11224 | 2003-01-15 Stephen P. Smith <[email protected]> |
de3a8c23 | 11225 | |
40622be8 | 11226 | * MAINTAINERS (Stephen P. Smith): Updated email address. |
de3a8c23 | 11227 | |
ae66c1fc EZ |
11228 | 2003-01-14 Elena Zannoni <[email protected]> |
11229 | ||
997b089a | 11230 | Fix PR gdb/898 |
ae66c1fc EZ |
11231 | * breakpoint.c (until_break_command): Add new argument. Use it to |
11232 | decide whether to stop only at the current frame or not. | |
11233 | * breakpoint.h (until_break_command): Update prototype. | |
8ffd9b1b | 11234 | * infcmd.c (until_command): Add new argument to until_break_command |
ae66c1fc EZ |
11235 | call. |
11236 | (advance_command): New function. | |
11237 | (_initialize_infcmd): Update help string for 'until' command. | |
11238 | Add new 'advance' command. | |
11239 | ||
a04257e6 DC |
11240 | 2003-01-14 David Carlton <[email protected]> |
11241 | ||
11242 | * linespec.c (decode_line_1): Normalize comments. | |
11243 | (set_flags): Ditto. | |
11244 | (locate_first_half): Ditto. | |
11245 | (decode_compound): Ditto. | |
11246 | (symtab_from_filename): Ditto. | |
11247 | (decode_all_digits): Ditto. | |
11248 | (decode_dollar): Ditto. | |
11249 | (find_methods): Ditto. | |
11250 | (find_toplevel_char): Ditto. | |
11251 | ||
1bac305b AC |
11252 | 2003-01-13 Andrew Cagney <[email protected]> |
11253 | ||
11254 | * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright. | |
11255 | * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright. | |
11256 | * elfread.c, eval.c, expprint.c, expression.h: Update copyright. | |
11257 | * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright. | |
11258 | * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright. | |
11259 | * language.c, language.h, m32r-tdep.c: Update copyright. | |
11260 | * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright. | |
11261 | * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright. | |
11262 | * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright. | |
11263 | * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright. | |
11264 | * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright. | |
11265 | * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright. | |
11266 | ||
25caa7a8 EZ |
11267 | 2003-01-13 Elena Zannoni <[email protected]> |
11268 | ||
11269 | * stabsread.h (process_later, resolve_cfront_continuation): | |
11270 | Obsolete. | |
11271 | Update copyright years. | |
11272 | * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront. | |
11273 | Update copyright year. | |
11274 | * dbxread.c(struct cont_elem): Obsolete. | |
8ffd9b1b | 11275 | (process_later, process_now): Obsolete functions. |
25caa7a8 EZ |
11276 | (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support. |
11277 | Update copyright year. | |
11278 | * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros. | |
11279 | (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions. | |
11280 | * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront. | |
11281 | (parse_partial_symbols): Obsolete cfront support. | |
11282 | * stabsread.c | |
11283 | (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete | |
11284 | macros. | |
11285 | (get_substring, get_cfront_method_physname, msg_unknown_complaint, | |
11286 | read_cfront_baseclasses, read_cfront_member_functions, | |
11287 | resolve_cfront_continuation,read_cfront_static_fields, | |
11288 | copy_cfront_struct_fields): Obsolete functions. | |
11289 | (define_symbol, read_one_struct_field): Obsolete cfront support. | |
11290 | * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support. | |
11291 | Update Copyright year. | |
11292 | ||
7789c6f5 EZ |
11293 | 2003-01-13 Elena Zannoni <[email protected]> |
11294 | ||
11295 | * stack.c (print_frame_info, print_stack_frame_base_stub, | |
11296 | print_stack_frame_base, show_and_print_stack_frame_stub, | |
11297 | show_and_print_stack_frame, print_only_stack_frame_stub, | |
11298 | print_only_stack_frame): Delete functions. | |
11299 | (print_stack_frame_stub): Call print_frame_info instead of | |
11300 | print_frame_info_base. | |
11301 | (print_frame_info_base): Rename to print_frame_info. | |
11302 | (backtrace_command_1): Call print_frame_info, instead of | |
11303 | print_frame_info_base. | |
11304 | (current_frame_command): Call print_stack_frame, instead of | |
11305 | print_only_stack_frame. | |
11306 | (frame_command): Call print_stack_frame, instead of | |
11307 | show_and_print_stack_frame. | |
11308 | (up_command): Ditto. | |
11309 | (down_command): Ditto. | |
11310 | * frame.h (print_only_stack_frame): Delete prototype. | |
11311 | * infrun.c (normal_stop): Call print_stack_frame, instead of | |
11312 | show_and_print_stack_frame. | |
11313 | * thread.c (info_threads_command): Call print_stack_frame, instead | |
11314 | of print_only_stack_frame. | |
11315 | ||
3f5a3016 AC |
11316 | 2003-01-13 Andrew Cagney <[email protected]> |
11317 | ||
d99ba314 AC |
11318 | * README (Graphical interface to GDB): Update URL. Point at |
11319 | gdb/links/. | |
11320 | ||
3f5a3016 AC |
11321 | * gdb_indent.sh: Update to version 2.2.9. Warn when not exact |
11322 | version match. | |
11323 | ||
083ae935 DJ |
11324 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
11325 | ||
11326 | * symtab.c (find_pc_sect_line): Don't consider end-of-function | |
11327 | lines. | |
11328 | ||
5365276c DJ |
11329 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
11330 | ||
11331 | * thread-db.c (attach_thread): Prototype. | |
11332 | (struct private_thread_info): Remove lwpid. Add thread handle (th), | |
11333 | thread information (ti), and valid flags (th_valid, ti_valid). | |
11334 | (attach_thread): Move target_pid_to_str call to after the thread | |
11335 | is added to GDB's list. Initialize the cache. | |
11336 | (thread_get_info_callback, thread_db_map_id2thr) | |
11337 | (thread_db_get_info): New functions. | |
11338 | (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers) | |
11339 | (thread_db_store_registers, thread_db_thread_alive) | |
11340 | (thread_db_get_thread_local_address): Use them. | |
11341 | (thread_db_pid_to_str): Likewise. Return "Missing" instead | |
11342 | of calling error() for threads in unknown state. | |
11343 | ||
11344 | (clear_lwpid_callback): New function. | |
11345 | (thread_db_resume): Use it to clear the cache. | |
11346 | ||
9fc30b6b DJ |
11347 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
11348 | ||
11349 | * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove. | |
11350 | (resume_callback): Remove dead code. | |
11351 | ||
8f871025 AC |
11352 | 2003-01-13 Andrew Cagney <[email protected]> |
11353 | ||
11354 | * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with | |
11355 | predicate. | |
11356 | * gdbarch.h, gdbarch.c: Regenerate. | |
11357 | * stack.c (frame_info): Only initialize the saved registers when | |
11358 | FRAME_INIT_SAVED_REGS_P. | |
11359 | * frame.c (frame_saved_regs_register_unwind): Assert | |
11360 | FRAME_INIT_SAVED_REGS_P. | |
11361 | (deprecated_generic_get_saved_register): Ditto. | |
11362 | ||
3f565f1e DJ |
11363 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
11364 | ||
11365 | * source.c (openp): Squelch warning about "filename". | |
11366 | ||
072b1022 DJ |
11367 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
11368 | ||
11369 | * source.c (openp): If the file does not exist don't necessarily | |
11370 | search the path. | |
11371 | ||
973ccf8b DJ |
11372 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
11373 | ||
11374 | Fix PR gdb/872. | |
11375 | * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
11376 | (integer_types_same_name_p): New function. | |
11377 | (rank_one_type): Use it. | |
11378 | * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
11379 | ||
030292b7 DJ |
11380 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
11381 | ||
11382 | * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New | |
11383 | variables. | |
11384 | (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE). | |
11385 | * configure.in: Add --with-sysroot. | |
11386 | * configure: Regenerated. | |
11387 | * main.c (gdb_sysroot): New variable. | |
11388 | (captured_main): Initialize gdb_sysroot. | |
11389 | * defs.h (gdb_sysroot): New extern declaration. | |
11390 | * solib.c (_initialize_solib): Initialize solib_absolute_prefix. | |
11391 | ||
afb5d334 MC |
11392 | 2003-01-12 Michael Chastain <[email protected]> |
11393 | ||
11394 | * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002. | |
11395 | ||
751ceeb4 MC |
11396 | 2003-01-12 Michael Chastain <[email protected]> |
11397 | ||
11398 | * top.c (print_gdb_version): Bump copyright year to 2003. | |
11399 | ||
94cd26f8 DC |
11400 | 2003-01-12 David Carlton <[email protected]> |
11401 | ||
11402 | * linespec.c (symtab_from_filename): Rename variable 's' to | |
11403 | 'file_symtab'. | |
11404 | ||
1ce79225 AC |
11405 | 2003-01-12 Andrew Cagney <[email protected]> |
11406 | ||
11407 | * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a | |
11408 | dummy frame. | |
11409 | (d10v_frame_saved_pc, d10v_frame_chain): Ditto. | |
11410 | ||
fa1fd571 AC |
11411 | 2003-01-12 Andrew Cagney <[email protected]> |
11412 | ||
11413 | * d10v-tdep.c: Include "gdb_assert.h". | |
11414 | (d10v_store_return_value): Rewrite to match current interface. | |
11415 | (d10v_extract_struct_value_address): Ditto. | |
11416 | (d10v_extract_return_value): Ditto. | |
11417 | (d10v_gdbarch_init): Set store_restore_value, | |
11418 | extract_struct_value_address and extract_return_value. | |
11419 | ||
68b8d23e JB |
11420 | 2003-01-12 J. Brobecker <[email protected]> |
11421 | ||
11422 | * hpread.c (set_namestring): New procedure replacing the | |
11423 | SET_NAMESTRING macro. | |
11424 | (hpread_build_psymtabs): Replace calls to SET_NAMESTRING | |
11425 | by calls to set_namestring. | |
11426 | ||
11427 | 2003-01-11 J. Brobecker <[email protected]> | |
1fb309ea JB |
11428 | |
11429 | * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix | |
11430 | a compilation warning. | |
11431 | (hpread_process_one_debug_symbol): Likewise. | |
11432 | ||
88d262ca DC |
11433 | 2003-01-10 David Carlton <[email protected]> |
11434 | ||
11435 | * linespec.c (decode_line_1): Rename variable 's' to | |
11436 | 'file_symtab'. | |
11437 | (decode_all_digits): Rename argument 's' to 'file_symtab'. | |
11438 | (decode_dollar): Ditto. | |
11439 | (decode_variable): Ditto. | |
11440 | (symbol_found): Ditto. | |
11441 | ||
86669319 MC |
11442 | 2003-01-09 Michael Chastain <[email protected]> |
11443 | ||
11444 | * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++. | |
11445 | ||
616a9dc4 CV |
11446 | 2003-01-07 Corinna Vinschen <[email protected]> |
11447 | ||
11448 | * win32-nat.c (set_process_privilege): New function. | |
11449 | (child_attach): Call set_process_privilege() to enable the | |
11450 | SE_DEBUG_NAME user privilege if available in process token. | |
11451 | ||
3269bcfa JB |
11452 | 2003-01-10 J. Brobecker <[email protected]> |
11453 | ||
11454 | * hpread.c (hpread_process_one_debug_symbol): Fix a small | |
11455 | compilation error in the previous revision. | |
11456 | ||
2b0ee454 DC |
11457 | 2003-01-09 David Carlton <[email protected]> |
11458 | ||
11459 | * linespec.c: Update copyright. | |
11460 | ||
b3ba1b44 DJ |
11461 | 2003-01-09 Daniel Jacobowitz <[email protected]> |
11462 | ||
11463 | * lin-lwp.c (child_wait): Ignore exit statuses for processes other | |
11464 | than inferior_ptid. | |
11465 | (lin_lwp_wait): Ignore exit statuses for unknown LWPs. | |
11466 | ||
4ef3f3be AC |
11467 | 2003-01-09 Andrew Cagney <[email protected]> |
11468 | ||
479ab5a0 AC |
11469 | * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc. |
11470 | Update comments. | |
11471 | * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc. | |
11472 | (frame_saved_regs_zalloc): Update. | |
11473 | (frame_saved_regs_register_unwind): Update. | |
11474 | (create_new_frame): Update. | |
11475 | (get_prev_frame): Update. | |
11476 | (frame_extra_info_zalloc): Update. | |
11477 | (deprecated_get_frame_saved_regs): Update. | |
11478 | * dwarf2cfi.c (cfi_init_extra_frame_info): Update. | |
11479 | * cris-tdep.c: Update comment. | |
11480 | ||
bde58177 AC |
11481 | * somsolib.h: Fix function indentation. |
11482 | * disasm.c, buildsym.c, buildsym.h: Eliminate PTR. | |
11483 | * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ. | |
11484 | * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ. | |
11485 | * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ. | |
11486 | * somsolib.c, inftarg.c: Remove assignment in if conditional. | |
11487 | ||
4ef3f3be AC |
11488 | * infrun.c (follow_fork): Use ISO C definition. |
11489 | * expprint.c (print_subexp): Use xfree instead of free. | |
11490 | * charset.c: Include "gdb_string.h" instead of <string.h>. | |
11491 | (register_iconv_charsets): Use ISO C definition. | |
11492 | (host_charset, target_charset): Ditto. | |
11493 | * Makefile.in (charset.o): Update dependencies. | |
11494 | (mi-cmd-env.o): Update dependencies. | |
11495 | ||
1c615f7a AC |
11496 | 2003-01-08 Andrew Cagney <[email protected]> |
11497 | ||
11498 | * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use | |
11499 | get_frame_base. | |
11500 | ||
c9a1dc08 AC |
11501 | 2003-01-08 Andrew Cagney <[email protected]> |
11502 | ||
11503 | * gdb_mbuild.sh: Add --keep option. When specified, keep the | |
11504 | build directories. Save edited gdb output in Mbuild.log. If a | |
11505 | build fails, remove any final GDB executable. | |
11506 | ||
dbad9d94 AC |
11507 | 2003-01-08 Andrew Cagney <[email protected]> |
11508 | ||
11509 | * gdb_mbuild.sh: Edit the output of `maint print architecture' | |
11510 | replacing hex constants with function names and stripping leading | |
11511 | file name directory prefixes. | |
11512 | ||
8d357cca AC |
11513 | 2003-01-08 Andrew Cagney <[email protected]> |
11514 | ||
11515 | * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and | |
11516 | get_frame_base. | |
11517 | ||
bca02a8a DC |
11518 | 2003-01-08 David Carlton <[email protected]> |
11519 | ||
11520 | * linespec.c (decode_line_1): Move code into decode_variable. | |
11521 | (decode_variable): New function. | |
11522 | ||
7f8ab3a0 AC |
11523 | 2003-01-08 Andrew Cagney <[email protected]> |
11524 | ||
11525 | * mn10300-tdep.c (analyze_dummy_frame): Fix typo. | |
11526 | ||
7b5849cc AC |
11527 | 2003-01-08 Andrew Cagney <[email protected]> |
11528 | ||
11529 | * cris-tdep.c (cris_frame_init_saved_regs): Use | |
11530 | get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a | |
11531 | saved_regs buffer. | |
11532 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
11533 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
11534 | (sh_fp_frame_init_saved_regs): Ditto. | |
11535 | * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack. | |
11536 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
11537 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
11538 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
11539 | ||
72a5efb3 DJ |
11540 | 2003-01-08 Daniel Jacobowitz <[email protected]> |
11541 | ||
11542 | * minsyms.c (lookup_minimal_symbol): Update comment. | |
11543 | (lookup_minimal_symbol_text): Update comment. Use the hash table. | |
11544 | (lookup_minimal_symbol_solib_trampoline): Likewise. | |
11545 | ||
11c02a10 AC |
11546 | 2003-01-08 Andrew Cagney <[email protected]> |
11547 | ||
aab3ea25 AC |
11548 | * d10v-tdep.c (d10v_init_extra_frame_info): Use |
11549 | frame_relative_level. | |
11550 | ||
da50a4b7 AC |
11551 | * alpha-tdep.c: Use get_frame_extra_info. |
11552 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
11553 | * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto. | |
11554 | * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
11555 | * sparc-tdep.c, xstormy16-tdep.c: Ditto. | |
11556 | ||
11c02a10 AC |
11557 | * alpha-tdep.c: Use get_next_frame. |
11558 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
11559 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
11560 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto. | |
11561 | * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto. | |
11562 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto. | |
11563 | * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto. | |
11564 | * xstormy16-tdep.c: Ditto. | |
8ffd9b1b | 11565 | |
1e2330ba AC |
11566 | 2003-01-07 Andrew Cagney <[email protected]> |
11567 | ||
11568 | * alpha-tdep.c: Use get_frame_base. | |
11569 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
11570 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
11571 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
11572 | * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
11573 | * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto. | |
11574 | * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
11575 | * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto. | |
11576 | * config/sparc/tm-sparc.h: Ditto. | |
8ffd9b1b | 11577 | |
2d75187b AC |
11578 | 2003-01-07 Andrew Cagney <[email protected]> |
11579 | ||
11580 | * frame.c (deprecated_get_frame_context): New function. | |
11581 | (deprecated_set_frame_context): New function. | |
11582 | * frame.h (deprecated_get_frame_context): Declare. | |
11583 | (deprecated_set_frame_context): Declare. | |
11584 | * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context. | |
11585 | (cfi_init_extra_frame_info): Use deprecated_set_frame_context. | |
8ffd9b1b | 11586 | |
483d36b2 AC |
11587 | 2003-01-07 Andrew Cagney <[email protected]> |
11588 | ||
11589 | * frame.c (deprecated_set_frame_next_hack): New function. | |
11590 | (deprecated_set_frame_prev_hack): New function. | |
11591 | * frame.h (deprecated_set_frame_next_hack): Declare. | |
11592 | (deprecated_set_frame_prev_hack): Declare. | |
11593 | * mcore-tdep.c (analyze_dummy_frame): Use | |
11594 | deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack. | |
11595 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
11596 | ||
14e91ac5 DC |
11597 | 2003-01-07 David Carlton <[email protected]> |
11598 | ||
11599 | * linespec.c (decode_line_1): Move code into decode_dollar. | |
11600 | (decode_dollar): New function. | |
11601 | ||
b0c6b05c AC |
11602 | 2003-01-07 Andrew Cagney <[email protected]> |
11603 | ||
11604 | * arm-tdep.c (arm_init_extra_frame_info): Use | |
11605 | deprecated_update_frame_base_hack. | |
11606 | * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto. | |
11607 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
11608 | (fix_frame_pointer): Ditto. | |
11609 | (mn10300_analyze_prologue): Ditto. | |
11610 | ||
a00a19e9 AC |
11611 | 2003-01-07 Andrew Cagney <[email protected]> |
11612 | ||
11613 | * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate | |
11614 | extra_info using frame_extra_info_zalloc. | |
11615 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
11616 | * sh-tdep.c (sh_init_extra_frame_info): Ditto. | |
11617 | (sh64_init_extra_frame_info): Ditto. | |
11618 | * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto. | |
11619 | * s390-tdep.c (s390_init_extra_frame_info): Ditto. | |
11620 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
11621 | * mcore-tdep.c (mcore_init_extra_frame_info): Ditto. | |
11622 | * frv-tdep.c (frv_init_extra_frame_info): Ditto. | |
11623 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto. | |
11624 | * ia64-tdep.c (ia64_init_extra_frame_info): Ditto. | |
11625 | * h8300-tdep.c (h8300_init_extra_frame_info): Ditto. | |
11626 | * d10v-tdep.c (d10v_init_extra_frame_info): Ditto. | |
11627 | * cris-tdep.c (cris_init_extra_frame_info): Ditto. | |
11628 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
11629 | * alpha-tdep.c (alpha_init_extra_frame_info): Ditto. | |
11630 | ||
11631 | * mn10300-tdep.c (analyze_dummy_frame): Use | |
11632 | deprecated_set_frame_extra_info_hack. | |
11633 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
11634 | ||
1fb4c65b JB |
11635 | 2003-01-07 J. Brobecker <[email protected]> |
11636 | ||
11637 | * mdebugread.c (parse_symbol): Skip stProc entries which storage | |
11638 | class is not scText. These do not define "real" procedures. | |
11639 | (parse_partial_symbols): Likewise. | |
11640 | ||
9fe7d6bf MS |
11641 | 2003-01-06 Michael Snyder <[email protected]> |
11642 | ||
11643 | * lin-lwp.c: Added or elaborated on "debug lin-lwp" info. | |
11644 | ||
f6c609c4 AC |
11645 | 2003-01-06 Andrew Cagney <[email protected]> |
11646 | ||
11647 | * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare. | |
11648 | * frame.c (deprecated_frame_xmalloc_with_cleanup): New function. | |
11649 | * arm-tdep.c (arm_frame_chain): Allocate caller_fi using | |
11650 | deprecated_frame_xmalloc_with_cleanup. | |
11651 | * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using | |
11652 | deprecated_frame_xmalloc. | |
11653 | * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy. | |
11654 | * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame. | |
11655 | ||
d995ff4b AC |
11656 | 2003-01-06 Andrew Cagney <[email protected]> |
11657 | ||
84dc46cb AC |
11658 | * x86-64-linux-tdep.c: Include "osabi.h". |
11659 | * Makefile.in (x86-64-linux-tdep.o): Update dependencies. | |
11660 | ||
d995ff4b AC |
11661 | * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach. |
11662 | ||
66140c26 AC |
11663 | 2003-01-06 Andrew Cagney <[email protected]> |
11664 | ||
11665 | * MAINTAINERS (Target Instruction Set Architectures): Update | |
11666 | arm-elf. Can be built with -Werror, has been multiarched. | |
11667 | ||
11668 | * value.h (unpack_long): Make buffer parameter constant. | |
11669 | (unpack_double, unpack_pointer, unpack_field_as_long): Ditto. | |
11670 | * scm-lang.h (scm_parse): Ditto. | |
11671 | * defs.h (extract_typed_address, extract_address): Ditto. | |
11672 | (extract_long_unsigned_integer): Ditto. | |
11673 | * inferior.h (unsigned_pointer_to_address): Ditto. | |
11674 | (signed_pointer_to_address): Ditto. | |
11675 | * gdbarch.sh (POINTER_TO_ADDRESS): Ditto. | |
11676 | * gdbarch.h, gdbarch.c: Regenerate. | |
11677 | * findvar.c (extract_long_unsigned_integer): Update. | |
11678 | (extract_address): Update. | |
11679 | (extract_typed_address): Update. | |
11680 | (unsigned_pointer_to_address): Update. | |
11681 | * values.c (unpack_long): Update. | |
11682 | (unpack_double): Update. | |
11683 | (unpack_pointer): Update. | |
11684 | (unpack_field_as_long): Update. | |
11685 | * d10v-tdep.c (d10v_pointer_to_address): Update. | |
11686 | * avr-tdep.c (avr_pointer_to_address): Update. | |
11687 | * scm-lang.c (scm_unpack): Update. | |
11688 | * findvar.c (signed_pointer_to_address): Update. | |
11689 | ||
b089b3da ML |
11690 | 2003-01-06 Michal Ludvig <[email protected]> |
11691 | ||
8ffd9b1b | 11692 | * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore |
b089b3da ML |
11693 | since it is in i386-tdep.c. |
11694 | ||
aff87235 JB |
11695 | 2003-01-06 J. Brobecker <[email protected]> |
11696 | ||
11697 | * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation | |
11698 | failure introduced in the previous change. | |
11699 | ||
34f5e845 MC |
11700 | 2003-01-05 Michael Chastain <[email protected]> |
11701 | ||
11702 | * README: Remove references to deleted remote-*.c files: | |
11703 | remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c, | |
11704 | remote-nrom.c, remote-os9k.c, remote-udi.c. | |
11705 | ||
28bcfd30 MK |
11706 | 2003-01-05 Mark Kettenis <[email protected]> |
11707 | ||
11708 | * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64. | |
11709 | * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about | |
11710 | i386_get_longjmp_target. | |
11711 | ||
15a5b3ee AC |
11712 | 2003-01-05 Andrew Cagney <[email protected]> |
11713 | ||
11714 | * arm-tdep.c (prologue_cache): Change to a pointer. | |
11715 | (_initialize_arm_tdep): Allocate prologue_cache. | |
11716 | (check_prologue_cache): Update. | |
11717 | (save_prologue_cache): Update. | |
11718 | (arm_gdbarch_init): Update. | |
11719 | ||
c263362b DJ |
11720 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
11721 | ||
11722 | * stabsread.c (update_method_name_from_physname): Call complaint() | |
11723 | instead of error. | |
11724 | ||
51603483 DJ |
11725 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
11726 | ||
11727 | * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test. | |
11728 | * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests. | |
11729 | * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test. | |
11730 | ||
11731 | * blockframe.c: Include "gdbcmd.h" and "command.h". | |
11732 | (backtrace_below_main): New variable. | |
11733 | (file_frame_chain_valid, func_frame_chain_valid) | |
11734 | (nonnull_frame_chain_valid, generic_file_frame_chain_valid) | |
11735 | (generic_func_frame_chain_valid): Remove functions. | |
11736 | (frame_chain_valid, do_flush_frames_sfunc): New functions. | |
11737 | (_initialize_blockframe): New function. | |
11738 | * Makefile.in (blockframe.o): Update dependencies. | |
11739 | * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME | |
11740 | comment. Call frame_chain_valid (). | |
11741 | * frame.h: Remove old prototypes. Add prototype for | |
11742 | frame_chain_valid and update comments to match. | |
11743 | * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function. | |
11744 | Remove old comment. | |
11745 | * gdbarch.h: Regenerated. | |
11746 | * gdbarch.c: Regenerated. | |
11747 | ||
11748 | * alpha-tdep.c (alpha_gdbarch_init): Don't call | |
11749 | set_gdbarch_frame_chain_valid. | |
11750 | * avr-tdep.c (avr_gdbarch_init): Likewise. | |
11751 | * cris-tdep.c (cris_gdbarch_init): Likewise. | |
11752 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
11753 | * h8300-tdep.c (h8300_gdbarch_init): Likewise. | |
11754 | * i386-tdep.c (i386_svr4_init_abi): Likewise. | |
11755 | (i386_nw_init_abi): Likewise. | |
11756 | (i386_gdbarch_init): Likewise. | |
11757 | * ia64-tdep.c (ia64_gdbarch_init): Likewise. | |
11758 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise. | |
11759 | * m68k-tdep.c (m68k_gdbarch_init): Likewise. | |
11760 | * mcore-tdep.c (mcore_gdbarch_init): Likewise. | |
11761 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
11762 | * mn10300-tdep.c (mn10300_gdbarch_init): Likewise. | |
11763 | * ns32k-tdep.c (ns32k_gdbarch_init): Likewise. | |
11764 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise. | |
11765 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
11766 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
11767 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
11768 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
11769 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
11770 | * vax-tdep.c (vax_gdbarch_init): Likewise. | |
11771 | * x86-64-tdep.c (x86_64_init_abi): Likewise. | |
11772 | ||
11773 | * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define. | |
11774 | * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise. | |
11775 | * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise. | |
11776 | * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise. | |
11777 | * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise. | |
11778 | * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise. | |
11779 | * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise. | |
11780 | * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise. | |
11781 | ||
b00a8037 DJ |
11782 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
11783 | ||
11784 | * Makefile.in (acconfig_h): Remove incorrect macro. | |
11785 | (config_h): Define. | |
11786 | (osabi.o): Update dependencies. | |
11787 | * configure.tgt: Set gdb_osabi based on target triplet. | |
11788 | * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi. | |
11789 | * configure: Regenerated. | |
11790 | * config.in: Regenerated. | |
11791 | * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h". | |
11792 | (GDB_OSABI_DEFAULT): Define if not already defined. | |
11793 | (user_osabi_state, user_selected_osabi, gdb_osabi_available_names) | |
11794 | (set_osabi_string): New variables. | |
11795 | (gdbarch_register_osabi): Add new OS ABI to | |
11796 | gdb_osabi_available_names. | |
11797 | (gdbarch_lookup_osabi): Honor specified and default OS ABIs. | |
11798 | (set_osabi, show_osabi): New functions. | |
11799 | (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands. | |
11800 | ||
4be87837 DJ |
11801 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
11802 | ||
11803 | * arch-utils.c (gdbarch_info_init): Set osabi to | |
11804 | GDB_OSABI_UNINITIALIZED. | |
11805 | * gdbarch.sh: Add osabi to struct gdbarch and to struct | |
11806 | gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi | |
11807 | in gdbarch_list_lookup_by_info and in gdbarch_update_p. | |
11808 | * gdbarch.c: Regenerated. | |
11809 | * gdbarch.h: Regenerated. | |
11810 | * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if | |
11811 | there's no BFD. | |
11812 | (gdbarch_init_osabi): Remove osabi argument; use info.osabi. | |
11813 | * osabi.h (enum gdb_osabi): Move to defs.h. | |
11814 | (gdbarch_init_osabi): Update prototype. | |
11815 | * defs.h (enum gdb_osabi): Moved here. | |
11816 | * Makefile.in: Update dependencies. | |
11817 | ||
11818 | * alpha-tdep.h: Don't include "osabi.h". | |
11819 | (struct gdbarch_tdep): Remove osabi member. | |
11820 | * alpha-tdep.c: Include "osabi.h". | |
11821 | (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11822 | iterate over arches. Update call to gdbarch_init_osabi. | |
11823 | (alpha_dump_tdep): Don't dump osabi. | |
11824 | * alpha-linux-tdep.c: Include "osabi.h". | |
11825 | * alpha-osf1-tdep.c: Include "osabi.h". | |
11826 | * alphafbsd-tdep.c: Include "osabi.h". | |
11827 | * alphanbsd-tdep.c: Include "osabi.h". | |
11828 | ||
11829 | * arm-tdep.h: Don't include "osabi.h". | |
11830 | (struct gdbarch_tdep): Remove osabi member. | |
11831 | * arm-tdep.c: Include "osabi.h". | |
11832 | (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11833 | iterate over arches. Update call to gdbarch_init_osabi. | |
11834 | (arm_dump_tdep): Don't dump osabi. | |
11835 | * arm-linux-tdep.c: Include "osabi.h". | |
11836 | * armnbsd-tdep.c: Include "osabi.h". | |
11837 | ||
11838 | * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi. | |
11839 | Update call to gdbarch_init_osabi. | |
11840 | ||
11841 | * i386-tdep.h: Don't include "osabi.h". | |
11842 | (struct gdbarch_tdep): Remove osabi member. | |
11843 | * i386-tdep.c: Include "osabi.h". | |
11844 | (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11845 | iterate over arches. Update call to gdbarch_init_osabi. | |
11846 | (i386_dump_tdep): Don't dump osabi. | |
11847 | * i386-linux-tdep.c: Include "osabi.h". | |
11848 | * i386-sol2-tdep.c: Include "osabi.h". | |
11849 | * i386bsd-tdep.c: Include "osabi.h". | |
11850 | * i386gnu-tdep.c: Include "osabi.h". | |
11851 | * i386ly-tdep.c: Include "osabi.h". | |
11852 | * i386nbsd-tdep.c: Include "osabi.h". | |
11853 | * i386obsd-tdep.c: Include "osabi.h". | |
11854 | ||
11855 | * mips-tdep.c (struct gdbarch_tdep): Remove osabi member. | |
11856 | (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11857 | check osabi when iterating over arches. Update call to | |
11858 | gdbarch_init_osabi. | |
11859 | (mips_dump_tdep): Don't dump osabi. | |
11860 | ||
11861 | * ns32k-tdep.h: Don't include "osabi.h". | |
11862 | (struct gdbarch_tdep): Remove. | |
11863 | * ns32k-tdep.c (ns32k_gdbarch_init): Don't call | |
11864 | gdbarch_lookup_osabi. Don't iterate over arches. Don't | |
11865 | allocate tdep. Update call to gdbarch_init_osabi. | |
11866 | (ns32k_dump_tdep): Remove. | |
11867 | (_initialize_ns32k_tdep): Update call to gdbarch_register. | |
11868 | * ns32knbsd-tdep.c: Include "osabi.h". | |
11869 | ||
11870 | * ppc-tdep.h: Don't include "osabi.h". | |
11871 | (struct gdbarch_tdep): Remove osabi member. | |
11872 | * rs6000-tdep.c: Include "osabi.h". | |
11873 | (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check | |
11874 | osabi when iterating over arches. Update call to | |
11875 | gdbarch_init_osabi. | |
11876 | (rs6000_dump_tdep): Don't dump osabi. | |
11877 | * ppc-linux-tdep.c: Include "osabi.h". | |
11878 | * ppcnbsd-tdep.c: Include "osabi.h". | |
11879 | ||
11880 | * sh-tdep.h: Don't include "osabi.h". | |
11881 | (struct gdbarch_tdep): Remove osabi member. | |
11882 | * sh-tdep.c: Include "osabi.h". | |
11883 | (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11884 | iterate over arches. Update call to gdbarch_init_osabi. | |
11885 | (sh_dump_tdep): Don't dump osabi. | |
11886 | * shnbsd-tdep.c: Include "osabi.h". | |
11887 | ||
11888 | * sparc-tdep.c: Include "osabi.h". | |
11889 | (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11890 | iterate over arches. Update call to gdbarch_init_osabi. | |
11891 | (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the | |
11892 | tdep structure. | |
11893 | ||
11894 | * vax-tdep.h: Don't include "osabi.h". | |
11895 | (struct gdbarch_tdep): Remove. | |
11896 | * vax-tdep.c: Include "osabi.h". | |
11897 | (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11898 | iterate over arches. Don't allocate tdep. Update call | |
11899 | to gdbarch_init_osabi. | |
11900 | (vax_dump_tdep): Remove. | |
11901 | (_initialize_vax_tdep): Update call to gdbarch_register. | |
11902 | ||
a881cf8e DJ |
11903 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
11904 | ||
11905 | * breakpoint.c (insert_breakpoints): Skip disabled breakpoints | |
11906 | entirely. | |
11907 | (breakpoint_re_set_one): Don't fetch the value for a disabled | |
11908 | watchpoint. | |
11909 | ||
1e698235 DJ |
11910 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
11911 | ||
11912 | * buildsym.h (processing_hp_compilation): Remove obsolete variable. | |
11913 | * gdbarch.sh Remove include of "value.h" in gdbarch.h. | |
11914 | (COERCE_FLOAT_TO_DOUBLE): Remove. | |
11915 | * gdbarch.c: Regenerate. | |
11916 | * gdbarch.h: Regenerate. | |
11917 | * Makefile.in: Remove value_h from gdbarch_h. | |
11918 | * valops.c (coerce_float_to_double): New variable. | |
11919 | (default_coerce_float_to_double): Remove. | |
11920 | (standard_coerce_float_to_double): Remove. | |
11921 | (value_arg_coerce): Use coerce_float_to_double. | |
11922 | (_initialize_valops): Add "set coerce-float-to-double". | |
11923 | * value.h (default_coerce_float_to_double): Remove prototype. | |
11924 | (standard_coerce_float_to_double): Remove prototype. | |
11925 | ||
11926 | * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as | |
11927 | prototyped. | |
11928 | * mdebugread.c (parse_symbol): Likewise. | |
11929 | * stabsread.c (define_symbol): Mark all functions as prototyped. | |
11930 | ||
11931 | * hppa-tdep.c (hppa_coerce_float_to_double): Remove. | |
11932 | * alpha-tdep.c (alpha_gdbarch_init): Remove call to | |
11933 | set_gdbarch_coerce_float_to_double. | |
11934 | * arm-tdep.c (arm_gdbarch_init): Likewise. | |
11935 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
11936 | * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out). | |
11937 | * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise. | |
11938 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
11939 | (mips_coerce_float_to_double): Remove. | |
11940 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
11941 | (rs6000_coerce_float_to_double): Remove. | |
11942 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
11943 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
11944 | (sh_coerce_float_to_double): Remove. | |
11945 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
11946 | (sparc_coerce_float_to_double): Remove. | |
11947 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
11948 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. | |
11949 | * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
11950 | * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove. | |
11951 | (hppa_coerce_float_to_double): Remove prototype. | |
11952 | * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
11953 | ||
f436a26a DJ |
11954 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
11955 | ||
11956 | * regformats/reg-m68k.dat: Remove fpcode and fpflags. | |
11957 | ||
248f8055 DJ |
11958 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
11959 | ||
11960 | Suggested by Stewart Brown <[email protected]>: | |
11961 | * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show | |
11962 | in recursive calls. Handle TYPE_CODE_TYPEDEF. | |
11963 | (c_type_print_varspec_suffix): Likewise. | |
11964 | ||
72cfdc76 MK |
11965 | 2003-01-04 Mark Kettenis <[email protected]> |
11966 | ||
bfd260bb MK |
11967 | * configure.in: Don't set and AC_SUBST SUBDIRS. |
11968 | * configure: Regenerated. | |
11969 | ||
72cfdc76 MK |
11970 | * configure.in: Remove code dealing with shared libraries. |
11971 | * Makefile.in: Remove HLDFLAGS and HLDENV. | |
11972 | * configure: Regenerated. | |
11973 | ||
c8b8a898 AC |
11974 | 2003-01-04 Andrew Cagney <[email protected]> |
11975 | ||
11976 | * frame.c (deprecated_frame_xmalloc): New function. | |
11977 | (deprecated_set_frame_saved_regs_hack): New function. | |
11978 | (deprecated_set_frame_extra_info_hack): New function. | |
11979 | * frame.h (deprecated_frame_xmalloc): Declare. | |
11980 | (deprecated_set_frame_saved_regs_hack): Declare. | |
11981 | (deprecated_set_frame_extra_info_hack): Declare. | |
11982 | ||
14abd0fb MK |
11983 | 2003-01-04 Mark Kettenis <[email protected]> |
11984 | ||
8ee53726 MK |
11985 | * configure.in: Move code that provides the --enable-gdbtk option |
11986 | right after the code that handles the --enable-tui option, and | |
11987 | polish it somewhat. | |
11988 | * configure: Regenerated. | |
11989 | ||
14abd0fb MK |
11990 | * configure.in: Call AC_GNU_SOURCE. Check for pread64 using |
11991 | AC_CHECK_FUNCS and remove the old check for pread64. | |
11992 | * acinclude.m4 (AC_GNU_SOURCE): New macro. | |
11993 | * acconfig.h (_GNU_SOURCE): Add. | |
11994 | (HAVE_PREAD64): Remove. | |
11995 | * configure, aclocal.m4, config.in: Regenerated. | |
11996 | ||
b2fb4676 AC |
11997 | 2003-01-03 Andrew Cagney <[email protected]> |
11998 | ||
11999 | * alpha-tdep.c: Use get_frame_saved_regs. | |
12000 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
12001 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
12002 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto. | |
12003 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto. | |
12004 | * vax-tdep.c, xstormy16-tdep.c: Ditto. | |
12005 | ||
8dcde887 MK |
12006 | 2003-01-03 Mark Kettenis <[email protected]> |
12007 | ||
12008 | * configure.in: Remove all use of the SUBDIRS variable; add | |
12009 | directories using the AC_CONFIG_SUBDIRS macro instead. Polish | |
12010 | code providing the --enable-multi-ice option, and move it right in | |
12011 | front of the code that checks whether gdbserver is supported. | |
12012 | Polish that too. | |
12013 | * configure: Regenerated. | |
12014 | * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of | |
12015 | @SUBDIRS@. | |
12016 | ||
8ccd593b AC |
12017 | 2003-01-03 Andrew Cagney <[email protected]> |
12018 | ||
12019 | * alpha-tdep.c: Use deprecated_update_frame_base_hack. | |
12020 | * avr-tdep.c, cris-tdep.c: Ditto. | |
12021 | * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
12022 | * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
8ffd9b1b | 12023 | |
91151a06 MK |
12024 | 2003-01-03 Mark Kettenis <[email protected]> |
12025 | ||
12026 | * configure.in: Remove --enable-netrom option. | |
12027 | * configure: Regenerated. | |
12028 | ||
8fe84d01 MK |
12029 | 2003-01-03 Mark Kettenis <[email protected]> |
12030 | ||
12031 | * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward | |
12032 | declaration for `struct re_pattern_buffer' instead. | |
12033 | * Makefile.in (cli_decode_h): Remove $(gdb_regex_h). | |
12034 | ||
f0394be6 JB |
12035 | 2003-01-03 J. Brobecker <[email protected]> |
12036 | ||
12037 | * mdebugread.c (parse_symbol): Count until the stEnd matching | |
12038 | the structure name. | |
12039 | ||
27e9bf90 MK |
12040 | 2003-01-02 Mark Kettenis <[email protected]> |
12041 | ||
93d331ba MK |
12042 | * configure.in: Remove --with-cpu option. |
12043 | subscripts. Remove evil changequotes here. | |
12044 | * acconfig.h (TARGET_CPU_DEFAULT): Remove. | |
12045 | * config.in, configure: Regenerated. | |
8ffd9b1b | 12046 | |
27e9bf90 MK |
12047 | * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove. |
12048 | * configure.in: Cleanup section that sources GDB and BFD configure | |
12049 | subscripts. Remove evil changequotes here. | |
12050 | * config.in, configure: Regenerated. | |
12051 | ||
50abf9e5 AC |
12052 | 2003-01-02 Andrew Cagney <[email protected]> |
12053 | ||
12054 | * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack | |
12055 | frame accessor methods. | |
12056 | * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
12057 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
12058 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto. | |
12059 | * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto. | |
12060 | * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
12061 | * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
12062 | * z8k-tdep.c: Ditto. | |
8ffd9b1b | 12063 | |
287c1a40 MK |
12064 | 2003-01-02 Mark Kettenis <[email protected]> |
12065 | ||
f5dbc56d MK |
12066 | * configure.in: Remove UI_OUT configuration code. |
12067 | * ada-lang.c: Update assuming UI_OUT is always true. | |
12068 | * Makefile.in (UIOUT_CFLAGS): Remove. | |
12069 | * configure: Regenerated. | |
12070 | * TODO: Remove blurb about elimination of -DUI_OUT. | |
12071 | ||
627af7ea MK |
12072 | * configure.in: Move code that provides the --enable-gdbcli, |
12073 | --enable-gdbmi options right before the code that handles the | |
12074 | --enable-tui option. Polish a bit. | |
12075 | * configure: Regenerated. | |
12076 | ||
06825bd1 MK |
12077 | * configure.in: Rewrite check for GNU regex and the |
12078 | --without-included regex option, and move it into the "Checks for | |
12079 | library functions" section. This makes us use the system regex | |
12080 | again by default on systems with version 2 of the GNU C library. | |
12081 | This was apparently broken. | |
12082 | * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define. | |
12083 | * acconfig.h (USE_INCLUDED_REGEX): Remove. | |
12084 | * config.in, configure: Regenerated. | |
12085 | ||
287c1a40 MK |
12086 | * configure.in: Move code that provides the --enable-tui option |
12087 | before the "Checks for libraries" section. Polish the code | |
12088 | somewhat and set need_curses to yes if we build the TUI. Rewrite | |
12089 | code that looks for a library providing termcap functionality to | |
12090 | match more closely what's done in the Readline library, and move | |
12091 | it into to the "Checks for libraries" section. | |
12092 | * configure: Regenerated. | |
12093 | * Makefile.in (TERMCAP): Remove variable. | |
12094 | * config/i386/go32.mh (TERMCAP): Remove variable. | |
12095 | ||
684e56bf AC |
12096 | 2003-01-02 Andrew Cagney <[email protected]> |
12097 | ||
12098 | * MAINTAINERS: Mention gdb_mbuild.sh. | |
12099 | * gdb_mbuild.sh: Rewrite. | |
12100 | ||
e1ea1d75 MK |
12101 | 2003-01-02 Mark Kettenis <[email protected]> |
12102 | ||
12103 | * configure.in: Fix typo in last change. | |
12104 | * config.in, configure: Regenerated. | |
12105 | ||
1b831c93 AC |
12106 | 2003-01-02 Andrew Cagney <[email protected]> |
12107 | ||
12108 | * valarith.c (value_binop): Delete obsolete code and comments. | |
12109 | * configure.host: Ditto. | |
12110 | * buildsym.h (make_blockvector): Ditto. | |
12111 | * buildsym.c (make_blockvector): Ditto. | |
12112 | * defs.h (enum language): Ditto. | |
12113 | (chill_demangle): Ditto. | |
12114 | * elfread.c (elf_symtab_read): Ditto. | |
12115 | * dwarfread.c (CHILL_PRODUCER): Ditto. | |
12116 | (set_cu_language): Ditto. | |
12117 | (handle_producer): Ditto. | |
12118 | * expprint.c (print_subexp): Ditto. | |
12119 | * gdbtypes.c (chill_varying_type): Ditto. | |
12120 | * gdbtypes.h (builtin_type_chill_bool): Ditto. | |
12121 | (builtin_type_chill_char, builtin_type_chill_long): Ditto. | |
12122 | (builtin_type_chill_ulong, builtin_type_chill_real): Ditto. | |
12123 | (chill_varying_type): Ditto. | |
12124 | * language.h (_LANG_chill): Ditto. | |
12125 | * language.c (binop_result_type, integral_type): Ditto. | |
12126 | (character_type, string_type, structured_type): Ditto. | |
12127 | (lang_bool_type, binop_type_check): Ditto. | |
12128 | * stabsread.h (os9k_stabs): Ditto. | |
12129 | * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto. | |
12130 | (define_symbol, read_type, read_struct_fields): Ditto. | |
12131 | (read_array_type, read_enum_type, read_huge_number): Ditto. | |
12132 | (read_range_type, start_stabs): Ditto. | |
12133 | * symfile.c (init_filename_language_table): Ditto. | |
12134 | (add_psymbol_with_dem_name_to_list): Ditto. | |
12135 | * symtab.c (symbol_init_language_specific): Ditto. | |
12136 | (symbol_init_demangled_name, symbol_demangled_name): Ditto. | |
12137 | * symtab.h (struct general_symbol_info): Ditto. | |
12138 | (SYMBOL_CHILL_DEMANGLED_NAME): Ditto. | |
12139 | * typeprint.c (typedef_print): Ditto. | |
12140 | * utils.c (fprintf_symbol_filtered): Ditto. | |
12141 | * valops.c (value_cast, search_struct_field, value_slice): Delete | |
12142 | obsolete code. | |
12143 | (varying_to_slice): Delete function. | |
12144 | * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents. | |
12145 | (varying_to_slice): Delete declaration. | |
12146 | * MAINTAINERS: Update. | |
12147 | ||
8bb2c122 MK |
12148 | 2003-01-02 Mark Kettenis <[email protected]> |
12149 | ||
97bf5e38 MK |
12150 | * configure.in: Reorganize "Checks for library functions section" |
12151 | a bit. Remove check for `btowc' and `isascii' functions. | |
12152 | * configure: Regenerated. | |
12153 | ||
5ee754fc MK |
12154 | * acconfig.h (_MSE_INT_H): Remove. |
12155 | * configure.in: Create "Checks for header files" section, and move | |
12156 | appropriate tests there. Don't check for objlist.h, wchar.h, | |
12157 | wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h> | |
12158 | misdetection fix. Also add "Checks for types", "Checks for | |
12159 | compiler characteristics" and "Checks for library functions" | |
12160 | sections. | |
12161 | * config.in, configure: Regenerated. | |
12162 | ||
8bb2c122 MK |
12163 | * configure.in: Create "Checks for programs" section, and move |
12164 | appropriate tests there. | |
12165 | ||
9a156167 MK |
12166 | 2003-01-01 Mark Kettenis <[email protected]> |
12167 | ||
12168 | * configure.in: Create "Checks for libraries" section, and move | |
12169 | appropriate tests there. Cleanup check for wctype in libw. Use | |
12170 | AC_SEARCH_LIBS to see whether we need libsocket. | |
12171 | * configure: Regenerated. | |
12172 | ||
a80e2bcb | 12173 | For older changes see ChangeLog-2002 |
c906108c SS |
12174 | \f |
12175 | Local Variables: | |
12176 | mode: change-log | |
12177 | left-margin: 8 | |
12178 | fill-column: 74 | |
12179 | version-control: never | |
12180 | End: |